]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Use tpidr_el0 rather than __errno_location in librt
[thirdparty/glibc.git] / ChangeLog
CommitLineData
af4e8ef9
RH
12014-05-29 Richard Henderson <rth@twiddle.net>
2
11a28aee
RH
3 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5 to __errno_location.
6 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7 Remove the expected plt for __errno_location.
8
a17e5ffb 9 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11 call to __read_tp.
12
b5be4597
RH
13 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15 it and break it down.
16 (DOCARGS_0, DOCARGS_1): Do nothing.
17 (DOCARGS_2): Update to store into the new stack frame.
18 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19 (UNDOCARGS_1): Update to restore from the new stack frame.
20 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
22
645d44ab
RH
23 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24 (SINGLE_THREAD_P): New parameter for result regno.
25 (PSEUDO): Update to match; use cbz instead of beq.
26
a8b4f04a
RH
27 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28 Use ENTRY to define the _nocancel entry point. Share the syscall
29 and syscall error check paths with the cancel path.
30 (PSEUDO_END): New.
31
af4e8ef9
RH
32 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33 whitespace; tabs before and after asm mnemonics.
34
26b0d2e1
EW
352014-05-29 Eric Wong <normalperson@yhbt.net>
36
37 [BZ #15132]
38 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39 Call fstat64 or stat64 internally, depending on arguments passed.
40 Replace stat buffer argument with file descriptor argument.
41 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43 Pass fd to __internal_statvfs instead of calling fstat64.
44 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45 Pass fd to __internal_statvfs64 instead of calling fstat64.
46 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47 Pass -1 to __internal_statvfs instead of calling stat64.
48 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49 Pass -1 to __internal_statvfs64 instead of calling stat64.
50
1efe2bd9
RM
512014-05-28 Roland McGrath <roland@hack.frob.com>
52
0d3b7a19
RM
53 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
54 that was previously under [RESET_PID].
55 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
56
1efe2bd9
RM
57 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
58 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
59
a6bea3ca
RM
602014-05-27 Roland McGrath <roland@hack.frob.com>
61
30b6629e
RM
62 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
63
a6bea3ca
RM
64 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
65 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
66
3dfb9a5c
OB
672014-05-27 Ondřej Bílka <neleai@seznam.cz>
68
69 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
70
774f9285
AS
712014-05-27 Andreas Schwab <schwab@suse.de>
72
73 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
74 TLS_INIT_TP macro.
75 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
76 * elf/rtld.c (init_tls, dl_main): Likewise.
77 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
78 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
79 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
80 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
81 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
82 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
83 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
84 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
85 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
86 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
87 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
88 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
89 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
90 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
91 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
92 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
93 * sysdeps/generic/tls.h: Update description.
94
36ffe739
WN
952014-05-27 Will Newton <will.newton@linaro.org>
96
97 [BZ #16990]
98 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
99 and restore r2 rather than just restoring.
100
2482ae43
SP
1012014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
102
103 [BZ #16724]
104 * libio/tst-ftell-append.c: New test case.
105 * libio/Makefile (tests): Add test case.
106 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
107 append mode.
108 * libio/wfileops.c (do_ftell_wide): Likewise.
109
3d1024e8
AZ
1102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111
bab90016
AZ
112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
113
c7a8d667
AZ
114 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
115 ...
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
118 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
119 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
120 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
121 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
122 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
123 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
125 Moved ...
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
128 Moved ...
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
130 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
131 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
133 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
135 ...
136 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
137 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
138 Moved ...
139 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
140 here.
141 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
142 ...
143 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
145 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
146
daee7851
AZ
147 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
148 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
150 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
151
50a40819
AZ
152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
153 merge into ...
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
156 ...
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
159 ...
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
162 Moved ...
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
164 here.
165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
166 Moved ...
167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
169 Moved ...
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
171
8464c2a1
AZ
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
173 conditional [RESET_PID].
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
176 removed.
177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
178 removed.
179
3d1024e8
AZ
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
181 <tcb-offsets.h>.
182 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
183 (__libc_vfork): New strong alias.
184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
185 removed.
186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
187 Removed.
188
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
190 <tcb-offsets.h>.
191 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
192 (__libc_vfork): New strong alias.
193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
194 removed.
195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
196 removed.
197
fdfd175d
CD
1982014-05-26 Carlos O'Donell <carlos@redhat.com>
199
200 * malloc/malloc.c (mi_arena): New function.
201 (malloc_info): Remove nested function mi_arena. Call non-nosted
202 function mi_arena.
203
d298c416
AZ
2042014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205
206 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
207 by insrwi.
208 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
209 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
210 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
211 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
212 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
213 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
214 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
215
b60ea6ff
AS
2162014-05-26 Andreas Schwab <schwab@suse.de>
217
218 [BZ #16984]
219 * locale/programs/repertoire.c (repertoire_read): Add slash
220 between I18NPATH element and file name.
221 * locale/programs/locfile.c (locfile_read): Likewise.
222
67365926
SL
2232014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
224
225 * nptl/pthread_mutexattr_settype.c
226 (__pthread_mutexattr_settype):
227 Disable lock elision for PTHREAD_MUTEX_NORMAL.
228
f8bdf1f0
SL
2292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
230
231 * nptl/tst-mutex5 (do_test):
232 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
233
15eaf6ff
SP
2342014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
235
236 * benchtests/README: Document 'init' directive.
237 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
238 BENCH_INIT.
239 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
240 (parse_file): Recognize 'init' directive.
241
75f11331
KM
2422014-05-26 Kyle McMartin <kyle@redhat.com>
243
244 [BZ #16796]
245 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
246 alignment of struct pthread.
247
c3ec475c
SP
2482014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
249
250 [BZ #16878]
251 * nscd/netgroupcache.c (addgetnetgrentX): Look for
252 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
253 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
254 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
255
82aab97c
RH
2562014-05-25 Richard Henderson <rth@twiddle.net>
257
aa2f176d
RH
258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
259 (SINGLE_THREAD_P_PIC): Remove.
260 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
261 (SINGLE_THREAD_P_PIC): Remove.
262
ca3cfa40
RH
263 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
264 branch to syscall error ...
265 (PSEUDO): ... here.
266 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
267 from __local_syscall_error to .Lsyscall_error.
268 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
269 (SYSCALL_ERROR): Update label name.
270
6e6c2d01
RH
271 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
272 Do not use DOARGS/UNDOARGS.
273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
274 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
275 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
276 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
277 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
278
c69abcee
RH
279 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
280 block comment.
281
82aab97c
RH
282 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
283 define if !NOT_IN_libc.
284 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
285 define with non-default symbol versions.
286
8820e3ac
RH
2872014-05-23 Richard Henderson <rth@twiddle.net>
288
900e445f
RH
289 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
290 (vfork, __vfork): Define via compat_symbol.
291
8820e3ac
RH
292 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
293 [!HAVE_IFUNC] (vfork_compat): Remove.
294 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
295
e59252a5
JM
2962014-05-23 Joseph Myers <joseph@codesourcery.com>
297
298 [BZ #16978]
299 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
300 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
301 variable.
302
132c7f5f
RH
3032014-05-23 Richard Henderson <rth@twiddle.net>
304
bc89e962
RH
305 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
306 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
307 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
308 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
309
310 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
311 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
312 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
313 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
315 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
316 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
317 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
318 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
319 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
320 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
321 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
322 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
324 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
325 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
326 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
328 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
329 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
330 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
332 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
333 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
334 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
336 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
338 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
340 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
341 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
342 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
344 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
346 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
347 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
348 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
349 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
350 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
351 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
352 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
353 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
354 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
355 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
356 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
357 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
359 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
361 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
363 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
364 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
365 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
366
e2fa4bc2
RH
367 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
368 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
369 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
370 before exiting on error.
371 (__libc_vfork): New strong alias.
372 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
373 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
374
279b24e2
RH
375 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
376 that was previously under [RESET_PID].
377 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
378
132c7f5f
RH
379 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
380
b72592e7
JM
3812014-05-23 Joseph Myers <joseph@codesourcery.com>
382
383 [BZ #16977]
384 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
385 value when x - 1 is zero.
386 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
387 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
388 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
389 0.0L for an argument of 1.0L.
390 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
391 Likewise.
392 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
393 value when x - 1 is zero.
394 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
395 * sysdeps/i386/fpu/libm-test-ulps: Update.
396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
397
2302d679
RV
3982014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
399
400 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
401 alphasort and versionsort.
402
32999d63
AZ
4032014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
404
405 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
406 macro.
407 [copysignf]: Likewise.
408
019324d0
SP
4092014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
410
411 * crypt/md5-crypt.c: Fix formatting.
412
34fff5c2
KS
4132014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
414
415 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
416 (b64_from_24bit): New function.
417
3d2badac
AZ
4182014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419
420 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
421 libc_hidden_builtin_def to ifunc.
422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
423 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
424
f7bb179f 4252014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
426
427 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
428 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
429
4134b50d
JM
4302014-05-21 Joseph Myers <joseph@codesourcery.com>
431
bb7d0337
JM
432 * nscd/Depend (linuxthreads): Remove.
433 (nptl): Add.
434 * resolv/Depend (linuxthreads): Remove.
435 * rt/Depend (linuxthreads): Remove.
436
4134b50d
JM
437 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
438 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
439 $(common-objpfx)elf/.
440 (link-libc-before-gnulib): Likewise.
441 (elfobjdir): Remove variable.
442 * Makefile (install): Use $(elf-objpfx) instead of
443 $(common-objpfx)elf/.
444 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
445 $(elfobjdir)/.
446 (link-libc-deps): Likewise.
447 ($(common-objpfx)libc.so): Likewise.
448 ($(common-objpfx)linkobj/libc.so): Likewise.
449 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
450 instead of $(common-objpfx)elf/.
451 (symbolic-link-list): Likewise.
452 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
453 [$(cross-compiling) = no]: Likewise.
454 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
455 $(elfobjdir)/.
456 (static-gnulib-arch): Likewise.
457 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
458 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
459 $(common-objpfx)elf/.
460
3612eb8f
RH
4612014-05-21 Richard Henderson <rth@redhat.com>
462
a6b3657b
RH
463 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
464 (SINGLE_THREAD_P): Use the correct width load. Fold
465 into the ldr offset.
466
3612eb8f
RH
467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
468 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
469
175cef41
JM
4702014-05-20 Joseph Myers <joseph@codesourcery.com>
471
472 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
473 (libgcc_s_resume): Use __attribute_used__.
474 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
475 Likewise.
476
e13bccd3
AZ
4772014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478
479 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
480 optimization when used with float constants.
481
7c112a38
AZ
482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
483
ae75a883
AJ
4842014-05-20 Aurelien Jarno <aurelien@aurel32.net>
485
486 [BZ #16915]
487 * locale/nl_langinfo_l.c: Make direct reference to every
488 _nl_current_CATEGORY symbol.
489 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
490 (tests-static): Add tst-langinfo-static.
491 (tests-special): Add tst-langinfo-static.out.
492 ($(objpfx)tst-langinfo.out): Redirect output.
493 ($(objpfx)tst-langinfo-static.out): New.
494 * localedata/tst-langinfo.sh: Send output to stdout.
495 * localedata/tst-langinfo-static.c: New file.
496
4406c41c
AJ
497 [BZ #16965]
498 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
499 when the shift amount is modulo the limb size.
500
4c0a1e63
RH
5012014-05-20 Richard Henderson <rth@redhat.com>
502
de9d8f20
RH
503 [BZ #16967]
504 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
505 Change type of sa_flags from unsigned int to int.
506
4c0a1e63
RH
507 [BZ #16966]
508 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
509
510 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
511
a60339aa
WN
5122014-05-20 Will Newton <will.newton@linaro.org>
513
514 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
515 Test the return value of the system call in the nocancel case.
516
7d05a816
YR
5172014-05-20 Will Newton <will.newton@linaro.org>
518 Yvan Roux <yvan.roux@linaro.org>
519
520 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
521 #include of asm/ptrace.h.
522 (PTRACE_GET_THREAD_AREA): Remove #undef.
523 (PTRACE_GETHBPREGS): Likewise.
524 (PTRACE_SETHBPREGS): Likewise.
525 (struct user_regs_struct): New structure.
526 (struct user_fpsimd_struct): New structure.
527 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
528 #include of asm/ptrace.h and second #include of sys/user.h.
529 (PTRACE_GET_THREAD_AREA): Remove #undef.
530 (PTRACE_GETHBPREGS): Likewise.
531 (PTRACE_SETHBPREGS): Likewise.
532 (ELF_NGREG): Use new struct user_regs_struct.
533 (elf_fpregset_t): Use new struct user_fpsimd_struct.
534
af121e37
AZ
5352014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536
537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
539
834caf06
JM
5402014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
541
542 [BZ #16958]
543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
544 membar to avoid block loads/stores to overlap previous stores.
545
e184a918
RH
5462014-05-17 Richard Henderson <rth@redhat.com>
547
548 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
549 Create the __##syscall_name##_nocancel entry point.
550 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
551 Remove; let the sysdep-cancel.h code create it.
552
f56c7a6a
DM
5532014-05-17 David S. Miller <davem@davemloft.net>
554
555 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
556 Protect with __USE_GNU.
557 (TIOCSET_TEMPT): Likewise.
558 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
559 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
560 these are already provided in bits/ioctl-types.h
561
f75616b2
RM
5622014-05-16 Roland McGrath <roland@hack.frob.com>
563
3edeca86
RM
564 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
565 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
566
f75616b2
RM
567 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
568 Use wait4 regardless of [__NR_waitpid].
569
deb0f7f6
MR
5702014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
571
572 PR libgcc/60166
573 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
574 (_FP_NANSIGN_Q): Set the quiet bit.
575
79520f4b
JM
5762014-05-16 Joseph Myers <joseph@codesourcery.com>
577
578 * benchtests/Makefile
579 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
580 not $(common-objpfx)math/libm.so.
581 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
582 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
583 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
584 $(common-objpfx)dlfcn/libdl.so.
585 ($(objpfx)tst-audit8): Depend on $(libm), not
586 $(common-objpfx)math/libm.so.
587 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
588 not $(common-objpfx)dlfcn/libdl.so.
589 * math/Makefile
590 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
591 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
592 [$(build-shared) = yes].
593 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
594 $(common-objpfx)nptl/libpthread.so.
595 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
596 $(common-objpfx)math/libm.so$(libm.so-version) or
597 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
598 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
599 $(common-objpfx)dlfcn/libdl.so.
600 * setjmp/Makefile (link-libm): Remove variable.
601 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
602 * stdio-common/Makefile (link-libm): Remove variable.
603 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
604 * stdlib/Makefile (link-libm): Remove variable.
605 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
606 ($(objpfx)tst-strtod-round): Likewise.
607 ($(objpfx)tst-tininess): Likewise.
608 ($(objpfx)tst-strtod-underflow): Likewise.
609 ($(objpfx)tst-strtod6): Likewise.
610 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
611 $(libdl), not $(common-objpfx)nptl/libpthread.so and
612 $(common-objpfx)dlfcn/libdl.so.
613
026b0fe4
AZ
6142014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
615
616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
617 BSD terminal modes definitions.
618
def4bcb2
RM
6192014-05-16 Roland McGrath <roland@hack.frob.com>
620
fe39b021
RM
621 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
622 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
623
1d1fc46e 624 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
625 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
626 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
627 Don't do #include_next.
628 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
629 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
630 Don't do #include_next.
631 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
632 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
633 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
634 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
635
c72399fb
AM
6362014-05-16 Allan McRae <allan@archlinux.org>
637
d51d659d
AM
638 * po/sv.po: Update Swedish translation from translation project.
639
c72399fb
AM
640 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
641 in sed expression.
642
d0583c40
AJ
6432014-05-16 Aurelien Jarno <aurelien@aurel32.net>
644
645 [BZ #16917]
646 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
647 errno if the TIOCGPTN ioctl fails with an error different than
648 EINVAL.
649 * login/tst-ptsname.c: New file.
650 * login/Makefile (tests): Add tst-ptsname.
651
d16e6ec7
AJ
652 [BZ #16943]
653 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
654 and prlimit64.
655
cf26a0cb
SP
6562014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
657
658 [BZ #16849]
659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
660 herrno to return EAI_AGAIN.
661
5675da1e
RM
6622014-05-14 Roland McGrath <roland@hack.frob.com>
663
a5d87b3d
RM
664 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
665 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
666 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
668 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
670 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
671 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
672 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
674 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
675 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
676 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
678 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
680 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
682 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
684 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
686 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
688 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
690 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
692 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
693 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
695 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
699 Moved ...
700 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
708 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
710 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
712 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
724 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
726 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
728 Moved ...
729 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
749 Moved ...
750 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
753
039890a6
RM
754 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
755 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
756 (libpthread-sysdep_routines): Add elision-related stuff here instead.
757 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
758 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
759 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
760 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
761 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
762 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
763 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
764 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
765 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
766 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
767 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
768 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
769 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
770 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
771 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
772 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
773 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
774 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
775 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
776 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
777 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
778 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
779 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
780 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
781 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
782 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
783 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
784 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
785
65c89320
RM
786 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
787 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
788
348f8e8c
RM
789 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
790 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
791 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
792 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
793 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
795 Moved ...
796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
797 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
798 Moved ...
799 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
800 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
801 Moved ...
802 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
804 Moved ...
805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
806 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
807 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
808 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
809 Moved ...
810 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
811 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
812 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
814 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
815 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
816 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
817 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
818 Moved ...
819 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
820 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
821 Moved ...
822 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
823 ... here.
824 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
825 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
826 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
827 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
828 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
829 Moved ...
830 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
831 ... here.
832 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
833 Moved ...
834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
835 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
836 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
837 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
838 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
840 Moved ...
841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
842 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
843 Moved ...
844 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
845 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
846 Moved ...
847 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
849 Moved ...
850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
851 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
852 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
853 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
854 Moved ...
855 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
856 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
857 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
859 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
860 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
861 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
862 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
863 Moved ...
864 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
865 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
866 Moved ...
867 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
868 ... here.
869 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
870 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
871 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
872 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
874 Moved ...
875 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
876 ... here.
877 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
878 Moved ...
879 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
880 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
881 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
882 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
883 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
884 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
885 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
886 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
887 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
889 Moved ...
890 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
892 Moved ...
893 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
895 Moved ...
896 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
898 Moved ...
899 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
900 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
901 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
902 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
903 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
905 Moved ...
906 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
907 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
908 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
910 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
912 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
913 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
914 Moved ...
915 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
917 Moved ...
918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
919 ... here.
920 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
921 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
923 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
925 Moved ...
926 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
927 ... here.
928 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
929 Moved ...
930 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
931 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
932 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
933 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
934 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
935 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
936 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
937 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
938 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
939 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
940 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
941
5085af05
RM
942 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
943 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
944
708f0813
RM
945 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
946 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
947
c96067bc
RM
948 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
949 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
950 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
951 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
952 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
953 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
954 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
955 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
956 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
957 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
958 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
959 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
960 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
961 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
962 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
964 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
966 Moved ...
967 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
969 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
971 Moved ...
972 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
974 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
976 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
978 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
980 Moved ...
981 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
982 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
983 Moved ...
984 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
989 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
990 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
991 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
992 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
993 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
994 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
995 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
996 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
997 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
998 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
999 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1000 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1001
ec136444
RM
1002 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1003 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1004 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1005 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1006 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1007
2fbdf533
RM
1008 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1009 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1011 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1012 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1013 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1014 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1015 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1016 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1017 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1018
4c68138b
RM
1019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1020 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1021
4eaae765
RM
1022 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1023 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1024 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1025 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1027 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1028 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1029 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1030 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1031 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1032 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1033 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1034 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1035 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1037 Update #include.
1038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1039 Likewise.
1040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1041 Likewise.
1042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1043 Likewise.
1044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1045 Likewise.
1046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1047 Likewise.
1048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1049 Likewise.
1050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1051 Likewise.
1052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1053 Likewise.
1054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1055 Likewise.
4ef6befa
RM
1056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1061 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1065 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1066 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1071
941d7dfd
RM
1072 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1073 that was previously under [RESET_PID].
1074 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1075 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1076 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1077
1b731c35
RM
1078 * sysdeps/i386/nptl/Implies: New file.
1079 * sysdeps/x86_64/nptl/Implies: New file.
1080 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1081 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1082 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1083 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1084
e2787137
RM
1085 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1086 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1087 (__libc_vfork): New strong alias.
1088 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1089 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1090
1091 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1092 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1093 (__libc_vfork): New strong alias.
1094 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1095 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1096
5675da1e
RM
1097 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1098 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1099 (__libc_vfork): New strong alias.
1100 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1101 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1102 * nptl/pt-vfork.c: New file.
1103 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1104 (libpthread: GLIBC_2.20): New version set (empty).
1105
4f02e2b8
WN
11062014-05-14 Will Newton <will.newton@linaro.org>
1107
1108 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1109 rather than #if.
1110
0bf061d3
JM
11112014-05-14 Joseph Myers <joseph@codesourcery.com>
1112
1a84c3d6
JM
1113 [BZ #16564]
1114 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1115 arguments with exponent 65 or above.
1116 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1117 arguments 0x1p113L or above.
1118 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1119 to arguments 0x1p107L or above.
1120 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1121 positive arguments with exponent 65 or above.
1122 * math/auto-libm-test-in: Add more tests of log1p.
1123 * math/auto-libm-test-out: Regenerated.
1124
01dbacd2
JM
1125 [BZ #16928]
1126 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1127 non-finite arguments is +0.
1128 * math/s_cacosf.c (__cacosf): Likewise.
1129 * math/s_cacosl.c (__cacosl): Likewise.
1130 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1131 * sysdeps/i386/fpu/libm-test-ulps: Update.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1133
913d03c8
JM
1134 [BZ #16927]
1135 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1136 value.
1137 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1138 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1139 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1140 for explicit high bit of mantissa when testing for argument equal
1141 to 1.
1142 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1143 * sysdeps/i386/fpu/libm-test-ulps: Update.
1144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1145
0bf061d3
JM
1146 [BZ #16516]
1147 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1148 (__erf): Scale by 16 instead of 8 in potentially underflowing
1149 case. Ensure exception if result actually underflows.
1150 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1151 (__erff): Scale by 16 instead of 8 in potentially underflowing
1152 case. Ensure exception if result actually underflows.
1153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1154 (efx8): Remove variable.
1155 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1156 case. Ensure exception if result actually underflows.
1157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1158 (efx8): Remove variable.
1159 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1160 case. Ensure exception if result actually underflows.
1161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1162 (efx8): Remove variable.
1163 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1164 case. Ensure exception if result actually underflows.
1165 * math/auto-libm-test-in: Add more tests of erf.
1166 * math/auto-libm-test-out: Regenerated.
1167
73ba67cb
AS
11682014-05-14 Andreas Schwab <schwab@suse.de>
1169
3d8c8bff
AS
1170 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1171 Remove code conditionalized on USE___THREAD.
1172
73ba67cb
AS
1173 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1174 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1175 not definedness.
1176
5c521ecd
JM
11772014-05-14 Joseph Myers <joseph@codesourcery.com>
1178
5e7698c6
JM
1179 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1180 Define unconditionally.
1181 (__ASSUME_O_CLOEXEC): Likewise.
1182 (__ASSUME_SOCK_CLOEXEC): Likewise.
1183 (__ASSUME_IN_NONBLOCK): Likewise.
1184 (__ASSUME_PIPE2): Likewise.
1185 (__ASSUME_EVENTFD2): Likewise.
1186 (__ASSUME_SIGNALFD4): Likewise.
1187 (__ASSUME_DUP3): Likewise.
1188 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1189 (__ASSUME_DUP3): Do not define.
1190 (__ASSUME_EVENTFD2): Likewise.
1191 (__ASSUME_IN_NONBLOCK): Likewise.
1192 (__ASSUME_O_CLOEXEC): Likewise.
1193 (__ASSUME_PIPE2): Likewise.
1194 (__ASSUME_SIGNALFD4): Likewise.
1195 (__ASSUME_SOCK_CLOEXEC): Likewise.
1196 (__ASSUME_UTIMES): Undefine.
1197 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1198 (__ASSUME_UTIMES): Do not define.
1199 (__ASSUME_O_CLOEXEC): Likewise.
1200 (__ASSUME_SOCK_CLOEXEC): Likewise.
1201 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1202 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1203 0x020621].
1204 (__ASSUME_PIPE2): Likewise.
1205 (__ASSUME_EVENTFD2): Likewise.
1206 (__ASSUME_SIGNALFD4): Likewise.
1207 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1208 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1209 Do not define.
1210 (__ASSUME_EVENTFD2): Likewise.
1211 (__ASSUME_SIGNALFD4): Likewise.
1212 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1213 (__ASSUME_32BITUIDS): Likewise.
1214 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1215 (__ASSUME_IPC64): Likewise.
1216 (__ASSUME_ST_INO_64_BIT): Likewise.
1217 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1218 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1219 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1220 (__ASSUME_UTIMES): Do not define.
1221 (__ASSUME_PSELECT): Likewise.
1222 (__ASSUME_PPOLL): Likewise.
1223 (__ASSUME_O_CLOEXEC): Likewise.
1224 (__ASSUME_SOCK_CLOEXEC): Likewise.
1225 (__ASSUME_IN_NONBLOCK): Likewise.
1226 (__ASSUME_PIPE2): Likewise.
1227 (__ASSUME_EVENTFD2): Likewise.
1228 (__ASSUME_SIGNALFD4): Likewise.
1229 (__ASSUME_DUP3): Likewise.
1230 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1231 (__ASSUME_UTIMES): Likewise.
1232 (__ASSUME_O_CLOEXEC): Likewise.
1233 (__ASSUME_SOCK_CLOEXEC): Likewise.
1234 (__ASSUME_IN_NONBLOCK): Likewise.
1235 (__ASSUME_PIPE2): Likewise.
1236 (__ASSUME_EVENTFD2): Likewise.
1237 (__ASSUME_SIGNALFD4): Likewise.
1238 (__ASSUME_DUP3): Likewise.
1239 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1240 (__ASSUME_UTIMES): Likewise.
1241 (__ASSUME_O_CLOEXEC): Likewise.
1242 (__ASSUME_SOCK_CLOEXEC): Likewise.
1243 (__ASSUME_IN_NONBLOCK): Likewise.
1244 (__ASSUME_PIPE2): Likewise.
1245 (__ASSUME_EVENTFD2): Likewise.
1246 (__ASSUME_SIGNALFD4): Likewise.
1247 (__ASSUME_DUP3): Likewise.
1248 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1249 Likewise.
1250 (__ASSUME_UTIMES): Likewise.
1251 (__ASSUME_EVENTFD2): Likewise.
1252 (__ASSUME_SIGNALFD4): Likewise.
1253 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1254 (__ASSUME_O_CLOEXEC): Likewise.
1255 (__ASSUME_SOCK_CLOEXEC): Likewise.
1256 (__ASSUME_IN_NONBLOCK): Likewise.
1257 (__ASSUME_PIPE2): Likewise.
1258 (__ASSUME_EVENTFD2): Likewise.
1259 (__ASSUME_SIGNALFD4): Likewise.
1260 (__ASSUME_DUP3): Likewise.
1261 (__ASSUME_UTIMES): Undefine.
1262
5c521ecd
JM
1263 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1264 feclearexcept. Remove symbol versioning code.
1265 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1266 symbol versioning code.
1267 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1268 symbol versioning code.
1269 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1270 feupdateenv. Remove symbol versioning code.
1271 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1272 fegetexceptflag. Remove symbol versioning code.
1273 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1274 fesetexceptflag. Remove symbol versioning code.
1275 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1276 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1277 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1278 (__posix_fadvise64_l32): Remove prototype.
1279 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1280 code.
1281
5da9dfad
RM
12822014-05-13 Roland McGrath <roland@hack.frob.com>
1283
1284 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1285 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1286 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1287 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1288
893b4f37
SK
12892014-05-13 Sami Kerola <kerolasa@iki.fi>
1290
1291 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1292 current working directory
1293
e0db6517
RM
12942014-05-13 Roland McGrath <roland@hack.frob.com>
1295
58aa195d
RM
1296 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1297 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1298 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1299 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1300 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1301 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1302 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1303 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1305 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1307 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1311 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1312 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1313 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1319 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1320 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1321 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1322 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1325 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1326 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1329 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1330 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1331 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1332 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1333 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1334 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1335 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1336 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1337 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1338
8c6d01f0
RM
1339 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1340 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1341
1342 * sysdeps/unix/sysv/linux/arm/Makefile
1343 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1344 Add rt-aeabi_unwind_cpp_pr1.
1345 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1346 Add nptl-aeabi_unwind_cpp_pr1.
1347 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1348 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1349 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1350 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1351 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1352 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1353
1354 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1355 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1356 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1357 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1358
bba6da4e
RM
1359 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1360 Deconditionalize the code that was previously under [RESET_PID].
1361 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1362
e0db6517
RM
1363 * sysdeps/generic/exit-thread.h: New file.
1364 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1365 * include/unistd.h (__exit_thread): Remove declaration.
1366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1367 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1368 * csu/libc-start.c: Include <exit-thread.h>.
1369 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1370 * nptl/pthread_create.c: Include <exit-thread.h>.
1371 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1372 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1373 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1374 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1375 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1376 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1377 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1378 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1379 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1380 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1381 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1382 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1383 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1384 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1385 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1386 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1387 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1388
01eb16fd
AS
13892014-05-13 Andreas Schwab <schwab@suse.de>
1390
1391 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1392
637461d9
JM
13932014-05-12 Joseph Myers <joseph@codesourcery.com>
1394
1395 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1396 (__ASSUME_UTIMES): Do not condition on kernel version.
1397 (__ASSUME_PSELECT): Define unconditionally.
1398 (__ASSUME_PPOLL): Likewise.
1399 (__ASSUME_ATFCTS): Likewise.
1400 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1401 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1402 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1403 (__ASSUME_UTIMENSAT): Define unconditionally.
1404 (__ASSUME_PRIVATE_FUTEX): Likewise.
1405 (__ASSUME_FALLOCATE): Likewise.
1406 (__ASSUME_O_CLOEXEC): Likewise.
1407 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1408 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1409 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1410 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1411 (__ASSUME_IN_NONBLOCK): Likewise.
1412 (__ASSUME_PIPE2): Likewise.
1413 (__ASSUME_EVENTFD2): Likewise.
1414 (__ASSUME_SIGNALFD4): Likewise.
1415 (__ASSUME_DUP3): Likewise.
1416 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1417 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1418 (__ASSUME_AT_RANDOM): Likewise.
1419 (__ASSUME_PREADV): Likewise.
1420 (__ASSUME_PWRITEV): Likewise.
1421 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1422 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1423 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1425 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1426 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1427 (__ASSUME_O_CLOEXEC): Define unconditionally.
1428 (__ASSUME_PSELECT): Do not undefine conditionally.
1429 (__ASSUME_PPOLL): Likewise.
1430 (__ASSUME_ATFCTS): Likewise.
1431 (__ASSUME_SET_ROBUST_LIST): Likewise.
1432 (__ASSUME_UTIMENSAT): Likewise.
1433 (__ASSUME_FDATASYNC): Define unconditionally.
1434 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1435 (__ASSUME_SIGFRAME_V2): Likewise.
1436 )__ASSUME_EVENTFD2): Likewise.
1437 (__ASSUME_SIGNALFD4): Likewise.
1438 (__ASSUME_PSELECT): Do not undefine conditionally.
1439 (__ASSUME_PPOLL): Likewise.
1440 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1441 (__ASSUME_PSELECT): Define unconditionally.
1442 (__ASSUME_PPOLL): Likewise.
1443 (__ASSUME_O_CLOEXEC): Likewise.
1444 (__ASSUME_SOCK_CLOEXEC): Likewise.
1445 (__ASSUME_IN_NONBLOCK): Likewise.
1446 (__ASSUME_PIPE2): Likewise.
1447 (__ASSUME_EVENTFD2): Likewise.
1448 (__ASSUME_SIGNALFD4): Likewise.
1449 (__ASSUME_DUP3): Likewise.
1450 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1451 (__ASSUME_O_CLOEXEC): Likewise.
1452 (__ASSUME_SOCK_CLOEXEC): Likewise.
1453 (__ASSUME_IN_NONBLOCK): Likewise.
1454 (__ASSUME_PIPE2): Likewise.
1455 (__ASSUME_EVENTFD2): Likewise.
1456 (__ASSUME_SIGNALFD4): Likewise.
1457 (__ASSUME_DUP3): Likewise.
1458 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1459 (__ASSUME_EVENTFD2): Likewise.
1460 (__ASSUME_SIGNALFD4): Likewise.
1461 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1462
315eb1d8
AS
14632014-05-12 Andreas Schwab <schwab@suse.de>
1464
1465 [BZ #16932]
1466 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1467 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1468 than maximum RPC packet size.
1469 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1470 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1471 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1472 (_nss_nis_getservbyport_r): Likewise.
1473
91df99f7
WN
14742014-05-12 Will Newton <will.newton@linaro.org>
1475
1476 * malloc/Makefile (tests): Add tst-mallopt.
1477 * malloc/tst-mallopt.c: New file.
1478
0a982a29
RM
14792014-05-09 Roland McGrath <roland@hack.frob.com>
1480
1481 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1482 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1483
0ded08a5
AZ
14842014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485
1486 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1487 (tst-tlsmod6.so): Likewise.
1488
55d4d550
RM
14892014-05-09 Roland McGrath <roland@hack.frob.com>
1490
1491 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1492
77d08aca
JM
14932014-05-09 Joseph Myers <joseph@codesourcery.com>
1494
1495 [BZ #16064]
1496 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1497 and <dl-procinfo.h>.
1498 (__fegetenv): Save SSE state in envp->__eip if supported.
1499 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1500 envp->__eip if supported.
1501 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1502 and <dl-procinfo.h>.
1503 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1504 __data_offset and __data_selector in environment to 0. Set SSE
1505 state if supported.
1506 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1507 test-fenv-sse.
1508 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1509 -mfpmath=sse.
1510 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1511
28162f4d
WN
15122014-05-09 Will Newton <will.newton@linaro.org>
1513
1514 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1515 and libc_relro_required for ARM.
1516 * sysdeps/arm/preconfigure: Regenerate.
1517
5a414ff7
DV
15182014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1519 Stefan Liebler <stli@linux.vnet.ibm.com>
1520
1521 * config.make.in (enable-lock-elision): New Makefile variable.
1522 * configure.ac: Likewise.
1523 * configure: Regenerate.
1524 * sysdeps/s390/configure.ac:
1525 Add check for gcc transactions support.
1526 * sysdeps/s390/configure: Regenerate.
1527 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1528 Build elision files if enabled.
1529 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1530 Add lock elision support for s390.
1531 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1532 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1533 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1534 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1535 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1536 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1537 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1538 Likewise.
1539 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1540 Likewise.
1541 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1542 Likewise.
1543 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1544 Likewise.
1545 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1546 (__lll_timedlock_elision, __lll_lock_elision)
1547 (__lll_unlock_elision, __lll_trylock_elision)
1548 (lll_timedlock_elision, lll_lock_elision)
1549 (lll_unlock_elision, lll_trylock_elision): Add.
1550 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1551 (pthread_mutex_t): Add lock elision support for s390.
1552
1a2f40e5
W
15532014-05-14 Wilco <wdijkstr@arm.com>
1554
1555 * sysdeps/arm/fclrexcpt.c: Cleanup.
1556 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1557 * sysdeps/arm/feenablxcpt.c: Cleanup.
1558 * sysdeps/arm/fegetenv.c: Cleanup.
1559 * sysdeps/arm/fegetexcept.c: Cleanup.
1560 * sysdeps/arm/fegetround.c: Cleanup.
1561 * sysdeps/arm/feholdexcpt.c: Cleanup.
1562 * sysdeps/arm/fesetenv.c: Cleanup.
1563 * sysdeps/arm/fesetround.c: Cleanup.
1564 * sysdeps/arm/feupdateenv.c: Cleanup.
1565 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1566 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1567 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1568 * sysdeps/arm/ftestexcept.c: Cleanup.
1569 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1570 * sysdeps/arm/setfpucw.c: Cleanup.
1571
f63c86fe
WN
15722014-05-09 Will Newton <will.newton@linaro.org>
1573
1574 * sysdeps/arm/armv7/strcmp.S: New file.
1575 * NEWS: Mention addition of ARMv7 optimized strcmp.
1576
7a1a51b5
RM
15772014-05-08 Roland McGrath <roland@hack.frob.com>
1578
95afbbe5
RM
1579 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1580 look for %.ac rather than %.in.
1581
1582 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1583 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1584 * sysdeps/mach/hurd/configure: Regenerated.
1585 * sysdeps/unix/sysv/linux/configure: Regenerated.
1586
7a1a51b5
RM
1587 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1588
5057ad3b
SE
15892014-05-07 Steve Ellcey <sellcey@mips.com>
1590
1591 [BZ# 16922]
1592 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1593 (LONG_SUB): Ditto.
1594 (PTR_SUB): Ditto.
1595
8dc97517
AS
15962014-05-07 Andreas Schwab <schwab@suse.de>
1597
1598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1599 when skipping over non-matching result from nscd.
1600
ce0c5b8f
OB
16012014-05-07 Ondřej Bílka <neleai@seznam.cz>
1602
1603 [BZ #16876]
1604 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1605
a1189263
OB
1606 [BZ #16877]
1607 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1608 nscd security class.
ce0c5b8f 1609
0f58d252
RM
16102014-05-06 Roland McGrath <roland@hack.frob.com>
1611
1612 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1613 * sysdeps/arm/unwind.h: ... here.
1614
83df9ad0
AJ
16152014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1616
ce0c5b8f
OB
1617 [BZ# 16916]
1618 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1619 Define.
83df9ad0 1620
f360f94a
VR
16212014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1622
1623 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1624 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1625 multiarch strncpy for PPC64.
1626 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1627 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1629 multiarch optimizations.
1630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1631 (__libc_ifunc_impl_list): Likewise.
1632 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1633 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1634 multiarch stpncpy for PPC64.
1635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1636 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1637
978a41c3
AS
16382014-05-06 Andreas Schwab <schwab@suse.de>
1639
1640 [BZ #16912]
1641 * gmon/mcount.c (_MCOUNT_DECL): Use
1642 atomic_compare_and_exchange_bool_acq instead of
1643 catomic_compare_and_exchange_bool_acq.
1644
eb1ed03d
RM
16452014-05-05 Roland McGrath <roland@hack.frob.com>
1646
fe658845
RM
1647 * elf/Makefile (others, install-bin): Remove pldd.
1648 (pldd-modules): Variable removed.
1649 ($(objpfx)pldd): Target removed.
1650 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1651 (others, install-bin): Append pldd here.
1652 ($(objpfx)pldd): New target.
1653
eb1ed03d
RM
1654 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1655 to 0, so the first #if test emitted later doesn't see it undefined.
1656 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1657 * sysdeps/gnu/errlist.c: Regenerated.
1658
19c4bec0
AZ
16592014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1662 [libc_hidden_builtin_def]: Define to empty value.
1663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1664 [libc_hidden_builtin_def]: Likewise.
1665 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1666 [libc_hidden_builtin_def]: Likewise.
1667 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1668 [libc_hidden_builtin_def]: Likewise.
1669 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1670 __redirect_memcpy and define ifunc as default hidden symbol.
1671 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1672 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1673
7776e669
AC
16742014-05-04 Adam Conrad <adconrad@0c3.net>
1675
1676 * locale/iso-4217.def: Reintroduce XDR currency.
1677
d69aeb12
AM
16782014-05-04 Allan McRae <allan@archlinux.org>
1679
1680 * po/eo.po: Update Esperanto translation from translation project.
1681
8f1df5cf
CD
16822014-05-02 Carlos O'Donell <carlos@redhat.com>
1683
1684 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1685 and FEATURE_INDEX_MAX to 1.
1686 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1687
13e402e7
SE
16882014-05-01 Steve Ellcey <sellcey@mips.com>
1689
1690 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1691 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1692 * iconvdata/big5.c (ONE_DIRECTION): Define.
1693 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1694 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1695 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1696 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1697 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1698 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1699 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1700 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1701 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1702 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1703 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1704 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1705 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1706 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1707 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1708 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1709 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1710 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1711 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1712 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1713 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1714 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1715 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1716 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1717 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1718 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1719 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1720 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1721 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1722 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1723 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1724 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1725 * iconvdata/johab.c (ONE_DIRECTION): Define.
1726 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1727 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1728 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1729 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1730 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1731 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1732 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1733 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1734 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1735 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1736
c727f032
RM
17372014-05-01 Roland McGrath <roland@hack.frob.com>
1738
8f2f08d0
RM
1739 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1740 (_IO_JUMPS_OFFSET): Define to 0.
1741
c727f032
RM
1742 * nptl/sysdeps/pthread/bits/libc-lock.h
1743 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1744 (__libc_lock_define_initialized_recursive): Always define using
1745 initializer. Modern compilers treat uninitialized (implicit zero) and
1746 explicit zero initializers the same (i.e. put the datum in bss).
1747
a849e800
AS
17482014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1749
1750 * nscd/nscd-client.h: Include <string.h>.
1751
5331255b
DM
17522014-05-01 David S. Miller <davem@davemloft.net>
1753
1754 [BZ #16885]
1755 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1756 multiple zero bytes exist at the end of a string.
1757 Reported by Aurelien Jarno <aurelien@aurel32.net>
1758
1759 * string/test-strcmp.c (check): Add explicit test for situations where
1760 there are multiple zero bytes after the first.
1761
4fdfe821
AS
17622014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1763
1764 [BZ #16890]
1765 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1766 when compiling wprintf.
1767 * stdio-common/tstdiomisc.c (t3): New function.
1768 (main): Call it.
1769
0cdddc25
SE
17702014-05-01 Steve Ellcey <sellcey@mips.com>
1771
1772 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1773 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1774 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1775 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1776
6426d77e
SE
17772014-05-01 Steve Ellcey <sellcey@mips.com>
1778
1779 * stdlib/longlong.h: Updated from GCC.
1780
6d96f5e4
WN
17812014-05-01 Will Newton <will.newton@linaro.org>
1782 Bernard Ogden <bernie.ogden@linaro.org>
1783
7470db0c
WN
1784 * NEWS: Update fixed bug list.
1785
6d96f5e4
WN
1786 [BZ #15119]
1787 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1788
211d653c
DM
17892014-04-30 David S. Miller <davem@davemloft.net>
1790
4fa262fa
DM
1791 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1792 (libc_feholdexcept_setround_sparc_ctx): New function.
1793 (libc_fesetenv_sparc_ctx): Likewise.
1794 (libc_feupdateenv_sparc_ctx): Likewise.
1795 (libc_feholdsetround_sparc_ctx): Likewise.
1796 (libc_feholdexcept_setround_ctx): Define.
1797 (libc_feholdexcept_setroundf_ctx): Likewise.
1798 (libc_feholdexcept_setroundl_ctx): Likewise.
1799 (libc_fesetenv_ctx): Likewise.
1800 (libc_fesetenvf_ctx): Likewise.
1801 (libc_fesetenvl_ctx): Likewise.
1802 (libc_feupdateenv_ctx): Likewise.
1803 (libc_feupdateenvf_ctx): Likewise.
1804 (libc_feupdateenvl_ctx): Likewise.
1805 (libc_feresetround_ctx): Likewise.
1806 (libc_feresetroundf_ctx): Likewise.
1807 (libc_feresetroundl_ctx): Likewise.
1808 (libc_feholdsetround_ctx): Likewise.
1809 (libc_feholdsetroundf_ctx): Likewise.
1810 (libc_feholdsetroundl_ctx): Likewise.
1811
1d3d93ef
DM
1812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1813 with __USE_GNU instead of XOPEN cpp guards.
1814
8aa583c3
DM
1815 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1816 0.
1817
211d653c
DM
1818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1819 with XOPEN cpp guards.
1820
60c8f1f6
JB
18212014-04-30 Julian Brown <julian@codesourcery.com>
1822
1823 [BZ #16888]
1824 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1825 handling.
1826
9a461d46
JM
18272014-04-30 Joseph Myers <joseph@codesourcery.com>
1828
d0f5b3f8
JM
1829 [BZ #9894]
1830 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1831 Change to 2.6.32.
1832 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1833 * sysdeps/unix/sysv/linux/configure: Regenerated.
1834 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1835 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1836 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1837 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1838 * README: Update reference to required Linux kernel version.
1839 * manual/install.texi (Linux): Update reference to required Linux
1840 kernel headers version.
1841 * INSTALL: Regenerated.
1842
9a461d46
JM
1843 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1844 header inclusion.
1845 [POSIX] (limits.h): Likewise.
1846 [POSIX] (math.h): Likewise.
1847 [POSIX] (sys/wait.h): Likewise.
1848 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1849 function.
1850 [POSIX] (stddef.h): Do not allow header inclusion.
1851
1775babf
AZ
18522014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853
57f41c40 1854 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1855
8f630cca
YY
18562014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1857
1858 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1859 Return immediately after lll_futex_wake.
1860
1cdeb237
SP
18612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1862
bc8f194c
SP
1863 [BZ #16791]
1864 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1865 structure.
1866 (datahead_init_pos): Call datahead_init_common early.
1867 (datahead_init_neg): Likewise.
1868
1cdeb237
SP
1869 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1870 datahead_init_neg): New functions.
1871 * nscd/aicache.c (addhstaiX): Use them.
1872 * nscd/grpcache.c (cache_addgr): Likewise.
1873 * nscd/hstcache.c (cache_addhst): Likewise.
1874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1875 * nscd/netgroupcache.c (do_notfound): Likewise.
1876 (addgetnetgrentX): Likewise.
1877 (addinnetgrX): Likewise.
1878 * nscd/pwdcache.c (cache_addpw): Likewise.
1879 * nscd/servicescache.c (cache_addserv): Likewise.
1880
16b293a7
SP
18812014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1882 Atsushi Onoe <atsushi@onoe.org>
1883
1884 [BZ #14308]
1885 [BZ #12994]
1886 [BZ #13651]
1887 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1888 one response is valid.
1889 * resolv/res_send.c (send_dg): Check for validity of other
1890 response if the current response is a referral.
1891
a28a9b94
SE
18922014-04-29 Steve Ellcey <sellcey@mips.com>
1893
1894 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1895
2ca180e9
SL
18962014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1897
1898 [BZ #16823]
1899 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1900 Always divide by positive zero when computing -Inf result.
1901 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1902 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1903
18f2945a
AZ
19042014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905
1906 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1907 FPSCR if value do not change.
1908 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1909 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1910 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1911 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1912 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1913 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1914 function.
1915
5abebba4
CD
19162014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1917
1918 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1919 * sysdeps/unix/sysv/linux/hppa: Move directory from
1920 ports/systeps/unix/sysv/linux/hppa.
1921 * README: Update listing for hppa-*-linux-gnu.
1922
f7ed60c2
OB
19232014-04-28 Ondřej Bílka <neleai@seznam.cz>
1924
fff763a5
OB
1925 [BZ #16754]
1926 * manual/stdio.texi (Hook functions): Fix types of stream hook
1927 functions.
f7ed60c2
OB
1928 [BZ #16854]
1929 * socket/sys/socket.h: Fix typo in comment.
1930
df639d73
WD
19312014-04-28 Wilco <wdijkstr@arm.com>
1932
f7ed60c2 1933 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1934 * sysdeps/arm/math_private.h: New file.
1935 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1936
48332d82
L
19372014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1938
1939 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1940 with __int128_t.
1941 (La_x86_64_retval): Likewise.
1942
e5e0d9a4
IB
19432014-04-24 Ian Bolton <ian.bolton@arm.com>
1944
1945 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1946 fpsr if value didn't change.
1947 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1948 to fpcr if value didn't change.
1949 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1950 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1951 fpsr or fpcr if value didn't change.
1952 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1953 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1954 fpcr if value didn't change.
1955 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1956 to fpsr if value didn't change.
1957
bacc75f7
SP
19582014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1959
1960 * nptl/tst-sem3.c: Use test-skeleton.c
1961 (main): Rename to do_test. Use return instead of
1962 exit.
1963 * nptl/tst-sem4.c: Use test-skeleton.c
1964 (main): Rename to do_test.
1965
a059d359
DM
19662014-04-22 David S. Miller <davem@davemloft.net>
1967
1968 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1969 (struct sigaction): New struct member __glibc_reserved0, change
1970 type of sa_flags to int.
1971
ea6c92f3
YZ
19722014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1973
1974 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1975 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1976
766c4a36
SP
19772014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1978
1979 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1980 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1981
140cc7ab
VK
19822014-04-22 Will Newton <will.newton@linaro.org>
1983 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1984
1985 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1986 (__longjmp): Add longjmp and longjmp_target SystemTap
1987 probes.
1988 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1989 (__sigsetjmp): Add setjmp SystemTap probe.
1990
c54e5cf7
CD
19912014-04-17 Carlos O'Donell <carlos@redhat.com>
1992
1993 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1994 match manual order.
1995
75ffb047
AZ
19962014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1997
1998 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1999
2cd925f7
AZ
2000 * sysdeps/powerpc/fpu/fenv_private.h
2001 (libc_feholdexcept_setroundl_ctx): Define to
2002 libc_feholdexcept_setround_ppc_ctx.
2003 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2004 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2005 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2006 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2007
39e6cd8d
IB
20082014-04-17 Ian Bolton <ian.bolton@arm.com>
2009
2010 * sysdeps/aarch64/math-tests.h: New file.
2011
f9281df9
SY
20122014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2013
2014 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2015 New.
2016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2017 Check and set bit_AVX2_Usable.
2018 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2019 macro.
2020 (bit_AVX2): Likewise.
2021 (index_AVX2_Usable): Likewise.
2022 (CPUID_AVX2): Likewise.
2023 (HAS_AVX2): Likewise.
2024
37d35007
WN
20252014-04-17 Will Newton <will.newton@linaro.org>
2026
7c677662
WN
2027 * manual/setjmp.texi (System V contexts): Add note that
2028 calling setcontext on a context created by a call to a
2029 signal handler is undefined. Update text to note that
2030 setcontext from a signal handler is possible but not
2031 recommended.
2032
37d35007 2033 [BZ #16629]
e04a4e9d
WN
2034 * stdlib/tst-setcontext.c: Include signal.h.
2035 (main): Check that the signal stack before and
2036 after swapcontext is the same.
2037
37d35007
WN
2038 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2039 Re-implement to restore registers in user code and avoid
2040 rt_sigreturn system call.
2041
423a7160
W
20422014-04-17 Wilco <wdijkstr@arm.com>
2043
2044 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2045 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2046 * math/test-fenv.c: Skip exception trap tests on targets which only
2047 support non-stop mode.
2048
bc93ab29
IB
20492014-04-17 Ian Bolton <ian.bolton@arm.com>
2050 Wilco Dijkstra <wilco.dijkstra@arm.com>
2051
2052 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2053 (libc_feholdsetround_aarch64_ctx)
2054 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2055 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2056 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2057 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2058 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2059 (libc_feresetround_noexl_ctx): Define.
2060
95fc5fa3
RH
20612014-04-16 Richard Henderson <rth@redhat.com>
2062
ddb04724
RH
2063 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2064
d77c0899
RH
2065 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2066 unwind tables.
2067
a3df56fc
RH
2068 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2069 const from the non-libc, non-ldso copy.
2070
95fc5fa3
RH
2071 * sysdeps/alpha/libm-test-ulps: Regenerate.
2072
7e0b6763
IB
20732014-04-16 Ian Bolton <ian.bolton@arm.com>
2074 Wilco Dijkstra <wilco.dijkstra@arm.com>
2075
2076 * sysdeps/aarch64/fpu/math_private.h: New file.
2077
a9ea2e0c
MS
20782014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2079
2080 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2081
ea8ba7cd
IZ
20822014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2083
2084 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2085 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2087 Intel MPX bound registers before _dl_profile_fixup.
2088 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2089 registers after _dl_profile_fixup. Save and restore bound
2090 registers bnd0/bnd1 when calling _dl_call_pltexit.
2091 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2092 (LR_BND_OFFSET): Likewise.
2093 (LRV_BND0_OFFSET): Likewise.
2094 (LRV_BND1_OFFSET): Likewise.
2095
9f2a4fbc
ST
20962014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2097
2098 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2099 to...
2100 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2101 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2102 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2103 fields.
9f2a4fbc 2104
fd15a59b
ST
21052014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2106
2107 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2108
f19dfa0a
SL
21092014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2110
2111 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2112
4fa8bc3b
SL
21132014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2114
2115 [BZ #14770]
2116 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2117 * sysdeps/s390/configure: Regenerate.
2118
8ea587db
SL
2119 [BZ #16824]
2120 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2121 Set round-to-nearest internally to reduce error accumulation.
2122
aa5f0ff1
AM
21232014-04-16 Alan Modra <amodra@gmail.com>
2124
2125 [BZ #16740]
2126 [BZ #16619]
2127 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2128 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2129 * NEWS: Update fixed bug list.
aa5f0ff1 2130
bb9c256f
SP
21312014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2132
2133 * benchtests/Makefile: Depend on libraries in build directory.
2134 (bench-math): Separate out math tests.
2135 (bench-pthread): Separate out pthread tests.
2136 (bench): Include math and pthread tests.
2137
f737dfd0
CD
21382014-04-14 Carlos O'Donell <carlos@redhat.com>
2139
2140 [BZ #16831]
2141 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2142 _dl_debug_initialize.
2143
0699f766
CD
2144 * configure.ac: Remove SELinux header check.
2145 * configure: Regenerate.
2146 * nscd/selinux.c (perms): Array of const char* to permission names.
2147 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2148 default policy. Call string_to_security_class and string_to_av_perm to
2149 translate strings. Enforce default policy and call avs_has_perm with
2150 results of translated strings.
2151
809bd45f
DM
21522014-04-13 David S. Miller <davem@davemloft.net>
2153
2154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2155
89e691f2
AM
21562014-04-12 Allan McRae <allan@archlinux.org>
2157
2158 [BZ #16838]
2159 * manual/string.texi (Collation Functions): Fix qsort argument
2160 order in example.
2161 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2162
9c9daaeb
CM
21632014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2164
2165 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2166 Make the test a no-op if there are no exceptions defined.
2167
95561fb9
PP
21682014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2169
fe8d072c 2170 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2171 enable-hardcoded-path-in-tests
2172
970c602a
WN
21732014-04-11 Will Newton <will.newton@linaro.org>
2174
2175 * benchtests/Makefile (extra-objs): Add json-lib.o.
2176 (bench-func): Tidy up JSON output.
2177 * benchtests/bench-skeleton.c: Include json-lib.h.
2178 (main): Use JSON library functions to do output of
2179 benchmark results.
2180 * benchtests/bench-timing-type.c (main): Output the
2181 timing type simply, leaving formatting to the user.
2182 * benchtests/json-lib.c: New file.
2183 * benchtests/json-lib.h: Likewise.
2184
36875b06
TR
21852014-04-11 Torvald Riegel <triegel@redhat.com>
2186
2187 [BZ #15215]
2188 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2189 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2190 memory barriers. Add comments.
2191 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2192 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2193 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2194 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2195 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2196 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2197
579db35a
SL
21982014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2199
2200 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2201 * sysdeps/s390/s390-64/configure.ac: ... this ...
2202 * sysdeps/s390/configure.ac: ... to here.
2203 * sysdeps/s390/s390-32/configure: Delete file.
2204 * sysdeps/s390/s390-64/configure: Delete file.
2205 * sysdeps/s390/configure: Regenerate.
2206
c12e9f37
JAPH
22072014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2208
2209 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2210
439bda32
WN
22112014-04-11 Will Newton <will.newton@linaro.org>
2212
2213 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2214 to zero if it is not defined elsewhere. (mtrim): Test
2215 the value of MALLOC_DEBUG with #if rather than #ifdef.
2216
6a5d6ea1
TR
22172014-04-10 Torvald Riegel <triegel@redhat.com>
2218
2219 * benchtests/pthread_once-inputs: New file.
2220 * benchtests/pthread_once-source.c: New file.
2221 * benchtests/README: Update documentation.
2222
a4c75cfd
IZ
22232014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2224 H.J. Lu <hongjiu.lu@intel.com>
2225
2226 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2227 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2228 * sysdeps/x86_64/configure: Regenerated.
2229 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2230 macro.
2231 (REGISTER_SAVE_RAX): Likewise.
2232 (REGISTER_SAVE_RCX): Likewise.
2233 (REGISTER_SAVE_RDX): Likewise.
2234 (REGISTER_SAVE_RSI): Likewise.
2235 (REGISTER_SAVE_RDI): Likewise.
2236 (REGISTER_SAVE_R8): Likewise.
2237 (REGISTER_SAVE_R9): Likewise.
2238 (REGISTER_SAVE_BND0): Likewise.
2239 (REGISTER_SAVE_BND1): Likewise.
2240 (REGISTER_SAVE_BND2): Likewise.
2241 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2242 bound registers when calling _dl_fixup.
2243
27822ce6
AZ
22442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2245
2246 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2247 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2248 of its definition.
27822ce6
AZ
2249 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2250 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2251 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2252 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2253 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2254 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2255 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2256
a88ddc90
PTB
22572014-04-09 Peter Brett <peter@peter-b.co.uk>
2258
2259 [BZ #15514]
2260 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2261 pathconf(_PC_NAME_MAX).
2262
01f8eac2
AZ
22632014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2264
2265 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2266 Remove macro usage.
2267 (__PTHREAD_SPINS): Move definition to ...
2268 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2269 (__PTHREAD_SPINS): ... here.
2270 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2271 (__PTHREAD_SPIN): Likewise.
2272 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2273 (__PTHREAD_SPIN): Likewise.
2274 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2275 (__PTHREAD_SPIN): Likewise.
2276 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2277 (__PTHREAD_SPIN): Likewise.
2278 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2279 (__PTHREAD_SPIN): Likewise.
2280 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2281 (__PTHREAD_SPIN): Likewise.
2282 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2283 (__PTHREAD_SPIN): Likewise.
2284 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2285 (__PTHREAD_SPIN): Likewise.
2286 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2287 (__PTHREAD_SPIN): Likewise.
2288 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2289 (__PTHREAD_SPIN): Likewise.
2290 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2291 (__PTHREAD_SPIN): Likewise.
2292 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2293 (__PTHREAD_SPIN): Likewise.
2294
de21c33c
AZ
2295 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2296 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2297 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2298 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2299 imply folder.
2300 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2301 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2302 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2303 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2304 correct imply path.
2305 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2306 strlen symbol for non multi-arch builds.
2307 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2308 missing hidden_def and weak_alias.
2309
862c472e
CD
23102014-04-08 Carlos O'Donell <carlos@redhat.com>
2311
2312 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2313
8667f90e
WN
23142014-04-07 Will Newton <will.newton@linaro.org>
2315
2316 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2317 and contents. [!_LIBC] Remove #ifndef and contents.
2318 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2319 * string/memccpy.c (__memccpy): Use ANSI prototype.
2320 * string/memfrob.c (memfrob): Likewise.
2321 * string/strcoll.c (STRCOLL): Likewise.
2322 * string/strlen.c (strlen): Likewise.
2323 * string/strtok.c (STRTOK): Likewise.
2324 * string/strcat.c: Remove unused #include of memcopy.h.
2325 (strcat): Use ANSI prototype.
2326 * string/strchr.c: Remove unused #include of memcopy.h.
2327 (strchr): Use ANSI prototype.
2328 * string/strcmp.c: Remove unused #include of memcopy.h.
2329 (strcmp): Use ANSI prototype.
2330 * string/strcpy.c: Remove unused #include of memcopy.h.
2331 (strcpy): Use ANSI prototype.
2332
7ffa9423
AZ
23332014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2336 * config.make.in (config-extra-cppflags): Set it from
2337 libc_extra_cppflags.
2338 * configure.ac (libc_extra_cflags): Make it accumulate over
2339 configure fragments.
2340 (libc_extra_cppflags): New flag.
2341 * configure. Regenerate.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2343 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2344 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2346
8bd70862
AZ
2347 [BZ #16815]
2348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2349 result for FE_DOWNWARD rounding mode.
2350 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2351 Likewise.
2352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2353
d42f3448
CM
23542014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2355
2356 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2357 in function argument name.
2358
1c21d115
DS
23592014-04-03 David Svoboda <svoboda@cert.org>
2360
2361 [BZ #5666]
2362 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2363 explicitly.
2364
fcccd512
RM
23652014-04-03 Roland McGrath <roland@hack.frob.com>
2366
2367 * elf/dl-unmap-segments.h: New file.
2368 * sysdeps/generic/ldsodefs.h
2369 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2370 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2371 * elf/dl-fptr.c: Likewise.
2372 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2373 * sysdeps/aarch64/tlsdesc.c: Likewise.
2374 * sysdeps/arm/tlsdesc.c: Likewise.
2375 * sysdeps/i386/tlsdesc.c: Likewise.
2376 * sysdeps/tile/dl-runtime.c: Likewise.
2377 * sysdeps/x86_64/tlsdesc.c: Likewise.
2378 * elf/dl-load.h: New file.
2379 * elf/dl-load.c: Include it.
2380 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2381 Macros moved to dl-load.h.
2382 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2383 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2384 Use _dl_unmap_segments in place of __munmap.
2385 Break out segment-mapping loop into ...
2386 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2387
f6488e2b
WN
23882014-04-03 Will Newton <will.newton@linaro.org>
2389
2390 * elf/dl-lookup.c (do_lookup_x): Remove comment
2391 referring to nested function and move variable
2392 declarations down to before first use.
2393
6f05bafe
JM
23942014-04-02 Joseph Myers <joseph@codesourcery.com>
2395
a84e78c8
JM
2396 [BZ #16799]
2397 [BZ #16800]
2398 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2399 with 0 numerator.
2400 * math/s_catanf.c (__catanf): Likewise.
2401 * math/s_catanh.c (__catanh): Likewise.
2402 * math/s_catanhf.c (__catanhf): Likewise.
2403 * math/s_catanhl.c (__catanhl): Likewise.
2404 * math/s_catanl.c (__catanl): Likewise.
2405 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2406 by positive zero when computing -Inf result.
2407 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2408 (catanh_test): Likewise.
2409 * sysdeps/i386/fpu/libm-test-ulps: Update.
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2411
6f05bafe
JM
2412 [BZ #16789]
2413 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2414 instead of using underflowing value in computing result.
2415 * math/s_clog10.c (__clog10): Likewise.
2416 * math/s_clog10f.c (__clog10f): Likewise.
2417 * math/s_clog10l.c (__clog10l): Likewise.
2418 * math/s_clogf.c (__clogf): Likewise.
2419 * math/s_clogl.c (__clogl): Likewise.
2420 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2421 (clog10_test): Likewise.
2422 * sysdeps/i386/fpu/libm-test-ulps: Update.
2423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2424
b0abbc21
AM
24252014-04-02 Alan Modra <amodra@gmail.com>
2426
2427 [BZ #16739]
2428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2429 output when value is near a power of two. Use int64_t for lx and
2430 remove casts. Use decimal rather than hex exponent constants.
2431 Don't use long double multiplication when double will suffice.
2432 * math/libm-test.inc (nextafter_test_data): Add tests.
2433 * NEWS: Add 16739 and 16786 to bug list.
2434
af6b1797
AM
2435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2436
483818d7
AM
2437 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2438
f6c55796
WN
24392014-04-01 Will Newton <will.newton@linaro.org>
2440
2441 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2442 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2443
13f7fe35
FW
24442014-04-01 Florian Weimer <fweimer@redhat.com>
2445
2446 [BZ #13347]
2447 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2448 * nptl/tst-setuid2.c: New file.
2449 * nptl/Makefile (xtests): Add tst-setuid2.
2450
c859b32e
AM
24512014-04-01 Alan Modra <amodra@gmail.com>
2452
2453 [BZ #16786]
2454 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2455
54fa2475
JM
24562014-03-31 Joseph Myers <joseph@codesourcery.com>
2457
8795b4a4
JM
2458 [BZ #6803]
2459 [BZ #6804]
2460 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2461 set errno as appropriate.
2462 * math/w_scalbf.c (__scalbf): Likewise.
2463 * math/w_scalbl.c (__scalbl): Likewise.
2464 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2465 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2466 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2467 Add more NaN tests.
2468
54fa2475
JM
2469 [BZ #16349]
2470 * math/w_atan2.c: Include <errno.h>.
2471 (__atan2): Set errno for result underflowing to zero.
2472 * math/w_atan2f.c: Include <errno.h>.
2473 (__atan2f): Set errno for result underflowing to zero.
2474 * math/w_atan2l.c: Include <errno.h>.
2475 (__atan2l): Set errno for result underflowing to zero.
2476 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2477 tests.
2478 * math/auto-libm-test-out: Regenerated.
2479
757d9dd5
AZ
24802014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481
2482 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2483 Encode instruction correctly in little endian.
2484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2485 Likewise.
2486 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2487 Likewise.
2488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2489 Likewise.
2490 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2491 Likewise.
2492
d7a68734
JM
24932014-03-31 Joseph Myers <joseph@codesourcery.com>
2494
47c5adeb
JM
2495 [BZ #9894]
2496 * sysdeps/unix/sysv/linux/kernel-features.h
2497 [__sparc__ && !__arch64__ && !__sparc_v9__]
2498 (__ASSUME_SET_ROBUST_LIST): Do not define.
2499 [__sparc__ && !__arch64__ && !__sparc_v9__]
2500 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2501 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2502 Likewise.
2503 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2504 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2505 (__ASSUME_REQUEUE_PI): Likewise.
2506 (__ASSUME_SET_ROBUST_LIST): Likewise.
2507 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2508 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2509 Undefine.
2510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2512 Likewise.
2513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2514 Likewise.
2515 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2516 Likewise.
2517 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2518 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2519 Undefine.
2520 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2521 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2522 Likewise.
2523
d7a68734
JM
2524 [BZ #16648]
2525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2526 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2527 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2528
c760f5c2
WN
25292014-03-31 Will Newton <will.newton@linaro.org>
2530
2531 * benchtests/Makefile (bench): Add ffs and ffsll to list
2532 of tests.
2533 * benchtests/ffs-inputs: New file.
2534 * benchtests/ffsll-inputs: Likewise.
2535
ea6029b1
JM
25362014-03-29 Joseph Myers <joseph@codesourcery.com>
2537
2538 [BZ #16770]
2539 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2540 too large before casting to int.
2541 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2542 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2543 * math/libm-test.inc (scalb_test_data): Add more tests.
2544
cf806aff
SP
25452014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2546
56737508
SP
2547 * benchtests/Makefile (DETAILED_OPT): New make option.
2548 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2549 set.
2550 * benchtests/bench-skeleton.c: Include stdbool.h.
2551 (main): Store and print timings per input.
2552 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2553 member to each argument value.
2554 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2555 (_print_arg_data): Initialize per-input timing to 0.
2556
cb5e4aad
SP
2557 * benchtests/Makefile (timing-type): New binary.
2558 (bench-clean): Also remove bench-timing-type.
2559 (bench): New target for timing-type.
2560 (bench-func): Print output in JSON format.
2561 * benchtests/bench-skeleton.c (main): Print output in JSON
2562 format.
2563 * benchtests/bench-timing-type.c: New file.
2564 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2565 (TIMING_PRINT_STATS): Remove.
2566 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2567 name separately.
2568
cf806aff
SP
2569 * benchtests/bench-modf.c: Remove.
2570 * benchtests/modf-inputs: New inputs file.
2571
289e0779
JM
25722014-03-28 Joseph Myers <joseph@codesourcery.com>
2573
2574 [BZ #16362]
2575 * math/s_clog10.c (M_PI_LOG10E): New macro.
2576 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2577 imaginary parts are 0.
2578 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2579 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2580 imaginary parts are 0.
2581 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2582 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2583 imaginary parts are 0.
2584 * math/libm-test.inc (clog10_test_data): Update expected results
2585 for when real and imaginary parts are 0.
2586
277ae3f1
PP
25872014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2588
2589 * elf/dl-load.c: Finish conversion of __builtin_expect into
2590 __glibc_{un}likely.
2591
03a7091f
JM
25922014-03-27 Joseph Myers <joseph@codesourcery.com>
2593
2594 [BZ #16348]
2595 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2596 1+x for argument with exponent below -67.
2597 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2598 Likewise.
2599 * math/auto-libm-test-in: Add more tests of exp.
2600 * math/auto-libm-test-out: Regenerated.
2601
ea7d8b95
SP
26022014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2603
dd3022d7
SP
2604 [BZ #16759]
2605 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2606 (nscd_getnetgrent): Use it.
2607
ea7d8b95
SP
2608 [BZ #16760]
2609 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2610 of stpcpy.
2611
df5b85da
AK
26122014-03-27 Andi Kleen <ak@linux.intel.com>
2613
57f41c40
AS
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2615 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2616 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2617 (lll_robust_unlock): Remove out of line section. Use cfi
2618 intrinsics.
df5b85da 2619 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2620 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2621 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2622 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2623 (lll_robust_unlock): Remove out of line section. Use cfi
2624 intrinsics.
df5b85da
AK
2625 (LLL_STUB_UNWIND_INFO*): Remove.
2626
fbd6b5a4
SP
26272014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
2629 [BZ #16758]
2630 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2631 blank values.
2632
1b26b855
PP
26332014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2634
2635 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2636
9be36fb8
JM
26372014-03-26 Joseph Myers <joseph@codesourcery.com>
2638
2639 [BZ #16198]
2640 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2641 fnstenv.
2642 * math/test-fenv-preserve.c: New file.
2643 * math/Makefile (tests): Add test-fenv-preserve.
2644
60a2f3c1
WN
26452014-03-26 Will Newton <will.newton@linaro.org>
2646
2647 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2648
a5e5f1e2
RM
26492014-03-25 Roland McGrath <roland@hack.frob.com>
2650
2651 * scripts/versionlist.awk: Partition the version sets and emit all
2652 GLIBC_* (sorted) before all others (sorted).
2653
00f4012a
JM
26542014-03-25 Joseph Myers <joseph@codesourcery.com>
2655
2656 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2657 GLIBC_2.2.5 version.
2658
7bc5a741
AZ
26592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2660
2661 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2662 calls.
2663
7578473b
AZ
2664 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2665 previous change.
2666
f3f1dab3
AZ
2667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2668
6da36183
AS
26692014-03-25 Andreas Schwab <schwab@suse.de>
2670
2671 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2672 label to be used after in6ailist is initialized.
2673
f3f1dab3 26742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2675
7578473b 2676 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2677 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2678
046651c1
JM
26792014-03-25 Joseph Myers <joseph@codesourcery.com>
2680
2681 [BZ #16357]
2682 [BZ #16599]
2683 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2684 min_plus_half.
2685 (fp_formats): Update initializers.
2686 (init_fp_formats): Initialize new field.
2687 (output_for_one_input_case): Allow underflow for results up to
2688 min_plus_half.
2689 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2690 * math/auto-libm-test-in: Don't mark some underflows from asin and
2691 atanh as spurious.
2692 * math/auto-libm-test-out: Regenerated.
2693 * sysdeps/i386/fpu/libm-test-ulps: Update.
2694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695
003e49ed
AS
26962014-03-25 Andreas Schwab <schwab@suse.de>
2697
2698 * libio/Makefile (tst-ftell-partial-wide-ENV)
2699 (tst-ftell-active-handler-ENV): Define.
2700
de031874
SL
27012014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2702
2703 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2704
55a81e3b
PP
27052014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2706
2707 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2708
f3426898
JM
27092014-03-24 Joseph Myers <joseph@codesourcery.com>
2710
2711 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2712 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2713 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2714
a42faf59
PP
27152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2716
2717 [BZ #16634]
a42faf59 2718 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2719 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2720 (open_path): Change from boolean 'secure' to complete flag 'mode'
2721 (_dl_map_object): Adjust.
a42faf59
PP
2722 * elf/Makefile (tests): Add tst-dlopen-aout.
2723 * elf/tst-dlopen-aout.c: New test.
2724
50936127
SL
27252014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2726
2727 [BZ #16714]
2728 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2729 (struct stat): Rename member pad0 to __glibc_reserved0.
2730
26011b5c
SL
2731 [BZ #16712]
2732 * sysdeps/s390/s390-32/bits/wordsize.h
2733 (__WORDSIZE32_SIZE_ULONG): New define.
2734 * sysdeps/s390/s390-64/bits/wordsize.h
2735 (__WORDSIZE32_SIZE_ULONG): Likewise.
2736 * sysdeps/generic/stdint.h (SIZE_MAX):
2737 Define as UL if __WORDSIZE32_SIZE_ULONG.
2738
a2d86bf1
SL
2739 [BZ #16713]
2740 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2741 (__glibc_reserved0): New variable.
2742 (sa_flags): Change type to int.
2743
78b6eebc
SL
2744 * posix/Makefile (before-compile): Use += before-compile instead
2745 of a :=.
2746
f1399b5a
SL
2747 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2748 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2749
a071766e
AS
27502014-03-20 Andreas Schwab <schwab@suse.de>
2751
2752 [BZ #16743]
2753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2754 non-matching result from nscd.
2755
27c673b8
SP
27562014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2757
2758 * scripts/bench.py: Moved to ...
2759 * benchtests/scripts/bench.py: ... here.
2760 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2761
44152e4b
AS
27622014-03-24 Andreas Schwab <schwab@suse.de>
2763
2764 [BZ #16002]
2765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2766 alloca_account and account alloca use for struct in6ailist.
2767
b376a11a
JM
27682014-03-24 Joseph Myers <joseph@codesourcery.com>
2769
2770 [BZ #16284]
2771 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2772 rounding mode to recompute results that overflow to infinity or
2773 underflow to zero.
2774 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2775 bug 16284.
2776 * math/auto-libm-test-out: Regenerated.
2777 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2778 (ccosh_test): Likewise.
2779 (csin_test_data): Use plus_oflow.
2780 (csin_test): Use ALL_RM_TEST.
2781 (csinh_test_data): Use plus_oflow.
2782 (csinh_test): Use ALL_RM_TEST.
2783 * sysdeps/i386/fpu/libm-test-ulps: Update.
2784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2785
f7be7376
JM
27862014-03-21 Joseph Myers <joseph@codesourcery.com>
2787
1ca2d03e
JM
2788 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2789 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2790 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2791
f7be7376
JM
2792 [BZ #16731]
2793 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2794 when x - 1 is zero.
2795 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2796 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2797 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2799 argument is 1.
2800 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2801 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2802 zero.
2803 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2806
fdf4534d
SP
28072014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2808
df26ea53
SP
2809 * scripts/bench.pl: Remove file.
2810 * scripts/bench.py: New benchmark script.
2811 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2812 * benchtests/README: Mention python dependency.
2813 * scripts/pylintrc: New file.
2814 * scripts/pylint: New file.
2815
fdf4534d
SP
2816 * bits/mathdef.h: Use #ifdef instead of #if.
2817 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2818 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2819 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2820 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2821 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2822 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2823
6f23d093
AZ
28242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2825 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2826
2827 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2829 and strpbrk-ppc64 objects.
2830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2831 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2832 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2833 multiarch strpbrk for POWER7.
2834 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2835 multiarch strpbrk for PPC64.
2836 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2837 ifunc selector.
2838 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2839 strpbrk for POWER7.
2840
8c92dfff
JM
28412014-03-20 Joseph Myers <joseph@codesourcery.com>
2842
2843 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2844 (atan_test): Likewise.
2845 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2846 (atanh_test): Use ALL_RM_TEST.
2847 (atan2_test_data): Likewise.
2848 (cabs_test): Likewise.
2849 (cacosh_test): Likewise.
2850 (carg_test): Likewise.
2851 (casin_test): Likewise.
2852 (casinh_test): Likewise.
2853 (cbrt_test): Likewise.
2854 (csqrt_test): Likewise.
2855 (erf_test): Likewise.
2856 (erfc_test): Likewise.
2857 (pow10_test): Likewise.
2858 (exp2_test): Likewise.
2859 (hypot_test): Likewise.
2860 (j0_test): Likewise.
2861 (j1_test): Likewise.
2862 (lgamma_test): Likewise.
2863 (gamma_test): Likewise.
2864 (sincos_test): Likewise.
2865 (tanh_test): Likewise.
2866 (y0_test): Likewise.
2867 (y1_test): Likewise.
2868 * sysdeps/i386/fpu/libm-test-ulps: Update.
2869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2870
6eaf95cb
AZ
28712014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872
a387428c
SP
2873 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2875 and strcspn-ppc64 objects.
2876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2877 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2878 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2879 multiarch strcspn for POWER7.
2880 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2881 multiarch strcspn for PPC64.
2882 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2883 ifunc selector.
2884 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2885 strcspn for POWER7.
2886
ae3a5dff
JM
28872014-03-20 Joseph Myers <joseph@codesourcery.com>
2888
2889 * math/gen-libm-test.pl (generate_testfile): Expect only function
2890 name as argument to AUTO_TESTS_* and pass results for all rounding
2891 modes to parse_args.
2892 (parse_auto_input): Separate inputs of automatic tests from
2893 outputs before storing in %auto_tests.
2894 * math/libm-test.inc (acos_test_data): Update call to
2895 AUTO_TESTS_f_f.
2896 (acos_test): Use ALL_RM_TEST.
2897 (acos_tonearest_test_data): Remove.
2898 (acos_test_tonearest): Likewise.
2899 (acos_towardzero_test_data): Likewise.
2900 (acos_test_towardzero): Likewise.
2901 (acos_downward_test_data): Likewise.
2902 (acos_test_downward): Likewise.
2903 (acos_upward_test_data): Likewise.
2904 (acos_test_upward): Likewise.
2905 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2906 (asin_test_data): Likewise.
2907 (asin_test): Use ALL_RM_TEST.
2908 (asin_tonearest_test_data): Remove.
2909 (asin_test_tonearest): Likewise.
2910 (asin_towardzero_test_data): Likewise.
2911 (asin_test_towardzero): Likewise.
2912 (asin_downward_test_data): Likewise.
2913 (asin_test_downward): Likewise.
2914 (asin_upward_test_data): Likewise.
2915 (asin_test_upward): Likewise.
2916 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2917 (atan_test_data): Likewise.
2918 (atanh_test_data): Likewise.
2919 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2920 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2921 (carg_test_data): Likewise.
2922 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2923 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2924 (ccosh_test_data): Likewise.
2925 (cexp_test_data): Likewise.
2926 (clog_test_data): Likewise.
2927 (clog10_test_data): Likewise.
2928 (cos_test_data): Update call to AUTO_TESTS_f_f.
2929 (cos_test): Use ALL_RM_TEST.
2930 (cos_tonearest_test_data): Remove.
2931 (cos_test_tonearest): Likewise.
2932 (cos_towardzero_test_data): Likewise.
2933 (cos_test_towardzero): Likewise.
2934 (cos_downward_test_data): Likewise.
2935 (cos_test_downward): Likewise.
2936 (cos_upward_test_data): Likewise.
2937 (cos_test_upward): Likewise.
2938 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2939 (cosh_test): Use ALL_RM_TEST.
2940 (cosh_tonearest_test_data): Remove.
2941 (cosh_test_tonearest): Likewise.
2942 (cosh_towardzero_test_data): Likewise.
2943 (cosh_test_towardzero): Likewise.
2944 (cosh_downward_test_data): Likewise.
2945 (cosh_test_downward): Likewise.
2946 (cosh_upward_test_data): Likewise.
2947 (cosh_test_upward): Likewise.
2948 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2949 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2950 (ctan_test_data): Likewise.
2951 (ctan_test): Use ALL_RM_TEST.
2952 (ctan_tonearest_test_data): Remove.
2953 (ctan_test_tonearest): Likewise.
2954 (ctan_towardzero_test_data): Likewise.
2955 (ctan_test_towardzero): Likewise.
2956 (ctan_downward_test_data): Likewise.
2957 (ctan_test_downward): Likewise.
2958 (ctan_upward_test_data): Likewise.
2959 (ctan_test_upward): Likewise.
2960 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2961 (ctanh_test): Use ALL_RM_TEST.
2962 (ctanh_tonearest_test_data): Remove.
2963 (ctanh_test_tonearest): Likewise.
2964 (ctanh_towardzero_test_data): Likewise.
2965 (ctanh_test_towardzero): Likewise.
2966 (ctanh_downward_test_data): Likewise.
2967 (ctanh_test_downward): Likewise.
2968 (ctanh_upward_test_data): Likewise.
2969 (ctanh_test_upward): Likewise.
2970 (erf_test_data): Update call to AUTO_TESTS_f_f.
2971 (erfc_test_data): Likewise.
2972 (exp_test_data): Likewise.
2973 (exp_test): Use ALL_RM_TEST.
2974 (exp_tonearest_test_data): Remove.
2975 (exp_test_tonearest): Likewise.
2976 (exp_towardzero_test_data): Likewise.
2977 (exp_test_towardzero): Likewise.
2978 (exp_downward_test_data): Likewise.
2979 (exp_test_downward): Likewise.
2980 (exp_upward_test_data): Likewise.
2981 (exp_test_upward): Likewise.
2982 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2983 (exp10_test): Use ALL_RM_TEST.
2984 (exp10_tonearest_test_data): Remove.
2985 (exp10_test_tonearest): Likewise.
2986 (exp10_towardzero_test_data): Likewise.
2987 (exp10_test_towardzero): Likewise.
2988 (exp10_downward_test_data): Likewise.
2989 (exp10_test_downward): Likewise.
2990 (exp10_upward_test_data): Likewise.
2991 (exp10_test_upward): Likewise.
2992 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2993 (expm1_test_data): Likewise.
2994 (expm1_test): Use ALL_RM_TEST.
2995 (expm1_tonearest_test_data): Remove.
2996 (expm1_test_tonearest): Likewise.
2997 (expm1_towardzero_test_data): Likewise.
2998 (expm1_test_towardzero): Likewise.
2999 (expm1_downward_test_data): Likewise.
3000 (expm1_test_downward): Likewise.
3001 (expm1_upward_test_data): Likewise.
3002 (expm1_test_upward): Likewise.
3003 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3004 (fma_test): Use ALL_RM_TEST.
3005 (fma_towardzero_test_data): Remove.
3006 (fma_test_towardzero): Likewise.
3007 (fma_downward_test_data): Likewise.
3008 (fma_test_downward): Likewise.
3009 (fma_upward_test_data): Likewise.
3010 (fma_test_upward): Likewise.
3011 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3012 (j0_test_data): Update call to AUTO_TESTS_f_f.
3013 (j1_test_data): Likewise.
3014 (jn_test_data): Update call to AUTO_TESTS_if_f.
3015 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3016 (log_test_data): Update call to AUTO_TESTS_f_f.
3017 (log10_test_data): Likewise.
3018 (log1p_test_data): Likewise.
3019 (log2_test_data): Likewise.
3020 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3021 (pow_tonearest_test_data): Likewise.
3022 (sin_test_data): Update call to AUTO_TESTS_f_f.
3023 (sin_test): Use ALL_RM_TEST.
3024 (sin_tonearest_test_data): Remove.
3025 (sin_test_tonearest): Likewise.
3026 (sin_towardzero_test_data): Likewise.
3027 (sin_test_towardzero): Likewise.
3028 (sin_downward_test_data): Likewise.
3029 (sin_test_downward): Likewise.
3030 (sin_upward_test_data): Likewise.
3031 (sin_test_upward): Likewise.
3032 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3033 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3034 (sinh_test): Use ALL_RM_TEST.
3035 (sinh_tonearest_test_data): Remove.
3036 (sinh_test_tonearest): Likewise.
3037 (sinh_towardzero_test_data): Likewise.
3038 (sinh_test_towardzero): Likewise.
3039 (sinh_downward_test_data): Likewise.
3040 (sinh_test_downward): Likewise.
3041 (sinh_upward_test_data): Likewise.
3042 (sinh_test_upward): Likewise.
3043 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3044 (sqrt_test): Use ALL_RM_TEST.
3045 (sqrt_tonearest_test_data): Remove.
3046 (sqrt_test_tonearest): Likewise.
3047 (sqrt_towardzero_test_data): Likewise.
3048 (sqrt_test_towardzero): Likewise.
3049 (sqrt_downward_test_data): Likewise.
3050 (sqrt_test_downward): Likewise.
3051 (sqrt_upward_test_data): Likewise.
3052 (sqrt_test_upward): Likewise.
3053 (tan_test_data): Update call to AUTO_TESTS_f_f.
3054 (tan_test): Use ALL_RM_TEST.
3055 (tan_tonearest_test_data): Remove.
3056 (tan_test_tonearest): Likewise.
3057 (tan_towardzero_test_data): Likewise.
3058 (tan_test_towardzero): Likewise.
3059 (tan_downward_test_data): Likewise.
3060 (tan_test_downward): Likewise.
3061 (tan_upward_test_data): Likewise.
3062 (tan_test_upward): Likewise.
3063 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3064 (tgamma_test_data): Likewise.
3065 (y0_test_data): Likewise.
3066 (y1_test_data): Likewise.
3067 (yn_test_data): Update call to AUTO_TESTS_if_f.
3068 (main): Do not call removed functions.
3069
d71aeee8
JM
30702014-03-19 Joseph Myers <joseph@codesourcery.com>
3071
3072 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3073 (ldexp_test_data): Remove.
3074 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3075 scalbn_test_data.
3076 (scalb_test): Use ALL_RM_TEST.
3077
baaf1ded
AS
30782014-03-19 Andreas Schwab <schwab@suse.de>
3079
3080 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3081
b1115e91
JM
30822014-03-19 Joseph Myers <joseph@codesourcery.com>
3083
3084 [BZ #16649]
3085 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3086 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3087 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3089 (__ASSUME_PREADV): Undefine.
3090 (__ASSUME_PWRITEV): Likewise.
3091
0283ecca
RM
30922014-03-18 Roland McGrath <roland@hack.frob.com>
3093
7d375303
RM
3094 * bits/mman-linux.h: Add comment about non-Linux use.
3095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3096 bits/mman-linux.h resting place.
3097
0283ecca
RM
3098 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3099 * bits/mman-linux.h: ... here.
3100
aebe1003
AZ
31012014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3102
3103 * conform/conformtest.pl: Add standard definition when calling C
3104 preprocessor on data files.
3105 (checknamespace): Remove unused variable.
3106
b29b6bb8
JM
31072014-03-18 Joseph Myers <joseph@codesourcery.com>
3108
3109 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3110 minus_oflow, plus_uflow and minus_uflow in expected results.
3111 * math/libm-test.inc (scalbn_test_data): Add more tests of
3112 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3113 minus_uflow.
3114 (scalbn_test): Use ALL_RM_TEST.
3115 (scalbln_test_data): Add more tests of negative arguments. Use
3116 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3117 (scalbln_test): Use ALL_RM_TEST.
3118
c8f8fa15
RM
31192014-03-18 Roland McGrath <roland@hack.frob.com>
3120
3121 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3122
fede7a5f
WN
31232014-03-18 Will Newton <will.newton@linaro.org>
3124
3125 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3126 inaccurate comment.
3127
80cf0a58
JM
31282014-03-18 Joseph Myers <joseph@codesourcery.com>
3129
3130 * Makerules [!subdir] (check-abi): Exit with error status if a
3131 test failed.
3132
b3620862
JM
31332014-03-17 Joseph Myers <joseph@codesourcery.com>
3134
3135 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3136 for rint. Include results for all rounding modes.
3137 (nearbyint_test): Use ALL_RM_TEST.
3138 (rint_test_data): Include all tests used for nearbyint.
3139
788bba36
WN
31402014-03-17 Will Newton <will.newton@linaro.org>
3141
04ec140a
WN
3142 * nptl/sysdeps/pthread/pthread.h: Revert previous
3143 change.
3144
7579d8d5
WN
3145 * sysdeps/generic/ldsodefs.h: Revert previous
3146 change.
3147
c15cf13a
WN
3148 * libio/genops.c: Revert previous change.
3149 * libio/libioP.h: Likewise.
3150 * stdio-common/vfprintf.c: Likewise.
3151
d0ac1324
WN
3152 * sysdeps/generic/math_private.h: Revert previous
3153 change.
3154
9290130a
WN
3155 * sysdeps/generic/math_private.h: Check whether
3156 HAVE_RM_CTX is defined with #ifdef rather
3157 than #if.
3158
afb466fc
WN
3159 * argp/argp-fmtstream.h: Check whether
3160 __STRICT_ANSI__ is defined with #ifdef rather
3161 than #if.
3162 * argp/argp.h: Likewise.
3163
f7efd7c3
WN
3164 * libio/genops.c: Check whether
3165 _IO_JUMPS_OFFSET is defined with #ifdef rather
3166 than #if.
3167 * libio/libioP.h: Likewise.
3168 * stdio-common/vfprintf.c: Likewise.
3169
53f1bed3
WN
3170 * sysdeps/generic/ldsodefs.h: Check whether
3171 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3172 than #if.
3173
788bba36
WN
3174 * nptl/sysdeps/pthread/pthread.h: Check
3175 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3176 its value.
3177
fcd89ebe
SP
31782014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3179
ae42bbc5
SP
3180 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3181 setting O_APPEND.
3182 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3183 test case.
3184
ea33158c
SP
3185 [BZ #16680]
3186 * libio/fileops.c (_IO_file_open): Seek to end of file but
3187 don't cache the offset.
3188 (get_file_offset): Remove function.
3189 (do_ftell): Use cached offset when available.
3190 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3191 don't cache the offset.
3192 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3193 case.
3194 (do_one_test): Call it.
3195 (do_ftell_test): Fix up expected old offset for a+ mode.
3196 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3197 available.
3198
b1dbb426
SP
3199 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3200 up test status with function return status.
3201 (do_write_test): Likewise.
3202 (do_append_test): Likewise.
3203
fcd89ebe
SP
3204 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3205 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3206 Remove.
3207
9962a2d3
JM
32082014-03-17 Joseph Myers <joseph@codesourcery.com>
3209
3210 * math/gen-libm-test.pl (parse_args): Handle results specified for
3211 each rounding mode separately.
3212 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3213 tests and results from lrint_tonearest_test_data,
3214 lrint_towardzero_test_data, lrint_downward_test_data and
3215 lrint_upward_test_data.
3216 (lrint_test): Use ALL_RM_TEST.
3217 (lrint_tonearest_test_data): Remove.
3218 (lrint_test_tonearest): Likewise.
3219 (lrint_towardzero_test_data): Likewise.
3220 (lrint_test_towardzero): Likewise.
3221 (lrint_downward_test_data): Likewise.
3222 (lrint_test_downward): Likewise.
3223 (lrint_upward_test_data): Likewise.
3224 (lrint_test_upward): Likewise.
3225 (llrint_test_data): Merge in per-rounding-mode tests and results
3226 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3227 llrint_downward_test_data and llrint_upward_test_data.
3228 (llrint_test): Use ALL_RM_TEST.
3229 (llrint_tonearest_test_data): Remove.
3230 (llrint_test_tonearest): Likewise.
3231 (llrint_towardzero_test_data): Likewise.
3232 (llrint_test_towardzero): Likewise.
3233 (llrint_downward_test_data): Likewise.
3234 (llrint_test_downward): Likewise.
3235 (llrint_upward_test_data): Likewise.
3236 (llrint_test_upward): Likewise.
3237 (rint_test_data): Merge in per-rounding-mode tests and results
3238 from rint_tonearest_test_data, rint_towardzero_test_data,
3239 rint_downward_test_data and rint_upward_test_data. Add
3240 per-rounding-mode results for tests not in those arrays.
3241 (rint_test): Use ALL_RM_TEST.
3242 (rint_tonearest_test_data): Remove.
3243 (rint_test_tonearest): Likewise.
3244 (rint_towardzero_test_data): Likewise.
3245 (rint_test_towardzero): Likewise.
3246 (rint_downward_test_data): Likewise.
3247 (rint_test_downward): Likewise.
3248 (rint_upward_test_data): Likewise.
3249 (rint_test_upward): Likewise.
3250 (main): Don't call removed functions.
3251
5006148e
RM
32522014-03-14 Roland McGrath <roland@hack.frob.com>
3253
3254 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3255 "Compiled on ..." crapola. It is anti-useful.
3256
d6fe5e58
JM
32572014-03-14 Joseph Myers <joseph@codesourcery.com>
3258
3259 * scripts/evaluate-test.sh: Handle fourth argument to determine
3260 whether test run should stop on failure.
3261 * Makeconfig (stop-on-test-failure): New variable.
3262 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3263 $(stop-on-test-failure).
3264 * Makefile (tests): Give a summary of results from testing and
3265 exit with failure status if they include an ERROR or FAIL.
3266 (xtests): Likewise.
3267 * manual/install.texi (Configuring and compiling): Mention
3268 stop-on-test-failure=y.
3269 * INSTALL: Regenerated.
3270
498a2233
RM
32712014-03-14 Roland McGrath <roland@hack.frob.com>
3272
22dbc19d
RM
3273 * scripts/versionlist.awk: New file.
3274 * Makerules [$(build-shared) = yes]
3275 (postclean-generated): Add Versions.def, not Versions.def.v and
3276 Versions.def.v.i.
3277 ($(common-objpfx)Versions.def.v.i): Target removed.
3278 ($(common-objpfx)Versions.def): New target.
3279 ($(common-objpfx)Versions.all): Depend on that rather that
3280 $(common-objpfx)Versions.def.v.
3281 * Versions.def: File removed.
3282
498a2233
RM
3283 * Makeconfig (+gccwarn): Add -Wundef.
3284 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3285 a dl-sysdep.h breaking its contract.
3286 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3287 * include/stackinfo.h: New file.
3288 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3289 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3290 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3291 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3292 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3293 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3294 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3295 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3296 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3297 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3298 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3299 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3300 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3301 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3302 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3303
c7de5025
AZ
33042014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3305
3306 [BZ #16707]
3307 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3308 implementation.
3309 * math/libm-test.inc (round_test_data): Add more tests.
3310
98fb27a3
AZ
3311 [BZ #16706]
3312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3313 implementation.
3314 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3315
374f7f61
AZ
3316 [BZ #16701]
3317 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3318 implementation.
3319 * math/libm-test.inc (ceil_test_data): Add more tests.
3320
4655c291
AZ
3321 * math/libm-test.inc (trunc_test_data): Add more tests related to
3322 BZ#16414.
3323
d7329d4b
RM
33242014-03-14 Roland McGrath <roland@hack.frob.com>
3325
3326 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3327 with #if rather than #ifdef.
3328 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3329
aa4de9ce
L
33302014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3331
3332 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3333 first. Disable AVX-512 GCC support if assembler doesn't support
3334 it.
3335 * sysdeps/x86_64/configure: Regenerated.
3336
2e03fae7
CD
33372014-03-13 Carlos O'Donell <carlos@redhat.com>
3338
3339 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3340 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3341 (__old_pthread_attr_setstack): Likewise.
3342 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3343 [!_STACK_GROWS_DOWN]: Likewise.
3344
43ca83ec
MF
33452014-03-13 Mike Frysinger <vapier@gentoo.org>
3346
3347 * config.make.in (have-bash2): Delete.
3348 * configure.ac (libc_cv_have_bash2): Delete.
3349 * configure: Regenerate.
3350 * elf/Makefile (common-ldd-rewrite): Rename to ...
3351 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3352 (sh-ldd-rewrite): Delete.
3353 (bash-ldd-rewrite): Delete.
3354 (have-bash2): Delete checks.
57f41c40
AS
3355 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3356 ldd-rewrite.
c66e48b4
MF
3357
3358 * config.make.in (have-ksh): Delete.
3359 (KSH): Delete.
3360 * configure.ac (libc_cv_have_ksh): Delete.
3361 * configure: Regenerate.
3362
b93834ef
MF
3363 * elf/Makefile: Delete $(have-ksh) check.
3364 ($(objpfx)sotruss): Change KSH to BASH.
3365 * elf/sotruss.ksh: Rename to ...
3366 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3367 function style to match POSIX. Drop ksh vim mode setting.
3368
f3a4632a
MF
3369 * manual/time.texi (Specifying the Time Zone with TZ): Change
3370 Tuesday to Thursday.
3371
5896c8bd
MF
3372 * debug/tst-longjmp_chk2.c: Update header comment.
3373 (stackoverflow_handler): Add comment. Call assert on pass value.
3374
2d63a517
IZ
33752014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3376
3377 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3378 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3379 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3380 (La_x86_64_vector): Add zmm.
3381 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3382 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3383 ($(objpfx)tst-audit10): New target.
3384 ($(objpfx)tst-audit10.out): Likewise.
3385 (tst-audit10-ENV): New.
3386 (AVX512-CFLAGS): Likewise.
3387 (CFLAGS-tst-audit10.c): Likewise.
3388 (CFLAGS-tst-auditmod10a.c): Likewise.
3389 (CFLAGS-tst-auditmod10b.c): Likewise.
3390 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3391 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3392 * sysdeps/x86_64/configure: Regenerated.
3393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3394 AVX-512 zmm register support.
3395 (_dl_x86_64_save_sse): Likewise.
3396 (_dl_x86_64_restore_sse): Likewise.
3397 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3398 size vector registers.
3399 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3400 (ZMM_SIZE): Likewise.
3401 * sysdeps/x86_64/tst-audit10.c: New file.
3402 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3403 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3404
44c4e5d5
RM
34052014-03-13 Roland McGrath <roland@hack.frob.com>
3406
3407 * configure.ac (HAVE_EHDR_START): New check.
3408 * configure: Regenerated.
3409 * config.h.in (HAVE_EHDR_START): New #undef.
3410 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3411 assuming the lowest-addressed segment maps the start of the file.
3412
acd6e389
JM
34132014-03-13 Joseph Myers <joseph@codesourcery.com>
3414
3415 * INSTALL: Regenerated.
3416
6f918f36
WN
34172014-03-13 Will Newton <will.newton@linaro.org>
3418
3419 * manual/setjmp.texi (System V contexts): Improve
3420 clarity and grammar of documentation.
3421
798212a0
PP
34222014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3423
3424 [BZ #16381]
798212a0 3425 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3426 (tests-pie): Add tst-pie2.
798212a0
PP
3427 * elf/tst-pie2.c: New file.
3428 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3429 for ET_EXEC.
3430 * elf/rtld.c (map_doit): Load executable as lt_executable.
3431 (dl_main): Likewise.
3432
abe6d90c
JM
34332014-03-12 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #16642]
3436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3437 (__ASSUME_PSELECT): Undefine.
3438
dd3946c6
AZ
34392014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3440
3441 [BZ #16689]
3442 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3443 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3444 static build.
3445 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3446 selector for static builds.
3447
c44496df
SP
34482014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3449
3450 [BZ #16695]
3451 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3452 key in the buffer.
3453
27c7220a
AZ
34542014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3455
57f41c40
AS
3456 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3457 IFUNC selector for static builds.
27c7220a 3458
600fa361
JM
34592014-03-11 Joseph Myers <joseph@codesourcery.com>
3460
76c96cf7
JM
3461 * sysdeps/mips/math_private.h [__mips_hard_float]
3462 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3463 libc_feresetround_mips_ctx.
3464 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3465 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3466 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3467
600fa361
JM
3468 [BZ #16677]
3469 * math/s_nextafter.c (__nextafter): Do not return value from
3470 overflowing computation.
3471 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3472 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3473 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3474 Likewise.
3475 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3476 Likewise.
3477 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3478 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3479
d7706c32
RM
34802014-03-11 Roland McGrath <roland@hack.frob.com>
3481
3482 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3483 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3484 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3485 the new mov targetting sp.
3486
4facea47
AZ
34872014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3488
3489 [BZ #16683]
3490 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3491 Define it for static builds as well.
3492 (NO_BZERO_IMPL): Likewise.
3493
e65caf1f
VR
34942014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3495
3496 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3497 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3498 multiarch strspn for PPC64.
3499 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3500 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3502 (__libc_ifunc_impl_list): Likewise.
3503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3504 multiarch optimizations
3505 * string/strspn.c (strspn): Using macro to redefine symbol name.
3506
ba9cc071
AZ
35072014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3508 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3509
3510 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3511 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3512 multiarch strncat for PPC64.
3513 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3514 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3516 (__libc_ifunc_impl_list): Likewise.
3517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3518 multiarch optimizations
3519
8b4ff974
SP
35202014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3521
3522 [BZ #16639]
3523 * nscd/nscd.service: Make service type forking.
3524
54b46a4b
AZ
35252014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526
3527 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3528 sign in non default rounding modes.
3529 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3530
e9996ef7
JM
35312014-03-08 Joseph Myers <joseph@codesourcery.com>
3532
3533 * math/libm-test.inc (ALL_RM_TEST): New macro.
3534 (ceil_test): Use ALL_RM_TEST.
3535 (cimag_test): Likewise.
3536 (conj_test): Likewise.
3537 (copysign_test): Likewise.
3538 (cproj_test): Likewise.
3539 (creal_test): Likewise.
3540 (fabs_test): Likewise.
3541 (floor_test): Likewise.
3542 (fmax_test): Likewise.
3543 (fmin_test): Likewise.
3544 (fmod_test): Likewise.
3545 (fpclassify_test): Likewise.
3546 (frexp_test): Likewise.
3547 (ilogb_test): Likewise.
3548 (isfinite_test): Likewise.
3549 (finite_test): Likewise.
3550 (isgreater_test): Likewise.
3551 (isgreaterequal_test): Likewise.
3552 (isinf_test): Likewise.
3553 (isless_test): Likewise.
3554 (islessequal_test): Likewise.
3555 (islessgreater_test): Likewise.
3556 (isnan_test): Likewise.
3557 (isnormal_test): Likewise.
3558 (issignaling_test): Likewise.
3559 (isunordered_test): Likewise.
3560 (logb_test): Likewise.
3561 (logb_downward_test_data): Remove.
3562 (logb_test_downward): Likewise.
3563 (lround_test): Use ALL_RM_TEST.
3564 (llround_test): Likewise.
3565 (modf_test): Likewise.
3566 (nexttoward_test): Likewise.
3567 (remainder_test): Likewise.
3568 (drem_test): Likewise.
3569 (remainder_tonearest_test_data): Likewise.
3570 (remainder_test_tonearest): Likewise.
3571 (drem_test_tonearest): Likewise.
3572 (remainder_towardzero_test_data): Likewise.
3573 (remainder_test_towardzero): Likewise.
3574 (drem_test_towardzero): Likewise.
3575 (remainder_downward_test_data): Likewise.
3576 (remainder_test_downward): Likewise.
3577 (drem_test_downward): Likewise.
3578 (remainder_upward_test_data): Likewise.
3579 (remainder_test_upward): Likewise.
3580 (drem_test_upward): Likewise.
3581 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3582 (round_test): Use ALL_RM_TEST.
3583 (signbit_test): Likewise.
3584 (trunc_test): Likewise.
3585 (significand_test): Likewise.
3586 (main): Don't call removed functions.
3587
bc61d27c
JM
35882014-03-07 Joseph Myers <joseph@codesourcery.com>
3589
5c780849
JM
3590 [BZ #16674]
3591 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3592 || __USE_XOPEN2K8].
3593 (ILL_ILLOPN): Likewise.
3594 (ILL_ILLADR): Likewise.
3595 (ILL_ILLTRP): Likewise.
3596 (ILL_PRVOPC): Likewise.
3597 (ILL_PRVREG): Likewise.
3598 (ILL_COPROC): Likewise.
3599 (ILL_BADSTK): Likewise.
3600 (FPE_INTDIV): Likewise.
3601 (FPE_INTOVF): Likewise.
3602 (FPE_FLTDIV): Likewise.
3603 (FPE_FLTOVF): Likewise.
3604 (FPE_FLTUND): Likewise.
3605 (FPE_FLTRES): Likewise.
3606 (FPE_FLTINV): Likewise.
3607 (FPE_FLTSUB): Likewise.
3608 (SEGV_MAPERR): Likewise.
3609 (SEGV_ACCERR): Likewise.
3610 (BUS_ADRALN): Likewise.
3611 (BUS_ADRERR): Likewise.
3612 (BUS_OBJERR): Likewise.
3613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3614 (TRAP_TRACE): Likewise.
3615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3616 __USE_XOPEN2K8].
3617 (CLD_KILLED): Likewise.
3618 (CLD_DUMPED): Likewise.
3619 (CLD_TRAPPED): Likewise.
3620 (CLD_STOPPED): Likewise.
3621 (CLD_CONTINUED): Likewise.
3622 (POLL_IN): Likewise.
3623 (POLL_OUT): Likewise.
3624 (POLL_MSG): Likewise.
3625 (POLL_ERR): Likewise.
3626 (POLL_PRI): Likewise.
3627 (POLL_HUP): Likewise.
3628 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3629 Likewise.
3630 (ILL_ILLOPN): Likewise.
3631 (ILL_ILLADR): Likewise.
3632 (ILL_ILLTRP): Likewise.
3633 (ILL_PRVOPC): Likewise.
3634 (ILL_PRVREG): Likewise.
3635 (ILL_COPROC): Likewise.
3636 (ILL_BADSTK): Likewise.
3637 (FPE_INTDIV): Likewise.
3638 (FPE_INTOVF): Likewise.
3639 (FPE_FLTDIV): Likewise.
3640 (FPE_FLTOVF): Likewise.
3641 (FPE_FLTUND): Likewise.
3642 (FPE_FLTRES): Likewise.
3643 (FPE_FLTINV): Likewise.
3644 (FPE_FLTSUB): Likewise.
3645 (SEGV_MAPERR): Likewise.
3646 (SEGV_ACCERR): Likewise.
3647 (BUS_ADRALN): Likewise.
3648 (BUS_ADRERR): Likewise.
3649 (BUS_OBJERR): Likewise.
3650 (BUS_MCEERR_AR): Likewise.
3651 (BUS_MCEERR_AO): Likewise.
3652 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3653 (TRAP_TRACE): Likewise.
3654 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3655 __USE_XOPEN2K8].
3656 (CLD_KILLED): Likewise.
3657 (CLD_DUMPED): Likewise.
3658 (CLD_TRAPPED): Likewise.
3659 (CLD_STOPPED): Likewise.
3660 (CLD_CONTINUED): Likewise.
3661 (POLL_IN): Likewise.
3662 (POLL_OUT): Likewise.
3663 (POLL_MSG): Likewise.
3664 (POLL_ERR): Likewise.
3665 (POLL_PRI): Likewise.
3666 (POLL_HUP): Likewise.
3667 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3668 (ILL_ILLOPN): Likewise.
3669 (ILL_ILLADR): Likewise.
3670 (ILL_ILLTRP): Likewise.
3671 (ILL_PRVOPC): Likewise.
3672 (ILL_PRVREG): Likewise.
3673 (ILL_COPROC): Likewise.
3674 (ILL_BADSTK): Likewise.
3675 (FPE_INTDIV): Likewise.
3676 (FPE_INTOVF): Likewise.
3677 (FPE_FLTDIV): Likewise.
3678 (FPE_FLTOVF): Likewise.
3679 (FPE_FLTUND): Likewise.
3680 (FPE_FLTRES): Likewise.
3681 (FPE_FLTINV): Likewise.
3682 (FPE_FLTSUB): Likewise.
3683 (SEGV_MAPERR): Likewise.
3684 (SEGV_ACCERR): Likewise.
3685 (BUS_ADRALN): Likewise.
3686 (BUS_ADRERR): Likewise.
3687 (BUS_OBJERR): Likewise.
3688 (BUS_MCEERR_AR): Likewise.
3689 (BUS_MCEERR_AO): Likewise.
3690 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3691 (TRAP_TRACE): Likewise.
3692 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3693 __USE_XOPEN2K8].
3694 (CLD_KILLED): Likewise.
3695 (CLD_DUMPED): Likewise.
3696 (CLD_TRAPPED): Likewise.
3697 (CLD_STOPPED): Likewise.
3698 (CLD_CONTINUED): Likewise.
3699 (POLL_IN): Likewise.
3700 (POLL_OUT): Likewise.
3701 (POLL_MSG): Likewise.
3702 (POLL_ERR): Likewise.
3703 (POLL_PRI): Likewise.
3704 (POLL_HUP): Likewise.
3705 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3706 Likewise.
3707 (ILL_ILLOPN): Likewise.
3708 (ILL_ILLADR): Likewise.
3709 (ILL_ILLTRP): Likewise.
3710 (ILL_PRVOPC): Likewise.
3711 (ILL_PRVREG): Likewise.
3712 (ILL_COPROC): Likewise.
3713 (ILL_BADSTK): Likewise.
3714 (ILL_BADIADDR): Likewise.
3715 (ILL_BREAK): Likewise.
3716 (FPE_INTDIV): Likewise.
3717 (FPE_INTOVF): Likewise.
3718 (FPE_FLTDIV): Likewise.
3719 (FPE_FLTOVF): Likewise.
3720 (FPE_FLTUND): Likewise.
3721 (FPE_FLTRES): Likewise.
3722 (FPE_FLTINV): Likewise.
3723 (FPE_FLTSUB): Likewise.
3724 (FPE_DECOVF): Likewise.
3725 (FPE_DECDIV): Likewise.
3726 (FPE_DECERR): Likewise.
3727 (FPE_INVASC): Likewise.
3728 (FPE_INVDEC): Likewise.
3729 (SEGV_MAPERR): Likewise.
3730 (SEGV_ACCERR): Likewise.
3731 (SEGV_PSTKOVF): Likewise.
3732 (BUS_ADRALN): Likewise.
3733 (BUS_ADRERR): Likewise.
3734 (BUS_OBJERR): Likewise.
3735 (BUS_MCEERR_AR): Likewise.
3736 (BUS_MCEERR_AO): Likewise.
3737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3738 (TRAP_TRACE): Likewise.
3739 (TRAP_BRANCH): Likewise.
3740 (TRAP_HWBKPT): Likewise.
3741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3742 __USE_XOPEN2K8].
3743 (CLD_KILLED): Likewise.
3744 (CLD_DUMPED): Likewise.
3745 (CLD_TRAPPED): Likewise.
3746 (CLD_STOPPED): Likewise.
3747 (CLD_CONTINUED): Likewise.
3748 (POLL_IN): Likewise.
3749 (POLL_OUT): Likewise.
3750 (POLL_MSG): Likewise.
3751 (POLL_ERR): Likewise.
3752 (POLL_PRI): Likewise.
3753 (POLL_HUP): Likewise.
3754 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3755 (ILL_ILLOPN): Likewise.
3756 (ILL_ILLADR): Likewise.
3757 (ILL_ILLTRP): Likewise.
3758 (ILL_PRVOPC): Likewise.
3759 (ILL_PRVREG): Likewise.
3760 (ILL_COPROC): Likewise.
3761 (ILL_BADSTK): Likewise.
3762 (FPE_INTDIV): Likewise.
3763 (FPE_INTOVF): Likewise.
3764 (FPE_FLTDIV): Likewise.
3765 (FPE_FLTOVF): Likewise.
3766 (FPE_FLTUND): Likewise.
3767 (FPE_FLTRES): Likewise.
3768 (FPE_FLTINV): Likewise.
3769 (FPE_FLTSUB): Likewise.
3770 (SEGV_MAPERR): Likewise.
3771 (SEGV_ACCERR): Likewise.
3772 (BUS_ADRALN): Likewise.
3773 (BUS_ADRERR): Likewise.
3774 (BUS_OBJERR): Likewise.
3775 (BUS_MCEERR_AR): Likewise.
3776 (BUS_MCEERR_AO): Likewise.
3777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3778 (TRAP_TRACE): Likewise.
3779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3780 __USE_XOPEN2K8].
3781 (CLD_KILLED): Likewise.
3782 (CLD_DUMPED): Likewise.
3783 (CLD_TRAPPED): Likewise.
3784 (CLD_STOPPED): Likewise.
3785 (CLD_CONTINUED): Likewise.
3786 (POLL_IN): Likewise.
3787 (POLL_OUT): Likewise.
3788 (POLL_MSG): Likewise.
3789 (POLL_ERR): Likewise.
3790 (POLL_PRI): Likewise.
3791 (POLL_HUP): Likewise.
3792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3793 (ILL_ILLOPN): Likewise.
3794 (ILL_ILLADR): Likewise.
3795 (ILL_ILLTRP): Likewise.
3796 (ILL_PRVOPC): Likewise.
3797 (ILL_PRVREG): Likewise.
3798 (ILL_COPROC): Likewise.
3799 (ILL_BADSTK): Likewise.
3800 (FPE_INTDIV): Likewise.
3801 (FPE_INTOVF): Likewise.
3802 (FPE_FLTDIV): Likewise.
3803 (FPE_FLTOVF): Likewise.
3804 (FPE_FLTUND): Likewise.
3805 (FPE_FLTRES): Likewise.
3806 (FPE_FLTINV): Likewise.
3807 (FPE_FLTSUB): Likewise.
3808 (SEGV_MAPERR): Likewise.
3809 (SEGV_ACCERR): Likewise.
3810 (BUS_ADRALN): Likewise.
3811 (BUS_ADRERR): Likewise.
3812 (BUS_OBJERR): Likewise.
3813 (BUS_MCEERR_AR): Likewise.
3814 (BUS_MCEERR_AO): Likewise.
3815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3816 (TRAP_TRACE): Likewise.
3817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3818 __USE_XOPEN2K8].
3819 (CLD_KILLED): Likewise.
3820 (CLD_DUMPED): Likewise.
3821 (CLD_TRAPPED): Likewise.
3822 (CLD_STOPPED): Likewise.
3823 (CLD_CONTINUED): Likewise.
3824 (POLL_IN): Likewise.
3825 (POLL_OUT): Likewise.
3826 (POLL_MSG): Likewise.
3827 (POLL_ERR): Likewise.
3828 (POLL_PRI): Likewise.
3829 (POLL_HUP): Likewise.
3830 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3831 (ILL_ILLOPN): Likewise.
3832 (ILL_ILLADR): Likewise.
3833 (ILL_ILLTRP): Likewise.
3834 (ILL_PRVOPC): Likewise.
3835 (ILL_PRVREG): Likewise.
3836 (ILL_COPROC): Likewise.
3837 (ILL_BADSTK): Likewise.
3838 (FPE_INTDIV): Likewise.
3839 (FPE_INTOVF): Likewise.
3840 (FPE_FLTDIV): Likewise.
3841 (FPE_FLTOVF): Likewise.
3842 (FPE_FLTUND): Likewise.
3843 (FPE_FLTRES): Likewise.
3844 (FPE_FLTINV): Likewise.
3845 (FPE_FLTSUB): Likewise.
3846 (SEGV_MAPERR): Likewise.
3847 (SEGV_ACCERR): Likewise.
3848 (BUS_ADRALN): Likewise.
3849 (BUS_ADRERR): Likewise.
3850 (BUS_OBJERR): Likewise.
3851 (BUS_MCEERR_AR): Likewise.
3852 (BUS_MCEERR_AO): Likewise.
3853 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3854 (TRAP_TRACE): Likewise.
3855 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3856 __USE_XOPEN2K8].
3857 (CLD_KILLED): Likewise.
3858 (CLD_DUMPED): Likewise.
3859 (CLD_TRAPPED): Likewise.
3860 (CLD_STOPPED): Likewise.
3861 (CLD_CONTINUED): Likewise.
3862 (POLL_IN): Likewise.
3863 (POLL_OUT): Likewise.
3864 (POLL_MSG): Likewise.
3865 (POLL_ERR): Likewise.
3866 (POLL_PRI): Likewise.
3867 (POLL_HUP): Likewise.
3868 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3869 (ILL_ILLOPN): Likewise.
3870 (ILL_ILLADR): Likewise.
3871 (ILL_ILLTRP): Likewise.
3872 (ILL_PRVOPC): Likewise.
3873 (ILL_PRVREG): Likewise.
3874 (ILL_COPROC): Likewise.
3875 (ILL_BADSTK): Likewise.
3876 (ILL_DBLFLT): Likewise.
3877 (ILL_HARDWALL): Likewise.
3878 (FPE_INTDIV): Likewise.
3879 (FPE_INTOVF): Likewise.
3880 (FPE_FLTDIV): Likewise.
3881 (FPE_FLTOVF): Likewise.
3882 (FPE_FLTUND): Likewise.
3883 (FPE_FLTRES): Likewise.
3884 (FPE_FLTINV): Likewise.
3885 (FPE_FLTSUB): Likewise.
3886 (SEGV_MAPERR): Likewise.
3887 (SEGV_ACCERR): Likewise.
3888 (BUS_ADRALN): Likewise.
3889 (BUS_ADRERR): Likewise.
3890 (BUS_OBJERR): Likewise.
3891 (BUS_MCEERR_AR): Likewise.
3892 (BUS_MCEERR_AO): Likewise.
3893 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3894 (TRAP_TRACE): Likewise.
3895 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3896 __USE_XOPEN2K8].
3897 (CLD_KILLED): Likewise.
3898 (CLD_DUMPED): Likewise.
3899 (CLD_TRAPPED): Likewise.
3900 (CLD_STOPPED): Likewise.
3901 (CLD_CONTINUED): Likewise.
3902 (POLL_IN): Likewise.
3903 (POLL_OUT): Likewise.
3904 (POLL_MSG): Likewise.
3905 (POLL_ERR): Likewise.
3906 (POLL_PRI): Likewise.
3907 (POLL_HUP): Likewise.
3908 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3909 (ILL_ILLOPN): Likewise.
3910 (ILL_ILLADR): Likewise.
3911 (ILL_ILLTRP): Likewise.
3912 (ILL_PRVOPC): Likewise.
3913 (ILL_PRVREG): Likewise.
3914 (ILL_COPROC): Likewise.
3915 (ILL_BADSTK): Likewise.
3916 (FPE_INTDIV): Likewise.
3917 (FPE_INTOVF): Likewise.
3918 (FPE_FLTDIV): Likewise.
3919 (FPE_FLTOVF): Likewise.
3920 (FPE_FLTUND): Likewise.
3921 (FPE_FLTRES): Likewise.
3922 (FPE_FLTINV): Likewise.
3923 (FPE_FLTSUB): Likewise.
3924 (SEGV_MAPERR): Likewise.
3925 (SEGV_ACCERR): Likewise.
3926 (BUS_ADRALN): Likewise.
3927 (BUS_ADRERR): Likewise.
3928 (BUS_OBJERR): Likewise.
3929 (BUS_MCEERR_AR): Likewise.
3930 (BUS_MCEERR_AO): Likewise.
3931 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3932 (TRAP_TRACE): Likewise.
3933 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3934 __USE_XOPEN2K8].
3935 (CLD_KILLED): Likewise.
3936 (CLD_DUMPED): Likewise.
3937 (CLD_TRAPPED): Likewise.
3938 (CLD_STOPPED): Likewise.
3939 (CLD_CONTINUED): Likewise.
3940 (POLL_IN): Likewise.
3941 (POLL_OUT): Likewise.
3942 (POLL_MSG): Likewise.
3943 (POLL_ERR): Likewise.
3944 (POLL_PRI): Likewise.
3945 (POLL_HUP): Likewise.
3946 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3947 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3948
bc61d27c
JM
3949 [BZ #16670]
3950 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3951 before #include of <time.h>.
3952 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3953 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3954 (test-xfail-UNIX98/sched.h/conform): Likewise.
3955
302949e2
MS
39562014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3957
3958 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3959 error absence of trapping exception support.
3960 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3961
a00f522a
JM
39622014-03-07 Joseph Myers <joseph@codesourcery.com>
3963
6f99f280
JM
3964 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3965 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3966 * timezone/Makefile (testdata): Move definition above include of
3967 Rules.
3968 (test-zones): New variable.
3969 (tests-special): Add zone files.
3970 (build-testdata): Use $(evaluate-test).
3971
0b20a9e8
JM
3972 * elf/Makefile (tests-special): Rename tests to end with .out.
3973 ($(objpfx)noload-mem): Likewise.
3974 ($(objpfx)tst-leaks1-mem): Likewise.
3975 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3976 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3977 $(objpfx)test-iconvconfig.out.
3978 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3979 set -e inside subshell and redirect output to file.
3980 * iconvdata/Makefile (generated): Rename tests to end with .out.
3981 Correct type.
3982 (tests-special): Rename tests to end with .out.
3983 ($(objpfx)mtrace-tst-loading): Likewise.
3984 * intl/Makefile (generated): Likewise.
3985 (tests-special): Likewise.
3986 ($(objpfx)mtrace-tst-gettext): Likewise.
3987 * misc/Makefile (generated): Likewise.
3988 (tests-special): Likewise.
3989 ($(objpfx)tst-error1-mem): Likewise.
3990 * nptl/Makefile (tests-special): Likewise.
3991 ($(objpfx)tst-stack3-mem): Likewise.
3992 (generated): Likewise.
3993 * posix/Makefile (generated): Likewise.
3994 (tests-special): Likewise.
3995 (xtests-special): Likewise.
3996 ($(objpfx)tst-fnmatch-mem): Likewise.
3997 ($(objpfx)bug-regex2-mem): Likewise.
3998 ($(objpfx)bug-regex14-mem): Likewise.
3999 ($(objpfx)bug-regex21-mem): Likewise.
4000 ($(objpfx)bug-regex31-mem): Likewise.
4001 ($(objpfx)tst-vfork3-mem): Likewise.
4002 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4003 ($(objpfx)tst-pcre-mem): Likewise.
4004 ($(objpfx)tst-boost-mem): Likewise.
4005 ($(objpfx)bug-ga2-mem): Likewise.
4006 ($(objpfx)bug-glob2-mem): Likewise.
4007 * resolv/Makefile (generate): Likewise.
4008 (tests-special): Likewise.
4009 (xtests-special): Likewise.
4010 (generated): Likewise.
4011 ($(objpfx)mtrace-tst-leaks): Likewise.
4012 ($(objpfx)mtrace-tst-leaks2): Likewise.
4013
265d52ab
JM
4014 * scripts/merge-test-results.sh: New file.
4015 * Makefile (tests-special-notdir): New variable.
4016 (tests): Run merge-test-results.sh.
4017 (xtests): Likewise.
4018 * Rules (tests-special-notdir): New variable.
4019 (xtests-special-notdir): Likewise.
4020 (tests): Run merge-test-results.sh
4021 (xtests): Likewise.
4022
54ee292d
JM
4023 * Makeconfig (test-xfail-name): New variable.
4024 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4025 compute variable name for expected failures.
4026 * conform/Makefile (conformtest-headers-data): New variable.
4027 (conformtest-standards): Likewise.
4028 (conformtest-headers-ISO): Likewise.
4029 (conformtest-headers-ISO99): Likewise.
4030 (conformtest-headers-ISO11): Likewise.
4031 (conformtest-headers-POSIX): Likewise.
4032 (conformtest-headers-XPG3): Likewise.
4033 (conformtest-headers-XPG4): Likewise.
4034 (conformtest-headers-UNIX98): Likewise.
4035 (conformtest-headers-XOPEN2K): Likewise.
4036 (conformtest-headers-POSIX2008): Likewise.
4037 (conformtest-headers-XOPEN2K8): Likewise.
4038 (conformtest-header-list-base): Likewise.
4039 (conformtest-header-list-tests): Likewise.
4040 (conformtest-header-base): Likewise.
4041 (conformtest-header-tests): Likewise.
4042 (tests-special): Add $(conformtest-header-list-tests). If
4043 [$(fast-check) && !$(cross-compiling)], add
4044 $(conformtest-header-tests) instead of
4045 $(objpfx)run-conformtest.out.
4046 (generated): Add $(conformtest-header-list-base). If
4047 [$(fast-check) && !$(cross-compiling)], add
4048 $(conformtest-header-base). Remove previous setting.
4049 ($(conformtest-header-list-tests)): New target.
4050 (test-xfail-run-conformtest): Remove variable.
4051 ($(objpfx)run-conformtest.out): Remove target.
4052 (test-xfail-ISO11/complex.h/conform): New variable.
4053 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4054 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4055 (test-xfail-XPG3/varargs.h/conform): Likewise.
4056 (test-xfail-XPG4/varargs.h/conform): Likewise.
4057 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4058 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4059 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4060 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4061 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4062 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4063 (test-xfail-XPG3/ftw.h/conform): Likewise.
4064 (test-xfail-XPG3/grp.h/conform): Likewise.
4065 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4066 (test-xfail-XPG3/limits.h/conform): Likewise.
4067 (test-xfail-XPG3/pwd.h/conform): Likewise.
4068 (test-xfail-XPG3/search.h/conform): Likewise.
4069 (test-xfail-XPG3/signal.h/conform): Likewise.
4070 (test-xfail-XPG3/stdio.h/conform): Likewise.
4071 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4072 (test-xfail-XPG3/string.h/conform): Likewise.
4073 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4074 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4075 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4076 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4077 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4078 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4079 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4080 (test-xfail-XPG3/termios.h/conform): Likewise.
4081 (test-xfail-XPG3/time.h/conform): Likewise.
4082 (test-xfail-XPG3/unistd.h/conform): Likewise.
4083 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4084 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4085 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4086 (test-xfail-XPG4/netdb.h/conform): Likewise.
4087 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4088 (test-xfail-XPG4/signal.h/conform): Likewise.
4089 (test-xfail-XPG4/stdio.h/conform): Likewise.
4090 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4091 (test-xfail-XPG4/stropts.h/conform): Likewise.
4092 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4093 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4094 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4095 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4096 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4097 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4098 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4099 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4100 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4101 (test-xfail-XPG4/termios.h/conform): Likewise.
4102 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4103 (test-xfail-XPG4/unistd.h/conform): Likewise.
4104 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4105 (test-xfail-POSIX/sched.h/conform): Likewise.
4106 (test-xfail-POSIX/signal.h/conform): Likewise.
4107 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4108 (test-xfail-POSIX/tar.h/conform): Likewise.
4109 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4110 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4111 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4112 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4113 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4114 (test-xfail-UNIX98/sched.h/conform): Likewise.
4115 (test-xfail-UNIX98/signal.h/conform): Likewise.
4116 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4117 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4118 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4119 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4120 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4121 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4122 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4123 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4124 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4125 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4126 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4127 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4128 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4129 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4130 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4131 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4132 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4133 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4134 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4135 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4136 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4137 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4138 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4139 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4140 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4141 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4142 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4143 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4144 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4145 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4146 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4147 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4148 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4149 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4150 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4151 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4152 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4153 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4154 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4155 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4156 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4157 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4158 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4159 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4160 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4161 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4162 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4163 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4164 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4165 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4166 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4167 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4168 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4169 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4170 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4171 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4172 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4173 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4174 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4175 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4176 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4177 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4178 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4179 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4180 (conformtest-cc-flags): Likewise.
4181 ($(conformtest-header-tests): New target.
4182 * conform/check-header-lists.sh: New file.
4183 * conform/run-conformtest.sh: Remove.
4184
a00f522a
JM
4185 * conform/conformtest.pl: Allow ' and \ in values given for
4186 constants.
4187 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4188 inclusion.
4189 [POSIX] (sys/types.h): Likewise.
4190 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4191 inclusion.
4192 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4193 inclusion.
4194 * conform/data/signal.h-data (SIGIO): Remove expectation.
4195 [XPG3] (SIGBUS): Do not expect.
4196 [POSIX || XPG3] (SIGPOLL): Likewise.
4197 [POSIX || XPG3] (SIGPROF): Likewise.
4198 [POSIX || XPG3] (SIGSYS): Likewise.
4199 [XPG3] (SIGTRAP): Likewise.
4200 [POSIX || XPG3] (SIGURG): Likewise.
4201 [POSIX || XPG3] (SIGVTALRM): Likewise.
4202 [POSIX || XPG3] (SIGXCPU): Likewise.
4203 [POSIX || XPG3] (SIGXFSZ): Likewise.
4204 [POSIX] (SA_SIGINFO): Expect.
4205 [XPG3] (siginfo_t): Do not expect type or contents.
4206 [POSIX] (si_pid): Do not expect element.
4207 [POSIX] (si_uid): Likewise.
4208 [POSIX] (si_addr): Likewise.
4209 [POSIX] (si_status): Likewise.
4210 [POSIX] (si_band): Likewise.
4211 [XPG4] (si_value): Likewise.
4212 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4213 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4214 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4215 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4216 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4217 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4218 [POSIX || XPG3] (ILL_COPROC): Likewise.
4219 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4220 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4221 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4222 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4223 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4224 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4225 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4226 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4227 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4228 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4229 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4230 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4231 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4232 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4233 [POSIX || XPG3] (CLD_EXITED): Likewise.
4234 [POSIX || XPG3] (CLD_KILLED): Likewise.
4235 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4236 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4237 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4238 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4239 [POSIX || XPG3] (POLL_IN): Likewise.
4240 [POSIX || XPG3] (POLL_OUT): Likewise.
4241 [POSIX || XPG3] (POLL_MSG): Likewise.
4242 [POSIX || XPG3] (POLL_ERR): Likewise.
4243 [POSIX || XPG3] (POLL_PRI): Likewise.
4244 [POSIX || XPG3] (POLL_HUP): Likewise.
4245 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4246 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4247 (SIG*): Do not allow.
4248 [XPG3] (si_*): Likewise.
4249 [XPG3] (SI_*): Likewise.
4250 [XPG3 || XPG4] (sigev_*): Likewise.
4251 [XPG3 || XPG4] (SIGEV_*): Likewise.
4252 [XPG3 || XPG4] (sival_*): Likewise.
4253 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4254 [POSIX || XPG3] (BUS_*): Likewise.
4255 [POSIX || XPG3] (CLD_*): Likewise.
4256 [POSIX || XPG3] (FPE_*): Likewise.
4257 [POSIX || XPG3] (ILL_*): Likewise.
4258 [POSIX || XPG3] (POLL_*): Likewise.
4259 [POSIX || XPG3] (SEGV_*): Likewise.
4260 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4261 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4262 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4263 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4264 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4265 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4266 Specify type and value.
4267 (TVERSLEN): Likewise.
4268 (REGTYPE): Likewise.
4269 (AREGTYPE): Likewise.
4270 (LNKTYPE): Likewise.
4271 (SYMTYPE): Likewise.
4272 (CHRTYPE): Likewise.
4273 (BLKTYPE): Likewise.
4274 (DIRTYPE): Likewise.
4275 (FIFOTYPE): Likewise.
4276 (CONTTYPE): Likewise.
4277 (TSUID): Likewise.
4278 (TSGID): Likewise.
4279 (TSVTX): Likewise.
4280 (TUREAD): Likewise.
4281 (TUWRITE): Likewise.
4282 (TUEXEC): Likewise.
4283 (TGREAD): Likewise.
4284 (TGWRITE): Likewise.
4285 (TGEXEC): Likewise.
4286 (TOREAD): Likewise.
4287 (TOWRITE): Likewise.
4288 (TOEXEC): Likewise.
4289 [POSIX] (TSVTX): Expect constant.
4290
aa97dee1
JM
42912014-03-06 Joseph Myers <joseph@codesourcery.com>
4292
f214606a
JM
4293 * Makefile (tests): Change dependencies to ....
4294 (tests-special): ... additions to this variable.
4295 (tests): Depend on $(tests-special).
4296 * Makerules (check-abi-list): New variable.
4297 (check-abi): Depend on $(check-abi-list).
4298 [$(subdir) = elf] (tests-special): Add
4299 $(objpfx)check-abi-libc.out.
4300 [$(build-shared) = yes && subdir] (tests-special): Add
4301 $(check-abi-list).
4302 [$(build-shared) = yes && subdir] (tests): Do not depend on
4303 check-abi.
4304 * Rules (tests): Depend on $(tests-special).
4305 (xtests): Depend on $(xtests-special).
4306 * catgets/Makefile (tests): Change dependencies to ....
4307 (tests-special): ... additions to this variable.
4308 * conform/Makefile (tests): Change dependencies to ....
4309 (tests-special): ... additions to this variable.
4310 * elf/Makefile (tests): Change dependencies to ....
4311 (tests-special): ... additions to this variable.
4312 * grp/Makefile (tests): Change dependencies to ....
4313 (tests-special): ... additions to this variable.
4314 * iconv/Makefile (xtests): Change dependencies to ....
4315 (xtests-special): ... additions to this variable.
4316 * iconvdata/Makefile (tests): Change dependencies to ....
4317 (tests-special): ... additions to this variable.
4318 * intl/Makefile (tests): Change dependencies to ....
4319 (tests-special): ... additions to this variable. Also add
4320 $(objpfx)tst-gettext.out.
4321 * io/Makefile (tests): Change dependencies to ....
4322 (tests-special): ... additions to this variable.
4323 * libio/Makefile (tests): Change dependencies to ....
4324 (tests-special): ... additions to this variable.
4325 * malloc/Makefile (tests): Change dependencies to ....
4326 (tests-special): ... additions to this variable.
4327 * misc/Makefile (tests): Change dependencies to ....
4328 (tests-special): ... additions to this variable.
4329 * nptl/Makefile (tests): Change dependencies to ....
4330 (tests-special): ... additions to this variable.
4331 * nptl_db/Makefile (tests): Change dependencies to ....
4332 (tests-special): ... additions to this variable.
4333 * posix/Makefile (tests): Change dependencies to ....
4334 (tests-special): ... additions to this variable.
4335 (xtests): Change dependencies to ....
4336 (xtests-special): ... additions to this variable.
4337 * resolv/Makefile (tests): Change dependencies to ....
4338 (tests-special): ... additions to this variable.
4339 (xtests): Change dependencies to ....
4340 (xtests-special): ... additions to this variable.
4341 * stdio-common/Makefile (tests): Change dependencies to ....
4342 (tests-special): ... additions to this variable.
4343 (do-tst-unbputc): Remove target.
4344 (do-tst-printf): Likewise.
4345 * stdlib/Makefile (tests): Change dependencies to ....
4346 (tests-special): ... additions to this variable.
4347 * string/Makefile (tests): Change dependencies to ....
4348 (tests-special): ... additions to this variable.
4349 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4350 (tests-special): ... additions to this variable.
4351
81700b53
JM
4352 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4353 whole file.
4354 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4355 whole file.
4356 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4357 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4358
2ea18461
JM
4359 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4360 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4361 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4362 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4363 * conform/data/libgen.h-data [XPG3]: Likewise.
4364 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4365 * conform/data/ndbm.h-data [XPG3]: Likewise.
4366 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4367 * conform/data/netdb.h-data [XPG3]: Likewise.
4368 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4369 * conform/data/poll.h-data [XPG3]: Likewise.
4370 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4371 * conform/data/strings.h-data [XPG3]: Likewise.
4372 * conform/data/stropts.h-data [XPG3]: Likewise.
4373 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4374 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4375 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4376 Likewise.
4377 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4378 * conform/data/sys/time.h-data [XPG3]: Likewise.
4379 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4380 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4381 * conform/data/sys/un.h-data [XPG3]: Likewise.
4382 * conform/data/syslog.h-data [XPG3]: Likewise.
4383 * conform/data/ucontext.h-data [XPG3]: Likewise.
4384 * conform/data/utmpx.h-data [XPG3]: Likewise.
4385 * conform/data/varargs.h-data [UNIX98]: Enable file.
4386
355bc986
JM
4387 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4388
215db402
JM
4389 * math/libm-test.inc (struct test_f_f_data): Move expected results
4390 into structure for each rounding mode.
4391 (struct test_ff_f_data): Likewise.
4392 (struct test_ff_f_data_nexttoward): Likewise.
4393 (struct test_fi_f_data): Likewise.
4394 (struct test_fl_f_data): Likewise.
4395 (struct test_if_f_data): Likewise.
4396 (struct test_fff_f_data): Likewise.
4397 (struct test_c_f_data): Likewise.
4398 (struct test_f_f1_data): Likewise.
4399 (struct test_fF_f1_data): Likewise.
4400 (struct test_ffI_f1_data): Likewise.
4401 (struct test_c_c_data): Likewise.
4402 (struct test_cc_c_data): Likewise.
4403 (struct test_f_i_data): Likewise.
4404 (struct test_ff_i_data): Likewise.
4405 (struct test_f_l_data): Likewise.
4406 (struct test_f_L_data): Likewise.
4407 (struct test_fFF_11_data): Likewise.
4408 (RM_): New macro.
4409 (RM_FE_DOWNWARD): Likewise.
4410 (RM_FE_TONEAREST): Likewise.
4411 (RM_FE_TOWARDZERO): Likewise.
4412 (RM_FE_UPWARD): Likewise.
4413 (RUN_TEST_LOOP_f_f): Update references to expected results.
4414 (RUN_TEST_LOOP_2_f): Likewise.
4415 (RUN_TEST_LOOP_fff_f): Likewise.
4416 (RUN_TEST_LOOP_c_f): Likewise.
4417 (RUN_TEST_LOOP_f_f1): Likewise.
4418 (RUN_TEST_LOOP_fF_f1): Likewise.
4419 (RUN_TEST_LOOP_fI_f1): Likewise.
4420 (RUN_TEST_LOOP_ffI_f1): Likewise.
4421 (RUN_TEST_LOOP_c_c): Likewise.
4422 (RUN_TEST_LOOP_cc_c): Likewise.
4423 (RUN_TEST_LOOP_f_i): Likewise.
4424 (RUN_TEST_LOOP_f_i_tg): Likewise.
4425 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4426 (RUN_TEST_LOOP_f_b): Likewise.
4427 (RUN_TEST_LOOP_f_b_tg): Likewise.
4428 (RUN_TEST_LOOP_f_l): Likewise.
4429 (RUN_TEST_LOOP_f_L): Likewise.
4430 (RUN_TEST_LOOP_fFF_11): Likewise.
4431 * math/gen-libm-test.pl (parse_args): Output four copies of
4432 expected results for each test.
4433
67737b8f
JM
4434 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4435 (__ASSUME_UTIMES): Remove.
4436 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4437 (__ASSUME_UTIMES): Likewise.
4438
aa97dee1
JM
4439 * math/gen-auto-libm-tests.c: Update comment on output format.
4440 (output_for_one_input_case): Generate before-rounding and
4441 after-rounding information as conditions on output flags not
4442 floating-point format.
4443 * math/auto-libm-test-out: Regenerated.
4444 * math/gen-libm-test.pl (cond_value): New function.
4445 (or_cond_value): Use cond_value.
4446 (generate_testfile): Handle conditional exceptions.
4447
e6b6a857
JM
44482014-03-05 Joseph Myers <joseph@codesourcery.com>
4449
2f0a0f44
JM
4450 * math/libm-test.inc (max_valid_error): New variable.
4451 (init_max_error): Take new argument specifying whether function
4452 results are exactly determined. Set max_valid_error and bound
4453 other variables for errors based on this argument.
4454 (set_max_error): Do not record results above max_valid_error.
4455 (check_float_internal): Only accept errors of up to 0.5ulps if
4456 also at most max_valid_error.
4457 (START): Take new argument EXACT and pass it to init_max_error.
4458 (acos_test): Update call to START.
4459 (acos_test_tonearest): Likewise.
4460 (acos_test_towardzero): Likewise.
4461 (acos_test_downward): Likewise.
4462 (acos_test_upward): Likewise.
4463 (acosh_test): Likewise.
4464 (asin_test): Likewise.
4465 (asin_test_tonearest): Likewise.
4466 (asin_test_towardzero): Likewise.
4467 (asin_test_downward): Likewise.
4468 (asin_test_upward): Likewise.
4469 (asinh_test): Likewise.
4470 (atan_test): Likewise.
4471 (atanh_test): Likewise.
4472 (atan2_test): Likewise.
4473 (cabs_test): Likewise.
4474 (cacos_test): Likewise.
4475 (cacosh_test): Likewise.
4476 (carg_test): Likewise.
4477 (casin_test): Likewise.
4478 (casinh_test): Likewise.
4479 (catan_test): Likewise.
4480 (catanh_test): Likewise.
4481 (cbrt_test): Likewise.
4482 (ccos_test): Likewise.
4483 (ccosh_test): Likewise.
4484 (ceil_test): Likewise.
4485 (cexp_test): Likewise.
4486 (cimag_test): Likewise.
4487 (clog_test): Likewise.
4488 (clog10_test): Likewise.
4489 (conj_test): Likewise.
4490 (copysign_test): Likewise.
4491 (cos_test): Likewise.
4492 (cos_test_tonearest): Likewise.
4493 (cos_test_towardzero): Likewise.
4494 (cos_test_downward): Likewise.
4495 (cos_test_upward): Likewise.
4496 (cosh_test): Likewise.
4497 (cosh_test_tonearest): Likewise.
4498 (cosh_test_towardzero): Likewise.
4499 (cosh_test_downward): Likewise.
4500 (cosh_test_upward): Likewise.
4501 (cpow_test): Likewise.
4502 (cproj_test): Likewise.
4503 (creal_test): Likewise.
4504 (csin_test): Likewise.
4505 (csinh_test): Likewise.
4506 (csqrt_test): Likewise.
4507 (ctan_test): Likewise.
4508 (ctan_test_tonearest): Likewise.
4509 (ctan_test_towardzero): Likewise.
4510 (ctan_test_downward): Likewise.
4511 (ctan_test_upward): Likewise.
4512 (ctanh_test): Likewise.
4513 (ctanh_test_tonearest): Likewise.
4514 (ctanh_test_towardzero): Likewise.
4515 (ctanh_test_downward): Likewise.
4516 (ctanh_test_upward): Likewise.
4517 (erf_test): Likewise.
4518 (erfc_test): Likewise.
4519 (exp_test): Likewise.
4520 (exp_test_tonearest): Likewise.
4521 (exp_test_towardzero): Likewise.
4522 (exp_test_downward): Likewise.
4523 (exp_test_upward): Likewise.
4524 (exp10_test): Likewise.
4525 (exp10_test_tonearest): Likewise.
4526 (exp10_test_towardzero): Likewise.
4527 (exp10_test_downward): Likewise.
4528 (exp10_test_upward): Likewise.
4529 (pow10_test): Likewise.
4530 (exp2_test): Likewise.
4531 (expm1_test): Likewise.
4532 (expm1_test_tonearest): Likewise.
4533 (expm1_test_towardzero): Likewise.
4534 (expm1_test_downward): Likewise.
4535 (expm1_test_upward): Likewise.
4536 (fabs_test): Likewise.
4537 (fdim_test): Likewise.
4538 (floor_test): Likewise.
4539 (fma_test): Likewise.
4540 (fma_test_towardzero): Likewise.
4541 (fma_test_downward): Likewise.
4542 (fma_test_upward): Likewise.
4543 (fmax_test): Likewise.
4544 (fmin_test): Likewise.
4545 (fmod_test): Likewise.
4546 (fpclassify_test): Likewise.
4547 (frexp_test): Likewise.
4548 (hypot_test): Likewise.
4549 (ilogb_test): Likewise.
4550 (isfinite_test): Likewise.
4551 (finite_test): Likewise.
4552 (isgreater_test): Likewise.
4553 (isgreaterequal_test): Likewise.
4554 (isinf_test): Likewise.
4555 (isless_test): Likewise.
4556 (islessequal_test): Likewise.
4557 (islessgreater_test): Likewise.
4558 (isnan_test): Likewise.
4559 (isnormal_test): Likewise.
4560 (issignaling_test): Likewise.
4561 (isunordered_test): Likewise.
4562 (j0_test): Likewise.
4563 (j1_test): Likewise.
4564 (jn_test): Likewise.
4565 (ldexp_test): Likewise.
4566 (lgamma_test): Likewise.
4567 (gamma_test): Likewise.
4568 (lrint_test): Likewise.
4569 (lrint_test_tonearest): Likewise.
4570 (lrint_test_towardzero): Likewise.
4571 (lrint_test_downward): Likewise.
4572 (lrint_test_upward): Likewise.
4573 (llrint_test): Likewise.
4574 (llrint_test_tonearest): Likewise.
4575 (llrint_test_towardzero): Likewise.
4576 (llrint_test_downward): Likewise.
4577 (llrint_test_upward): Likewise.
4578 (log_test): Likewise.
4579 (log10_test): Likewise.
4580 (log1p_test): Likewise.
4581 (log2_test): Likewise.
4582 (logb_test): Likewise.
4583 (logb_test_downward): Likewise.
4584 (lround_test): Likewise.
4585 (llround_test): Likewise.
4586 (modf_test): Likewise.
4587 (nearbyint_test): Likewise.
4588 (nextafter_test): Likewise.
4589 (nexttoward_test): Likewise.
4590 (pow_test): Likewise.
4591 (pow_test_tonearest): Likewise.
4592 (pow_test_towardzero): Likewise.
4593 (pow_test_downward): Likewise.
4594 (pow_test_upward): Likewise.
4595 (remainder_test): Likewise.
4596 (drem_test): Likewise.
4597 (remainder_test_tonearest): Likewise.
4598 (drem_test_tonearest): Likewise.
4599 (remainder_test_towardzero): Likewise.
4600 (drem_test_towardzero): Likewise.
4601 (remainder_test_downward): Likewise.
4602 (drem_test_downward): Likewise.
4603 (remainder_test_upward): Likewise.
4604 (drem_test_upward): Likewise.
4605 (remquo_test): Likewise.
4606 (rint_test): Likewise.
4607 (rint_test_tonearest): Likewise.
4608 (rint_test_towardzero): Likewise.
4609 (rint_test_downward): Likewise.
4610 (rint_test_upward): Likewise.
4611 (round_test): Likewise.
4612 (scalb_test): Likewise.
4613 (scalbn_test): Likewise.
4614 (scalbln_test): Likewise.
4615 (signbit_test): Likewise.
4616 (sin_test): Likewise.
4617 (sin_test_tonearest): Likewise.
4618 (sin_test_towardzero): Likewise.
4619 (sin_test_downward): Likewise.
4620 (sin_test_upward): Likewise.
4621 (sincos_test): Likewise.
4622 (sinh_test): Likewise.
4623 (sinh_test_tonearest): Likewise.
4624 (sinh_test_towardzero): Likewise.
4625 (sinh_test_downward): Likewise.
4626 (sinh_test_upward): Likewise.
4627 (sqrt_test): Likewise.
4628 (sqrt_test_tonearest): Likewise.
4629 (sqrt_test_towardzero): Likewise.
4630 (sqrt_test_downward): Likewise.
4631 (sqrt_test_upward): Likewise.
4632 (tan_test): Likewise.
4633 (tan_test_tonearest): Likewise.
4634 (tan_test_towardzero): Likewise.
4635 (tan_test_downward): Likewise.
4636 (tan_test_upward): Likewise.
4637 (tanh_test): Likewise.
4638 (tgamma_test): Likewise.
4639 (trunc_test): Likewise.
4640 (y0_test): Likewise.
4641 (y1_test): Likewise.
4642 (yn_test): Likewise.
4643 (significand_test): Likewise.
4644
e6b6a857
JM
4645 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4646 individual tests in comment.
4647 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4648 (prev_max_error): New variable.
4649 (prev_real_max_error): Likewise.
4650 (prev_imag_max_error): Likewise.
4651 (compare_ulp_data): Don't refer to test names in comment.
4652 (find_test_ulps): Remove function.
4653 (find_function_ulps): Likewise.
4654 (find_complex_function_ulps): Likewise.
4655 (init_max_error): Take function name as argument. Look up ulps
4656 for that function.
4657 (print_ulps): Remove function.
4658 (print_max_error): Use prev_max_error instead of calling
4659 find_function_ulps.
4660 (print_complex_max_error): Use prev_real_max_error and
4661 prev_imag_max_error instead of calling find_complex_function_ulps.
4662 (check_float_internal): Take max_ulp parameter instead of calling
4663 find_test_ulps. Don't call print_ulps.
4664 (check_float): Update call to check_float_internal.
4665 (check_complex): Update calls to check_float_internal.
4666 (START): Pass argument to init_max_error.
4667 * math/gen-libm-test.pl (%results): Don't include "kind"
4668 information.
4669 (parse_ulps): Don't handle ulps of individual tests.
4670 (print_ulps_file): Likewise.
4671 (output_ulps): Likewise.
4672 * math/README.libm-test: Update.
4673 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4674 individual tests.
4675 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4676 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4677 * sysdeps/arm/libm-test-ulps: Likewise.
4678 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4679 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4680 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4681 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4682 * sysdeps/microblaze/libm-test-ulps: Likewise.
4683 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4684 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4685 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4686 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4687 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4688 * sysdeps/sh/libm-test-ulps: Likewise.
4689 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4690 * sysdeps/tile/libm-test-ulps: Likewise.
4691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4692
45adef3c
JM
46932014-03-04 Joseph Myers <joseph@codesourcery.com>
4694
4695 * math/libm-test.inc (print_complex_max_error): Check separately
4696 whether real and imaginary errors are within allowed range and
4697 pass 0 to print_complex_function_ulps instead of value within
4698 allowed range.
4699
000232b9
SP
47002014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4701
d4b17258
SP
4702 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4703 formatting.
4704 (get_handles_fopen): Likewise.
4705 (do_write_test): Likewise.
4706
091eff71
SP
4707 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4708
fa3cd248
SP
4709 * libio/fileops.c (do_ftell): Use cached offset when
4710 available.
4711 * libio/iofwide.c (do_ftell_wide): Likewise.
4712 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4713 _IO_file_attach.
4714 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4715
000232b9
SP
4716 [BZ #16532]
4717 * libio/libioP.h (get_file_offset): New function.
4718 * libio/fileops.c (get_file_offset): Likewise.
4719 (do_ftell): Likewise.
4720 (_IO_new_file_seekoff): Split out ftell logic.
4721 * libio/wfileops.c (do_ftell_wide): Likewise.
4722 (_IO_wfile_seekoff): Split out ftell logic.
4723 * libio/tst-ftell-active-handler.c: New test case.
4724 * libio/Makefile (tests): Add it.
4725
116f4d1a
RM
47262014-03-03 Roland McGrath <roland@hack.frob.com>
4727
4728 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4729 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4730
532a6035
SP
47312014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4732
4733 [BZ #16639]
4734 * nscd/connections.c (nscd_init): Call do_exit.
4735 (start_threads): Call do_exit and notify_parent.
4736 (begin_drop_privileges): Call do_exit.
4737 (finish_drop_privileges): Likewise.
4738 * nscd/selinux.c (preserve_capabilities): Likewise.
4739 (install_real_capabilities): Likewise.
4740 (nscd_selinux_enabled): Likewise.
4741 (avc_create_thread): Likewise.
4742 (avc_alloc_lock): Likewise.
4743 (nscd_avc_init): Likewise.
4744 * nscd/nscd.c (parent_fd): New static variable.
4745 (main): Create a pipe between parent and child processes.
4746 Skip closing parent_fd.
4747 (monitor_child): New function.
4748 (do_exit): Likewise.
4749 (notify_parent): Likewise.
4750 * nscd/nscd.h (notify_parent): Likewise.
4751 (do_exit): Likewise.
4752
d6285c9f
CD
47532014-03-03 Carlos O'Donell <carlos@redhat.com>
4754
4755 * malloc/malloc.c (__libc_calloc): Revert last change.
4756
2b85d2a0
AZ
47572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4758
4759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4760
c7debbdf
RS
47612014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4762
4763 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4765 implementation.
4766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4767 (__libc_ifunc_impl_list): Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4769 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4770 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4771 * string/strrchr.c: Define STRRCHR.
4772
235eed86
OB
47732014-02-28 Ondřej Bílka <neleai@seznam.cz>
4774
4775 * benchtest/bench-strtok.c (simple_strtok): Delete.
4776 (strtok_string): Use as benchmark.
4777 * string/strtok (STRTOK): New macro.
4778
8e25d1e7
CD
47792014-02-28 Carlos O'Donell <carlos@redhat.com>
4780
ef563f92
CD
4781 * manual/threads.texi: Add header and standard comments to all
4782 functions.
4783
8e25d1e7
CD
4784 * elf/dl-lookup.c (check_match): New function.
4785 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4786 (do_lookup_x): Remove nested function check_match. Use non-nested
4787 function check_match.
4788
ff71cc37
RM
47892014-02-28 Roland McGrath <roland@hack.frob.com>
4790
f08e9a26
RM
4791 * csu/Makefile (generated, before-compile): Use += rather than =.
4792 * catgets/Makefile (generated, generated-dirs): Likewise.
4793 * debug/Makefile (generated): Likewise.
4794 * dlfcn/Makefile (generated): Likewise.
4795 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4796 * iconvdata/Makefile (before-compile, generated): Likewise.
4797 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4798 * libio/Makefile (generated): Likewise.
4799 * malloc/Makefile (generated): Likewise.
4800 * manual/Makefile (generated, generated-dirs): Likewise.
4801 * misc/Makefile (generated): Likewise.
4802 * posix/Makefile (generated): Likewise.
4803 * resolv/Makefile (generated): Likewise.
4804 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4805 * timezone/Makefile (generated, generated-dirs): Likewise.
4806
ff71cc37
RM
4807 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4808
fe13a20c
AZ
48092014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4810
57f41c40
AS
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4812 power8 implementation.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4814 file: POWER8 llround ifunc implementation.
4815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4816 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4817 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4818 POWER8 llround implementation.
4819
57f41c40
AS
4820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4821 power8 implementation.
4822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4823 file: POWER8 llrint ifunc implementation.
4824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4825 Add POWER8 implementation.
1ad8950a
AZ
4826 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4827 POWER8 llrint implementation.
4828
57f41c40
AS
4829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4830 power8 implementation.
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4832 file: POWER8 finite ifunc implementation.
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4834 Add POWER8 implementation.
cac626d6
AZ
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4836 Likewise.
4837 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4838 POWER8 finite implementation.
4839 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4840
57f41c40
AS
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4842 power8 implementation.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4844 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4846 POWER8 implementation.
4847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4848 Likewise.
57f41c40
AS
4849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4850 isinf implementation.
4393fc11
AZ
4851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4852
57f41c40
AS
4853 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4854 (INIT_ARCH): Add hwcap2 initialization.
4855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4856 power8 implementation.
4857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4858 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4860 POWER8 implementation.
4861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4862 Likewise.
57f41c40
AS
4863 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4864 isnan implementation.
487972ae
AZ
4865 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4866
7d92b787
JY
48672014-02-27 Joey Ye <joey.ye@arm.com>
4868
4869 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4870 (_FP_NANFRAC_Q): Set to zero.
4871
1cadc858
SP
48722014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4873
4874 [BZ #16623]
4875 * math/auto-libm-test-in: New test inputs.
4876 * math/auto-libm-test-out: Regenerate.
4877 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4878 and DA.
4879 (__cos): Likewise.
4880 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4881
f8c17e79
JM
48822014-02-27 Joseph Myers <joseph@codesourcery.com>
4883
4884 * scripts/evaluate-test.sh: Take new argument indicating whether
4885 failure is expected.
4886 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4887 indicating whether failure is expected.
4888 * conform/Makefile (test-xfail-run-conformtest): New variable.
4889 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4890 level.
4891 * posix/Makefile (test-xfail-annexc): New variable.
4892 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4893
a5f891ac
JM
48942014-02-26 Joseph Myers <joseph@codesourcery.com>
4895
4896 * argp/Makefile: Include Makeconfig immediately after defining
4897 subdir.
4898 * assert/Makefile: Likewise.
4899 * benchtests/Makefile: Likewise.
4900 * catgets/Makefile: Likewise.
4901 * conform/Makefile: Likewise.
4902 * crypt/Makefile: Likewise.
4903 * csu/Makefile: Likewise.
4904 (all): Remove target.
4905 * ctype/Makefile: Include Makeconfig immediately after defining
4906 subdir.
4907 * debug/Makefile: Likewise.
4908 * dirent/Makefile: Likewise.
4909 * dlfcn/Makefile: Likewise.
4910 * gmon/Makefile: Likewise.
4911 * gnulib/Makefile: Likewise.
4912 * grp/Makefile: Likewise.
4913 * gshadow/Makefile: Likewise.
4914 * hesiod/Makefile: Likewise.
4915 * hurd/Makefile: Likewise.
4916 (all): Remove target.
4917 * iconvdata/Makefile: Include Makeconfig immediately after
4918 defining subdir.
4919 * inet/Makefile: Likewise.
4920 * intl/Makefile: Likewise.
4921 * io/Makefile: Likewise.
4922 * libio/Makefile: Likewise.
4923 (all): Remove target.
4924 * locale/Makefile: Include Makeconfig immediately after defining
4925 subdir.
4926 * login/Makefile: Likewise.
4927 * mach/Makefile: Likewise.
4928 (all): Remove target.
4929 * malloc/Makefile: Include Makeconfig immediately after defining
4930 subdir.
4931 (all): Remove target.
4932 * manual/Makefile: Include Makeconfig immediately after defining
4933 subdir.
4934 * math/Makefile: Likewise.
4935 * misc/Makefile: Likewise.
4936 * nis/Makefile: Likewise.
4937 * nss/Makefile: Likewise.
4938 * po/Makefile: Likewise.
4939 (all): Remove target.
4940 * posix/Makefile: Include Makeconfig immediately after defining
4941 subdir.
4942 * pwd/Makefile: Likewise.
4943 * resolv/Makefile: Likewise.
4944 * resource/Makefile: Likewise.
4945 * rt/Makefile: Likewise.
4946 * setjmp/Makefile: Likewise.
4947 * shadow/Makefile: Likewise.
4948 * signal/Makefile: Likewise.
4949 * socket/Makefile: Likewise.
4950 * soft-fp/Makefile: Likewise.
4951 * stdio-common/Makefile: Likewise.
4952 * stdlib/Makefile: Likewise.
4953 * streams/Makefile: Likewise.
4954 * string/Makefile: Likewise.
4955 * sunrpc/Makefile: Likewise.
4956 (all): Remove target.
4957 * sysvipc/Makefile: Include Makeconfig immediately after defining
4958 subdir.
4959 * termios/Makefile: Likewise.
4960 * time/Makefile: Likewise.
4961 * timezone/Makefile: Likewise.
4962 (all): Remove target.
4963 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4964 subdir.
4965 * wctype/Makefile: Likewise.
4966
5b456e9d
SE
49672014-02-26 Steve Ellcey <sellcey@mips.com>
4968
4969 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4970 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4971 (libc_feholdexcept_setround_mips): Ditto.
4972 (libc_feholdsetround): New.
4973 (libc_feholdsetroundf): New.
4974 (libc_feholdsetroundl): New.
4975 (libc_feupdateenv_test_mips): New.
4976 (libc_feupdateenv_test): New.
4977 (libc_feupdateenv_testf): New.
4978 (libc_feupdateenv_testl): New.
4979 (libc_feresetround): New.
4980 (libc_feresetroundf): New.
4981 (libc_feresetroundl): New.
4982 (libc_fetestexcept_mips): New.
4983 (libc_fetestexcept): New.
4984 (libc_fetestexceptf): New.
4985 (libc_fetestexceptl): New.
4986 (HAVE_RM_CTX): New.
4987 (libc_feholdexcept_setround_mips_ctx): New.
4988 (libc_feholdexcept_setround_ctx): New.
4989 (libc_feholdexcept_setroundf_ctx): New.
4990 (libc_feholdexcept_setroundl_ctx): New.
4991 (libc_fesetenv_mips_ctx): New.
4992 (libc_fesetenv_ctx): New.
4993 (libc_fesetenv_ctxf): New.
4994 (libc_fesetenv_ctxl): New.
4995 (libc_feupdateenv_mips_ctx): New.
4996 (libc_feupdateenv_ctx): New.
4997 (libc_feupdateenvf_ctx): New.
4998 (libc_feupdateenvl_ctx): New.
4999 (libc_feholdsetround_mips_ctx): New.
5000 (libc_feholdsetround_ctx): New.
5001 (libc_feholdsetroundf_ctx): New.
5002 (libc_feholdsetroundl_ctx): New.
5003 (libc_feresetround_mips_ctx): New.
5004 (libc_feresetround_ctx): New.
5005 (libc_feresetroundf_ctx): New.
5006 (libc_feresetroundl_ctx): New.
5007
085d0e35
CD
50082014-02-26 Carlos O'Donell <carlos@redhat.com>
5009
f067bf1f
CD
5010 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5011
085d0e35
CD
5012 * manual/ipc.texi: New file.
5013 * manual/Makefile (chapters): Add ipc.
5014 * manual/job.texi: Add "Inter-Process Communication" to next.
5015 * manual/process.texi: Add "Inter-Process Communication" to prev.
5016
86e58c08
AZ
50172014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5018
5019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5020
4248f0da
OB
50212014-02-26 Ondřej Bílka <neleai@seznam.cz>
5022
5023 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5024
cf822e3c
OB
5025 * manual/arith.texi: Fix spaces after sentences.
5026 * manual/charset.texi: Likewise.
5027 * manual/errno.texi: Likewise.
5028 * manual/install.texi: Likewise.
5029 * manual/llio.texi: Likewise.
5030 * manual/locale.texi: Likewise.
5031 * manual/maint.texi: Likewise.
5032 * manual/math.texi: Likewise.
5033 * manual/memory.texi: Likewise.
5034 * manual/message.texi: Likewise.
5035 * manual/probes.texi: Likewise.
5036 * manual/resource.texi: Likewise.
5037 * manual/signal.texi: Likewise.
5038 * manual/socket.texi: Likewise.
5039 * manual/stdio.texi: Likewise.
5040 * manual/string.texi: Likewise.
5041 * manual/time.texi: Likewise.
5042 * manual/users.texi: Likewise.
5043
ade40b10
CD
50442014-02-25 Carlos O'Donell <carlos@redhat.com>
5045
5046 [BZ #16632]
5047 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5048 _DEFAULT_SOURCE is defined.
5049
d0503676
CD
50502014-02-25 Ulrich Drepper <drepper@gmail.com>
5051 Carlos O'Donell <carlos@redhat.com>
5052
5053 [BZ #16613]
5054 * elf/dl-tls.c (_dl_count_modids): New function.
5055 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5056 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5057 audit library and increment generation counter.
5058 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5059 * elf/tst-audit9.c: New file.
5060 * elf/tst-auditmod9a.c: New file.
5061 * elf/tst-auditmod9b.c: New file.
5062 * elf/Makefile: Add rules to build and run tst-audit9.
5063
4cbf380c
FW
50642014-02-25 Florian Weimer <fweimer@redhat.com>
5065
5066 [BZ #15347]
5067 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5068
80a56cc3
WN
50692014-02-25 Will Newton <will.newton@linaro.org>
5070
5071 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5072 (__longjmp): Restore sp and lr before restoring callee
5073 saved registers. Add longjmp and longjmp_target
5074 SystemTap probe point.
5075 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5076 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5077 Define to zero to match jmpbuf layout.
5078 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5079 (__sigsetjmp): Save sp and lr before saving callee
5080 saved registers. Add setjmp SystemTap probe point.
5081
3ea0f74e
SL
50822014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5083
5084 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5085
b04acb26
AS
50862014-02-24 Andreas Schwab <schwab@suse.de>
5087
5088 [BZ #15804]
5089 * elf/pldd.c (wait_for_ptrace_stop): New function.
5090 (main): Call it after attaching.
5091
098ad55c
RM
50922014-02-22 Roland McGrath <roland@hack.frob.com>
5093
d4ec6ae1
RM
5094 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5095 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5096 Versions files is now verboten.
5097 * hurd/Versions (libc: GLIBC_2.0):
5098 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5099 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5100 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5101 * mach/Versions: Likewise.
5102
098ad55c
RM
5103 * csu/Versions: Remove unused %include.
5104 * resolv/Versions: Likewise.
5105
acd7f096
JM
51062014-02-21 Joseph Myers <joseph@codesourcery.com>
5107
f0881698
JM
5108 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5109 ($(objpfx)check-local-headers.out): Likewise.
5110 ($(objpfx)begin-end-check.out): Likewise.
5111 * Makerules (check-abi-%.out): Likewise.
5112 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5113 ($(objpfx)test2.cat): Likewise.
5114 ($(objpfx)de/libc.cat): Likewise.
5115 ($(objpfx)test-gencat.out): Likewise.
5116 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5117 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5118 ($(objpfx)noload-mem): Likewise.
5119 ($(objpfx)tst-pathopt.out): Likewise.
5120 ($(objpfx)tst-rtld-load-self.out): Likewise.
5121 ($(objpfx)tst-array1-cmp.out): Likewise.
5122 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5123 ($(objpfx)tst-array2-cmp.out): Likewise.
5124 ($(objpfx)tst-array3-cmp.out): Likewise.
5125 ($(objpfx)tst-array4-cmp.out): Likewise.
5126 ($(objpfx)tst-array5-cmp.out): Likewise.
5127 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5128 ($(objpfx)check-textrel.out): Likewise.
5129 ($(objpfx)check-execstack.out): Likewise.
5130 ($(objpfx)check-localplt.out): Likewise.
5131 ($(objpfx)order2-cmp.out): Likewise.
5132 ($(objpfx)tst-leaks1-mem): Likewise.
5133 ($(objpfx)tst-leaks1-static-mem): Likewise.
5134 ($(objpfx)tst-initorder-cmp.out): Likewise.
5135 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5136 ($(objpfx)tst-unused-dep.out): Likewise.
5137 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5138 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5139 * iconv/Makefile (test-iconvconfig): Likewise.
5140 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5141 ($(objpfx)iconv-test.out): Likewise.
5142 ($(objpfx)tst-tables.out): Likewise.
5143 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5144 ($(objpfx)tst-gettext.out): Likewise.
5145 ($(objpfx)tst-translit.out): Likewise.
5146 ($(objpfx)tst-gettext2.out): Likewise.
5147 ($(objpfx)tst-gettext4.out): Likewise.
5148 ($(objpfx)tst-gettext6.out): Likewise.
5149 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5150 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5151 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5152 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5154 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5155 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5156 ($(objpfx)wordexp-tst.out): Likewise.
5157 ($(objpfx)annexc.out): Likewise.
5158 ($(objpfx)tst-fnmatch-mem): Likewise.
5159 ($(objpfx)bug-regex2-mem): Likewise.
5160 ($(objpfx)bug-regex14-mem): Likewise.
5161 ($(objpfx)bug-regex21-mem): Likewise.
5162 ($(objpfx)bug-regex31-mem): Likewise.
5163 ($(objpfx)tst-vfork3-mem): Likewise.
5164 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5165 ($(objpfx)tst-pcre-mem): Likewise.
5166 ($(objpfx)tst-boost-mem): Likewise.
5167 ($(objpfx)tst-getconf.out): Likewise.
5168 ($(objpfx)bug-ga2-mem): Likewise.
5169 ($(objpfx)bug-glob2-mem): Likewise.
5170 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5171 ($(objpfx)mtrace-tst-leaks2): Likewise.
5172 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5173 ($(objpfx)tst-printf.out): Likewise.
5174 ($(objpfx)tst-setvbuf1.out): Likewise.
5175 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5176 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5177 ($(objpfx)tst-fmtmsg.out): Likewise.
5178 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5179 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5180
acd7f096
JM
5181 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5182 * bits/sigaction.h [__USE_MISC]: Likewise.
5183 * bits/waitstatus.h: Update #endif comments.
5184 * ctype/ctype.h: Likewise.
5185 * dirent/dirent.h: Likewise.
5186 [__USE_MISC]: Remove redundant conditionals.
5187 * grp/grp.h: Update #endif comments.
5188 [__USE_GNU]: Remove redundant conditionals.
5189 [__USE_MISC]: Likewise.
5190 * inet/netinet/in.h [__USE_GNU]: Likewise.
5191 * io/sys/stat.h [__USE_MISC]: Likewise.
5192 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5193 * libio/bits/stdio.h: Update #endif comments.
5194 [__USE_MISC]: Remove redundant conditionals.
5195 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5196 * libio/stdio.h: Update #endif comments.
5197 [__USE_MISC]: Remove redundant conditionals.
5198 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5199 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5200 * math/math.h: Update #else and #endif comments.
5201 [__USE_MISC]: Remove redundant conditionals.
5202 * misc/sys/uio.h: Update #endif comments.
5203 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5204 * posix/glob.h [__USE_MISC]: Likewise.
5205 * posix/sys/types.h: Update #endif comments.
5206 [__USE_MISC]: Remove redundant conditionals.
5207 * posix/sys/wait.h: Update #endif comments.
5208 [__USE_MISC]: Remove redundant conditionals.
5209 * posix/unistd.h: Update #endif comments.
5210 [__USE_MISC]: Remove redundant conditionals.
5211 * pwd/pwd.h [__USE_GNU]: Likewise.
5212 [__USE_MISC]: Likewise.
5213 * resolv/netdb.h [__USE_GNU]: Likewise.
5214 * signal/signal.h: Update #endif comments.
5215 [__USE_MISC]: Remove redundant conditionals.
5216 * stdlib/stdlib.h: Update #else and #endif comments.
5217 [__USE_MISC]: Remove redundant conditionals.
5218 [__USE_GNU]: Likewise.
5219 * string/bits/string2.h [__USE_MISC]: Likewise.
5220 * string/string.h: Update #endif comments.
5221 [__USE_MISC]: Remove redundant conditionals.
5222 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5223 Likewise.
5224 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5225 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5226 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5227 Likewise.
5228 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5229 Likewise.
5230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5231 comments.
5232 [__USE_MISC]: Remove redundant conditionals.
5233 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5234 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5235 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5236 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5237 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5238 Likewise.
5239 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5240 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5241 Likewise.
5242 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5243 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5244 Likewise.
5245 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5246 Likewise.
5247 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5248 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5249 Likewise.
5250 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5251 Likewise.
5252 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5253 * sysdeps/x86/bits/string.h: Update #endif comments.
5254 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5255 conditionals.
5256 * time/sys/time.h: Update #endif comments.
5257 * time/time.h: Likewise.
5258 [__USE_MISC]: Remove redundant conditionals.
5259
a5d82e4e
YG
52602014-02-21 Yury Gribov <y.gribov@samsung.com>
5261
5262 [BZ #16600]
5263 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5264
9a80491d
AS
52652014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5266
5267 * Versions.def (librt): Add GLIBC_2.17.
5268
105fa381
AC
52692014-02-21 Adam Conrad <adconrad@0c3.net>
5270
5271 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5272 synonym for _SYS_AUXV_H to allow direct inclusion.
5273 * sysdeps/sparc/bits/hwcap.h: Likewise.
5274 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5275 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5276 * sysdeps/sparc/sysdep.h: Likewise.
5277
b8cd1c4e
SP
52782014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5279
5280 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5281
bd939d23
RS
52822014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5283
5284 * benchtests/bench-strrchr.c: Print length instead of position.
5285
5d7b57ca
JM
52862014-02-20 Joseph Myers <joseph@codesourcery.com>
5287
bc688c10
JM
5288 [BZ #16611]
5289 * sysdeps/unix/sysv/linux/kernel-features.h
5290 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5291 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5292 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5293 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5294 Likewise.
5295 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5296 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5297 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5298 (__ASSUME_SENDMMSG): Define instead of using previous
5299 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5300 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5301 (__ASSUME_SENDMMSG_SYSCALL): Define.
5302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5303 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5304 Likewise.
5305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5306 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5307 Likewise.
5308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5309 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5310 Likewise.
5311 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5312 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5313 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5314 [__ASSUME_SENDMMSG]: Change conditionals to
5315 [__ASSUME_SENDMMSG_SOCKETCALL].
5316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5317 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5318 Define.
5319 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5320 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5323 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5324 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5325 [!__ASSUME_SENDMMSG]: Change conditional to
5326 [!__ASSUME_SENDMMSG_SOCKETCALL].
5327 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5328 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5329 Define.
5330
0e31b18c
JM
5331 [BZ #16610]
5332 * sysdeps/unix/sysv/linux/kernel-features.h
5333 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5334 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5335 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5336 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5337 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5338 [__i386__ || __sparc__]
5339 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5340 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5341 (__ASSUME_RECVMMSG): Define instead of using previous
5342 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5343 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5344 (__ASSUME_RECVMMSG_SYSCALL): Define.
5345 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5346 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5347 Likewise.
5348 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5349 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5350 Likewise.
5351 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5352 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5353 Likewise.
5354 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5355 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5356 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5357 [__ASSUME_RECVMMSG]: Change condition to
5358 [__ASSUME_RECVMMSG_SOCKETCALL].
5359 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5360 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5361 Define.
5362 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5363 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5364 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5365 Likewise.
5366 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5367 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5368 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5369 [!__ASSUME_RECVMMSG]: Change condition to
5370 [!__ASSUME_RECVMMSG_SOCKETCALL].
5371 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5372 (__ASSUME_RECVMMSG_SYSCALL): Define.
5373
dd481ccf
JM
5374 [BZ #16609]
5375 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5376 __powerpc__ || __s390__ || __sh__ || __sparc__]
5377 (__ASSUME_SOCKETCALL): Define.
5378 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5379 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5380 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5381 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5382 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5383 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5384 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5385 (__ASSUME_ACCEPT4): Define instead of using previous
5386 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5387 __powerpc__ || __sparc__ || __s390__)] condition.
5388 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5390 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5391 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5392 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5393 [!__ASSUME_ACCEPT4]: Change condition to
5394 [!__ASSUME_ACCEPT4_SOCKETCALL].
5395 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5396 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5397 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5398 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5399 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5400 __ASSUME_ACCEPT4_SYSCALL.
5401 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5402 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5403 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5404 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5405 __ASSUME_ACCEPT4_SYSCALL.
5406 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5407 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5408 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5409 [__ASSUME_ACCEPT4]: Change condition to
5410 [__ASSUME_ACCEPT4_SOCKETCALL].
5411 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5412 (__ASSUME_SOCKETCALL): Define.
5413 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5415 (__ASSUME_SOCKETCALL): Define.
5416 (__ASSUME_ACCEPT4): Remove.
5417 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5418 Define.
5419 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5420 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5421 Likewise.
5422 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5423 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5424
5d7b57ca
JM
5425 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5426 macro.
5427 (HWCAP_ARM_LPAE): Likewise.
5428 (HWCAP_ARM_EVTSTRM): Likewise.
5429 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5430 Add vpfd32, lpae and evtstrm.
5431 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5432 Increase to 22.
5433
63689d61
JM
54342014-02-19 Joseph Myers <joseph@codesourcery.com>
5435
5436 * math/auto-libm-test-in: Add tests of clog10.
5437 * math/auto-libm-test-out: Regenerated.
5438 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5439 * sysdeps/i386/fpu/libm-test-ulps: Update.
5440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441
ab09bf61
AS
54422014-02-18 Andreas Schwab <schwab@suse.de>
5443
5444 [BZ #16574]
5445 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5446 Store non-zero if the second buffer was newly allocated.
5447 (send_dg): Likewise.
5448 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5449 to send_vc and send_dg.
5450 (res_nsend): Pass NULL for ansp2_malloced.
5451 * resolv/res_query.c (__libc_res_nquery): Add parameter
5452 answerp2_malloced and pass it down to __libc_res_nsend.
5453 (res_nquery): Pass additional NULL to __libc_res_nquery.
5454 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5455 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5456 second answer buffer if answerp2_malloced was set.
5457 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5458 (__libc_res_nquerydomain): Add parameter
5459 answerp2_malloced and pass it down to __libc_res_nquery.
5460 (res_nquerydomain): Pass additional NULL to
5461 __libc_res_nquerydomain.
5462 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5463 additional NULL to __libc_res_nsend and __libc_res_nquery.
5464 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5465 additional NULL to __libc_res_nsearch.
5466 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5467 parameter of __libc_res_nsearch to check for separately allocated
5468 second buffer.
5469 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5470 __libc_res_nquery.
5471 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5472 additional NULL to __libc_res_nquery.
5473 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5474 __libc_res_nsearch.
5475 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5476 * include/resolv.h: Update prototypes of __libc_res_nquery,
5477 __libc_res_nsearch, __libc_res_nsend.
5478
a4fb7861
JM
54792014-02-18 Joseph Myers <joseph@codesourcery.com>
5480
c6af2d89
JM
5481 * math/auto-libm-test-in: Add tests of fma.
5482 * math/auto-libm-test-out: Regenerated.
5483 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5484 (fma_towardzero_test_data): Likewise.
5485 (fma_downward_test_data): Likewise.
5486 (fma_upward_test_data): Likewise.
5487 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5488 mpc_mode.
5489 (rounding_modes): Add values for new field.
5490 (func_calc_method): Add value mpfr_fff_f.
5491 (func_calc_desc): Add mpfr_fff_f union field.
5492 (test_function): Add field exact_args.
5493 (FUNC): Add macro argument EXACT_ARGS.
5494 (FUNC_mpfr_f_f): Update call to FUNC.
5495 (FUNC_mpfr_f_f): Likewise.
5496 (FUNC_mpfr_ff_f): Likewise.
5497 (FUNC_mpfr_if_f): Likewise.
5498 (FUNC_mpc_c_f): Likewise.
5499 (FUNC_mpc_c_c): Likewise.
5500 (test_functions): Add fma. Update calls to FUNC.
5501 (handle_input_arg): Add argument exact_args.
5502 (add_test): Update call to handle_input_arg.
5503 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5504 (output_for_one_input_case): Update call to calc_generic_results.
5505 Recalculate exact zero results in each rounding mode.
5506
a4fb7861
JM
5507 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5508 non-negative before setting low bit.
5509 * math/auto-libm-test-in: Mark one asin test possibly having
5510 spurious underflow.
5511 * math/auto-libm-test-out: Regenerated.
5512 * sysdeps/i386/fpu/libm-test-ulps: Update.
5513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5514
ef114eaf
DH
55152014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5516
2b7f4f2c
SP
5517 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5518 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5519 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5520 * README: Add missing listing for microblaze*-*-linux-gnu.
5521
c70a4b1d
MF
55222014-02-16 Mike Frysinger <vapier@gentoo.org>
5523
5524 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5525 * sysdeps/unix/sysv/linux/ia64: Move directory from
5526 ports/sysdeps/unix/sysv/linux/ia64.
5527 * README: Update listing for ia64-*-linux-gnu.
5528
591aeaf7
TD
55292014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5530 Joseph Myers <joseph@codesourcery.com>
5531
5532 * Makeconfig (test-name): New variable.
5533 (evaluate-test): Likewise.
5534 * Makerules (do-test-clean): Remove .test-result files.
5535 (common-mostlyclean): Likewise.
5536 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5537 * scripts/evaluate-test.sh: New file.
5538
6e89caf1
JM
55392014-02-14 Joseph Myers <joseph@codesourcery.com>
5540
7f98f180
JM
5541 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5542 separate $(objpfx)tst-fopenloc-cmp.out and
5543 $(objpfx)tst-fopenloc-mem.out targets.
5544 (tests): Update dependencies.
5545 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5546 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5547 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5548 (tst-rxspencer-no-utf8-ARGS): New variable.
5549 (tst-rxspencer-no-utf8-ENV): Likewise.
5550 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5551 instead of $(objpfx)tst-rxspencer-mem.
5552 ($(objpfx)tst-rxspencer-mem): Change target to
5553 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5554 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5555 * posix/tst-rxspencer-no-utf8.c: New file.
5556
6e89caf1
JM
5557 * elf/Makefile ($(objpfx)order.out): Remove rule.
5558 [$(run-built-tests) = yes] (tests): Depend on
5559 $(objpfx)order-cmp.out.
5560 ($(objpfx)order-cmp.out): New rule.
5561 [$(run-built-tests) = yes] (tests): Depend on
5562 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5563 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5564 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5565 $(objpfx)tst-array5-static-cmp.out.
5566 ($(objpfx)tst-array1.out): Remove rule.
5567 ($(objpfx)tst-array1-cmp.out): New rule.
5568 ($(objpfx)tst-array1-static.out): Remove rule.
5569 ($(objpfx)tst-array1-static-cmp.out): New rule.
5570 ($(objpfx)tst-array2.out): Remove rule.
5571 ($(objpfx)tst-array2-cmp.out): New rule.
5572 ($(objpfx)tst-array3.out): Remove rule.
5573 ($(objpfx)tst-array3-cmp.out): New rule.
5574 ($(objpfx)tst-array4.out): Remove rule.
5575 ($(objpfx)tst-array4-cmp.out): New rule.
5576 ($(objpfx)tst-array5.out): Remove rule.
5577 ($(objpfx)tst-array5-cmp.out): New rule.
5578 ($(objpfx)tst-array5-static.out): Remove rule.
5579 ($(objpfx)tst-array5-static-cmp.out): New rule.
5580 [$(run-built-tests) = yes] (tests): Depend on
5581 $(objpfx)order2-cmp.out.
5582 ($(objpfx)order2.out): Remove rule.
5583 ($(objpfx)order2-cmp.out): New rule.
5584 ($(objpfx)tst-initorder.out): Remove rule.
5585 [$(run-built-tests) = yes] (tests): Depend on
5586 $(objpfx)tst-initorder-cmp.out.
5587 ($(objpfx)tst-initorder-cmp.out): New rule.
5588 ($(objpfx)tst-initorder2.out): Remove rule.
5589 [$(run-built-tests) = yes] (tests): Depend on
5590 $(objpfx)tst-initorder2-cmp.out.
5591 ($(objpfx)tst-initorder2-cmp.out): New rule.
5592 [$(run-built-tests) = yes] (tests): Depend on
5593 $(objpfx)tst-unused-dep-cmp.out.
5594 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5595 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5596 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5597 on $(objpfx)tst-setvbuf1-cmp.out.
5598 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5599 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5600 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5601 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5602 ($(objpfx)tst-svc.out): Remove rule.
5603 ($(objpfx)tst-svc-cmp.out): New rule.
5604
ed9a38e2
JM
56052014-02-13 Joseph Myers <joseph@codesourcery.com>
5606
5607 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5608 * ctype/ctype.h [__USE_MISC]: Likewise.
5609 * dirent/dirent.h [__USE_MISC]: Likewise.
5610 * grp/grp.h [__USE_MISC]: Likewise.
5611 * io/fcntl.h [__USE_MISC]: Likewise.
5612 * io/sys/stat.h [__USE_MISC]: Likewise.
5613 * libio/stdio.h [__USE_MISC]: Likewise.
5614 * posix/unistd.h [__USE_MISC]: Likewise.
5615 * pwd/pwd.h [__USE_MISC]: Likewise.
5616 * stdlib.h [__USE_MISC]: Likewise.
5617 * string/bits/string2.h [__USE_MISC]: Likewise.
5618 * string/string.h [__USE_MISC]: Likewise.
5619 * time/time.h [__USE_MISC]: Likewise.
5620
d6680619
AS
56212014-02-13 Andreas Schwab <schwab@suse.de>
5622
5623 [BZ #16574]
5624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5625 second answer buffer if it was separately allocated.
5626
ace614b8
JM
56272014-02-12 Joseph Myers <joseph@codesourcery.com>
5628
743151ae
JM
5629 * sysdeps/mips/math-tests.h: Include <features.h>.
5630 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5631 (ROUNDING_TESTS_long_double): Do not define.
5632 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5633 (EXCEPTION_TESTS_long_double): Likewise.
5634 * sysdeps/mips/mips64/libm-test-ulps: Update.
5635
498afc54
JM
5636 * include/features.h (__USE_BSD): Remove macro definitions.
5637 (__USE_SVID): Likewise.
5638 (_BSD_SOURCE): Likewise.
5639 (_SVID_SOURCE): Likewise.
5640 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5641 from definition of _DEFAULT_SOURCE.
5642 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5643 [_DEFAULT_SOURCE].
5644 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5645 * bits/mman.h [__USE_BSD]: Likewise.
5646 * bits/termios.h [__USE_BSD]: Likewise.
5647 * bits/waitstatus.h [__USE_BSD]: Likewise.
5648 * ctype/ctype.h [__USE_SVID]: Likewise.
5649 * dirent/dirent.h [__USE_BSD]: Likewise.
5650 * grp/grp.h [__USE_SVID]: Likewise.
5651 [__USE_BSD]: Likewise.
5652 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5653 * io/fcntl.h [__USE_BSD]: Likewise.
5654 * io/ftw.h [__USE_BSD]: Likewise.
5655 * io/sys/stat.h [__USE_BSD]: Likewise.
5656 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5657 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5658 * libio/stdio.h [__USE_SVID]: Likewise.
5659 [__USE_BSD]: Likewise.
5660 * math/math.h [__USE_SVID]: Likewise.
5661 [__USE_BSD]: Likewise.
5662 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5663 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5664 * misc/search.h [__USE_SVID]: Likewise.
5665 * misc/sys/mman.h [__USE_BSD]: Likewise.
5666 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5667 * misc/sys/uio.h [__USE_BSD]: Likewise.
5668 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5669 * posix/glob.h [__USE_BSD]: Likewise.
5670 * posix/regex.h [__USE_BSD]: Likewise.
5671 * posix/sys/types.h [__USE_BSD]: Likewise.
5672 [__USE_SVID]: Likewise.
5673 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5674 * posix/sys/wait.h [__USE_BSD]: Likewise.
5675 [__USE_SVID]: Likewise.
5676 * posix/unistd.h [__USE_BSD]: Likewise.
5677 [__USE_SVID]: Likewise.
5678 * pwd/pwd.h [__USE_SVID]: Likewise.
5679 * resolv/netdb.h [__USE_BSD]: Likewise.
5680 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5681 * signal/signal.h [__USE_BSD]: Likewise.
5682 [__USE_SVID]: Likewise.
5683 * socket/sys/socket.h [__USE_BSD]: Likewise.
5684 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5685 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5686 [__USE_SVID]: Likewise.
5687 * string/bits/string2.h [__USE_BSD]: Likewise.
5688 [__USE_SVID]: Likewise.
5689 * string/bits/string3.h [__USE_BSD]: Likewise.
5690 * string/endian.h [__USE_BSD]: Likewise.
5691 * string/string.h [__USE_SVID]: Likewise.
5692 [__USE_BSD]: Likewise.
5693 * string/strings.h [__USE_BSD]: Likewise.
5694 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5695 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5696 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5697 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5698 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5699 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5700 Likewise.
5701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5702 Likewise.
5703 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5704 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5705 Likewise.
5706 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5707 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5708 Likewise.
5709 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5710 Likewise.
5711 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5712 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5714 Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5716 Likewise.
5717 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5718 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5719 * termios/termios.h [__USE_BSD]: Likewise.
5720 * time/sys/time.h [__USE_BSD]: Likewise.
5721 * time/time.h [__USE_BSD]: Likewise.
5722 [__USE_SVID]: Likewise.
5723
dd7b064c
JM
5724 * Makefile (subdir_targets): Remove subdir_lint.out.
5725
a2c4c199
JM
5726 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5727 (do-tst-printf): Likewise.
5728 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5729 $(objpfx)tst-printf.out.
5730
8756f740
JM
5731 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5732
1b6dd3f1
JM
5733 * Makerules (check-abi-%): Change target to
5734 $(objpfx)check-abi-%.out.
5735 (check-abi target): Update dependencies.
5736 (check-abi-pattern variable): Redirect output of diff to $@.
5737 (check-abi variable): Likewise.
5738 * elf/Makefile (check-abi): Update dependencies.
5739
ace614b8
JM
5740 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5741 unused.
5742 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5743 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5744 subnormal range.
5745 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5746 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5747 value has largest subnormal exponent.
5748 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5749 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5750 * sysdeps/aarch64/soft-fp/sfp-machine.h
5751 (_FP_TININESS_AFTER_ROUNDING): New macro.
5752 * sysdeps/alpha/soft-fp/sfp-machine.h
5753 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5754 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5755 Likewise.
5756 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5758 * sysdeps/mips/soft-fp/sfp-machine.h
5759 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5760 * sysdeps/powerpc/soft-fp/sfp-machine.h
5761 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5762 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5763 Likewise.
5764 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5765 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5766 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5767 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5768 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5769 Likewise.
5770
fbfdf9cb
DAS
57712014-02-12 Dylan Alex Simon <dylan@dylex.net>
5772
5773 [BZ #16545]
5774 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5775 model 1.
5776
68b7efaa
RH
57772014-02-12 Richard Henderson <rth@redhat.com>
5778
c70a4b1d 5779 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5780 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5781 * sysdeps/unix/sysv/linux/alpha: Move directory from
5782 ports/sysdeps/unix/sysv/linux/alpha.
5783 * README: Update listing for alpha-*-linux-gnu.
5784
cb4a2928
JM
57852014-02-11 Joseph Myers <joseph@codesourcery.com>
5786
c941736c
JM
5787 * include/features.h: Update comment documenting feature test
5788 macros.
5789 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5790 _DEFAULT_SOURCE.
5791 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5792 (_SVID_SOURCE): Likewise.
5793 (_DEFAULT_SOURCE): Update description of default features.
5794 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5795 with _GNU_SOURCE.
5796 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5797 (S_ISVTX): Likewise.
5798 * manual/math.texi (Mathematical Constants): Likewise.
5799 * manual/signal.texi (Interrupted Primitives): Likewise.
5800 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5801 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5802 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5803 Don't refer to _SVID_SOURCE in warning text.
5804
e8d8d7ec
JM
5805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5806
cb4a2928
JM
5807 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5808 already defined.
5809 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5810 * sysdeps/mips/dl-lookup.c: Remove.
5811 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5812
7e6424e3
AK
58132014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5814
5815 [BZ #16447]
5816 * math/auto-libm-test-in: Add testcase for expl.
5817 * math/auto-libm-test-out: Regenerate.
5818 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5819 calculation of unsafe.
5820 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5821
75eff3fe
MS
58222014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5823
5824 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5825 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5826 ports/sysdeps/unix/sysv/linux/aarch64.
5827 * README: Update listing for aarch64*-*-linux-gnu.
5828
d35f1e80
WN
58292014-02-11 Will Newton <will.newton@linaro.org>
5830
5831 * manual/probes.texi (Mathematical Function Probes): Use
5832 "triggered" instead of "hit".
5833
7b3436d4
WN
5834 * manual/probes.texi (Internal Probes): Add documentation
5835 of setjmp, longjmp and longjmp_target probes.
5836
b4f12ca3
WN
5837 * include/stap-probe.h: Add comment about probe argument
5838 format.
5839
c13a72b7
WN
5840 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5841 definition. (tr_where, tr_freehook, tr_mallochook,
5842 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5843
195b8165
DM
58442014-02-11 David S. Miller <davem@davemloft.net>
5845
5846 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5847 processing int_tests.
5848
2ad7600b
JM
58492014-02-10 Joseph Myers <joseph@codesourcery.com>
5850
5851 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5852 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5853 * sysdeps/unix/sysv/linux/mips: Move directory from
5854 ports/sysdeps/unix/sysv/linux/mips.
5855 * README: Update listing for mips-*-linux-gnu and
5856 mips64-*-linux-gnu.
5857
73588a72
AS
58582014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5859
5860 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5861 * sysdeps/unix/sysv/linux/m68k: Move directory from
5862 ports/sysdeps/unix/sysv/linux/m68k.
5863 * README: Update listing for m68k-*-linux-gnu.
5864
4372980f
CM
58652014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5866
5867 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5868 * sysdeps/unix/sysv/linux/generic: Move directory from
5869 ports/sysdeps/unix/sysv/linux/generic.
5870 * sysdeps/unix/sysv/linux/tile: Move directory from
5871 ports/sysdeps/unix/sysv/linux/tile.
5872 * README: Update listing for tile*-*-linux-gnu.
5873
a1ffb40e
OB
58742014-02-10 Ondřej Bílka <neleai@seznam.cz>
5875
57f41c40
AS
5876 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5877 __builtin_expect.
a1ffb40e
OB
5878 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5879 * catgets/open_catalog.c (__open_catalog): Likewise.
5880 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5881 * debug/confstr_chk.c: Likewise.
5882 * debug/fread_chk.c (__fread_chk): Likewise.
5883 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5884 * debug/getgroups_chk.c: Likewise.
5885 * debug/mbsnrtowcs_chk.c: Likewise.
5886 * debug/mbsrtowcs_chk.c: Likewise.
5887 * debug/mbstowcs_chk.c: Likewise.
5888 * debug/memcpy_chk.c: Likewise.
5889 * debug/memmove_chk.c: Likewise.
5890 * debug/mempcpy_chk.c: Likewise.
5891 * debug/memset_chk.c: Likewise.
5892 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5893 * debug/strcat_chk.c (__strcat_chk): Likewise.
5894 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5895 * debug/strncat_chk.c (__strncat_chk): Likewise.
5896 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5897 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5898 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5899 * debug/wcpncpy_chk.c: Likewise.
5900 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5901 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5902 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5903 * debug/wcsncpy_chk.c: Likewise.
5904 * debug/wcsnrtombs_chk.c: Likewise.
5905 * debug/wcsrtombs_chk.c: Likewise.
5906 * debug/wcstombs_chk.c: Likewise.
5907 * debug/wmemcpy_chk.c: Likewise.
5908 * debug/wmemmove_chk.c: Likewise.
5909 * debug/wmempcpy_chk.c: Likewise.
5910 * debug/wmemset_chk.c: Likewise.
5911 * dirent/scandirat.c (SCANDIRAT): Likewise.
5912 * dlfcn/dladdr1.c (dladdr1): Likewise.
5913 * dlfcn/dladdr.c (dladdr): Likewise.
5914 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5915 * dlfcn/dlerror.c (__dlerror): Likewise.
5916 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5917 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5918 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5919 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5920 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5921 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5922 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5923 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5924 Likewise.
5925 * elf/dl-conflict.c: Likewise.
5926 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5927 * elf/dl-dst.h: Likewise.
5928 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5929 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5930 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5931 * elf/dl-init.c (call_init, _dl_init): Likewise.
5932 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5933 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5934 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5935 Likewise.
a1ffb40e
OB
5936 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5937 Likewise.
5938 * elf/dl-minimal.c (__libc_memalign): Likewise.
5939 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5940 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5941 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5942 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5943 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5944 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5945 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5946 * elf/dl-writev.h (_dl_writev): Likewise.
5947 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5948 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5949 (dl_main): Likewise.
a1ffb40e
OB
5950 * elf/setup-vdso.h (setup_vdso): Likewise.
5951 * grp/compat-initgroups.c (compat_call): Likewise.
5952 * grp/fgetgrent.c (fgetgrent): Likewise.
5953 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5954 * grp/putgrent.c (putgrent): Likewise.
5955 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5956 Likewise.
5957 * hurd/hurdinit.c: Likewise.
5958 * iconvdata/8bit-gap.c (struct): Likewise.
5959 * iconvdata/ansi_x3.110.c : Likewise.
5960 * iconvdata/big5.c : Likewise.
5961 * iconvdata/big5hkscs.c : Likewise.
5962 * iconvdata/cp1255.c: Likewise.
5963 * iconvdata/cp1258.c : Likewise.
5964 * iconvdata/cp932.c : Likewise.
5965 * iconvdata/euc-cn.c: Likewise.
5966 * iconvdata/euc-jisx0213.c : Likewise.
5967 * iconvdata/euc-jp.c: Likewise.
5968 * iconvdata/euc-jp-ms.c : Likewise.
5969 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5970 * iconvdata/gb18030.c : Likewise.
5971 * iconvdata/gbbig5.c (const): Likewise.
5972 * iconvdata/gbgbk.c: Likewise.
5973 * iconvdata/gbk.c : Likewise.
5974 * iconvdata/ibm1364.c : Likewise.
5975 * iconvdata/ibm930.c : Likewise.
5976 * iconvdata/ibm932.c: Likewise.
5977 * iconvdata/ibm933.c : Likewise.
5978 * iconvdata/ibm935.c : Likewise.
5979 * iconvdata/ibm937.c : Likewise.
5980 * iconvdata/ibm939.c : Likewise.
5981 * iconvdata/ibm943.c: Likewise.
5982 * iconvdata/iso_11548-1.c: Likewise.
5983 * iconvdata/iso-2022-cn.c : Likewise.
5984 * iconvdata/iso-2022-cn-ext.c : Likewise.
5985 * iconvdata/iso-2022-jp-3.c: Likewise.
5986 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5987 * iconvdata/iso-2022-kr.c : Likewise.
5988 * iconvdata/iso646.c (gconv_end): Likewise.
5989 * iconvdata/iso_6937-2.c : Likewise.
5990 * iconvdata/iso_6937.c : Likewise.
5991 * iconvdata/iso8859-1.c: Likewise.
5992 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5993 * iconvdata/shift_jisx0213.c : Likewise.
5994 * iconvdata/sjis.c : Likewise.
5995 * iconvdata/t.61.c : Likewise.
5996 * iconvdata/tcvn5712-1.c : Likewise.
5997 * iconvdata/tscii.c: Likewise.
5998 * iconvdata/uhc.c : Likewise.
5999 * iconvdata/unicode.c (gconv_end): Likewise.
6000 * iconvdata/utf-16.c (gconv_end): Likewise.
6001 * iconvdata/utf-32.c (gconv_end): Likewise.
6002 * iconvdata/utf-7.c (base64): Likewise.
6003 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6004 * iconv/gconv_close.c (__gconv_close): Likewise.
6005 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6006 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6007 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6008 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6009 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6010 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6011 * iconv/iconv.c (iconv): Likewise.
6012 * iconv/iconv_close.c: Likewise.
6013 * iconv/loop.c (SINGLE): Likewise.
6014 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6015 * include/atomic.h: Likewise.
6016 * inet/inet6_option.c (option_alloc): Likewise.
6017 * intl/bindtextdom.c (set_binding_values): Likewise.
6018 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6019 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6020 * intl/localealias.c (read_alias_file): Likewise.
6021 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6022 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6023 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6024 * libio/fmemopen.c (fmemopen): Likewise.
6025 * libio/iofgets.c (_IO_fgets): Likewise.
6026 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6027 * libio/iofgetws.c (fgetws): Likewise.
6028 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6029 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6030 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6031 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6032 * locale/findlocale.c (_nl_find_locale): Likewise.
6033 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6034 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6035 Likewise.
6036 * locale/setlocale.c (setlocale): Likewise.
6037 * login/programs/pt_chown.c (main): Likewise.
6038 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6039 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6040 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6041 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6042 * math/e_exp2l.c: Likewise.
6043 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6044 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6045 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6046 * math/s_catan.c (__catan): Likewise.
6047 * math/s_catanf.c (__catanf): Likewise.
6048 * math/s_catanh.c (__catanh): Likewise.
6049 * math/s_catanhf.c (__catanhf): Likewise.
6050 * math/s_catanhl.c (__catanhl): Likewise.
6051 * math/s_catanl.c (__catanl): Likewise.
6052 * math/s_ccosh.c (__ccosh): Likewise.
6053 * math/s_ccoshf.c (__ccoshf): Likewise.
6054 * math/s_ccoshl.c (__ccoshl): Likewise.
6055 * math/s_cexp.c (__cexp): Likewise.
6056 * math/s_cexpf.c (__cexpf): Likewise.
6057 * math/s_cexpl.c (__cexpl): Likewise.
6058 * math/s_clog10.c (__clog10): Likewise.
6059 * math/s_clog10f.c (__clog10f): Likewise.
6060 * math/s_clog10l.c (__clog10l): Likewise.
6061 * math/s_clog.c (__clog): Likewise.
6062 * math/s_clogf.c (__clogf): Likewise.
6063 * math/s_clogl.c (__clogl): Likewise.
6064 * math/s_csin.c (__csin): Likewise.
6065 * math/s_csinf.c (__csinf): Likewise.
6066 * math/s_csinh.c (__csinh): Likewise.
6067 * math/s_csinhf.c (__csinhf): Likewise.
6068 * math/s_csinhl.c (__csinhl): Likewise.
6069 * math/s_csinl.c (__csinl): Likewise.
6070 * math/s_csqrt.c (__csqrt): Likewise.
6071 * math/s_csqrtf.c (__csqrtf): Likewise.
6072 * math/s_csqrtl.c (__csqrtl): Likewise.
6073 * math/s_ctan.c (__ctan): Likewise.
6074 * math/s_ctanf.c (__ctanf): Likewise.
6075 * math/s_ctanh.c (__ctanh): Likewise.
6076 * math/s_ctanhf.c (__ctanhf): Likewise.
6077 * math/s_ctanhl.c (__ctanhl): Likewise.
6078 * math/s_ctanl.c (__ctanl): Likewise.
6079 * math/w_pow.c: Likewise.
6080 * math/w_powf.c: Likewise.
6081 * math/w_powl.c: Likewise.
6082 * math/w_scalb.c (sysv_scalb): Likewise.
6083 * math/w_scalbf.c (sysv_scalbf): Likewise.
6084 * math/w_scalbl.c (sysv_scalbl): Likewise.
6085 * misc/error.c (error_tail): Likewise.
6086 * misc/pselect.c (__pselect): Likewise.
6087 * nis/nis_callback.c (__nis_create_callback): Likewise.
6088 * nis/nis_call.c (__nisfind_server): Likewise.
6089 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6090 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6091 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6092 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6093 * nis/nis_lookup.c (nis_lookup): Likewise.
6094 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6095 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6096 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6097 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6098 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6099 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6100 * nis/nss_compat/compat-initgroups.c (add_group)
6101 (internal_getgrent_r): Likewise.
6102 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6103 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6104 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6105 (internal_getspnam_r): Likewise.
6106 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6107 (_nss_nis_getaliasbyname_r): Likewise.
6108 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6109 (_nss_nis_getntohost_r): Likewise.
6110 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6111 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6112 (_nss_nis_getgrgid_r): Likewise.
6113 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6114 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6115 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6116 (_nss_nis_gethostbyname4_r): Likewise.
6117 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6118 (initgroups_netid): Likewise.
a1ffb40e 6119 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6120 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6121 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6122 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6123 (_nss_nis_getprotobynumber_r): Likewise.
6124 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6125 (_nss_nis_getsecretkey): Likewise.
6126 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6127 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6128 (_nss_nis_getpwuid_r): Likewise.
6129 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6130 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6131 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6132 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6133 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6134 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6135 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6136 Likewise.
57f41c40
AS
6137 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6138 (_nss_nisplus_getntohost_r): Likewise.
6139 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6140 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6141 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6142 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6143 Likewise.
57f41c40
AS
6144 * nis/nss_nisplus/nisplus-initgroups.c
6145 (_nss_nisplus_initgroups_dyn): Likewise.
6146 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6147 (_nss_nisplus_getnetbyaddr_r): Likewise.
6148 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6149 (_nss_nisplus_getprotobynumber_r): Likewise.
6150 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6151 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6152 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6153 Likewise.
57f41c40
AS
6154 * nis/nss_nisplus/nisplus-service.c
6155 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6156 (_nss_nisplus_getservbyport_r): Likewise.
6157 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6158 (_nss_nisplus_getspnam_r): Likewise.
6159 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6160 Likewise.
a1ffb40e
OB
6161 * nscd/aicache.c (addhstaiX): Likewise.
6162 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6163 * nscd/connections.c (register_traced_file, send_ro_fd)
6164 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6165 (main_loop_epoll): Likewise.
a1ffb40e
OB
6166 * nscd/grpcache.c (addgrbyX): Likewise.
6167 * nscd/hstcache.c (addhstbyX): Likewise.
6168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6169 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6170 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6171 (addinnetgrX): Likewise.
6172 * nscd/nscd-client.h (__nscd_acquire_maplock)
6173 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6174 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6175 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6176 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6177 Likewise.
6178 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6179 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6180 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6181 (__nscd_get_map_ref): Likewise.
a1ffb40e 6182 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6183 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6184 Likewise.
a1ffb40e
OB
6185 * nscd/pwdcache.c (addpwbyX): Likewise.
6186 * nscd/selinux.c (preserve_capabilities): Likewise.
6187 * nscd/servicescache.c (addservbyX): Likewise.
6188 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6189 * posix/fnmatch.c (fnmatch): Likewise.
6190 * posix/getopt.c (_getopt_internal_r): Likewise.
6191 * posix/glob.c (glob, glob_in_dir): Likewise.
6192 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6193 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6194 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6195 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6196 * resolv/res_init.c: Likewise.
6197 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6198 * resolv/res_query.c (__libc_res_nquery): Likewise.
6199 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6200 Likewise.
6201 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6202 * stdio-common/perror.c (perror): Likewise.
6203 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6204 * stdio-common/tmpnam.c (tmpnam): Likewise.
6205 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6206 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6207 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6208 Likewise.
a1ffb40e
OB
6209 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6210 * stdlib/putenv.c (putenv): Likewise.
6211 * stdlib/setenv.c (__add_to_environ): Likewise.
6212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6213 * stdlib/strtol_l.c (INTERNAL): Likewise.
6214 * string/memmem.c (memmem): Likewise.
6215 * string/strerror.c (strerror): Likewise.
6216 * string/strnlen.c (__strnlen): Likewise.
6217 * string/test-memmem.c (simple_memmem): Likewise.
6218 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6219 * sunrpc/pm_getport.c (__get_socket): Likewise.
6220 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6221 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6222 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6223 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6224 Likewise.
6225 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6227 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6228 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6229 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6230 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6231 Likewise.
6232 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6233 Likewise.
a1ffb40e
OB
6234 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6235 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6236 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6237 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6238 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6240 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6241 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6242 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6243 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6244 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6246 Likewise.
6247 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6248 Likewise.
6249 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6250 Likewise.
6251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6253 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6254 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6255 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6256 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6257 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6259 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6260 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6267 Likewise.
a1ffb40e
OB
6268 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6269 Likewise.
6270 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6271 Likewise.
6272 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6273 Likewise.
6274 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6276 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6277 Likewise.
6278 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6279 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6280 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6281 * sysdeps/posix/sleep.c: Likewise.
6282 * sysdeps/posix/tempname.c: Likewise.
6283 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6284 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6285 Likewise.
57f41c40
AS
6286 * sysdeps/powerpc/powerpc32/dl-machine.h
6287 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6288 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6290 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6291 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6292 Likewise.
6293 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6295 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6297 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6298 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6299 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6300 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6301 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6302 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6304 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6305 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6307 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6308 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6309 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6310 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6311 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6312 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6313 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6314 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6316 Likewise.
6317 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6318 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6319 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6320 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6321 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6322 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6323 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6324 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6325 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6326 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6327 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6328 Likewise.
6329 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6330 (__posix_fallocate64_l64): Likewise.
6331 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6332 (posix_fallocate): Likewise.
57f41c40
AS
6333 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6334 Likewise.
a1ffb40e 6335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6336 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6337 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6338 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6339 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6340 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6341 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6342 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6343 (__posix_fallocate64_l64): Likewise.
6344 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6345 Likewise.
6346 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6347 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6348 (__get_clockfreq): Likewise.
a1ffb40e
OB
6349 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6350 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6351 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6354 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6355 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6356 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6357 Likewise.
6358 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6359 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6360 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6361 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6362 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6363 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6364 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6365 Likewise.
6366 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6367 (posix_fallocate): Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6369 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6370 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6371 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6372 (elf_machine_rela, elf_machine_rela_relative)
6373 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6374 * time/asctime.c (asctime_internal): Likewise.
6375 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6376 * time/tzset.c (__tzset_parse_tz): Likewise.
6377 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6378 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6379 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6380 * wcsmbs/wcsmbsload.h: Likewise.
6381
f3d338c9
OB
6382 [BZ #15894]
6383 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6384
57f41c40
AS
6385 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6386 (arena_get2): Remove THREAD_STATS conditionals.
6387 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6388 (__malloc_stats, int): Likewise.
bdfe308a 6389
d674667c
MF
63902014-02-08 Mike Frysinger <vapier@gentoo.org>
6391
6392 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6393 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6394
6349768c
MF
6395 * manual/setjmp.texi: Fix typos/grammar errors.
6396
0b7c7473
MF
6397 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6398 Only return early when n is <= 0. Delete unused return statement.
6399
ac8cc9e3
MF
6400 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6401 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6402 * debug/tst-longjmp_chk3.c: New file.
6403
c5bb8e23
MF
6404 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6405 (test_main): Replace code with set_fortify_handler call.
6406 * debug/test-strcpy_chk.c: Likewise.
6407 * debug/tst-chk1.c: Likewise.
6408 * debug/tst-longjmp_chk.c: Likewise.
6409 * test-skeleton.c: Include fcntl.h & paths.h
6410 (set_fortify_handler): Define.
6411
10444e42
MF
6412 * debug/tst-longjmp_chk.c: Add header comment and include
6413 ../test-skeleton.c.
6414 (do_test): Mark static.
6415 (TEST_FUNCTION): Define.
6416
1e805e8d
MF
6417 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6418 (IP_PMTUDISC_INTERFACE): Likewise.
6419 (IP_MULTICAST_IF): Likewise.
6420 (IP_MULTICAST_TTL): Likewise.
6421 (IP_MULTICAST_LOOP): Likewise.
6422 (IP_ADD_MEMBERSHIP): Likewise.
6423 (IP_DROP_MEMBERSHIP): Likewise.
6424 (IP_UNBLOCK_SOURCE): Likewise.
6425 (IP_BLOCK_SOURCE): Likewise.
6426 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6427 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6428 (IP_MSFILTER): Likewise.
6429 (MCAST_JOIN_GROUP): Likewise.
6430 (MCAST_BLOCK_SOURCE): Likewise.
6431 (MCAST_UNBLOCK_SOURCE): Likewise.
6432 (MCAST_LEAVE_GROUP): Likewise.
6433 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6434 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6435 (MCAST_MSFILTER): Likewise.
6436 (IP_MULTICAST_ALL): Likewise.
6437 (IP_UNICAST_IF): Likewise.
6438
73f79bb7
MF
6439 * timezone/Makefile: Delete $(have-ksh) check.
6440 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6441 * timezone/tzselect.ksh: Add +x mode bits.
6442
8da79b60
MF
6443 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6444 (ANON_INODE_FS_MAGIC): Likewise.
6445 (BDEVFS_MAGIC): Likewise.
6446 (BINFMTFS_MAGIC): Likewise.
6447 (BTRFS_TEST_MAGIC): Likewise.
6448 (CRAMFS_MAGIC_WEND): Likewise.
6449 (DEBUGFS_MAGIC): Likewise.
6450 (ECRYPTFS_SUPER_MAGIC): Likewise.
6451 (EXT3_SUPER_MAGIC): Likewise.
6452 (EXT4_SUPER_MAGIC): Likewise.
6453 (FUTEXFS_SUPER_MAGIC): Likewise.
6454 (HOSTFS_SUPER_MAGIC): Likewise.
6455 (HUGETLBFS_MAGIC): Likewise.
6456 (MINIX3_SUPER_MAGIC): Likewise.
6457 (MTD_INODE_FS_MAGIC): Likewise.
6458 (NILFS_SUPER_MAGIC): Likewise.
6459 (OPENPROM_SUPER_MAGIC): Likewise.
6460 (PIPEFS_MAGIC): Likewise.
6461 (PSTOREFS_MAGIC): Likewise.
6462 (QNX6_SUPER_MAGIC): Likewise.
6463 (RAMFS_MAGIC): Likewise.
6464 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6465 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6466 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6467 (SECURITYFS_MAGIC): Likewise.
6468 (SELINUX_MAGIC): Likewise.
6469 (SMACK_MAGIC): Likewise.
6470 (SOCKFS_MAGIC): Likewise.
6471 (SQUASHFS_MAGIC): Likewise.
6472 (STACK_END_MAGIC): Likewise.
6473 (TMPFS_MAGIC): Likewise.
6474 (USBDEVICE_SUPER_MAGIC): Likewise.
6475 (V9FS_MAGIC): Likewise.
6476 (XENFS_SUPER_MAGIC): Likewise.
6477 (CRAMFS_MAGIC): Fix typo in comment.
6478 (EXT2_SUPER_MAGIC): Update comment.
6479 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6480
464263cc
JM
64812014-02-08 Joseph Myers <joseph@codesourcery.com>
6482
c6bfe5c4
JM
6483 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6484 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6485 * sysdeps/unix/sysv/linux/arm: Move directory from
6486 ports/sysdeps/unix/sysv/linux/arm.
6487 * README: Update listing for arm-*-linux-gnueabi.
6488
464263cc
JM
6489 * README: Remove mention of am33.
6490
32749f6c
RM
64912014-02-07 Roland McGrath <roland@hack.frob.com>
6492
6493 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6494 than the comma operator, to avoid "rhs of comma has no effect"
6495 compiler warnings.
6496 (__sigfillset, __sigandset, __sigorset): Likewise.
6497 * include/signal.h (__sigemptyset): Likewise.
6498 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6499
d5b396c1
AM
65002014-02-07 Allan McRae <allan@archlinux.org>
6501
6502 * version.h (RELEASE): Set to "development".
6503 (VERSION): Set to "2.19.90"
6504 * NEWS: Add 2.20 section.
6505
3bfff2ed
CD
65062014-02-06 Carlos O'Donell <carlos@redhat.com>
6507
6508 [BZ #16529]
6509 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6510
ee7cc385
SP
65112014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
6513 * manual/contrib.texi: Update entry for Carlos O'Donell,
6514 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6515
f877c4f2
CD
65162014-02-05 Carlos O'Donell <carlos@rehdat.com>
6517
27e839f6
CD
6518 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6519
f877c4f2
CD
6520 * sysdeps/unix/sysv/linux/kernel-features.h
6521 [__LINUX_KERNEL_VERSION >= 0x020621]
6522 (__ASSUME_PROC_PID_TASK_COMM): Define.
6523
68159946
SP
65242014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6525
ba17cdbd
SP
6526 [BZ #16398]
6527 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6528 conversion when destination buffer does not have enough space.
6529 * libio/tst-ftell-partial-wide.c: New test case.
6530 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6531
68159946
SP
6532 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6533 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6534 Leonard and Allan McRae.
6535
2b528732
DM
65362014-02-04 David S. Miller <davem@davemloft.net>
6537
6538 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6539 32-bit.
6540
0ff82463
AZ
65412014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542
57f41c40
AS
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6544 New file
c01603f7
AZ
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6546 New file
57f41c40
AS
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6548 New file.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6550 New file.
c01603f7
AZ
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6552 New file.
57f41c40
AS
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6554 New file.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6556 New file.
c01603f7
AZ
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6558 New file.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6560 New file.
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6562 New file.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6564 New file.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6566 New file.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6568 New file.
6569
65702014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571
0ff82463
AZ
6572 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6573 * shlib-versions: Likewise.
6574
1695c773
AZ
65752014-02-04 Roland McGrath <roland@hack.frob.com>
6576 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577
6578 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6579 (abilist-pattern): New variable, set to %-le.abilist.
6580
6581 * Makerules (abilist-pattern): New variable.
6582 (vpath): Use $(abilist-pattern) in place of %.abilist.
6583 (check-abi-% pattern rule): Likewise.
6584 (check-abi, update-abi): Likewise.
6585
6c0ce4b4
EW
65862014-02-04 Eric Wong <normalperson@yhbt.net>
6587
6588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6589
481e3524
CD
65902014-02-03 Carlos O'Donell <carlos@redhat.com>
6591
6592 * manual/startup.texi: Add next, previous, and top entries for
6593 the `Program Arguments' and `Environment Variables' nodes.
6594
375592d3
AO
65952014-02-03 Alexandre Oliva <aoliva@redhat.com>
6596
6597 * manual/macros.texi: Add comments before MTASC-safety macros.
6598
f54838ba
AO
6599 * manual/users.texi: Document MTASC-safety properties.
6600
57f41c40
AS
6601 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6602 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6603 @deftypefun, and add @safety note.
6604 * manual/signal.texi: Move comments that analyze the above
6605 functions to their home place.
6606
fd3daba4
AM
66072014-02-03 Allan McRae <allan@archlinux.org>
6608
6609 * po/sl.po: Update Slovenian translation from translation project.
6610
597636d7
AO
66112014-02-02 Alexandre Oliva <aoliva@redhat.com>
6612
6613 * manual/time.texi (timegm): Add missing blank after @c.
6614 Reported by Joseph Myers <joseph@codesourcery.com>.
6615
ee196e3c
AO
66162014-02-01 Alexandre Oliva <aoliva@redhat.com>
6617
6618 * manual/check-safety.sh: New.
6619 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6620
f8d529d5
AO
6621 * manual/terminal.texi: Document MTASC-safety properties.
6622
de55fdf4
AO
6623 * manual/filesys.texi: Document MTASC-safety properties.
6624
c3299c08
AO
6625 * manual/errno.texi: Document MTASC-safety properties.
6626
06e90b14
AO
6627 * manual/intro.texi: Document safety identifiers and
6628 conditionals.
6629
1acd4371
AO
6630 * manual/string.texi (wcstok): Fix prototype.
6631 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6632
23e5b8cb
AO
6633 * manual/time.texi: Document MTASC-safety properties.
6634
11087373
AO
6635 * manual/string.texi: Document MTASC-safety properties.
6636
5da2c93d
AO
6637 * manual/threads.texi: Document MTASC-safety properties.
6638
171e9210
AO
6639 * manual/stdio.texi: Document MTASC-safety properties.
6640
d9e02532
AO
6641 * manual/syslog.texi: Document MTASC-safety properties.
6642
6af8bab7
AO
6643 * manual/sysinfo.texi: Document MTASC-safety properties.
6644
663b02d7
AO
6645 * manual/startup.texi: Document MTASC-safety properties.
6646
973f180b
AO
6647 * manual/socket.texi: Document MTASC-safety properties.
6648
8f3c25c8
AO
6649 * manual/signal.texi: Document MTASC-safety properties.
6650
542210fb
AO
66512014-01-31 Alexandre Oliva <aoliva@redhat.com>
6652
6653 * manual/setjmp.texi: Document MTASC-safety properties.
6654
433c45a2
AO
6655 * manual/search.texi: Document MTASC-safety properties.
6656
c8ce789c
AO
6657 * manual/resource.texi: Document MTASC-safety properties.
6658
19f5d29c
AO
6659 * manual/process.texi: Document MTASC-safety properties.
6660
e2dfb7f4
AO
6661 * manual/platform.texi: Document MTASC-safety properties.
6662
8c1413f5
AO
6663 * manual/pipe.texi: Document MTASC-safety properties.
6664
03483ada
AO
6665 * manual/pattern.texi: Document MTASC-safety properties.
6666
29e7e2df
AO
6667 * manual/message.texi: Document MTASC-safety properties.
6668
9f529d7c
AO
6669 [BZ #12751]
6670 * manual/memory.texi: Document MTASC-safety properties.
6671
27aaa791
AO
6672 * manual/math.texi: Document MTASC-safety properties.
6673
f2d58726
AO
6674 * manual/locale.texi: Document MTASC-safety properties.
6675
2cc3615c
AO
6676 * manual/llio.texi: Document MTASC-safety properties.
6677
d9f0ec97
AO
6678 * manual/libdl.texi: New.
6679
e7c4409a
AO
6680 * manual/lang.texi: Document MTASC-safety properties.
6681
27bdc63c
AO
6682 * manual/job.texi: Document MTASC-safety properties.
6683
a7b90ea9
AO
6684 * manual/getopt.texi: Document MTASC-safety properties.
6685
c49130e3
AO
6686 * manual/ctype.texi: Document MTASC-safety properties.
6687
0d23a5c1
MR
66882014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6689
6690 [BZ #16046]
6691 * csu/libc-tls.c (static_map): Remove variable.
6692 (__libc_setup_tls): Use main executable's link map for TLS data.
6693 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6694 casing for LM_ID_BASE and GL(dl_nns).
6695 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6696 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6697 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6698 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6699 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6700 member.
6701 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6702 l_phnum members.
6703
0037bb60
AO
67042014-01-30 Alexandre Oliva <aoliva@redhat.com>
6705
6706 * manual/debug.texi: Document MTASC-safety properties.
6707
409e00bd
L
67082014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6709
6710 [BZ #16510]
6711 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6712 of __x86_64__ when disabling x87 inline functions.
6713
86e60666
AO
67142014-01-29 Alexandre Oliva <aoliva@redhat.com>
6715
6716 * manual/charset.texi: Document MTASC-safety properties.
6717
76167637
AO
6718 * manual/crypt.texi: Document MTASC-safety properties.
6719
e567f2a0
AO
6720 * manual/conf.texi: Document MTASC-safety properties.
6721
b719dafd
AO
6722 * manual/arith.texi: Document MTASC-safety properties.
6723
4a16c662
AO
6724 * manual/argp.texi: Document MTASC-safety properties.
6725
0a57b83e
AO
6726 * manual/macros.texi: Introduce macros to document multi
6727 thread, asynchronous signal and asynchronous cancellation
6728 safety properties.
6729 * manual/intro.texi: Introduce the properties themselves.
6730
feab2397
KK
67312014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6732
6733 * sysdeps/sh/sh4/Makefile: New file.
6734
1c0d11bc
AS
67352014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * math/gen-libm-test.pl ($srcdir): New variable.
6738 ($auto_input): Use it.
6739
af37a8a3
SP
67402014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6741
d7b00f98
SP
6742 [BZ #16506]
6743 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6744 access beyond array bounds when parsing netgroups file.
6745
af37a8a3
SP
6746 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6747 the old buffer before realloc.
6748
0c00f062
AM
67492014-01-27 Allan McRae <allan@archlinux.org>
6750
6751 * po/fr.po: Update French translation from translation project.
6752
7d69a1b0
KK
67532014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6754
6755 * sysdeps/sh/libm-test-ulps: Regenerate.
6756
6e697ff7
DM
67572014-01-24 David S. Miller <davem@davemloft.net>
6758
6759 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6760
9cadb35c
KK
67612014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6762
6763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6764 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6765
5d41dadf
SP
67662013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6767
6768 [BZ #16474]
6769 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6770 string pointers after reallocation.
6771
0bad441c
KK
67722014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6773
6774 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6775 __SH4A__ instead of __SH_FPU_ANY__.
6776
7007c661
KK
67772014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6778
6779 * sysdeps/sh/fpu_control.h: New file.
6780 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6781 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6782 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6783 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6784 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6785 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6786 * sysdeps/sh/sys/ucontext.h: Remove.
6787 * sysdeps/sh/sys: Remove directory.
6788
0f0c35e4
AK
67892014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6790
6791 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6792 s390/sys/ucontext.h.
6793 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6794 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6795
4959e284
L
67962014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6797
6798 [BZ #15605]
6799 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6800
d98720e0
AZ
68012014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802
6803 [BZ#16431]
6804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6805 Adjust the vDSO correctly for internal calls.
6806 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6807
91cbd0bc
AM
68082014-01-20 Allan McRae <allan@archlinux.org>
6809
6810 * po/ca.po: Update Catalan translation from translation project.
6811
7a02cfad
MF
68122014-01-16 Mike Frysinger <vapier@gentoo.org>
6813
6814 * sysdeps/s390/sotruss-lib.c: New file.
6815
736c304a
AZ
68162014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817
6818 [BZ#16430]
6e077ee5 6819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6820 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6821 local calls issues by not having a PLT stub required for IFUNC calls.
6822 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6823
94d0cea0
JM
68242014-01-16 Joseph Myers <joseph@codesourcery.com>
6825
6826 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6827 * math/test-fpucw-static.c: Likewise.
6828
980cb518
SP
68292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6830
6831 [BZ #16453]
6832 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6833
2393fc01
AZ
68342014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6837 implementation for powerpc.
6838
d359bcc2
OB
68392014-01-15 Ondřej Bílka <neleai@seznam.cz>
6840
6841 [BZ #14782]
6842 * sysdeps/posix/system.c (__libc_system): Do not enable
6843 asynchronous cancellation.
6844
7beb48cb
AK
68452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6846
6847 [BZ #16427]
6848 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6849 handling only for numbers special also in the IEEE case.
6850
c20d5bf5
AK
68512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6852
6853 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6854
e83bd4ee
AM
68552014-01-11 Allan McRae <allan@archlinux.org>
6856
76d0ea69
AM
6857 * po/bg.po: Update Bulgarian translation from translation project.
6858
e83bd4ee
AM
6859 * po/de.po: Update German translation from translation project.
6860
bc2ba20a
RM
68612014-01-10 Roland McGrath <roland@hack.frob.com>
6862
6863 * sysdeps/generic/gcc-compat.h: New file.
6864
649ecea2
SP
68652014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6866
6867 * benchtests/asin-inputs: Correct slow inputs.
6868 * benchtests/acos-inputs: Likewise.
6869
1b19c006
AM
68702014-01-10 Allan McRae <allan@archlinux.org>
6871
a46dab08
AM
6872 * po:sv.po: Update Swedish translation from translation project.
6873
421df74a
AM
6874 * po/vi.po: Update Vietnamese translation from translation project.
6875
d61c51a7
AM
6876 * po/eo.po: Update Esperanto translation from translation project.
6877
0339a319
AM
6878 * po/cs.po: Update Czech translation from translation project.
6879
94ad3e99
AM
6880 * po/nl.po: Update Dutch translation from translation project.
6881
e349ca71
AM
6882 * po/pl.po: Update Polish translation from translation project.
6883
ddf930c1
AM
6884 * po/ru.po: Update Russian translation from translation project.
6885
1b19c006
AM
6886 * po/uk.po: Update Ukrainian translation from translation project.
6887
9f236c49
BM
68882014-01-08 Brooks Moses <bmoses@google.com>
6889
6890 * elf/dl-load.c: Fix comment typo.
6891
cd6701cf
CD
68922014-01-08 Carlos O'Donell <carlos@redhat.com>
6893
6894 * po/header.pot: Rename to...
6895 * po/pot.header: ... this.
6896 * po/Makefile: Use pot.header.
6897
66671c84
YK
68982014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6899 Maxim Kuvyrkov <maxim@kugelworks.com>
6900
6901 [BZ #16394]
cd6701cf
CD
6902 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6903 SRC and DEST against LEN.
66671c84 6904
38f34581
AZ
69052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 [BZ #16414]
6908 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6909 implementation.
6910 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6911
69122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6913
6914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6915
4c327f2a
JM
69162014-01-08 Joseph Myers <joseph@codesourcery.com>
6917
6918 [BZ #16408]
6919 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6920 for large positive arguments.
6921
b821f414
JM
69222014-01-07 Joseph Myers <joseph@codesourcery.com>
6923
1f0f2067
JM
6924 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6925
a5a326f6
JM
6926 * math/auto-libm-test-in: Mark various tests with
6927 xfail-rounding:ldbl-128ibm.
6928 * math/auto-libm-test-out: Regenerated.
6929
b821f414
JM
6930 [BZ #16407]
6931 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6932 Increase overflow threshold.
6933
94c8a4bc
OB
69342014-01-07 Ondřej Bílka <neleai@seznam.cz>
6935
6936 [BZ #14286]
6937 * stdio-common/vfprintf.c: Check for integer overflow.
6938
87ded0c3
AK
69392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6940
6941 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6942 the first argument and return value of __tls_get_addr_internal.
6943
c5eebdd0
AK
69442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6945
6946 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6947 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6948
05d138ef
AK
69492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6950
6951 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6952 * sysdeps/s390/rtld-global-offsets.sym: New file.
6953 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6954 GLIBC_2.19 symbol.
6955 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6957 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6958 ... this.
6959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6960 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6961 ... this.
6962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6963 Regenerate.
6964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6965 Regenerate.
6966 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6967 halfs of GPRs for high_gprs contexts.
6968 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6969 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6970 field.
6971 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6972 uc_flags field.
6973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6974 64 bit versions:
6975 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6976 for high GPRs (uc_high_gprs) and for future extensions
6977 (__reserved).
6978 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6979 for future extensions (__reserved).
6980 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6981 64 bit versions:
6982 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6983 SC_HIGHGPRS offset definition.
6984 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6985 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6986
93a45ff1
AK
6987 * Versions.def: Add GLIBC_2.19 for libpthread.
6988 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6989 siglongjmp for libpthread with GLIBC_2.19 symver.
6990 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6991 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6992 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6993 * sysdeps/s390/__longjmp.c: New file.
6994 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6995 * sysdeps/s390/longjmp.c: New file.
6996 * sysdeps/s390/setjmp.S: New file.
6997 * sysdeps/s390/sigjmp.S: New file.
6998 * sysdeps/s390/v1-longjmp.c: New file.
6999 * sysdeps/s390/v1-setjmp.h: New file.
7000 * sysdeps/s390/v1-sigjmp.c: New file.
7001 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7002 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7003 GLIBC_2.19 version.
7004 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7005 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7006 versioned symbols for ____longjmp_chk.
7007 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7008 Likewise.
7009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7010 Regenerate.
7011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7012 Regenerate.
7013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7014 Regenerate.
7015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7016 Regenerate.
7017 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7018 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7019 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7020 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7021 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7022 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7023 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7024 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7025 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7026 * sysdeps/s390/rtld-__longjmp.c: New file.
7027 * sysdeps/s390/rtld-setjmp.S: New file.
7028
eb3fc44b
JM
70292014-01-06 Joseph Myers <joseph@codesourcery.com>
7030
7031 [BZ #16400]
7032 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7033 Return -__logl (x) for small positive arguments without evaluating
7034 a polynomial.
7035
9341dde4
MF
70362014-01-06 Mike Frysinger <vapier@gentoo.org>
7037
7038 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7039 Rename to ...
7040 (__ptrace_peeksiginfo_args): ... this.
7041 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7043 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7044
4cff0293
AM
70452014-01-06 Allan McRae <allan@archlinux.org>
7046
7047 * inet/netinet/in.h: Fix typo in comment.
7048
75595dcf
AJ
70492014-01-05 Andreas Jaeger <aj@suse.de>
7050
7051 * sysdeps/i386/fpu/libm-test-ulps: Update.
7052
79c1e109
AM
70532014-01-05 Allan McRae <allan@archlinux.org>
7054
dd804818
AM
7055 * po/libc.pot: Regenerated.
7056
79c1e109
AM
7057 * malloc/memusagestat.c: Fix gettext call formatting.
7058
0c813d1f
SK
70592014-01-04 Sami Kerola <kerolasa@iki.fi>
7060
7061 * nscd/nscd.c: Improve usage() output.
7062
20f4a8d9
MF
70632014-01-04 Mike Frysinger <vapier@gentoo.org>
7064
7065 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7066 * sysdeps/unix/sysv/linux/configure: Regenerated.
7067 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7068 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7069
22562bb2
JM
70702014-01-03 Joseph Myers <joseph@codesourcery.com>
7071
7072 [BZ #16390]
7073 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7074 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7075
d7ad2d9b
AZ
70762014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077
7078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7079 extra tokens at end of #undef directive.
7080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7081 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7083
7dd009d8
JM
70842014-01-03 Joseph Myers <joseph@codesourcery.com>
7085
24db925a
JM
7086 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7087
7dd009d8
JM
7088 * math/auto-libm-test-in: Mark various tests with
7089 xfail-rounding:ldbl-128ibm.
7090 * math/auto-libm-test-out: Regenerated.
7091
396e3ecf
JM
70922014-01-02 Joseph Myers <joseph@codesourcery.com>
7093
819e5d50
JM
7094 [BZ #16386]
7095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7096 numbers with subnormal high part when calculating exponent.
7097
90b6a1e5
JM
7098 [BZ #16385]
7099 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7100 fabs.
7101
396e3ecf
JM
7102 [BZ #16384]
7103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7104 M_LN2l.
7105 (__ieee754_acoshl): Use __log1pl not __log1p.
7106
6c8dbf00
OB
71072013-01-02 Ondřej Bílka <neleai@seznam.cz>
7108
57f41c40
AS
7109 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7110 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7111 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7112 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7113 (reused_arena, arena_get2): Convert to GNU style.
7114 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7115 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7116 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7117 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7118 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7119 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7120 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7121 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7122 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7123 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7124 * malloc/malloc.h: Likewise.
57f41c40
AS
7125 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7126 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7127 * malloc/mcheck.h: Likewise.
57f41c40
AS
7128 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7129 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7130 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7131 * malloc/morecore.c (__default_morecore): Likewise.
7132 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7133 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7134 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7135 (print_and_abort): Likewise.
6c8dbf00
OB
7136 * malloc/obstack.h: Likewise.
7137 * malloc/set-freeres.c (__libc_freeres): Likewise.
7138 * malloc/tst-mallocstate.c (main): Likewise.
7139 * malloc/tst-mtrace.c (main): Likewise.
7140 * malloc/tst-realloc.c (do_test): Likewise.
7141
d4124212
SP
71422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7143
9a3c6a6f
SP
7144 [BZ #16366]
7145 * nscd/netgroupcache.c (do_notfound): New function.
7146 (addgetnetgrentX): Use it.
7147
d4124212
SP
7148 [BZ # 16365]
7149 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7150 NSS_STATUS_NOTFOUND.
7151
97b9a009
JM
71522014-01-01 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156
d4697bc9
AM
71572014-01-01 Allan McRae <allan@archlinux.org>
7158
ddb3687f
AM
7159 * scripts/update-copyrights: Update configure input file suffix.
7160
88726d48
AM
7161 * NEWS: Update copyright year.
7162 * catgets/gencat.c: Likewise.
7163 * csu/version.c: Likewise.
7164 * debug/catchsegv.sh: Likewise.
7165 * debug/pcprofiledump.c: Likewise.
7166 * debug/xtrace.sh: Likewise.
7167 * elf/ldconfig.c: Likewise.
7168 * elf/ldd.bash.in: Likewise.
7169 * elf/pldd.c: Likewise.
7170 * elf/sotruss.ksh: Likewise.
7171 * elf/sprof.c: Likewise.
7172 * iconv/iconv_prog.c: Likewise.
7173 * iconv/iconvconfig.c: Likewise.
7174 * locale/programs/locale.c: Likewise.
7175 * locale/programs/localedef.c: Likewise.
7176 * login/programs/pt_chown.c: Likewise.
7177 * malloc/memusage.sh: Likewise.
7178 * malloc/memusagestat.c: Likewise.
7179 * malloc/mtrace.pl: Likewise.
7180 * manual/libc.texinfo: Likewise.
7181 * nscd/nscd.c: Likewise.
7182 * nss/getent.c: Likewise.
7183 * nss/makedb.c: Likewise.
7184 * posix/getconf.c: Likewise.
7185 * scripts/test-installation.pl: Likewise.
7186
d4697bc9
AM
7187 * All files with FSF copyright notices: Update copyright dates
7188 using scripts/update-copyrights.
7189 * intl/plural.c: Regenerated.
7190 * locale/programs/charmap-kw.h: Likewise.
7191 * locale/programs/locfile-kw.h: Likewise.
7192
c8590f9d
MF
71932013-12-31 Mike Frysinger <vapier@gentoo.org>
7194
7195 * sysdeps/unix/sysv/linux/configure: Regenerated.
7196 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7197 the linux/fanotify.h header.
7198 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7199 HAVE_LINUX_FANOTIFY_H is defined.
7200
b19221b9
SP
72012013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7202
dd1d85e5
SP
7203 * benchtests/cos-inputs: New inputs.
7204 * benchtests/sin-inputs: Likewise.
7205
1acbb90f
SP
7206 * benchtests/atan-inputs: New inputs. Fix name of multiple
7207 precision fallback inputs.
7208
4c012ed3
SP
7209 * benchtests/atanh-inputs: New inputs.
7210 * benchtests/tanh-inputs: Likewise.
7211
eff98324
SP
7212 * benchtests/acosh-inputs: New inputs.
7213 * benchtests/asinh-inputs: Likewise.
7214
ce641152
SP
7215 * benchtests/cosh-inputs: New inputs.
7216 * benchtests/sinh-inputs: Likewise.
7217
b19221b9
SP
7218 * benchtests/acos-inputs: Add more inputs.
7219 * benchtests/asin-inputs: Likewise.
7220
030a4976 72212013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7222
030a4976 7223 [BZ #16375]
9dcc8f11
VS
7224 * manual/arith.texi: Fix spelling.
7225 * manual/charset.texi: Likewise.
7226 * manual/errno.texi: Likewise.
7227 * manual/filesys.texi: Likewise.
7228 * manual/lang.texi: Likewise.
7229 * manual/llio.texi: Likewise.
7230 * manual/locale.texi: Likewise.
7231 * manual/message.texi: Likewise.
7232 * manual/resource.texi: Likewise.
7233 * manual/search.texi: Likewise.
7234 * manual/setjmp.texi: Likewise.
7235 * manual/stdio.texi: Likewise.
7236 * manual/string.texi: Likewise.
7237 * manual/sysinfo.texi: Likewise.
7238 * manual/time.texi: Likewise.
7239
11520a57
CD
72402013-12-27 Carlos O'Donell <carlos@redhat.com>
7241
7242 * po/sl.po: New file.
7243
471103ae
MF
72442013-12-27 Mike Frysinger <vapier@gentoo.org>
7245
7246 * .gitignore: Add core/.gdbinit/.gdb_history.
7247
6c9642ed
AM
72482013-12-27 Allan McRae <allan@archlinux.org>
7249
7250 [BZ #16369]
7251 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7252 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7253
3f637079
BM
72542013-12-24 Brooks Moses <bmoses@google.com>
7255
7256 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7257 all compilers that claim C++98 compliance, not just GCC.
7258 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7259 Likewise.
7260
abc26e99
MK
72612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7262
7263 * NEWS: Restore accidentally deleted bug-fix entries.
7264
362b47fe
MK
72652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7266 Ondřej Bílka <neleai@seznam.cz>
7267
7268 [BZ #15073]
7269 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7270 have_lock.
362b47fe 7271
b9bcbbcb
OB
72722013-12-23 Ondřej Bílka <neleai@seznam.cz>
7273
7274 [BZ #12986]
7275 * manual/stdio.texi (String Input Conversions): Clarify that character
7276 classes are not supported.
7277
fb55fcd2
AZ
72782013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7279
7280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7281
ef7344f0
JM
72822013-12-22 Joseph Myers <joseph@codesourcery.com>
7283
4f40e4b3
JM
7284 [BZ #16337]
7285 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7286 Calculate results for small negative arguments directly rather
7287 than using reflection formula with special underflow handling.
7288
ef7344f0
JM
7289 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7290 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7291 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7292 (fchflags): Likewise.
7293 (revoke): Likewise.
7294 (setlogin): Likewise.
7295 (sigaltstack): Likewise.
7296 (wait4): Likewise.
7297 (sigblock): Remove.
7298 (sigsetmask): Likewise.
7299 (wait3): Likewise.
7300 (waitpid): Likewise.
7301 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7302 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7303 file.
7304 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7305 * sysdeps/unix/bsd/Makefile: ... here.
7306 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7307 * sysdeps/unix/bsd/Versions: ... here.
7308 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7309 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7310 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7311 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7312 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7313 * sysdeps/unix/bsd/sigblock.c: ... here.
7314 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7315 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7316 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7317 * sysdeps/unix/bsd/sigvec.c: ... here.
7318 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7319 * sysdeps/unix/bsd/tcdrain.c: ... here.
7320 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7321 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7322 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7323 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7324 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7325 * sysdeps/unix/bsd/wait.c: ... here.
7326 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7327 * sysdeps/unix/bsd/wait3.c: ... here.
7328 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7329 * sysdeps/unix/bsd/waitpid.c: ... here.
7330
5b0626b9
JM
73312013-12-21 Joseph Myers <joseph@codesourcery.com>
7332
7333 [BZ #16356]
7334 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7335 round-to-nearest for [!USE_AS_EXPM1L].
7336 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7337 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7338 more tests of exp and exp10. Expect some exp10 tests to miss
7339 exceptions or fail in directed rounding modes.
7340 * math/auto-libm-test-out: Regenerated.
7341 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7342 (exp10_test_tonearest): New function.
7343 (exp10_towardzero_test_data): New array.
7344 (exp10_test_towardzero): New function.
7345 (exp10_downward_test_data): New array.
7346 (exp10_test_downward): New function.
7347 (exp10_upward_test_data): New array.
7348 (exp10_test_upward): New function.
7349 (main): Call the new functions.
7350 * sysdeps/i386/fpu/libm-test-ulps: Update.
7351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7352
7fda5682
JM
73532013-12-20 Joseph Myers <joseph@codesourcery.com>
7354
31e3a405
JM
7355 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7356 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7357 * math/auto-libm-test-out: Regenerated.
7358 * math/libm-test.inc (acosh_test_data): Add more tests.
7359 (atanh_test_data): Likewise.
7360 (ceil_test_data): Likewise.
7361 (copysign_test_data): Likewise.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364
85bff96a
JM
7365 * timezone/checktab.awk: Update from tzcode 2013i.
7366 * timezone/private.h: Likewise.
7367 * timezone/scheck.c: Likewise.
7368 * timezone/tzfile.h: Likewise.
7369 * timezone/tzselect.ksh: Likewise.
7370 * timezone/zdump.c: Likewise.
7371 * timezone/zic.c: Likewise.
7372
b7867a3b
JM
7373 * math/auto-libm-test-in: Add tests of cpow.
7374 * math/auto-libm-test-out: Regenerated.
7375 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7376 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7377 mpc_cc_c.
7378 (func_calc_desc): Add mpc_cc_c union field.
7379 (test_functions): Add cpow.
7380 (special_fill_2pi): New function.
7381 (special_real_inputs): Add 2pi.
7382 (calc_generic_results): Handle mpc_cc_c.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7385
7fda5682
JM
7386 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7387 csqrt, ctan and ctanh.
7388 * math/auto-libm-test-out: Regenerated.
7389 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7390 (TEST_COND_x86): Likewise.
7391 (ccos_test_data): Use AUTO_TESTS_c_c.
7392 (ccosh_test_data): Likewise.
7393 (cexp_test_data): Likewise.
7394 (clog_test_data): Likewise.
7395 (csqrt_test_data): Likewise.
7396 (ctan_test_data): Likewise.
7397 (ctan_tonearest_test_data): Likewise.
7398 (ctan_towardzero_test_data): Likewise.
7399 (ctan_downward_test_data): Likewise.
7400 (ctan_upward_test_data): Likewise.
7401 (ctanh_test_data): Likewise.
7402 (ctanh_tonearest_test_data): Likewise.
7403 (ctanh_towardzero_test_data): Likewise.
7404 (ctanh_downward_test_data): Likewise.
7405 (ctanh_upward_test_data): Likewise.
7406 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7407 mpc_c_c.
7408 (func_calc_desc): Add mpc_c_c union field.
7409 (FUNC_mpc_c_c): New macro.
7410 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7411 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7412 ctanh.
7413 (special_fill_min_subnorm_p120): New function.
7414 (special_real_inputs): Add min_subnorm_p120.
7415 (calc_generic_results): Handle mpc_c_c.
7416 * sysdeps/i386/fpu/libm-test-ulps: Update.
7417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418
5ff8d60e
SP
74192013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7420
57f41c40
AS
7421 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7422 (do_sin_slow): New functions.
7423 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7424 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7425
84ba214c
SP
7426 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7427 Use M to change sign of result instead of X. Assume X is
7428 positive.
7429 (csloww1): Likewise.
7430 (__sin): Adjust.
7431 (__cos): Adjust.
7432
975195e4
SP
7433 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7434 arguments A and DA.
7435 (__sin): Adjust.
7436 (__cos): Likewise.
7437
5ff8d60e
SP
7438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7439 (__cos): Likewise.
7440 (sloww1): Don't adjust sign of DX.
7441 (csloww1): Likewise.
7442 (sloww2): Use X directly and don't adjust sign of DX.
7443 (csloww2): Likewise.
7444
eb983568
JM
74452013-12-19 Joseph Myers <joseph@codesourcery.com>
7446
64a17f1a
JM
7447 * math/auto-libm-test-in: Add tests of cabs and carg.
7448 * math/auto-libm-test-out: Regenerated.
7449 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7450 (carg_test_data): Likewise.
7451 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7452 mpc_c_f.
7453 (func_calc_desc): Add mpc_c_f union field.
7454 (test_functions): Add cabs and carg.
7455 (calc_generic_results): Handle mpc_c_f.
7456
eb983568
JM
7457 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7458 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7459 as a macro and a compat symbol.
7460 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7461 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7462 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7463 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7464 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7466 not use .hidden.
7467 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7468 Likewise.
7469 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7470 Likewise.
7471 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7472 Likewise.
7473 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7474 Likewise.
7475 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7476 Likewise.
7477 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7478 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7479 from GLIBC_2.3.2.
7480
6eeb678a
AZ
74812013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7482
7483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7484
6f6fc482
JM
74852013-12-19 Joseph Myers <joseph@codesourcery.com>
7486
21fea2e2
JM
7487 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7488 trailing whitespace removed.
7489 * scripts/config.guess: Update to version 2013-11-29.
7490 * scripts/config.sub: Update to version 2013-10-01.
7491
6f6fc482
JM
7492 * math/auto-libm-test-in: Add tests of sincos.
7493 * math/auto-libm-test-out: Regenerated.
7494 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7495 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7496 mpfr_f_11.
7497 (func_calc_desc): Add mpfr_f_11 union field.
7498 (test_functions): Add sincos.
7499 (calc_generic_results): Handle mpfr_f_11.
7500 * sysdeps/i386/fpu/libm-test-ulps: Update.
7501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7502
83f5c32d
AS
75032013-12-19 Andreas Schwab <schwab@suse.de>
7504
7505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7506 CALL_MCOUNT.
7507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7508 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7509 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7510
c688b419
JM
75112013-12-19 Joseph Myers <joseph@codesourcery.com>
7512
335ee092
JM
7513 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7516
f88acd39
JM
7517 [BZ #16293]
7518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7519 round-to-nearest mode when using frndint.
7520 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7521 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7523 Likewise.
7524 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7525 sinh test to fail.
7526 * math/auto-libm-test-out: Regenerated.
7527 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7528 (TEST_COND_x86): Likewise.
7529 (expm1_tonearest_test_data): New array.
7530 (expm1_test_tonearest): New function.
7531 (expm1_towardzero_test_data): New array.
7532 (expm1_test_towardzero): New function.
7533 (expm1_downward_test_data): New array.
7534 (expm1_test_downward): New function.
7535 (expm1_upward_test_data): New array.
7536 (expm1_test_upward): New function.
7537 (main): Run the new test functions.
7538 * sysdeps/i386/fpu/libm-test-ulps: Update.
7539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7540
c688b419
JM
7541 * include/features.h: Update comment documenting feature test
7542 macros. Mention _DEFAULT_SOURCE in comment.
7543 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7544 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7545 _BSD_SOURCE and _SVID_SOURCE.
7546 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7547 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7548 !_SVID_SOURCE]: Likewise.
7549 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7550 (__USE_POSIX_IMPLICITLY): Define.
7551 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7552 (_POSIX_SOURCE): Undefine and redefine.
7553 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7554 (_POSIX_C_SOURCE): Likewise.
7555 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7556 (Feature Test Macros): Update documentation of default features.
7557
9f6e964c
RS
75582013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7559
7560 * benchtests/Makefile: Add bench-strtok.
7561 * benchtests/bench-strtok.c: New file: strtok benchtest.
7562
ee0a148a
AM
75632013-12-19 Allan McRae <allan@archlinux.org>
7564
7565 * manual/install.texi: Suppress menu for plain text output.
7566 * INSTALL: Regenerated.
7567
b9ab448f
BM
75682013-12-18 Brooks Moses <bmoses@google.com>
7569
7570 [BZ #15846]
7571 * misc/getauxval.c: Include errno.h.
7572 (__getauxval): Set errno to ENOENT if the requested type is not
7573 found.
7574 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7575 don't declare with __attribute_const__.
7576 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7577 * manual/startup.texi: Document that getauxval sets errno.
7578
23776487
JM
75792013-12-18 Joseph Myers <joseph@codesourcery.com>
7580
f889953b
JM
7581 * math/auto-libm-test-in: Add tests of jn and yn.
7582 * math/auto-libm-test-out: Regenerated.
7583 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7584 (yn_test_data): Likewise.
7585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7586 mpfr_if_f.
7587 (func_calc_desc): Add mpfr_if_f union field.
7588 (FUNC_mpfr_if_f): New macro.
7589 (test_functions): Add jn and yn.
7590 (calc_generic_results): Assert type of second input for
7591 mpfr_ff_f. Handle mpfr_if_f.
7592 (output_for_one_input_case): Disable all checking for arguments
7593 fitting floating-point types in case of an integer argument.
7594 * sysdeps/i386/fpu/libm-test-ulps: Update.
7595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596
23776487
JM
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7598 Don't expect fegetround reference in libm.so.
7599
cb756c6d
MS
76002013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7601
7602 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7603 $(config-cflags-nofma).
7604
2dec468f
JM
76052013-12-18 Joseph Myers <joseph@codesourcery.com>
7606
5953eb3a
JM
7607 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7608 * math/auto-libm-test-out: Regenerated.
7609
2dec468f
JM
7610 [BZ #16338]
7611 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7612 to determine exponent and adjust argument to have exponent of -1.
7613 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7614 log2.
7615 * math/auto-libm-test-out: Regenerated.
7616 * sysdeps/i386/fpu/libm-test-ulps: Update.
7617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7618
4d84e6ad
OB
76192013-12-18 Ondřej Bílka <neleai@seznam.cz>
7620
7621 * manual/probes.texi: Remove cases when per-thread arenas are
7622 disabled.
7623
1818483b
AS
76242013-12-18 Andreas Schwab <schwab@suse.de>
7625
7626 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7627 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7628 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7629 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7630 * sysdeps/i386/i686/multiarch/Makefile: Update.
7631 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7632
25de95bf
JM
76332013-12-17 Joseph Myers <joseph@codesourcery.com>
7634
7635 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7636 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7637
674762d9
PE
76382013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7639
ed27ed83 7640 [BZ #15968]
0748546f
PE
7641 Support TZ transition times < 00:00:00.
7642 This is needed for version-3 tz-format files; it supports time
7643 stamps past 2037 for America/Godthab (the only entry in the tz
7644 database for which this change is relevant).
7645 * manual/time.texi (TZ Variable): Document transition times
7646 from -167:59:59 through -00:00:01.
7647 * time/tzset.c (tz_rule): Time of day is now signed.
7648 (__tzset_parse_tz): Parse negative time of day.
7649
4480e934
PE
7650 Document TZ transition times >= 25:00:00.
7651 * manual/time.texi (TZ Variable): Document transition times from
7652 25:00:00 through 167:59:59. These are already supported, and this
7653 support will help with version-3 tz-format files.
7654
69947401
PE
7655 * manual/time.texi (TZ Variable): Modernize North America example
7656 to reflect current (i.e., 2007-and-later) daylight saving rules.
7657
674762d9
PE
7658 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7659
7011c262
JM
76602013-12-17 Joseph Myers <joseph@codesourcery.com>
7661
2fc6557e
JM
7662 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7663 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7666 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7667 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7668 * sysdeps/unix/bsd/clock.c: Likewise.
7669 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7670 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7671 * sysdeps/unix/bsd/init-posix.c: Likewise.
7672 * sysdeps/unix/bsd/poll.c: Likewise.
7673 * sysdeps/unix/bsd/ptsname.c: Likewise.
7674 * sysdeps/unix/bsd/seekdir.c: Likewise.
7675 * sysdeps/unix/bsd/setegid.c: Likewise.
7676 * sysdeps/unix/bsd/seteuid.c: Likewise.
7677 * sysdeps/unix/bsd/setgid.c: Likewise.
7678 * sysdeps/unix/bsd/setrgid.c: Likewise.
7679 * sysdeps/unix/bsd/setruid.c: Likewise.
7680 * sysdeps/unix/bsd/setsid.c: Likewise.
7681 * sysdeps/unix/bsd/setuid.c: Likewise.
7682 * sysdeps/unix/bsd/sigaction.c: Likewise.
7683 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7684 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7685 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7686 * sysdeps/unix/bsd/telldir.c: Likewise.
7687 * sysdeps/unix/bsd/times.c: Likewise.
7688 * sysdeps/unix/bsd/usleep.c: Likewise.
7689
029c7b25
JM
7690 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7691 ($(objpfx)libbsd-compat.a): Remove rule.
7692
7011c262
JM
7693 * include/features.h (__FAVOR_BSD): Do not define.
7694 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7695 features conflicting with POSIX.
7696 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7697 (_BSD_SOURCE): Remove description of not being a subset of other
7698 feature test macros.
7699 * manual/job.texi (getpgrp): Do not document BSD version.
7700 (getpgid): Do not document by reference to BSD getpgrp.
7701 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7702 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7703 * signal/signal.h [__FAVOR_BSD]: Likewise.
7704 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7705 instead of making contents conditional on [__FAVOR_BSD].
7706 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7707
affb6f78
AZ
77082013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7709
7710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7711
c88769dd
JM
77122013-12-17 Joseph Myers <joseph@codesourcery.com>
7713
6432a540
JM
7714 [BZ #16314]
7715 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7716 values below 2**-450, not 2**-500.
7717 * math/auto-libm-test-in: Don't allow spurious underflow from
7718 hypot.
7719 * math/auto-libm-test-out: Regenerated.
7720
c88769dd
JM
7721 [BZ #16316]
7722 [BZ #16330]
7723 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7724 values of ha and hb and sort them after adjusting subnormal
7725 arguments.
7726 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7727 Likewise.
7728 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7729 values of ea and eb and sort them after adjusting subnormal
7730 arguments.
7731 * math/auto-libm-test-in: Do not expect some hypot tests of
7732 subnormals to fail. Add more hypot tests.
7733 * math/auto-libm-test-out: Regenerated.
7734
29618f6b
KK
77352013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7736
7737 [BZ #13304]
7738 * sysdeps/sh/s_fma.c: New file.
7739 * sysdeps/sh/s_fmaf.c: New file.
7740 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7741 version.
7742 * sysdeps/sh/Implies: Add sh/soft-fp.
7743
eacfdfbf
RM
77442013-12-16 Roland McGrath <roland@hack.frob.com>
7745
7746 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7747 level of indirection to members `objname', `errstring', `malloced'.
7748 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7749 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7750 it as the __longjmp argument (just pass 1 instead).
7751 (_dl_catch_error): Initialize C with argument pointers and address of
7752 volatile local ERRCODE rather than copying values out of C at return.
7753
ff362e5b
JM
77542013-12-16 Joseph Myers <joseph@codesourcery.com>
7755
7756 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7757 * math/auto-libm-test-out: Regenerated.
7758 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7759 (hypot_test_data): Likewise.
7760 (pow_test_data): Likewise.
7761 (pow_tonearest_test_data): Likewise.
7762 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7763 mpfr_ff_f.
7764 (func_calc_desc): Add mpfr_ff_f union field.
7765 (FUNC_mpfr_ff_f): New macro.
7766 (test_functions): Add atan2, hypot and pow.
7767 (special_fill_min): New function.
7768 (special_fill_minus_min): Likewise.
7769 (special_fill_min_subnorm): Likewise.
7770 (special_fill_minus_min_subnorm): Likewise.
7771 (special_real_inputs): Add min, -min, min_subnorm and
7772 -min_subnorm.
7773 (calc_generic_results): Handle mpfr_ff_f.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776
5764c27f
WN
77772013-12-16 Will Newton <will.newton@linaro.org>
7778
7779 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7780 (Aligned Memory Blocks): Add documentation for aligned_alloc
7781 and suggest it as an alternative to posix_memalign.
7782 (Hooks for Malloc): Document __memalign_hook is also called
7783 for aligned_alloc. (Summary of Malloc): Add summary for
7784 aligned alloc. Document __memalign_hook is also called
7785 for aligned_alloc.
7786
0a096e44
WN
77872013-12-16 Will Newton <will.newton@linaro.org>
7788
7789 * manual/memory.texi (Malloc Examples): Clarify default
7790 alignment documentation. Suggest posix_memalign rather
7791 than memalign or valloc.
7792 (Aligned Memory Blocks): Remove suggestion to use memalign
7793 or valloc. Remove obsolete comment about BSD.
7794 Document memalign errno values and mark the function obsolete.
7795 Document posix_memalign returned error codes. Mark valloc
7796 as obsolete. (Hooks for Malloc): __memalign_hook is also
7797 called for posix_memalign and valloc.
7798 (Summary of Malloc): Add posix_memalign to function summary.
7799 __memalign_hook is also called for posix_memalign and valloc.
7800
8d561986
SP
78012013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
7803 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7804 TAYLOR_SIN.
7805 (__sin): Adjust.
7806 (__cos): Likewise.
7807 (sloww): Use mynumber union. Expand ternary operator into
7808 if-else statements.
7809 (cslow): use mynumber union.
7810
73616a74
AM
78112013-12-16 Allan McRae <allan@archlinux.org>
7812
9e8ac24b
AM
7813 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7814 * configure: Regenerated.
7815
6f8e37eb
AM
7816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7817
8894bad3
AM
7818 [BZ #14120]
7819 * configure.ac: Added --enable-maintainer-mode. Check for
7820 autoconf when enabled.
7821 * configure: Regenerated.
7822
73616a74
AM
7823 * nscd/nscd.service: New file.
7824 * nscd/nscd.tmpfiles: New file.
7825
584b18eb
OB
78262013-12-14 Ondřej Bílka <neleai@seznam.cz>
7827
7828 [BZ #12100]
7829 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7830 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7831 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7832 (strstr): Add __strstr_sse2_unaligned ifunc.
7833 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7834 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7835 (strcasestr): Remove __strcasestr_sse42 ifunc.
7836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7839
8a5c7897
KK
78402013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7841
7842 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7843 * sysdeps/sh/bits/fenv.h: ... here.
7844 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7845
fd712ef3
AZ
78462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7847
7848 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7849
42fcb46c
AZ
7850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7851 hypotf multiarch implementations.
7852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7853 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7855 multiarch hypot for PPC64.
7856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7859 multiarch hypotf for PPC64.
7860
83efded4
AZ
7861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7862 modff multiarch implementations.
7863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7866 multiarch modf for PPC64.
7867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7870 multiarch modff for PPC64.
7871
43e246d2
AZ
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7873 and logl multiarch implementations.
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7877 multiarch logb for PPC64.
7878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7881 multiarch logb for PPC64.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7885 multiarch logb for PPC64.
7886
8fdad123
AZ
7887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7888 isinff multiarch implementation.
7889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7890 file.
7891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7893 multiarch isinf for PPC64.
7894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7895 file.
7896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7897 multiarch isinff for PPC64.
7898
1481d706
AZ
7899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7900 finitef multiarch implementation.
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7902 file.
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7905 multiarch finite for PPC64.
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7907 file.
7908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7909 multiarch finitef for PPC64.
7910
5ccd5fc8
AZ
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7912 lrint multiarch implementation.
7913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7914 file.
7915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7917 multiarch llrint for PPC64.
7918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7919 multiarch lrint for PPC64.
7920
2568f3fa
AZ
7921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7922 copysignf multiarch implementation.
7923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7924 file.
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7926 file.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7928 multiarch copysign for PPC64.
7929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7930 multiarch copysignf for PPC64.
7931
1cb341fd
AZ
7932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7933 multiarch implementation.
7934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7935 file.
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7937 file.
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7939 file.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7941 file.
7942 multiarch llround for PPC64.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7944 multiarch trunc for PPC64.
7945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7946 multiarch truncf for PPC64.
7947
59a3e194
AZ
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7949 multiarch implementation.
7950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7951 file.
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7953 file.
7954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7955 file.
7956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7957 file.
7958 multiarch llround for PPC64.
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7960 multiarch round for PPC64.
7961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7962 multiarch roundf for PPC64.
7963
357fd3b4
AZ
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7965 multiarch implementation.
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7967 file.
7968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7969 file.
7970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7971 file.
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7973 file.
7974 multiarch llround for PPC64.
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7976 multiarch floor for PPC64.
7977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7978 multiarch floorf for PPC64.
7979
96770f12
AZ
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7981 multiarch implementation.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7983 file.
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7985 file.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7987 file.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7989 file.
7990 multiarch llround for PPC64.
7991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7992 multiarch ceil for PPC64.
7993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7994 multiarch ceilf for PPC64.
7995
c3627f6e
AZ
7996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7997 multiarch implementation.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7999 file.
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8001 file.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8003 file.
8004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8005 multiarch llround for PPC64.
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8007 multiarch lround for PPC64.
8008
b2284ad7
AZ
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8010 multiarch implementation.
8011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8014 file.
8015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8018 multiarch isnan for PPC64.
8019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8020 multiarch isnanf for PPC64.
8021
69bbc63d
AZ
8022 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8023 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8024 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8025 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8026 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8028
c24517c9
AZ
8029 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8030 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8033
a52374e8
AZ
8034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8035 multiarch implementations.
8036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8037 (__libc_ifunc_impl_list): Likewise.
8038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8039 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8041 multiarch stpcpy for PPC64.
8042
7f5ec113
AZ
8043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8044 multiarch implementations.
8045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8046 (__libc_ifunc_impl_list): Likewise.
8047 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8048 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8049 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8050 multiarch strcpy for PPC64.
8051
e28bcd42
AZ
8052 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8053 redefine function name.
8054 (_wordcopy_fwd_dest_aligned): Likewise.
8055 (_wordcopy_bwd_aligned): Likewise.
8056 (_wordcopy_bwd_dest_aligned): Likewise.
8057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8058 multiarch implementations.
8059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8060 (__libc_ifunc_impl_list): Likewise.
8061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8063 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8064 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8065 multiarch wcscpy for PPC64.
8066
92cacfce
AZ
8067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8068 multiarch implementations.
8069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8070 (__libc_ifunc_impl_list): Likewise.
8071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8074 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8075 multiarch wcscpy for PPC64.
8076
7b714620
AZ
8077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8078 multiarch implementations.
8079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8080 (__libc_ifunc_impl_list): Likewise.
8081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8084 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8085 multiarch wcsrchr for PPC64.
8086
16fd2ae3
AZ
8087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8088 multiarch implementations.
8089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8090 (__libc_ifunc_impl_list): Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8094 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8095 multiarch wcschr for PPC64.
8096
9ee2969b
AZ
8097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8098 multiarch implementations.
8099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8100 (__libc_ifunc_impl_list): Likewise.
8101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8103 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8104 multiarch strchrnul for PPC64.
8105
372dc060
AZ
8106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8107 implementations.
8108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8109 (__libc_ifunc_impl_list): Likewise.
8110 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8111 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8114 strchr for PPC64.
8115
24c2c3b9
AZ
8116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8117 implementations.
8118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8119 (__libc_ifunc_impl_list): Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8122 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8123 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8124 strncmp for PPC64.
8125
1c92d9a0
AZ
8126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8127 multiarch implementations.
8128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8129 (__libc_ifunc_impl_list): Likewise.
8130 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8131 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8132 strncasecmp for PPC64.
8133 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8134 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8135 multiarch strncasecmp_l for PPC64.
8136
17de3ee3
AZ
8137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8138 multiarch implementations.
8139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8140 (__libc_ifunc_impl_list): Likewise.
8141 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8143 multiarch strcasecmp for PPC64.
8144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8145 file.
8146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8147 multiarch strcasecmp_l for PPC64.
8148
62982bf9
AZ
8149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8150 implementations.
8151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8152 (__libc_ifunc_impl_list): Likewise.
8153 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8154 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8155 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8156 strnlen for PPC64.
8157
a65f4904
AZ
8158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8159 implementations.
8160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8161 (__libc_ifunc_impl_list): Likewise.
8162 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8163 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8164 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8165 strlen for PPC64.
8166
1fd005ad
AZ
8167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8168 implementations.
8169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8170 (__libc_ifunc_impl_list): Likewise.
8171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8172 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8174 rawmemrchr for PPC64.
8175
cd05ba91
AZ
8176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8177 implementation.
8178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8179 (__libc_ifunc_impl_list): Likewise.
8180 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8181 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8182 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8183 memrchr for PPC64.
8184
870f8676
AZ
8185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8186 implementation.
8187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8188 (__libc_ifunc_impl_list): Likewise.
8189 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8190 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8191 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8192 memchr for PPC64.
8193
f00be62b
AZ
8194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8195 implementation.
8196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8197 (__libc_ifunc_impl_list): Likewise.
8198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8199 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8200 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8201 mempcpy for PPC64.
8202
8a29a3d0
AZ
8203 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8204 avoid cretion of __bzero symbol.
8205 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8206 Likewise.
8207 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8208 Likewise.
8209 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8210 Likewise.
8211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8212 multiarch implementations.
8213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8214 (__libc_ifunc_impl_list): Likewise.
8215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8218 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8219 bzero for PPC32.
8220 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8221 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8222 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8223 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8224 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8225 memset for PPC64.
8226 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8227
07253fcf
AZ
8228 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8230 implementations.
8231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8232 (__libc_ifunc_impl_list): Likewise.
8233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8234 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8235 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8236 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8237 memcmp for PPC64.
8238
b5beafbc
AZ
8239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8240 multiarch for POWER/PPC64.
8241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8242 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8248 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8249 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8250 memcpy for PPC64.
8251
5e6a4d4b
AZ
8252 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8253 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8254 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8256 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8257 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8258 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8259 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8260 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8261 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8262 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8263 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8264 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8265 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8266 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8274
ddfab6dc
KK
82752013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8276
8277 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8278
19b5525e
SP
82792013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8280
8281 * benchtests/Makefile (bench): Add exp2 and log2.
8282 (LDLIBS-bench-exp2): Add -lm.
8283 (LDLIBS-bench-log2): Likewise.
8284 * benchtests/exp2-inputs: New inputs file.
8285 * benchtests/log2-inputs: New inputs file.
8286 * benchtests/log-inputs: Add new inputs.
8287 * benchtests/tan-inputs: Likewise.
8288
196f7f5d
SP
82892013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8290
7a74607f
SP
8291 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8292 definition...
57f41c40
AS
8293 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8294 (csloww2): ... from here.
7a74607f 8295
196f7f5d
SP
8296 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8297 instead of structures.
8298 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8299 (POLYNOMIAL): Likewise.
8300 (TAYLOR_SLOW): Likewise.
8301 (__sin): Likewise.
8302 (__cos): Likewise.
8303 (slow1): Likewise.
8304 (slow2): Likewise.
8305 (sloww): Likewise.
8306 (sloww1); Likewise.
8307 (sloww2): Likewise.
8308 (bsloww1): Likewise.
8309 (bsloww2): Likewise.
8310 (cslow2): Likewise.
8311 (csloww): Likewise.
8312 (csloww1): Likewise.
8313 (csloww2): Likewise.
8314
0dfa665c
OB
83152013-12-10 Ondřej Bílka <neleai@seznam.cz>
8316
8317 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8318 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8319 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8320 * malloc/hooks.c (realloc_check): Likewise.
8321
5782a80f
OB
8322 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8323 * malloc/arena.c: Remove PER_THREAD conditional.
8324 [!PER_THREAD]: Remove code.
8325 (ptmalloc_unlock_all2): Likewise.
8326 (ptmalloc_init): Likewise.
8327 (_int_new_arena): Likewise.
8328 (arena_get2): Likewise.
8329 * malloc/hooks.c (__malloc_get_state): Likewise.
8330 (__malloc_set_state): Likewise.
8331 * malloc/malloc.c: Likewise.
8332 (struct malloc_state): Likewise.
8333 (struct malloc_par): Likewise.
8334 (__libc_realloc): Likewise.
8335 (__libc_mallopt): Likewise.
8336
aeb95445
AZ
83372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8338
8339 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8340
e8349efd
OB
83412013-12-09 Ondřej Bílka <neleai@seznam.cz>
8342
8343 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8344 macro to a function. Check for zero perturb_byte.
8345 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8346
f3eeb3fc 8347 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8348 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8349 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8350 force_reg by atomic_forced_read.
8351 * malloc/arena.c (ptmalloc_init): Likewise.
8352 * malloc/hooks.c (top_check): Likewise.
8353
be2f9009
AZ
83542013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8355
8356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8357
e7b914bd
MT
83582013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8359
8360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8361
9f0be4f8
JM
83622013-12-08 Joseph Myers <joseph@codesourcery.com>
8363
8364 * math/auto-libm-test-in: Add tests of lgamma.
8365 * math/auto-libm-test-out: Regenerated.
8366 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8367 (M_LOG_2_SQRT_PIl): Likewise.
8368 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8369 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8370 mpfr_f_f1.
8371 (func_calc_desc): Add mpfr_f_f1 union field.
8372 (ARGS1): New macro.
8373 (ARGS2): Likewise.
8374 (ARGS3): Likewise.
8375 (ARGS4): Likewise.
8376 (RET1): Likewise.
8377 (RET2): Likewise.
8378 (CALC): Likewise.
8379 (FUNC): Likewise.
8380 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8381 (test_functions): Add lgamma.
8382 (calc_generic_results): Handle mpfr_f_f1.
8383 * sysdeps/i386/fpu/libm-test-ulps: Update.
8384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8385
24eeafdb
AZ
83862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8387
8388 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8389 __mpn_add_n for PowerPC64/POWER7.
8390 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8391 __mpn_sub_n for PowerPC64/POWER7.
8392
4a2c0fd4
AZ
8393 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8394 __mpn_addmul_1 for PowerPC64.
8395 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8396 __mpn_submul_1 for PowerPC64.
8397 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8398 for PowerPC64.
8399 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8400 for PowerPC64.
8401
4b5b548c
FS
84022013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8403
8404 [BZ #15089]
8405 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8406
0a3ac0aa
AZ
84072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8408
8409 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8410
ccdc8438
AZ
8411 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8412 add multiarch folders.
8413 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8414 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8415 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8416 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8417 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8418 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8419 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8420 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8421 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8422 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8423 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8430
2e973d99
AZ
8431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8432 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8434 New file.
8435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8436 New file.
8437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8438 multiarch __ieee754_hypot for PowerPC32.
8439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8440 New file.
8441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8442 New file.
8443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8444 multiarch __ieee754_hypotf for PowerPC32.
8445
2d9470b2
AZ
8446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8447 long_double_symbol only if __logbl is defined.
8448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8449 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8451 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8453 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8455 path for implementation.
8456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8459 logb, and logbl multiarch implementations for PowerPC32.
8460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8461 file.
8462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8463 file.
8464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8465 multiarch logb for PowerPC32.
8466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8467 file.
8468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8469 file.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8471 multiarch logbf for PowerPC32.
8472 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8474 file.
8475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8476 multiarch logbl implementation for PowerPC32.
8477
5212ffce
AZ
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8479 and modff multiarch implementations.
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8481 New file.
8482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8483 New file.
8484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8485 multiarch modf for PowerPC32.
8486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8487 New file.
8488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8489 New file.
8490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8491 multiarch modff for PowerPC32.
8492
79dccf31
AZ
8493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8494 and lrintf multiarch implementations.
8495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8496 New file.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8498 New file.
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8500 multiarch lrint for PowerPC32.
8501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8502 file: multiarch lrintf for PowerPC32.
8503
deb66480
AZ
8504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8505 and lroundf multiarch implementations.
8506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8507 New file.
8508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8509 New file.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8511 New file.
8512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8513 multiarch lround for PowerPC32.
8514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8515 file: multiarch lroundf for PowerPC32.
8516
264b036b
AZ
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8518 copysign and copysignf multiarch implementations.
8519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8520 New file.
8521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8522 New file.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8524 file: multiarch copysign for PowerPC32.
8525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8526 file: multiarch copysignf for PowerPC32.
8527
d47db6c9
AZ
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8529 and truncf multiarch implementations.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8531 New file.
8532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8533 file.
8534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8535 multiarch trunc for PowerPC32.
8536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8537 New file.
8538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8539 New file.
8540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8541 multiarch truncf for PowerPC32.
8542
ddb60b5a
AZ
8543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8544 and roundf multiarch implementations.
8545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8546 New file.
8547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8548 file.
8549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8550 multiarch round for PowerPC32.
8551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8552 New file.
8553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8554 New file.
8555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8556 multiarch roundf for PowerPC32.
8557
bedcf49b
AZ
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8559 and floorf multiarch implementations.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8561 New file.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8563 file.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8565 multiarch floor for PowerPC32.
8566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8567 New file.
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8569 New file.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8571 multiarch floorf for PowerPC32.
8572
35ae5b40
AZ
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8574 and ceilf multiarch implementations.
8575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8576 New file.
8577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8578 file.
8579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8580 multiarch ceil for PowerPC32.
8581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8582 New file.
8583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8584 file.
8585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8586 multiarch ceilf for PowerPC32.
8587
ae1a4cd9
AZ
8588 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8589 is defined.
8590 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8591 FINITEF is defined.
8592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8593 and finitef multiarch implementations.
8594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8595 New file.
8596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8597 file.
8598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8599 multiarch finite for PowerPC32.
8600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8601 New file.
8602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8603 file: multiarch finitef for PowerPC32.
8604
64fffd65
AZ
8605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8606 and isinff multiarch implementations.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8608 file.
8609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8610 file.
8611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8612 multiarch isinf for PowerPC32.
8613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8614 New file.
8615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8616 multiarch isinff for PowerPC32.
8617
8e4e7ba2
AZ
8618 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8619 alias when __isnan is defined.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8621 and isnanf multiarch implementations.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8623 file.
8624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8625 file.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8627 file.
8628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8629 file.
8630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8631 multiarch isnan for PowerPC32.
8632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8633 New file.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8635 New file.
8636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8637 multiarch isnanf for PowerPC32.
8638
ddba588e
AZ
8639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8640 and sqrtf multiarch implementations.
8641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8642 file.
8643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8644 file.
8645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8646 multiarch sqrt for PowerPC32.
8647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8648 file.
8649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8650 file.
8651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8652 multiarch sqrtf for PowerPC32.
8653
0f96a2f0
AZ
8654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8655 and llroundf multiarch implementations.
8656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8657 New file.
8658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8659 New file.
8660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8661 New file.
8662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8663 file: multiarch llround for PowerPC32.
8664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8665 file: multiarch llroundf for PowerPC32.
8666
c9b5d79e
AZ
8667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8668 multiarch PowerPC32 fpu implementations.
8669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8670 New file.
8671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8672 New file.
8673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8674 multiarch llrint for PowerPC32.
8675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8676 New file.
8677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8678 New file.
8679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8680 file.
8681
9cbb3aab
AZ
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8683
ea5a72f8
AZ
8684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8685 file.
8686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8687 file.
8688 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8689 file.
8690 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8691 multiarch wordcopy for PPC32.
8692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8693 wordcopy objects.
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8695 (__libc_ifunc_impl_list): Likewise.
8696 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8697 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8698 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8699 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8701 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8702
93be09e7
AZ
8703 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8705 file.
8706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8707 file.
8708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8709 file.
8710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8711 multiarch wcscpy for PPC32.
8712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8713 multiarch objects.
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8715 (__libc_ifunc_impl_list): Likewise.
8716 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8717 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8718 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8719 sysdeps/powerpc/power6/wcscpy.c.
8720
bb04e529
AZ
8721 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8723 file.
8724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8725 file.
8726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8727 file.
8728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8729 multiarch wcsrchr for PPC32.
8730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8731 multiarch objects.
8732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8733 (__libc_ifunc_impl_list): Likewise.
8734 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8735 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8736 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8737 sysdeps/powerpc/power6/wcsrchr.c.
8738
05b5cd1c
AZ
8739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8740 file.
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8742 file.
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8745 multiarch wcschr for PPc32.
8746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8747 multiarch objects.
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8749 (__libc_ifunc_impl_list): Likewise.
8750 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8751 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8752 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8753 sysdeps/powerpc/power6/wcschr.c.
8754
ba964147
AZ
8755 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8757 file.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8759 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8760 file: multiarch strchr for PPC32.
8761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8762 multiarch objects.
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8764 (__libc_ifunc_impl_list): Likewise.
8765
31c81aaa
AZ
8766 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8767 name.
8768 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8769 file.
8770 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8771 file.
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8773 multiarch strchrnul for PPC32.
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8775 multiarch objects.
8776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8777 (__libc_ifunc_impl_list): Likewise.
8778
0d0607d9
AZ
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8780 file.
8781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8782 multiarch strncasecmp for PPC32.
8783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8784 file.
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8786 multiarch strncasecmp_l for PPC32.
8787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8788 strncasecmp multiarch objects.
8789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8790 (__libc_ifunc_impl_list): Likewise.
8791
4dfd5c86
AZ
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8793 file.
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8795 multiarch strncasecmp for PPC32.
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8797 New file.
8798 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8799 multiarch strcasecmp_l for PPC32.
8800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8801 multiarch objects.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8803 (__libc_ifunc_impl_list): Likewise.
8804
a19e01a3
AZ
8805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8806 file.
8807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8808 file.
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8810 multiarch strncmp for PPC32.
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8812 multiarch objects.
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8814 (__libc_ifunc_impl_list): Likewise.
8815
ae9cf7a2
AZ
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8817 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8818 file.
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8822 multiarch objects.
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8824 (__libc_ifunc_impl_list): Likewise.
8825
3148bb7d
AZ
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8827 file.
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8829 file.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8832 multiarch objects.
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8834 (__libc_ifunc_impl_list): Likewise.
8835
7af8b946
AZ
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8837 file.
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8839 file.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8841 multiarch rawmemchr for PPC32.
8842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8843 multiarch objects.
8844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8845 (__libc_ifunc_impl_list): Likewise.
8846
03a6aa6a
AZ
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8848 file.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8850 file.
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8852 file: memrchr multiarch for PPC32.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8854 multiarch objects.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8856 (__libc_ifunc_impl_list): Likewise.
8857
1c62e6d9
AZ
8858 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8860 file.
8861 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8862 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8863 multiarch memchr for PPC32.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8865 multiarch objects.
8866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8867 (__libc_ifunc_impl_list): Likewise.
8868
87da8bdb
AZ
8869 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8871 file.
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8873 file.
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8875 file: multiarch mempcpy for PPC32.
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8877 multiarch objects.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8879 (__libc_ifunc_impl_list): Likewise.
8880
20ed4714
AZ
8881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8884 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8885 multiarch bzero for PPC32.
8886 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8887 file.
8888 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8889 file.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8891 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8892 file: multiarch memset for PPC32.
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8895 memset multiarch objects.
8896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8897 (__libc_ifunc_impl_list): Likewise.
8898
ab3e3a46
AZ
8899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8900 file.
8901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8903 memcmp for PPC32.
8904 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8906 multiarch objects.
8907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8908 (__libc_ifunc_impl_list): Likewise.
8909
930de6f0
AZ
8910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8913 file.
8914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8915 file.
8916 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8917 file.
8918 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8919 multiarch memcpy for PPC32.
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8921 multiarch objects.
8922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8923 (__libc_ifunc_impl_list): Likewise.
8924
4c628e00
AZ
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8926 support multiarch for POWER/PPC32.
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8928 Likewise.
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8931 Implies file to make multiarch folder appers before the fpu and
8932 default folder for power4 configuration.
8933
f4479220
SP
89342013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
8936 * scripts/bench.pl: Append volatile keyword to type.
8937
8517800f
KK
89382013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8939
8940 * sysdeps/sh/sotruss-lib.c: New file.
8941 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8942
180138f1
AZ
89432013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944
8945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8946
bbf37bdc
JM
89472013-12-05 Joseph Myers <joseph@codesourcery.com>
8948
e47cc4e0
JM
8949 [BZ #6810]
8950 * math/w_tgamma.c: Include <errno.h>.
8951 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8952 * math/w_tgammaf.c: Include <errno.h>.
8953 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8954 * math/w_tgammal.c: Include <errno.h>.
8955 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8956 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8957 underflow. Add more tgamma tests.
8958 * math/auto-libm-test-out: Regenerated.
8959 * sysdeps/i386/fpu/libm-test-ulps: Update.
8960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8961
bbf37bdc
JM
8962 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8963 sin, sinh, tan, tanh, tgamma, y0 and y1.
8964 * math/auto-libm-test-out: Regenerated.
8965 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8966 (TEST_COND_x86): Likewise.
8967 (M_E2l): Remove macro.
8968 (M_E3l): Likewise.
8969 (M_2_SQRT_PIl): Likewise.
8970 (M_SQRT_PIl): Likewise.
8971 (M_1_DIV_El): Likewise.
8972 (log_test_data): Use AUTO_TESTS_f_f.
8973 (log10_test_data): Likewise.
8974 (log1p_test_data): Likewise.
8975 (log2_test_data): Likewise.
8976 (sin_test_data): Likewise.
8977 (sin_tonearest_test_data): Likewise.
8978 (sin_towardzero_test_data): Likewise.
8979 (sin_downward_test_data): Likewise.
8980 (sin_upward_test_data): Likewise.
8981 (sinh_test_data): Likewise.
8982 (sinh_tonearest_test_data): Likewise.
8983 (sinh_towardzero_test_data): Likewise.
8984 (sinh_downward_test_data): Likewise.
8985 (sinh_upward_test_data): Likewise.
8986 (tan_test_data): Likewise.
8987 (tan_tonearest_test_data): Likewise.
8988 (tan_towardzero_test_data): Likewise.
8989 (tan_downward_test_data): Likewise.
8990 (tan_upward_test_data): Likewise.
8991 (tanh_test_data): Likewise.
8992 (tgamma_test_data): Likewise.
8993 (y0_test_data): Likewise.
8994 (y1_test_data): Likewise.
8995 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8996 (special_real_inputs): Add pi/4.
8997 * sysdeps/i386/fpu/libm-test-ulps: Update.
8998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8999
eb5ad6b9
AZ
90002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9001
9002 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9003 "longjmp_target" static probes.
9004 (__longjmp): Rename to __longjmp_symbol.
9005 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9006 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9007 on which longjmp to generate.
9008 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9009 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9010 probe.
9011 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9012 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9013 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9015 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9016 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9018 __longjmp_symbol based on which __longjmp to generate.
9019 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9020 probe.
9021 (setjmp): Rename to setjmp_symbol.
9022 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9023 (_setjmp): Rename to _setjmp_symbol.
9024 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9025 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9026 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9027 which setjmp to generate.
9028 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9029 "longjmp_target" static probes.
9030
d136c6dc
SP
90312013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9032
9298ecba
SP
9033 * benchtests/README: Add note about output arguments.
9034 * benchtests/bench-sincos.c: Remove file.
9035 * benchtests/sincos-inputs: New file.
9036 * scripts/bench.pl: Identify output arguments and define
9037 static variables for them.
9038
232983e9
SP
9039 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9040
d136c6dc
SP
9041 [BZ #15941]
9042 * Makefile (INSTALL): Add install-plain.texi as the primary
9043 dependency.
9044 * manual/install-plain.texi: New file.
9045 * manual/install.texi: Include node directive only for
9046 non-plaintext output.
9047
699ff837
JM
90482013-12-04 Joseph Myers <joseph@codesourcery.com>
9049
ab07cea8
JM
9050 * stdlib/longlong.h: Update from GCC.
9051
699ff837
JM
9052 [BZ #6807]
9053 [BZ #15901]
9054 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9055 * math/w_j0f.c (y0f): Likewise.
9056 * math/w_j0l.c (__y0l): Likewise.
9057 * math/w_j1.c (y1): Likewise.
9058 * math/w_j1f.c (y1f): Likewise.
9059 * math/w_j1l.c (__y1l): Likewise
9060 * math/w_jn.c (yn): Likewise.
9061 * math/w_jnf.c (ynf): Likewise.
9062 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9063 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9064 value for Bessel function domain errors outside _SVID_ mode.
9065 Adjust sign of return value for yn (negative integer, 0).
9066 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9067 by zero in return for negative x and set sign appropriately for
9068 negative n.
9069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9071 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9072 expectations in error cases.
9073 (y1_test_data): Likewise.
9074 (yn_test_data): Likewise.
9075 * sysdeps/i386/fpu/libm-test-ulps: Update.
9076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077
5b118558
UW
90782013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9079
9080 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9081 "64" to "64-v1". Add "64-v2".
9082 (abi-64-options): Rename to ...
9083 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9084 (abi-64-condition): Rename to ...
9085 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9086 (abi-64-ld-soname): Rename to ...
9087 (abi-64-v1-ld-soname): ... this.
9088 (abi-64-v2-options): Define.
9089 (abi-64-v2-condition): Likewise.
9090 (abi-64-v2-ld-soname): Likewise.
9091 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9092 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9096
61cd8fe4
UW
90972013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9098 Alan Modra <amodra@gmail.com>
9099
9100 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9101 New versions for use with the ELFv2 ABI.
9102 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9103 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9104 declaration.
9105 (struct La_ppc64v2_retval): Likewise.
9106 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9107 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9108 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9109 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9110 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9111 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9112 Do not save or restore CR.
9113 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9114 (_dl_profile_resolve): Do no save or restore CR. Support extended
9115 return values for ELFv2 ABI. Fix location of FPR return registers.
9116 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9117 updated values for _CALL_ELF == 2.
9118 (La_regs, La_retval, int_retval): Likewise.
9119
8b8a692c
UW
91202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9121
9122 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9123 (FRAME_MIN_SIZE_PARM): Likewise.
9124 (FRAME_BACKCHAIN): Likewise.
9125 (FRAME_CR_SAVE): Likewise.
9126 (FRAME_LR_SAVE): Likewise.
9127 (FRAME_TOC_SAVE): Likewise.
9128 (FRAME_PARM_SAVE): Likewise.
9129 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9130 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9131 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9132 (call_mcount_parm_offset): New macro.
9133 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9134 (PROF): Use symbolic stack frame offsets.
9135 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9136 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9137 Redefine in terms of FRAME_MIN_SIZE.
9138 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9139 (_dl_profile_resolve): Likewise. Update comment.
9140 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9141 symbols stack frame offsets.
9142 (__sigsetjmp): Likewise.
9143 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9144 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9145 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9146 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9147
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9149 (FRAME_BACKCHAIN): Remove.
9150 (FRAME_CR_SAVE): Likewise.
9151 (FRAME_LR_SAVE): Likewise.
9152 (FRAME_COMPILER_DW): Likewise.
9153 (FRAME_LINKER_DW): Likewise.
9154 (FRAME_TOC_SAVE): Likewise.
9155 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9156 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9157 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9158 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9160 (CHECK_SP): Use symbolic stack frame offsets.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9162 zone" instead of caller's parameter save area for temp storage.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9164 Likewise. Also, use symbolic stack frame offsets.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9166 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9167 our own stack frame instead of the caller's.
9168 (__socket): Use symbolic stack frame offsets.
9169
122b66de
UW
91702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9171 Alan Modra <amodra@gmail.com>
9172
9173 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9174 Define.
57f41c40
AS
9175 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9176 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9177 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9178 New function.
9179 (elf_machine_fixup_plt): Call it.
9180 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9181 reloc arguments.
9182 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9184 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9185 r2 before calling target.
9186
696caf1d
UW
91872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9188 Alan Modra <amodra@gmail.com>
9189
9190 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9191 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9192 versions of macros to support ELFv2 ABI.
9193 (LOCALENTRY): New macro.
9194 (ENTRY, EALIGN): Use it.
9195 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9196 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9197 fall through into ENTRY entry point.
9198 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9199 Only define if _CALL_ELF != 2.
9200
9201 (elf_machine_matches_host): Verify ABI version matches.
9202 (RTLD_START): Use LOCALENTRY.
9203 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9204 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9205 (PLT_ENTRY_WORDS): New macro.
9206 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9207 (elf_machine_runtime_setup): Support ELFv2 ABI.
9208 (elf_machine_fixup_plt): Likewise.
9209 (elf_machine_plt_conflict): Likewise.
9210 (resolve_ifunc): Likewise.
9211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9213 Likewise.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9215 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9217 (makecontext): Support ELFv2 ABI.
9218 * elf/elf.h (EF_PPC64_ABI): Define.
9219
d31beafa
UW
92202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9221
57f41c40
AS
9222 * sysdeps/powerpc/powerpc64/sysdep.h
9223 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9224 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9225 (ENTRY) [ASSEMBLER]: ... but instead here ...
9226 (EALIGN) [ASSEMBLER]: ... and here.
9227 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9228 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9229 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9230 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9231 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9233 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9234 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9236 Use PPC64_LOAD_FUNCPTR.
9237
b525166b
UW
9238 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9239
7ec07d9a
AM
92402013-12-04 Alan Modra <amodra@gmail.com>
9241
9242 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9243 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9244 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9245 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9246
9247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9248 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9249 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9250 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9251 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9252 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9253
5162e7dd
UW
92542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9255
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9257 (__makecontext): Fix incorrect CFI when backtracing out of
9258 context created via makecontext.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9260 (__setcontext): Fix incorrect CFI during switch to new context.
9261 (__novec_setcontext): Likewise.
9262
19e3372b
OB
92632013-12-04 Ondřej Bílka <neleai@seznam.cz>
9264
9265 [BZ #4772]
9266 * time/strptime_l.c (__strptime_internal): Allow modifiers
9267 in strptime.
9268 * time/tst-strptime.c (day_tests): Add testcase.
9269
ecaf142d
SP
92702013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9271
9272 * scripts/bench.pl: Skip over blank lines.
9273
fbf964ae
PE
92742013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9275
9276 [BZ #926]
9277 * manual/time.texi (Calendar Time): Clarify what timezone functions
9278 use.
9279
fa60a674
AZ
92802013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9281
9282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9283
d674f0ef
OB
92842013-12-04 Ondřej Bílka <neleai@seznam.cz>
9285
9286 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9287 implementation.
9288 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9289 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9290 * debug/memset_chk.c (__memset_chk): Likewise.
9291 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9292 * debug/strncpy_chk.c: Likewise.
9293
17dea188
JM
92942013-12-03 Joseph Myers <joseph@codesourcery.com>
9295
749008ff
JM
9296 [BZ #15268]
9297 [BZ #15425]
9298 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9299 (__ieee754_exp): For possibly underflowing results, check size of
9300 result and force underflow exception if required.
9301 * math/auto-libm-test-in: Add more tests of exp.
9302 * math/auto-libm-test-out: Regenerated.
9303 * sysdeps/i386/fpu/libm-test-ulps: Update.
9304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9305
17dea188
JM
9306 [BZ #16283]
9307 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9308 * math/w_exp2f.c (__exp2f): Likewise.
9309 * math/w_exp2l.c (__exp2l): Likewise.
9310 * math/auto-libm-test-in: Do not allow missing errno on exp2
9311 underflow.
9312 * math/auto-libm-test-out: Regenerated.
9313
b20de2c3
OB
93142013-12-03 Ondřej Bílka <neleai@seznam.cz>
9315
9316 [BZ #16274]
9317 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9318 handle filename validation.
9319 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9320 (do_open): Delete.
9321
d8e2dbe3
JM
93222013-12-03 Joseph Myers <joseph@codesourcery.com>
9323
34e16df5
JM
9324 [BZ #6786]
9325 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9326 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9327 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9328 <float.h>.
9329 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9331 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9333 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9334 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9335 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9336 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9337 Add more erfc tests.
9338 * math/auto-libm-test-out: Regenerated.
9339 * sysdeps/i386/fpu/libm-test-ulps: Update.
9340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9341
d8e2dbe3
JM
9342 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9343 exp2, expm1, j0 and j1.
9344 * math/auto-libm-test-out: Regenerated.
9345 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9346 (erfc_test_data): Likewise.
9347 (exp_test_data): Likewise.
9348 (exp_tonearest_test_data): Likewise.
9349 (exp_towardzero_test_data): Likewise.
9350 (exp_downward_test_data): Likewise.
9351 (exp_upward_test_data): Likewise.
9352 (exp10_test_data): Likewise.
9353 (exp2_test_data): Likewise.
9354 (expm1_test_data): Likewise.
9355 (j0_test_data): Likewise.
9356 (j1_test_data): Likewise.
9357 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9358 (input_flag_type): Add flag_xfail_rounding.
9359 (input_flags): Add xfail-rounding.
9360 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9361 (output_for_one_input_case): Handle flag_xfail_rounding.
9362 * sysdeps/i386/fpu/libm-test-ulps: Update.
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9364
18d14251
AJ
93652013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9366
3d2e6075 9367 [BZ #16289]
18d14251
AJ
9368 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9369 division by 0.
9370
520d437b
SP
93712013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9372
9373 [BZ #16195]
9374 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9375 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9376 (STAP_PROBE0): New macro.
9377 (STAP_PROBE1): Likewise.
9378 (STAP_PROBE2): Likewise.
9379 (STAP_PROBE3): Likewise.
9380 (STAP_PROBE4): Likewise.
9381
416e0145
OB
93822013-12-02 Ondřej Bílka <neleai@seznam.cz>
9383
9384 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9385
9d17796a
SE
93862013-12-02 Steve Ellcey <sellcey@mips.com>
9387
9388 * benchtests/Makefile (bench): Add sqrt.
9389 (LDLIBS-bench-sqrt): New.
9390 * benchtests/sqrt-input: New.
9391
f524d6a8
PS
93922013-12-02 Pavel Simerda <psimerda@redhat.com>
9393
639a0ef8
PS
9394 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9395 (GAIH_EAI): Likewise.
9396 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9397 (gaih_inet): Likewise.
9398 (getaddrinfo): Don't use GAIH_EAI.
9399
f524d6a8
PS
9400 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9401 (struct gaih): Remove definition.
9402
df3aedaf
SP
94032013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
9405 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9406 Use HERRNOP directly.
9407
1ab19dec
AZ
94082013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9409
b42ad38d 9410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9411
176b0c79
JM
94122013-11-30 Joseph Myers <joseph@codesourcery.com>
9413
9414 * math/gen-auto-libm-tests.c (test_functions): Add more
9415 single-argument functions.
9416 (special_fill_pi_2): New function.
9417 (special_fill_minus_pi_2): Likewise.
9418 (special_fill_pi_6): Likewise.
9419 (special_fill_minus_pi_6): Likewise.
9420 (special_fill_pi_3): Likewise.
9421 (special_fill_2pi_3): Likewise.
9422 (special_fill_e): Likewise.
9423 (special_fill_1_e): Likewise.
9424 (special_fill_e_minus_1): Likewise.
9425 (special_real_inputs): Add more special inputs.
9426 (output_for_one_input_case): Do not require ERANGE on underflow to
9427 zero if round-to-nearest result does not underflow to zero, unless
9428 exact results required.
9429 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9430 atan, atanh, cbrt, cos and cosh.
9431 * math/auto-libm-test-out: Regenerated.
9432 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9433 (acos_tonearest_test_data): Likewise.
9434 (acos_towardzero_test_data): Likewise.
9435 (acos_downward_test_data): Likewise.
9436 (acos_upward_test_data): Likewise.
9437 (acosh_test_data): Likewise.
9438 (asin_test_data): Likewise.
9439 (asin_tonearest_test_data): Likewise.
9440 (asin_towardzero_test_data): Likewise.
9441 (asin_upward_test_data): Likewise.
9442 (asinh_test_data): Likewise.
9443 (atan_test_data): Likewise.
9444 (atanh_test_data): Likewise.
9445 (cbrt_test_data): Likewise.
9446 (cos_test_data): Likewise.
9447 (cos_tonearest_test_data): Likewise.
9448 (cos_towardzero_test_data): Likewise.
9449 (cos_downward_test_data): Likewise.
9450 (cos_upward_test_data): Likewise.
9451 (cosh_test_data): Likewise.
9452 (cosh_tonearest_test_data): Likewise.
9453 (cosh_towardzero_test_data): Likewise.
9454 (cosh_downward_test_data): Likewise.
9455 (cosh_upward_test_data): Likewise.
9456 * sysdeps/i386/fpu/libm-test-ulps: Update.
9457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9458
ffb536d0
JM
94592013-11-29 Joseph Myers <joseph@codesourcery.com>
9460
2a77a467
JM
9461 [BZ #6787]
9462 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9463 * math/w_exp10f.c (__exp10f): Likewise.
9464 * math/w_exp10l.c (__exp10l): Likewise.
9465 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9466 errno settings in existing tests.
9467
ea3bc4e8
JM
9468 [BZ #14032]
9469 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9470 precision control set to double precision.
9471 * sysdeps/i386/fpu/w_sqrt.c: New file.
9472 * math/auto-libm-test-in: Add more tests.
9473 * math/auto-libm-test-out: Update.
9474
0712c9d8
JM
9475 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9476 (sqrt_test_tonearest): New function.
9477 (sqrt_towardzero_test_data): New variable.
9478 (sqrt_test_towardzero): New function.
9479 (sqrt_downward_test_data): New variable.
9480 (sqrt_test_downward): New function.
9481 (sqrt_upward_test_data): New variable.
9482 (sqrt_test_upward): New function.
9483 (main): Call the new functions.
9484
ffb536d0
JM
9485 * math/gen-auto-libm-tests.c: New file.
9486 * math/auto-libm-test-in: Likewise.
9487 * math/auto-libm-test-out: New generated file.
9488 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9489 variables.
9490 (%beautify): Add generated representations of zero.
9491 (top level): Set $auto_input and call parse_auto_input.
9492 (beautify): Remove trailing "f" from hex float constants.
9493 (parse_args): Handle XFAIL_TEST.
9494 (convert_condition): New function.
9495 (or_value): Likewise.
9496 (or_cond_value): Likewise.
9497 (generate_testfile): Handle AUTO_TESTS_* lines.
9498 (parse_auto_input): New function.
9499 * math/libm-test.inc (XFAIL_TEST): New macro.
9500 (ERRNO_UNCHANGED): Update value.
9501 (ERRNO_EDOM): Likewise.
9502 (ERRNO_ERANGE): Likewise.
9503 (IGNORE_RESULT): Likewise.
9504 (TEST_COND_flt_32): New macro.
9505 (TEST_COND_dbl_64): Likewise.
9506 (TEST_COND_ldbl_96_intel): Likewise.
9507 (TEST_COND_ldbl_96_m68k): Likewise.
9508 (TEST_COND_ldbl_128): Likewise.
9509 (TEST_COND_ldbl_128ibm): Likewise.
9510 (TEST_COND_long32): Likewise.
9511 (TEST_COND_long64): Likewise.
9512 (TEST_COND_before_rounding): Likewise.
9513 (TEST_COND_after_rounding): Likewise.
9514 (enable_test): Handle XFAIL_TEST flag.
9515 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9516 with finite results.
9517 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9518 auto-libm-test-out.
9519
acd98a8e
AK
95202013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9521 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9522
9523 [BZ #16214]
9524 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9525 __tls_get_addr_internal instead of __tls_get_offset in order to
9526 avoid GOT pointer dependency. Make rtld export
9527 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9528 __tls_get_addr since we are a __tls_get_offset platform.
9529 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9530 GOT pointer being set up before.
9531 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9532
3c1c46a6
JM
95332013-11-28 Joseph Myers <joseph@codesourcery.com>
9534
7475aef5
JM
9535 * manual/math.texi (Errors in Math Functions): Document accuracy
9536 goals.
9537
8bca7cd8
JM
9538 [BZ #15004]
9539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9540 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9555
91a1f3fe
JM
9556 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9557 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9558 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9559 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9560 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9561 Likewise.
9562 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9563 Likewise.
9564 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9565 Likewise.
9566 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9567 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9568 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9569 atomic-feupdateenv and flt-rounds.
9570 * sysdeps/powerpc/nofpu/Versions (libc): Add
9571 __atomic_feholdexcept, __atomic_feclearexcept,
9572 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9573 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9574 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9575 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9576 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9577 here.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9579 Update.
9580
c5df7609
JM
9581 * manual/arith.texi (FP Exceptions): Document that exceptions may
9582 not be raised when matherr is used.
9583 (Math Error Reporting): Document overflow in directed rounding
9584 modes. Document that errno may not be set when finite values are
9585 returned on overflow. Document intent to set errno on underflow
9586 only for underflow to zero.
9587
3c1c46a6
JM
9588 [BZ #16271]
9589 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9590 round-to-nearest then adjust result for other rounding modes.
9591 * include/fenv.h (fegetround): Use libm_hidden_proto.
9592 * math/fegetround.c (fegetround): Use libm_hidden_def.
9593 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9594 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9595 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9596 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9597 Likewise.
9598 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9600 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9601 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9602
5a4c6d53
SP
96032013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9604
9605 [BZ #16077]
9606 * nss/Versions (libnss_files): Add
9607 _nss_files_gethostbyname3_r.
9608 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9609 New function.
9610 (HOST_DB_LOOKUP): Remove macro.
9611 (_nss_files_gethostbyname_r): Implement function without the
9612 HOST_DB_LOOKUP macro.
9613 (_nss_files_gethostbyname2_r): Likewise.
9614
897b98ba
OB
96152013-11-28 Ondřej Bílka <neleai@seznam.cz>
9616
9617 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9618
6f476861
UB
96192013-11-26 Uros Bizjak <ubizjak@gmail.com>
9620
9621 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9622 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9623 warning.
9624
bd12ab55
AZ
96252013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9626
9627 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9628 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9629 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9630 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9631 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9632 __fe_nomask_env_priv and attribute_hidden.
9633 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9634 (libc_feupdateenv_test_ppc): Likewise.
9635 (libc_feresetround_ppc): Likewise.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9637 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9638 compat_symbol macro.
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9640 (__fe_nomask_env): Likewise.
9641 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9642
52bb6543
OB
96432013-11-26 Ondřej Bílka <neleai@seznam.cz>
9644
9645 * string/Makefile: Remove ifunc tests.
9646 * string/test-string.h: Define TEST_IFUNC.
9647 * string/test-bcopy-ifunc.c: Remove.
9648 * string/test-bzero-ifunc.c: Likewise.
9649 * string/test-memccpy-ifunc.c: Likewise.
9650 * string/test-memchr-ifunc.c: Likewise.
9651 * string/test-memcmp-ifunc.c: Likewise.
9652 * string/test-memcpy-ifunc.c: Likewise.
9653 * string/test-memmem-ifunc.c: Likewise.
9654 * string/test-memmove-ifunc.c: Likewise.
9655 * string/test-mempcpy-ifunc.c: Likewise.
9656 * string/test-memrchr-ifunc.c: Likewise.
9657 * string/test-memset-ifunc.c: Likewise.
9658 * string/test-rawmemchr-ifunc.c: Likewise.
9659 * string/test-stpcpy-ifunc.c: Likewise.
9660 * string/test-stpncpy-ifunc.c: Likewise.
9661 * string/test-strcasecmp-ifunc.c: Likewise.
9662 * string/test-strcasestr-ifunc.c: Likewise.
9663 * string/test-strcat-ifunc.c: Likewise.
9664 * string/test-strchr-ifunc.c: Likewise.
9665 * string/test-strchrnul-ifunc.c: Likewise.
9666 * string/test-strcmp-ifunc.c: Likewise.
9667 * string/test-strcpy-ifunc.c: Likewise.
9668 * string/test-strcspn-ifunc.c: Likewise.
9669 * string/test-strlen-ifunc.c: Likewise.
9670 * string/test-strncasecmp-ifunc.c: Likewise.
9671 * string/test-strncat-ifunc.c: Likewise.
9672 * string/test-strncmp-ifunc.c: Likewise.
9673 * string/test-strncpy-ifunc.c: Likewise.
9674 * string/test-strnlen-ifunc.c: Likewise.
9675 * string/test-strpbrk-ifunc.c: Likewise.
9676 * string/test-strrchr-ifunc.c: Likewise.
9677 * string/test-strspn-ifunc.c: Likewise.
9678 * string/test-strstr-ifunc.c: Likewise.
9679
ab260039 96802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9681
9682 * benchtests/Makefile: Remove ifunc tests.
9683 * benchtests/bench-string.h: Define TEST_IFUNC.
9684 * benchtests/bench-bcopy-ifunc.c: Remove.
9685 * benchtests/bench-bzero-ifunc.c: Likewise.
9686 * benchtests/bench-memccpy-ifunc.c: Likewise.
9687 * benchtests/bench-memchr-ifunc.c: Likewise.
9688 * benchtests/bench-memcmp-ifunc.c: Likewise.
9689 * benchtests/bench-memcpy-ifunc.c: Likewise.
9690 * benchtests/bench-memmem-ifunc.c: Likewise.
9691 * benchtests/bench-memmove-ifunc.c: Likewise.
9692 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9693 * benchtests/bench-memrchr-ifunc.c: Likewise.
9694 * benchtests/bench-memset-ifunc.c: Likewise.
9695 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9696 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9697 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9698 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9699 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9700 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9701 * benchtests/bench-strcat-ifunc.c: Likewise.
9702 * benchtests/bench-strchr-ifunc.c: Likewise.
9703 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9704 * benchtests/bench-strcmp-ifunc.c: Likewise.
9705 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9706 * benchtests/bench-strcpy-ifunc.c: Likewise.
9707 * benchtests/bench-strcspn-ifunc.c: Likewise.
9708 * benchtests/bench-strlen-ifunc.c: Likewise.
9709 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9710 * benchtests/bench-strncat-ifunc.c: Likewise.
9711 * benchtests/bench-strncmp-ifunc.c: Likewise.
9712 * benchtests/bench-strncpy-ifunc.c: Likewise.
9713 * benchtests/bench-strnlen-ifunc.c: Likewise.
9714 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9715 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9716 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9717 * benchtests/bench-strspn-ifunc.c: Likewise.
9718 * benchtests/bench-strstr-ifunc.c: Likewise.
9719
97202013-11-26 Ondřej Bílka <neleai@seznam.cz>
9721
ab260039
OB
9722 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9723
d1d9eaf4 97242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9725
d1d9eaf4
OB
9726 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9727 * rt/aio.h: Likewise.
9728 * sysdeps/gnu/bits/utmp.h: Likewise.
9729 * sysdeps/gnu/bits/utmpx.h: Likewise.
9730 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9731 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9732 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9733 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9734 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9735 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9736 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9737 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9738 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9742 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9744 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9745 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9746 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9747 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9748 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9749 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9750 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9751 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9752 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9753 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9754 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9756 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9757 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9758 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9759 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9760 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9761 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9762 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9763 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9764 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9765 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9766 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9767 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9768 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9769 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9770 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9771 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9772
a7624ed9
CD
97732013-11-25 Carlos O'Donell <carlos@redhat.com>
9774
9775 [BZ #16245]
9776 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9777 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9778
63cfe52b
JM
97792013-11-25 Joseph Myers <joseph@codesourcery.com>
9780
9781 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9782 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9783 Likewise.
9784
41e8926a
AZ
97852013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9786
9787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9788 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9789 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9790 (__fesetround): Remove define.
9791 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9792 rounding and exceptions handling.
9793 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9794 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9795 (__fe_nomask_env): Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9797 __fegetround instead of fegetround.
9798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9800
6851bd4d
RM
98012013-11-21 Roland McGrath <roland@hack.frob.com>
9802
070906ff
RM
9803 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9804 it's there.
9805
6851bd4d
RM
9806 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9807
84ae135d
MI
98082013-11-21 Meador Inge <meadori@codesourcery.com>
9809
9810 [BZ #11157]
9811 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9812 (encrypt_r): Likewise.
9813 * malloc/obstack.h (obstack_free): Likewise.
9814 * posix/unistd.h (encrypt): Likewise.
9815
daf75146
GM
98162013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9817
9818 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9819 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9820 DL_CALL_DT_FINI() that call the functions directly.
9821 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9822 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9823 * elf/dl-fini.c: Likewise.
9824
10ad46bc
OB
98252013-11-20 Ondřej Bílka <neleai@seznam.cz>
9826
9827 * malloc/hooks.c (memalign_check): Add alignment rounding.
9828 * malloc/malloc.c (_mid_memalign): New function.
9829 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9830 Implement by calling _mid_memalign.
9831 * manual/probes.texi (Memory Allocation Probes): Remove
9832 memory_valloc_retry and memory_pvalloc_retry.
9833
f3fd2628
SP
98342013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9835
4712799f
SP
9836 * locale/programs/locarchive.c (open_archive): Add const
9837 qualifier to ARCHIVEFNAME and copy default fname to
9838 DEFAULT_FNAME.
9839
0417b20f
SP
9840 [BZ #15601]
9841 * libio/tst-widetext.input: Rename Oriya to Odia.
9842 * locale/iso-639.def: Likewise.
9843
f3fd2628
SP
9844 * manual/probes.texi (Mathematical Function Probes): Add
9845 documentation for sin, cos, asin and acos probes.
9846 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9847 (__sin32): Add slowasin probe.
9848 (__cos32): Add slowacos probe.
9849 (__mpsin): Add slowsin probe.
9850 (__mpcos): Add slowcos probe.
9851
73c1ce4f
JM
98522013-11-19 Joseph Myers <joseph@codesourcery.com>
9853
9854 [BZ #15483]
9855 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9856 thread-local __sim_exceptions_thread and global
9857 __sim_exceptions_global.
9858 (__sim_disabled_exceptions): Change to thread-local
9859 __sim_disabled_exceptions_thread and global
9860 __sim_disabled_exceptions_global.
9861 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9862 and global __sim_round_mode_global.
9863 (__simulate_exceptions): Use thread-local floating-point state and
9864 set global state from it as needed.
9865 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9866 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9867 __sim_round_mode_thread.
9868 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9869 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9870 and global __sim_exceptions_global.
9871 (__sim_disabled_exceptions): Change to thread-local
9872 __sim_disabled_exceptions_thread and global
9873 __sim_disabled_exceptions_global.
9874 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9875 and global __sim_round_mode_global.
9876 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9877 (SIM_SET_GLOBAL): Likewise.
9878 * sysdeps/powerpc/soft-fp/sfp-machine.h
9879 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9880 __sim_round_mode_thread.
9881 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9882 __sim_disabled_exceptions_thread.
9883 (__sim_exceptions): Change to __sim_exceptions_thread.
9884 (__sim_disabled_exceptions): Change to
9885 __sim_disabled_exceptions_thread.
9886 (__sim_round_mode): Change to __sim_round_mode_thread.
9887 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9888 thread-local floating-point state and set global state from it as
9889 needed.
9890 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9891 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9892 (__sim_disabled_exceptions): Remove extern declaration.
9893 (feenableexcept): Use thread-local floating-point state and set
9894 global state from it as needed.
9895 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9896 extern declaration.
9897 (__sim_disabled_exceptions): Likewise.
9898 (__sim_round_mode): Likewise.
9899 (__fegetenv): Use thread-local floating-point state.
9900 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9901 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9902 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9903 floating-point state and set global state from it as needed.
9904 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9905 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9906 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9907 Likewise.
9908 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9909 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9910 Likewise.
9911 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9912 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9913 Use __sim_round_mode_thread.
9914 * math/test-fenv-tls.c: New file.
9915 * math/Makefile (tests): Add test-fenv-tls.
9916 ($(objpfx)test-fenv-tls): Depend on
9917 $(common-objpfx)nptl/libpthread.so.
9918
b5449b12
AS
99192013-11-19 Andreas Schwab <schwab@suse.de>
9920
9921 * locale/programs/locale.c (show_info): Decode wordarray elements.
9922 * locale/categories.def (LC_MONETARY): Add element for
9923 _NL_MONETARY_CRNCYSTR.
9924 * locale/C-monetary.c (conversion_rate): New variable.
9925 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9926 element.
9927
e186536b
CM
99282013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9929
9930 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9931 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9932
5c349950
PP
99332013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9934
9935 * elf/Makefile (tst-auxv): New test.
9936 * elf/tst-auxv.c: New
9937 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9938
699df45b
JM
99392013-11-18 Joseph Myers <joseph@codesourcery.com>
9940
9941 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9942 (hidden_proto): Caller changed.
9943 (hidden_tls_proto): New macro.
9944 (libc_hidden_tls_proto): Likewise.
9945 (rtld_hidden_tls_proto): Likewise.
9946 (libm_hidden_tls_proto): Likewise.
9947 (libresolv_hidden_tls_proto): Likewise.
9948 (librt_hidden_tls_proto): Likewise.
9949 (libdl_hidden_tls_proto): Likewise.
9950 (libnss_files_hidden_tls_proto): Likewise.
9951 (libnsl_hidden_tls_proto): Likewise.
9952 (libnss_nisplus_hidden_tls_proto): Likewise.
9953 (libutil_hidden_tls_proto): Likewise.
9954
b7589107
OB
99552013-11-18 Ondřej Bílka <neleai@seznam.cz>
9956
9957 [BZ #10253]
9958 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9959 (decompose_rpath): Defer expansion to fillin_rpath.
9960 (_dl_init_paths): Pass linkmap to fillin_rpath.
9961
250c23bd
RS
99622013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9963
9964 * benchtests/Makefile: Add strsep.
9965 * benchtests/bench-strsep.c: New file: strsep benchtest.
9966 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9967
a7931fcf
AS
99682013-11-18 Andreas Schwab <schwab@suse.de>
9969
9970 * locale/programs/locale.c (show_info) [case byte]: Check for
9971 '\377' instead of '\177'.
9972 * locale/C-monetary.c (not_available): Always use "\377".
9973 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9974 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9975 detect unavailable sign_posn locale elements.
9976 * locale/localeconv.c (__localeconv): For grouping and
9977 mon_grouping handle "\177" and "\377" like no grouping.
9978 (INT_ELEM): New macro. Use it to set all numeric members.
9979 * locale/programs/ld-monetary.c (monetary_read)
9980 <tok_mon_grouping>: Normalize single -1 to the empty string.
9981 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9982 Likewise.
9983
728dab0e
OB
99842013-11-07 Ondřej Bílka <neleai@seznam.cz>
9985
9986 [BZ #16055]
9987 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9988 when we match (nil).
9989 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9990
66294491
JM
99912013-11-16 Joseph Myers <joseph@codesourcery.com>
9992
ce665817
JM
9993 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9994 (NO_TEST_INLINE): Update value.
9995 (ERRNO_UNCHANGED): Likewise.
9996 (ERRNO_EDOM): Likewise.
9997 (ERRNO_ERANGE): Likewise.
9998 (IGNORE_RESULT): Likewise.
9999 (check_float_internal): Check signs of NaN results if
10000 TEST_NAN_SIGN used.
10001 (check_complex): Pass TEST_NAN_SIGN flag through to second
10002 check_float_internal call.
10003 (copysign_test_data): Add tests with quiet NaNs as second
10004 argument. Use TEST_NAN_SIGN.
10005 (fabs_test_data): Add test of negative quiet NaN argument. Use
10006 TEST_NAN_SIGN.
10007 (signbit_test_data): Add tests of quiet NaN argument.
10008 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10009
ee1466a9
JM
10010 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10011 $ignore_result.
10012 (parse_args): Handle function results specified as IGNORE.
10013 * math/libm-test.inc (IGNORE_RESULT): New macro.
10014 (check_float_internal): Do not check numerical result if flag
10015 IGNORE_RESULT set.
10016 (check_complex): Pass through IGNORE_RESULT to second
10017 check_float_internal call.
10018 (check_int): Do not check numerical result if flag IGNORE_RESULT
10019 set.
10020 (check_long): Likewise.
10021 (check_bool): Likewise.
10022 (check_longlong): Likewise.
10023 (lrint_test_data): Add tests of infinite and NaN arguments.
10024 (lrint_tonearest_test_data): Likewise.
10025 (lrint_towardzero_test_data): Likewise.
10026 (lrint_downward_test_data): Likewise.
10027 (lrint_upward_test_data): Likewise.
10028 (llrint_test_data): Likewise.
10029 (llrint_tonearest_test_data): Likewise.
10030 (llrint_towardzero_test_data): Likewise.
10031 (llrint_downward_test_data): Likewise.
10032 (llrint_upward_test_data): Likewise.
10033 (lround_test_data): Likewise.
10034 (llround_test_data): Likewise.
10035
14407b7e
JM
10036 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10037 (ERRNO_UNCHANGED): Update value.
10038 (ERRNO_EDOM): Likewise.
10039 (ERRNO_ERANGE): Likewise.
10040 (NO_TEST_INLINE_FLOAT): New macro.
10041 (NO_TEST_INLINE_DOUBLE): Likewise.
10042 (enable_test): New function.
10043 (RUN_TEST_f_f): Check enable_test before running test.
10044 (RUN_TEST_2_f): Likewise.
10045 (RUN_TEST_fff_f): Likewise.
10046 (RUN_TEST_c_f): Likewise.
10047 (RUN_TEST_f_f1): Likewise.
10048 (RUN_TEST_fF_f1): Likewise.
10049 (RUN_TEST_fI_f1): Likewise.
10050 (RUN_TEST_ffI_f1): Likewise.
10051 (RUN_TEST_c_c): Likewise.
10052 (RUN_TEST_cc_c): Likewise.
10053 (RUN_TEST_f_i): Likewise.
10054 (RUN_TEST_f_i_tg): Likewise.
10055 (RUN_TEST_ff_i_tg): Likewise.
10056 (RUN_TEST_f_b): Likewise.
10057 (RUN_TEST_f_b_tg): Likewise.
10058 (RUN_TEST_f_l): Likewise.
10059 (RUN_TEST_f_L): Likewise.
10060 (RUN_TEST_fFF_11): Likewise.
10061 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10062 conditionals.
10063 (cosh_test_data): Likewise.
10064 (exp_test_data): Likewise.
10065 (expm1_test_data): Likewise.
10066 (hypot_test_data): Likewise.
10067 (pow_test_data): Likewise.
10068 (sinh_test_data): Likewise.
10069 (tanh_test_data): Likewise.
10070 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10071 flags argument.
10072
ca07f197
JM
10073 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10074 tests with quiet NaN input and output.
10075 (acosh_test_data): Likewise.
10076 (asin_test_data): Likewise.
10077 (asinh_test_data): Likewise.
10078 (atan_test_data): Likewise.
10079 (atanh_test_data): Likewise.
10080 (atan2_test_data): Likewise.
10081 (cbrt_test_data): Likewise.
10082 (cos_test_data): Likewise.
10083 (cosh_test_data): Likewise.
10084 (erf_test_data): Likewise.
10085 (erfc_test_data): Likewise.
10086 (exp_test_data): Likewise.
10087 (exp10_test_data): Likewise.
10088 (exp2_test_data): Likewise.
10089 (expm1_test_data): Likewise.
10090 (hypot_test_data): Likewise.
10091 (j0_test_data): Likewise.
10092 (j1_test_data): Likewise.
10093 (jn_test_data): Likewise.
10094 (lgamma_test_data): Likewise.
10095 (log_test_data): Likewise.
10096 (log10_test_data): Likewise.
10097 (log1p_test_data): Likewise.
10098 (log2_test_data): Likewise.
10099 (pow_test_data): Likewise.
10100 (scalb_test_data): Likewise.
10101 (sin_test_data): Likewise.
10102 (sincos_test_data): Likewise.
10103 (sinh_test_data): Likewise.
10104 (tan_test_data): Likewise.
10105 (tanh_test_data): Likewise.
10106 (tgamma_test_data): Likewise.
10107 (y0_test_data): Likewise.
10108 (y1_test_data): Likewise.
10109 (yn_test_data): Likewise.
10110
66294491
JM
10111 [BZ #16167]
10112 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10113 argument being NaN and avoid computations with second argument in
10114 that case.
10115 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10116 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10117 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10118
1820b143
CL
101192013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10120
10121 * locale/iso-639.def: Add Chitwani Tharu (the).
10122
714bd261
AS
101232013-11-14 Andreas Schwab <schwab@suse.de>
10124
10125 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10126 word instead of empty string.
10127
7ab44563
AZ
101282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10129
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10131 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10133 (__fe_nomask_env): Likewise.
10134
e8470ea2
SE
101352013-11-13 Steve Ellcey <sellcey@mips.com>
10136
10137 * benchtests/bench-timing.h: Include time.h.
10138
17c1d9f0
L
101392013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 [BZ #15997]
10142 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10143 to 3.4.0 for x32.
10144 * sysdeps/unix/sysv/linux/configure: Regenerated.
10145
9310c284
JM
101462013-11-13 Joseph Myers <joseph@codesourcery.com>
10147
10148 [BZ #16151]
10149 * stdlib/strtod_l.c (round_and_return): Do not consider
10150 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10151 exponent one less than half the least subnormal exponent.
10152 * stdlib/test-strtod-round-data: Add more tests.
10153 * stdlib/tst-strtod-round.c (tests): Regenerated.
10154
7a2ad8cf
AZ
101552013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10156
10157 [BZ #14143]
10158 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10159 (__fe_mask_env): Likewise.
10160 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10161 libm_hidden_proto and add function prototype.
10162 (__fe_mask_env): Add function prototype.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10164 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10166 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10168 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10169
50727aa7
MS
101702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10171
b2f386c1 10172 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10173 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10174
a615be46
MS
101752013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10176
10177 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10178 of htab_find_slot().
10179
7ddace62
DM
101802013-11-11 David S. Miller <davem@davemloft.net>
10181
10182 [BZ #16150]
10183 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10184 symbol in the non-vis3 case in static builds.
10185 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10186 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10187 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10188 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10189
9182aa67
JK
101902013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10191
10192 [BZ #387]
10193 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10194 it is empty.
10195
450a2e2d
AZ
101962013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10197
b2f386c1
SP
10198 * benchtests/Makefile: Add bench-strtod.
10199 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10200
8ec3f656
AS
102012013-11-11 Andreas Schwab <schwab@suse.de>
10202
10203 [BZ #16153]
10204 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10205 terminating NUL in key length.
10206
76a9b998
AZ
102072013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208
10209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10210 Add artificial ODP entry for vDSO symbol for PPC64.
10211 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10212 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10213
e4368156
OB
102142013-11-07 Ondřej Bílka <neleai@seznam.cz>
10215
10216 [BZ #15374]
10217 * nss/getent.c (services_keys): Recognize services starting with digit.
10218
8d6bb57c
DM
102192013-11-06 David S. Miller <davem@davemloft.net>
10220
10221 [BZ #15985]
10222 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10223 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10224
e256c421
WN
102252013-11-06 Will Newton <will.newton@linaro.org>
10226
10227 * manual/memory.texi (Malloc Examples): Remove register
10228 keyword from examples.
10229
f6e12daa 102302013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10231
f6e12daa 10232 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10233
9d880655
AS
102342013-11-04 Joseph Myers <joseph@codesourcery.com>
10235
fd2f9486 10236 [BZ #6981]
9d880655
AS
10237 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10238 depending on [__GCC_IEC_559 > 0].
10239 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10240 depending on [__GCC_IEC_559_COMPLEX > 0].
10241
ae129d3c
CL
102422013-11-03 Chris Leonard <cjl@sugarlabs.org>
10243
10244 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10245 to iso-639.def.
10246
4a15c2a4 102472013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10248
10249 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10250
8b35e35d
OB
102512013-11-01 Ondřej Bílka <neleai@seznam.cz>
10252
10253 [BZ #16112]
10254 * malloc/malloc (malloc_info): Do not handle first bin as
10255 special case.
10256
1d70fd6c
CL
102572013-11-01 Chris Leonard <cjl@sugarlabs.org>
10258
10259 * locale/iso-639.def: Add Central Nahuatl (nhn).
10260
8c5c2600
BH
102612013-11-01 Bruno Haible <bruno@clisp.org>
10262
10263 [BZ #7003]
10264 * manual/math.texi (BSD Random): Specify range upper bound as
10265 in POSIX.
10266
da5579c2
CL
102672013-10-31 Chris Leonard <cjl@sugarlabs.org>
10268
10269 * locale/iso-639.def: Add Meadow Mari (mhr).
10270
5d30d853
OB
102712013-10-31 Ondřej Bílka <neleai@seznam.cz>
10272
10273 [BZ #14752], [BZ #15763]
10274 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10275 Validate name.
10276 * rt/tst_shm.c: Add test for escaping directory.
10277
a4966c61
AS
102782013-10-31 Andreas Schwab <schwab@suse.de>
10279
8a43e768 10280 [BZ #15917]
a4966c61
AS
10281 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10282 followed by 'x' as part of digit sequence.
10283 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10284
28d708c4
MAP
102852013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10286
10287 [BZ #16037]
10288 * configure.ac: allow GNU Make 4.0 and greater.
10289 * configure: Regenerated.
10290
a56ee40b
WN
102912013-10-30 Will Newton <will.newton@linaro.org>
10292
10293 [BZ #16038]
10294 * malloc/hooks.c (memalign_check): Limit alignment to the
10295 maximum representable power of two.
10296 * malloc/malloc.c (__libc_memalign): Likewise.
10297 * malloc/tst-memalign.c (do_test): Add test for very
10298 large alignment values.
10299 * malloc/tst-posix_memalign.c (do_test): Likewise.
10300
c6e4925d
OB
103012013-10-30 Ondřej Bílka <neleai@seznam.cz>
10302
10303 [BZ #11087]
10304 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10305 (munmap_chunk): Likewise.
10306 (mremap_chunk): Likewise.
10307
103082013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10309
8a43e768 10310 [BZ #15799]
bbea82f7
OB
10311 * stdlib/div.c (div): Remove obsolete code.
10312 * stdlib/ldiv.c (ldiv): Likewise.
10313 * stdlib/lldiv.c (lldiv): Likewise.
10314
977f4b31
SP
103152013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10316
10317 [BZ #16071]
10318 * nss/nss_files/files-XXX.c (get_contents_ret): New
10319 enumerator.
10320 (get_contents): New function.
10321 (internal_getent): Use it. Expand size of LINEBUFLEN.
10322
cb8a6dbd
MF
103232013-10-30 Mike Frysinger <vapier@gentoo.org>
10324
10325 * configure.in: Moved to ...
10326 * configure.ac: ... here. Change reference to configure.in
10327 to configure.ac.
10328 * sysdeps/arm/preconfigure.ac: ... here.
10329 configure.in to configure.ac.
10330 * sysdeps/gnu/configure.in: Moved to ...
10331 * sysdeps/gnu/configure.ac: ... here.
10332 * sysdeps/i386/configure.in: Moved to ...
10333 * sysdeps/i386/configure.ac: ... here.
10334 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10335 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10336 * sysdeps/mach/configure.in: Moved to ...
10337 * sysdeps/mach/configure.ac: ... here.
10338 * sysdeps/mach/hurd/configure.in: Moved to ...
10339 * sysdeps/mach/hurd/configure.ac: ... here.
10340 * sysdeps/powerpc/configure.in: Moved to ...
10341 * sysdeps/powerpc/configure.ac: ... here.
10342 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10343 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10344 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10345 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10346 * sysdeps/s390/s390-32/configure.in: Moved to ...
10347 * sysdeps/s390/s390-32/configure.ac: ... here.
10348 * sysdeps/s390/s390-64/configure.in: Moved to ...
10349 * sysdeps/s390/s390-64/configure.ac: ... here.
10350 * sysdeps/sh/configure.in: Moved to ...
10351 * sysdeps/sh/configure.ac: ... here.
10352 * sysdeps/sparc/configure.in: Moved to ...
10353 * sysdeps/sparc/configure.ac: ... here.
10354 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10355 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10356 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10357 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10358 * sysdeps/x86_64/configure.in: Moved to ...
10359 * sysdeps/x86_64/configure.ac: ... here.
10360 * sysdeps/x86_64/preconfigure.in: Moved to ...
10361 * sysdeps/x86_64/preconfigure.ac: ... here.
10362 * aclocal.m4: Change reference to configure.in to configure.ac.
10363 * config.h.in: Likewise.
10364 * manual/install.texi: Likewise.
10365 * manual/maint.texi: Likewise.
10366 * Makefile: Likewise.
10367 * malloc/Makefile: Likewise.
10368 * nscd/Makefile: Likewise.
10369 * Makeconfig: Change reference to configure.in and
10370 preconfigure.in to configure.ac and preconfigure.ac
10371 respectively.
10372 * INSTALL: Regenerated.
10373 * configure: Likewise.
10374 * sysdeps/gnu/configure: Likewise.
10375 * sysdeps/i386/configure: Likewise.
10376 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10377 * sysdeps/mach/configure: Likewise.
10378 * sysdeps/mach/hurd/configure: Likewise.
10379 * sysdeps/powerpc/configure: Likewise.
10380 * sysdeps/powerpc/powerpc32/configure: Likewise.
10381 * sysdeps/powerpc/powerpc64/configure: Likewise.
10382 * sysdeps/s390/s390-32/configure: Likewise.
10383 * sysdeps/s390/s390-64/configure: Likewise.
10384 * sysdeps/sh/configure: Likewise.
10385 * sysdeps/sparc/configure: Likewise.
10386 * sysdeps/unix/sysv/linux/configure: Likewise.
10387 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10388 * sysdeps/x86_64/configure: Likewise.
10389 * sysdeps/x86_64/preconfigure: Likewise.
10390
36a4953a
AS
103912013-10-29 Andreas Schwab <schwab@suse.de>
10392
10393 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10394
c79a1204
SP
103952013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10396
dfa1b402
SP
10397 * benchtests/pow-inputs: Add new inputs.
10398
54f73d9c
SP
10399 * benchtests/exp-inputs: Add new inputs.
10400
c79a1204
SP
10401 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10402 conditional check for return value.
10403 (__cos32): Likewise.
10404
67beb545 104052013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10406
10407 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10408 to provide a boost for large inputs with word alignment.
10409 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10410 implementation based on optimized PPC64 strcpy.
10411 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10412 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10413 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10414 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10415
151659f6
OB
104162013-10-25 Ondřej Bílka <neleai@seznam.cz>
10417
482a077e 10418 [BZ #2801]
151659f6
OB
10419 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10420
10b0f26b
OB
104212013-10-25 Ondřej Bílka <neleai@seznam.cz>
10422
10423 [BZ #14876]
10424 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10425 * time/tst-strptime.c (day_tests): Add testcase.
10426
ca42d35e
OB
104272013-10-25 Ondřej Bílka <neleai@seznam.cz>
10428
482a077e 10429 [BZ #14029]
ca42d35e
OB
10430 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10431
52e6d801
FB
104322013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10433
10434 [BZ #16074]
10435 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10436 MAP_FAILED on error.
10437
7cbcdb36
SP
104382013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10439
10440 [BZ #16072]
10441 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10442 heap for large requests.
10443
894f3f10
AM
104442013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10445
10446 [BZ #9954]
10447 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10448 result if the result has no associated interface.
10449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10450 interface for all 127.X.Y.Z addresses.
10451
b85545a6
CL
104522013-10-24 Chris Leonard <cjl@sugarlabs.org>
10453
10454 * locale/iso-639.def: Add Ligurian (lij)
10455
d1f23d46
OB
104562013-10-21 Ondřej Bílka <neleai@seznam.cz>
10457
10458 [BZ #15825]
10459 * sunrpc/rpc_main.c: Document rpcgen -5.
10460
4db5b08f
MS
104612013-10-19 Michael Stahl <mstahl@redhat.com>
10462
10463 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10464
a471e96a
OB
104652013-10-19 Ondřej Bílka <neleai@seznam.cz>
10466
d1f23d46 10467 [BZ #10278]
a471e96a
OB
10468 * posix/glob.c: Match only directories when trailing slash is present.
10469 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10470 (main): Add testcase.
10471
45c30c61
OB
104722013-10-19 Ondřej Bílka <neleai@seznam.cz>
10473
10474 [BZ #15670]
10475 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10476
484c12fb
CD
104772013-10-18 Carlos O'Donell <carlos@redhat.com>
10478
3d7dc513
CD
10479 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10480 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10481 AUTH_DES and cindex for FIPS 140-2.
10482 (DES Encryption): Add cindex FIPS 46-3.
10483
484c12fb
CD
10484 * locale/locarchive.h (struct locarhandle): Add fname.
10485 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10486 if an optional argument was specified to --list-archive,
10487 otherwise NULL.
10488 * locale/programs/locarchive.c (show_archive_content): Take new
10489 argument fname and pass it via ah.fname to open_archive.
10490 * locale/programs/localedef.h: Update decl.
10491 (open_archive): If AH->fname is non-null, open that file
10492 rather than the default file name, and don't ignore ENOENT.
10493 (create_archive): Set AH.fname to NULL.
10494 (delete_locales_from_archive): Likewise.
10495 (add_locales_to_archive): Likewise.
10496 * locale/programs/locfile.c (write_all_categories): Likewise.
10497
3c8325fb
JM
104982013-10-18 Joseph Myers <joseph@codesourcery.com>
10499 Aldy Hernandez <aldyh@redhat.com>
10500
10501 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10502 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10503 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10504 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10505 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10507 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10508 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10509 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10510 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10511 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10512 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10513 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10514 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10515 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10516 Likewise.
10517 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10518 Likewise.
10519 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10520 Likewise.
10521 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10522 Likewise.
10523 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10524 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10525 Likewise.
10526 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10527 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10528 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10529 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10530 Likewise.
10531 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10532 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10533 * sysdeps/powerpc/preconfigure: Likewise.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10535 Likewise.
10536 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10537 Replace contents of file by #include of <fenv_libc.h>.
10538 * sysdeps/powerpc/soft-fp/sfp-machine.h
10539 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10540 and <sys/prctl.h>.
10541 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10545 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10554 Allow copysignl PLT reference to be missing.
10555
5abe0682
RS
105562013-10-18 Richard Sandiford <richard@codesourcery.com>
10557 Joseph Myers <joseph@codesourcery.com
10558
10559 [BZ #15948]
10560 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10561 single character.
10562 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10563
c7738d08
SP
105642013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10565
10566 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10567 * elf/tst-tls1.c: Likewise.
10568 * elf/tst-tls10.h: Likewise.
10569 * elf/tst-tls14.c: Likewise.
10570 * elf/tst-tls2.c: Likewise.
10571 * elf/tst-tls3.c: Likewise.
10572 * elf/tst-tls4.c: Likewise.
10573 * elf/tst-tls5.c: Likewise.
10574 * elf/tst-tls6.c: Likewise.
10575 * elf/tst-tls7.c: Likewise.
10576 * elf/tst-tls8.c: Likewise.
10577 * elf/tst-tls9.c: Likewise.
10578 * elf/tst-tlsmod1.c: Likewise.
10579 * elf/tst-tlsmod13.c: Likewise.
10580 * elf/tst-tlsmod13a.c: Likewise.
10581 * elf/tst-tlsmod14a.c: Likewise.
10582 * elf/tst-tlsmod16a.c: Likewise.
10583 * elf/tst-tlsmod16b.c: Likewise.
10584 * elf/tst-tlsmod2.c: Likewise.
10585 * elf/tst-tlsmod3.c: Likewise.
10586 * elf/tst-tlsmod4.c: Likewise.
10587 * elf/tst-tlsmod5.c: Likewise.
10588 * elf/tst-tlsmod6.c: Likewise.
10589
0bfcf2c7
OB
105902013-10-18 Ondřej Bílka <neleai@seznam.cz>
10591
10592 [BZ #12486]
10593 * malloc/malloc.c: remove checks for statistics.
10594
264aad1e
OB
105952013-10-17 Ondřej Bílka <neleai@seznam.cz>
10596
10597 [BZ #15277]
10598 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10599 * inet/tst-network.c: Add testcase.
10600
b957ced8
AS
106012013-10-17 Andreas Schwab <schwab@suse.de>
10602
10603 [BZ #15218]
10604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10605 to determine canonical name.
10606
c5d5d574
OB
106072013-10-17 Ondřej Bílka <neleai@seznam.cz>
10608
10609 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10610 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10633 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10634 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10667
e5c2c2d0
JM
106682013-10-17 Joseph Myers <joseph@codesourcery.com>
10669
10670 [BZ #16041]
10671 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10672 make result into a quiet NaN.
10673
51ca9e29
JM
106742013-10-16 Joseph Myers <joseph@codesourcery.com>
10675
10676 * soft-fp/adddf3.c: Fix horizontal whitespace.
10677 * soft-fp/addsf3.c: Likewise.
10678 * soft-fp/addtf3.c: Likewise.
10679 * soft-fp/divdf3.c: Likewise.
10680 * soft-fp/divsf3.c: Likewise.
10681 * soft-fp/divtf3.c: Likewise.
10682 * soft-fp/double.h: Likewise.
10683 * soft-fp/eqdf2.c: Likewise.
10684 * soft-fp/eqsf2.c: Likewise.
10685 * soft-fp/eqtf2.c: Likewise.
10686 * soft-fp/extenddftf2.c: Likewise.
10687 * soft-fp/extended.h: Likewise.
10688 * soft-fp/extendsfdf2.c: Likewise.
10689 * soft-fp/extendsftf2.c: Likewise.
10690 * soft-fp/extendxftf2.c: Likewise.
10691 * soft-fp/fixdfdi.c: Likewise.
10692 * soft-fp/fixdfsi.c: Likewise.
10693 * soft-fp/fixdfti.c: Likewise.
10694 * soft-fp/fixsfdi.c: Likewise.
10695 * soft-fp/fixsfsi.c: Likewise.
10696 * soft-fp/fixsfti.c: Likewise.
10697 * soft-fp/fixtfdi.c: Likewise.
10698 * soft-fp/fixtfsi.c: Likewise.
10699 * soft-fp/fixtfti.c: Likewise.
10700 * soft-fp/fixunsdfdi.c: Likewise.
10701 * soft-fp/fixunsdfsi.c: Likewise.
10702 * soft-fp/fixunsdfti.c: Likewise.
10703 * soft-fp/fixunssfdi.c: Likewise.
10704 * soft-fp/fixunssfsi.c: Likewise.
10705 * soft-fp/fixunssfti.c: Likewise.
10706 * soft-fp/fixunstfdi.c: Likewise.
10707 * soft-fp/fixunstfsi.c: Likewise.
10708 * soft-fp/fixunstfti.c: Likewise.
10709 * soft-fp/floatdidf.c: Likewise.
10710 * soft-fp/floatdisf.c: Likewise.
10711 * soft-fp/floatditf.c: Likewise.
10712 * soft-fp/floatsidf.c: Likewise.
10713 * soft-fp/floatsisf.c: Likewise.
10714 * soft-fp/floatsitf.c: Likewise.
10715 * soft-fp/floattidf.c: Likewise.
10716 * soft-fp/floattisf.c: Likewise.
10717 * soft-fp/floattitf.c: Likewise.
10718 * soft-fp/floatundidf.c: Likewise.
10719 * soft-fp/floatundisf.c: Likewise.
10720 * soft-fp/floatunditf.c: Likewise.
10721 * soft-fp/floatunsidf.c: Likewise.
10722 * soft-fp/floatunsisf.c: Likewise.
10723 * soft-fp/floatunsitf.c: Likewise.
10724 * soft-fp/floatuntidf.c: Likewise.
10725 * soft-fp/floatuntisf.c: Likewise.
10726 * soft-fp/floatuntitf.c: Likewise.
10727 * soft-fp/fmadf4.c: Likewise.
10728 * soft-fp/fmasf4.c: Likewise.
10729 * soft-fp/fmatf4.c: Likewise.
10730 * soft-fp/gedf2.c: Likewise.
10731 * soft-fp/gesf2.c: Likewise.
10732 * soft-fp/getf2.c: Likewise.
10733 * soft-fp/ledf2.c: Likewise.
10734 * soft-fp/lesf2.c: Likewise.
10735 * soft-fp/letf2.c: Likewise.
10736 * soft-fp/muldf3.c: Likewise.
10737 * soft-fp/mulsf3.c: Likewise.
10738 * soft-fp/multf3.c: Likewise.
10739 * soft-fp/negdf2.c: Likewise.
10740 * soft-fp/negsf2.c: Likewise.
10741 * soft-fp/negtf2.c: Likewise.
10742 * soft-fp/op-1.h: Likewise.
10743 * soft-fp/op-2.h: Likewise.
10744 * soft-fp/op-4.h: Likewise.
10745 * soft-fp/op-8.h: Likewise.
10746 * soft-fp/op-common.h: Likewise.
10747 * soft-fp/quad.h: Likewise.
10748 * soft-fp/single.h: Likewise.
10749 * soft-fp/soft-fp.h: Likewise.
10750 * soft-fp/sqrtdf2.c: Likewise.
10751 * soft-fp/sqrtsf2.c: Likewise.
10752 * soft-fp/sqrttf2.c: Likewise.
10753 * soft-fp/subdf3.c: Likewise.
10754 * soft-fp/subsf3.c: Likewise.
10755 * soft-fp/subtf3.c: Likewise.
10756 * soft-fp/truncdfsf2.c: Likewise.
10757 * soft-fp/trunctfdf2.c: Likewise.
10758 * soft-fp/trunctfsf2.c: Likewise.
10759 * soft-fp/trunctfxf2.c: Likewise.
10760 * soft-fp/unorddf2.c: Likewise.
10761 * soft-fp/unordsf2.c: Likewise.
10762 * soft-fp/unordtf2.c: Likewise.
10763
9ebb0332
JM
107642013-10-15 Joseph Myers <joseph@codesourcery.com>
10765
10766 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10767 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10768
4b1a6d8b
OB
107692013-10-15 Ondřej Bílka <neleai@seznam.cz>
10770
10771 * elf/dl-libc.c: Clear initfini list after freeing.
10772
1e145589
JM
107732013-10-14 Joseph Myers <joseph@codesourcery.com>
10774
10775 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10776 * soft-fp/addsf3.c: Likewise.
10777 * soft-fp/addtf3.c: Likewise.
10778 * soft-fp/divdf3.c: Likewise.
10779 * soft-fp/divsf3.c: Likewise.
10780 * soft-fp/divtf3.c: Likewise.
10781 * soft-fp/double.h: Likewise.
10782 * soft-fp/eqdf2.c: Likewise.
10783 * soft-fp/eqsf2.c: Likewise.
10784 * soft-fp/eqtf2.c: Likewise.
10785 * soft-fp/extenddftf2.c: Likewise.
10786 * soft-fp/extended.h: Likewise.
10787 * soft-fp/extendsfdf2.c: Likewise.
10788 * soft-fp/extendsftf2.c: Likewise.
10789 * soft-fp/extendxftf2.c: Likewise.
10790 * soft-fp/fixdfdi.c: Likewise.
10791 * soft-fp/fixdfsi.c: Likewise.
10792 * soft-fp/fixdfti.c: Likewise.
10793 * soft-fp/fixsfdi.c: Likewise.
10794 * soft-fp/fixsfsi.c: Likewise.
10795 * soft-fp/fixsfti.c: Likewise.
10796 * soft-fp/fixtfdi.c: Likewise.
10797 * soft-fp/fixtfsi.c: Likewise.
10798 * soft-fp/fixtfti.c: Likewise.
10799 * soft-fp/fixunsdfdi.c: Likewise.
10800 * soft-fp/fixunsdfsi.c: Likewise.
10801 * soft-fp/fixunsdfti.c: Likewise.
10802 * soft-fp/fixunssfdi.c: Likewise.
10803 * soft-fp/fixunssfsi.c: Likewise.
10804 * soft-fp/fixunssfti.c: Likewise.
10805 * soft-fp/fixunstfdi.c: Likewise.
10806 * soft-fp/fixunstfsi.c: Likewise.
10807 * soft-fp/fixunstfti.c: Likewise.
10808 * soft-fp/floatdidf.c: Likewise.
10809 * soft-fp/floatdisf.c: Likewise.
10810 * soft-fp/floatditf.c: Likewise.
10811 * soft-fp/floatsidf.c: Likewise.
10812 * soft-fp/floatsisf.c: Likewise.
10813 * soft-fp/floatsitf.c: Likewise.
10814 * soft-fp/floattidf.c: Likewise.
10815 * soft-fp/floattisf.c: Likewise.
10816 * soft-fp/floattitf.c: Likewise.
10817 * soft-fp/floatundidf.c: Likewise.
10818 * soft-fp/floatundisf.c: Likewise.
10819 * soft-fp/floatunsidf.c: Likewise.
10820 * soft-fp/floatunsisf.c: Likewise.
10821 * soft-fp/floatuntidf.c: Likewise.
10822 * soft-fp/floatuntisf.c: Likewise.
10823 * soft-fp/floatuntitf.c: Likewise.
10824 * soft-fp/fmadf4.c: Likewise.
10825 * soft-fp/fmasf4.c: Likewise.
10826 * soft-fp/fmatf4.c: Likewise.
10827 * soft-fp/gedf2.c: Likewise.
10828 * soft-fp/gesf2.c: Likewise.
10829 * soft-fp/getf2.c: Likewise.
10830 * soft-fp/ledf2.c: Likewise.
10831 * soft-fp/lesf2.c: Likewise.
10832 * soft-fp/letf2.c: Likewise.
10833 * soft-fp/muldf3.c: Likewise.
10834 * soft-fp/mulsf3.c: Likewise.
10835 * soft-fp/multf3.c: Likewise.
10836 * soft-fp/negdf2.c: Likewise.
10837 * soft-fp/negsf2.c: Likewise.
10838 * soft-fp/negtf2.c: Likewise.
10839 * soft-fp/op-1.h: Likewise.
10840 * soft-fp/op-2.h: Likewise.
10841 * soft-fp/op-4.h: Likewise.
10842 * soft-fp/op-8.h: Likewise.
10843 * soft-fp/op-common.h: Likewise.
10844 * soft-fp/quad.h: Likewise.
10845 * soft-fp/single.h: Likewise.
10846 * soft-fp/soft-fp.h: Likewise.
10847 * soft-fp/sqrtdf2.c: Likewise.
10848 * soft-fp/sqrtsf2.c: Likewise.
10849 * soft-fp/sqrttf2.c: Likewise.
10850 * soft-fp/subdf3.c: Likewise.
10851 * soft-fp/subsf3.c: Likewise.
10852 * soft-fp/subtf3.c: Likewise.
10853 * soft-fp/truncdfsf2.c: Likewise.
10854 * soft-fp/trunctfdf2.c: Likewise.
10855 * soft-fp/trunctfsf2.c: Likewise.
10856 * soft-fp/trunctfxf2.c: Likewise.
10857 * soft-fp/unorddf2.c: Likewise.
10858 * soft-fp/unordsf2.c: Likewise.
10859 * soft-fp/unordtf2.c: Likewise.
10860
17c48a60
OB
108612013-10-14 Ondřej Bílka <neleai@seznam.cz>
10862
10863 [BZ #15672]
10864 * misc/error.c (error_tail): Fix possible buffer overflow.
10865
cabba934
OB
108662013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10867
10868 [BZ #13028]
10869 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10870 address.
10871
94bf958a
PM
108722013-10-14 P. J. McDermott <pj@pehjota.net>
10873
10874 [BZ #832]
10875 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10876 testing pipefail option.
10877
71b4dea7
JM
108782013-10-12 Joseph Myers <joseph@codesourcery.com>
10879
10880 * soft-fp/double.h: Indent preprocessor directives inside #if.
10881 * soft-fp/extended.h: Likewise.
10882 * soft-fp/op-2.h: Likewise.
10883 * soft-fp/op-4.h: Likewise.
10884 * soft-fp/op-common.h: Likewise.
10885 * soft-fp/quad.h: Likewise.
10886 * soft-fp/single.h: Likewise.
10887 * soft-fp/soft-fp.h: Likewise.
10888
55602758
YC
108892013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10890
10891 * iconv/iconv_prog.c: Fix typos.
10892 * stdio-common/psiginfo-data.h: Likewise.
10893
9cd83302
RT
108942013-10-12 Reuben Thomas <rrt@sc3d.org>
10895
10896 [BZ #15764]
10897 * locale/setlocale.c: Fix typo.
10898
99fd9f47
JM
108992013-10-12 Joseph Myers <joseph@codesourcery.com>
10900
b7ea74f0
JM
10901 [BZ #16036]
10902 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10903 signaling NaN arguments.
10904 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10905 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10906
8a509447
JM
10907 [BZ #14910]
10908 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10909 unordered operands.
10910 * soft-fp/gesf2.c (__gesf2): Likewise.
10911 * soft-fp/getf2.c (__getf2): Likewise.
10912 * soft-fp/ledf2.c (__ledf2): Likewise.
10913 * soft-fp/lesf2.c (__lesf2): Likewise.
10914 * soft-fp/letf2.c (__letf2): Likewise.
10915
98998e9f
JM
10916 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10917 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10918 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10919 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10920 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10921 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10922 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10923 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10924 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10925 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10926 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10927 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10928 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10929 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10930 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10931 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10932 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10933 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10934 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10935 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10936 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10937 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10938 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10939 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10940 * soft-fp/floattidf.c (__floattidf): Likewise.
10941 * soft-fp/floattisf.c (__floattisf): Likewise.
10942 * soft-fp/floattitf.c (__floattitf): Likewise.
10943 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10944 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10945 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10946 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10947 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10948 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10949 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10950 * soft-fp/gesf2.c (__gesf2): Likewise.
10951 * soft-fp/getf2.c (__getf2): Likewise.
10952 * soft-fp/ledf2.c (__ledf2): Likewise.
10953 * soft-fp/lesf2.c (__lesf2): Likewise.
10954 * soft-fp/letf2.c (__letf2): Likewise.
10955
8edc4a11
JM
10956 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10957 Undefine and redefine.
10958 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10959 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10960 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10961 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10962 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10963 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10964 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10965 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10966 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10967 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10968 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10969 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10970 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10971 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10972 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10973
8399acaf
JM
10974 [BZ #16032]
10975 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10976 without decrementing exponent if mantissa >= that for the
10977 denominator, not >.
10978 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10979 denominator, not >. Decrement exponent in < case instead of
10980 incrementing in >= case.
10981 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10982 without decrementing exponent if mantissa >= that for the
10983 denominator, not >.
10984
99fd9f47
JM
10985 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10986 computing saturated result for unsigned overflow.
10987
10e1cf6b
SP
109882013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10989 Jeff Law <law@redhat.com>
10990
10991 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10992 (atan2Mp): Add systemtap probe marker.
10993 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10994 (__ieee754_log): Add systemtap probe marker.
10995 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10996 (atanMp): Add systemtap probe marker.
10997 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10998 (tanMp): Add systemtap probe marker.
10999 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11000 (__slowexp): Add systemtap probe marker.
11001 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11002 (__slowpow): Add systemtap probe marker.
11003 * manual/probes.texi: Document probes.
11004
3d110c7c
EB
110052013-10-11 Eric Biggers <ebiggers3@gmail.com>
11006
11007 [BZ #15362]
11008 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11009 written.
11010 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11011 written.
11012 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11013 written to buffer but not flushed.
11014 * libio/iofwrite_u.c: Likewise.
11015 * libio/iopadn.c: Return bytes returned even if EOF was
11016 encountered.
11017 * libio/iowpadn.c: Likewise.
11018 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11019 if _IO_padn does not write the whole buffer.
11020 [!COMPILE_WPRINTF] (PAD): Likewise.
11021
75b4202a
DM
110222013-10-10 David S. Miller <davem@davemloft.net>
11023
11024 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11025 directory block.
11026
6c6352e6
JM
110272013-10-10 Joseph Myers <joseph@codesourcery.com>
11028
33b853c3
JM
11029 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11030 instead of FSF address.
11031 * soft-fp/fixdfti.c: Likewise.
11032 * soft-fp/fixsfti.c: Likewise.
11033 * soft-fp/fixtfti.c: Likewise.
11034 * soft-fp/fixunsdfti.c: Likewise.
11035 * soft-fp/fixunssfti.c: Likewise.
11036 * soft-fp/fixunstfti.c: Likewise.
11037 * soft-fp/floattidf.c: Likewise.
11038 * soft-fp/floattisf.c: Likewise.
11039 * soft-fp/floattitf.c: Likewise.
11040 * soft-fp/floatuntidf.c: Likewise.
11041 * soft-fp/floatuntisf.c: Likewise.
11042 * soft-fp/floatuntitf.c: Likewise.
11043 * soft-fp/trunctfxf2.c: Likewise.
11044
6c6352e6
JM
11045 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11046 * soft-fp/fixdfti.c: Likewise.
11047 * soft-fp/fixsfti.c: Likewise.
11048 * soft-fp/fixtfti.c: Likewise.
11049 * soft-fp/fixunsdfti.c: Likewise.
11050 * soft-fp/fixunssfti.c: Likewise.
11051 * soft-fp/fixunstfti.c: Likewise.
11052 * soft-fp/floattidf.c: Likewise.
11053 * soft-fp/floattisf.c: Likewise.
11054 * soft-fp/floattitf.c: Likewise.
11055 * soft-fp/floatuntidf.c: Likewise.
11056 * soft-fp/floatuntisf.c: Likewise.
11057 * soft-fp/floatuntitf.c: Likewise.
11058 * soft-fp/trunctfxf2.c: Likewise.
11059
3bf78b71
DM
110602013-10-10 David S. Miller <davem@davemloft.net>
11061
11062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11063
6f10289e
JM
110642013-10-10 Joseph Myers <joseph@codsourcery.com>
11065
bd878fc0
JM
11066 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11067 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11068 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11069 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11070 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11071 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11072 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11073
6f10289e
JM
11074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11075 for NaNs before doing comparisons on argument.
11076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11077 Likewise.
11078
321e2684
WN
110792013-10-10 Will Newton <will.newton@linaro.org>
11080
11081 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11082 passed to _int_memalign does not overflow.
11083
40fefba1
TR
110842013-10-10 Torvald Riegel <triegel@redhat.com>
11085
11086 * scripts/bench.pl: Add include-sources directive.
11087 * benchtests/README: Update documentation.
11088
2ae21ed2
JM
110892013-10-10 Joseph Myers <joseph@codesourcery.com>
11090
dcc2dd3f
JM
11091 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11092 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11093 instead of FP_INIT_ROUNDMODE.
11094 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11095 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11096
2ae21ed2
JM
11097 [BZ #16034]
11098 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11099 copy class of input value.
11100 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11101 not handle exceptions.
11102 * soft-fp/negsf2.c (__negsf2): Likewise.
11103 * soft-fp/negtf2.c (__negtf2): Likewise.
11104 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11105
cb8f9562
JM
111062013-10-09 Joseph Myers <joseph@codesourcery.com>
11107
11108 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11109 semicolon. From Linux kernel.
11110
5b60c59d
AB
111112013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11112
11113 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11114
b86835ca
YC
111152013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11116
11117 [BZ #156]
11118 * manual/socket.texi: Added statement about buffer
11119 for gethostbyname2_r.
11120
e7044ea7
OB
111212013-10-08 Ondřej Bílka <neleai@seznam.cz>
11122
11123 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11124 Use .p2align directive instead, throughout.
11125 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11126 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11127 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11130 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11131 * sysdeps/x86_64/strchr.S: Likewise.
11132 * sysdeps/x86_64/strrchr.S: Likewise.
11133
09544cbc
SP
111342013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11135
88576635
SP
11136 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11137
e7b2d1dd
SP
11138 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11139
09544cbc
SP
11140 * sysdeps/generic/math_private.h (__mpsin1): Remove
11141 declaration.
11142 (__mpcos1): Likewise.
11143 (__mpsin): New argument __range_reduce.
11144 (__mpcos): Likewise.
11145 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11146 (slow): Use __mpsin and __mpcos.
11147 (slow1): Likewise.
11148 (slow2): Likewise.
11149 (sloww): Likewise.
11150 (sloww1): Likewise.
11151 (sloww2): Likewise.
11152 (bsloww): Likewise.
11153 (bsloww1): Likewise.
11154 (bsloww2): Likewise.
11155 (cslow2): Likewise.
11156 (csloww): Likewise.
11157 (csloww1): Likewise.
11158 (csloww2): Likewise.
11159 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11160 range_reduce. Merge in __mpsin1.
11161 (__mpcos): Likewise.
11162 (__mpsin1): Remove.
11163 (__mpcos1): Likewise.
11164
7602d070
JM
111652013-10-07 Joseph Myers <joseph@codesourcery.com>
11166
11167 * locale/loadlocale.c (_nl_intern_locale_data): Use
11168 LOCFILE_ALIGNED_P.
11169 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11170 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11171 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11172 obstack data is appropriately aligned.
11173 (obstack_int32_grow_fast): Likewise.
11174 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11175 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11176 (add_locale_uint32_array): Likewise.
11177
a357259b
SP
111782013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11179
11180 * benchtests/Makefile: Remove ARGLIST and RET variables.
11181 ($(objpfx)bench-%.c): Pass only function name to the script.
11182 * benchtests/README: Update documentation.
11183 * benchtests/acos-inputs: Add new directives.
11184 * benchtests/acosh-inputs: Likewise.
11185 * benchtests/asin-inputs: Likewise.
11186 * benchtests/asinh-inputs: Likewise.
11187 * benchtests/atan-inputs: Likewise.
11188 * benchtests/atanh-inputs: Likewise.
11189 * benchtests/cos-inputs: Likewise.
11190 * benchtests/cosh-inputs: Likewise.
11191 * benchtests/exp-inputs: Likewise.
11192 * benchtests/log-inputs: Likewise.
11193 * benchtests/pow-inputs: Likewise.
11194 * benchtests/rint-inputs: Likewise.
11195 * benchtests/sin-inputs: Likewise.
11196 * benchtests/sinh-inputs: Likewise.
11197 * benchtests/tan-inputs: Likewise.
11198 * benchtests/tanh-inputs: Likewise.
11199 * scripts/bench.pl: Add support for new directives.
11200
9ec1b13d
AM
112012013-10-07 Alan Modra <amodra@gmail.com>
11202
11203 * README: Fix careless merge.
11204
8b7d57cd
AM
112052013-10-05 Alan Modra <amodra@gmail.com>
11206
11207 * NEWS: Mention powerpc64le support and bugs fixed.
11208 * README: Both big-endian and little-endian powerpc64 supported.
11209
7b7bab13
ST
112102013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11211
57f41c40
AS
11212 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11213 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11214 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11215 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11216
d39baad1
RA
112172013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11218
11219 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11220 match prototype.
11221
cd78f7e7
JM
112222013-10-04 Joseph Myers <joseph@codesourcery.com>
11223
29d73d86
JM
11224 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11225 Move -mhard-float appending from
11226 ports/sysdeps/powerpc/powerpc32/Makefile.
11227 [$(with-fp) = yes] (ASFLAGS): Likewise.
11228 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11229 * sysdeps/powerpc/nofpu: Move directory from
11230 ports/sysdeps/powerpc/nofpu.
11231 * sysdeps/powerpc/soft-fp: Move directory from
11232 ports/sysdeps/powerpc/soft-fp.
11233 * sysdeps/powerpc/powerpc32/405: Move directory from
11234 ports/sysdeps/powerpc/powerpc32/405.
11235 * sysdeps/powerpc/powerpc32/440: Move directory from
11236 ports/sysdeps/powerpc/powerpc32/440.
11237 * sysdeps/powerpc/powerpc32/464: Move directory from
11238 ports/sysdeps/powerpc/powerpc32/464.
11239 * sysdeps/powerpc/powerpc32/476: Move directory from
11240 ports/sysdeps/powerpc/powerpc32/476.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11244 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11248 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11250 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11251 * README: Update for powerpc-*-linux-gnu software floating point
11252 support in libc.
11253
e246b347
JM
11254 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11255 case to powerpc/powerpc32*.
11256 * sysdeps/unix/sysv/linux/configure: Regenerated.
11257
89c2003e
JM
11258 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11259 (_FPU_MASK_OM): Define as 0x04.
11260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11262 0x00c10080.
11263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11264 0x0000003c.
11265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11266
cd78f7e7
JM
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11268 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11269 getcontext_e500.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11271 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11272 setcontext_e500.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11274 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11275 and setcontext_e500.
11276
c755294d
CL
112772013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11278
11279 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11280
e16d221c
SP
112812013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11282
11283 * manual/threads.texi (Default Thread Attributes): Fix typo.
11284
215c7d43
WN
112852013-10-04 Will Newton <will.newton@linaro.org>
11286
11287 * malloc/Makefile: Add tst-memalign.
11288 * malloc/tst-memalign.c: New file.
11289
27d0461b
WN
11290 * malloc/tst-posix_memalign.c: Add comments.
11291 (do_test): Add comments and call free on all potentially
11292 allocated pointers. Add space after cast.
11293
1bc92709
WN
11294 * malloc/tst-pvalloc.c: Add comments.
11295 (do_test): Add comments and call free on all potentially
11296 allocated pointers. Remove duplicate check for NULL pointer.
11297 Add space after cast.
11298
66a9be9d
WN
11299 * malloc/tst-valloc.c: Add comments.
11300 (do_test): Add comments and call free on all potentially
11301 allocated pointers. Remove duplicate check for NULL pointer.
11302 Add space after cast.
11303
4cb81307
AM
113042013-10-04 Alan Modra <amodra@gmail.com>
11305
11306 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11307 Use stdint types in rather than __attribute__((mode())).
11308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11309
f8e3e9f3
AM
113102013-10-04 Alan Modra <amodra@gmail.com>
11311
11312 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11313 Correct handling of unaligned relocs for little-endian.
11314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11315
8f9ebb08
AM
113162013-10-04 Alan Modra <amodra@gmail.com>
11317
11318 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11319 * configure: Regenerate.
11320 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11321 * shlib-versions: Likewise.
11322
0edf96c2
AM
113232013-10-04 Alan Modra <amodra@gmail.com>
11324
11325 * string/tester.c (test_memrchr): Increment reported test cycle.
11326
e0f7a380
AM
113272013-10-04 Alan Modra <amodra@gmail.com>
11328
11329 * string/test-memcpy.c (do_one_test): When reporting errors, print
11330 string address and don't overrun end of string.
11331
466b0393
AM
113322013-10-04 Alan Modra <amodra@gmail.com>
11333
11334 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11335 insrdi. Make better use of reg selection to speed exit slightly.
11336 Schedule entry path a little better. Remove useless "are we done"
11337 checks on entry to main loop. Handle wrapping around zero address.
11338 Correct main loop count. Handle single left-over word from main
11339 loop inline rather than by using loop_small. Remove extra word
11340 case in loop_small caused by wrong loop count. Add little-endian
11341 support.
11342 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11343 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11344 cache hint.
11345 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11346 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11347 support. Avoid rlwimi.
11348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11349
3be87c77
AM
113502013-10-04 Alan Modra <amodra@gmail.com>
11351
11352 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11353 insrdi. Formatting.
3be87c77
AM
11354 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11355 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11356 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11357 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11358 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11359 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11360
759cfef3
AM
113612013-10-04 Alan Modra <amodra@gmail.com>
11362
11363 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11364 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11367 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11369 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11371 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11372 use of regs. Use power7 mtocrf. Tidy function tails.
11373
fe6e95d7
AM
113742013-10-04 Alan Modra <amodra@gmail.com>
11375
11376 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11377 Formatting. Consistently use rXXX register defines or rN defines.
11378 Use early exit labels that avoid restoring unused non-volatile regs.
11379 Make cr field use more consistent with rWORDn compares. Rename
11380 regs used as shift registers for unaligned loop, using rN defines
11381 for short lifetime/multiple use regs.
11382 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11383 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11384 addi 1,1,64 to pop stack frame. Simplify return value code.
11385 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11386
664318c3
AM
113872013-10-04 Alan Modra <amodra@gmail.com>
11388
11389 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11390 support. Correct typos, formatting. Optimize tail. Use insrdi
11391 rather than rlwimi.
11392 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11393 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11394 little-endian support. Correct typos.
11395 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11396 rather than rlwimi.
11397 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11398 in loop and entry code to keep "and." results.
11399 (strchr): Add little-endian support. Comment. Move cntlzd
11400 earlier in tail.
11401 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11402
43b84013
AM
114032013-10-04 Alan Modra <amodra@gmail.com>
11404
11405 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11406 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11407 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11409
8a7413f9
AM
114102013-10-04 Alan Modra <amodra@gmail.com>
11411
11412 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11413 (rTMP): Define as r11.
11414 (strcmp): Add little-endian support. Optimise tail.
11415 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11416 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11417 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11419 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11422
33ee81de
AM
114232013-10-04 Alan Modra <amodra@gmail.com>
11424
11425 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11426 little-endian support. Remove unnecessary "are we done" tests.
11427 Handle "s" wrapping around zero and extremely large "size".
11428 Correct main loop count. Handle single left-over word from main
11429 loop inline rather than by using small_loop. Correct comments.
11430 Delete "zero" tail, use "end_max" instead.
11431 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11432
db9b4570
AM
114332013-10-04 Alan Modra <amodra@gmail.com>
11434
11435 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11436 support. Don't branch over align.
11437 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11438 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11439 support. Rearrange tmp reg use to suit. Comment.
11440 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11441
f7c399cf
AM
114422013-10-04 Alan Modra <amodra@gmail.com>
11443
11444 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11445
0b2c2ace
AM
114462013-10-04 Alan Modra <amodra@gmail.com>
11447
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11449 conditional form of branch and link when obtaining pc.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11451
02f04a6c
AM
114522013-10-04 Alan Modra <amodra@gmail.com>
11453
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11455 HIWORD/LOWORD.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11458
9b874b2f
AM
114592013-10-04 Alan Modra <amodra@gmail.com>
11460
11461 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11462 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11463 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11464 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11465 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11466 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11467 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11468 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11469 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11470 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11471
be1e5d31
AB
114722013-10-04 Anton Blanchard <anton@au1.ibm.com>
11473 Alistair Popple <alistair@ozlabs.au.ibm.com>
11474 Alan Modra <amodra@gmail.com>
11475
11476 [BZ #15723]
11477 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11479 _dl_hwcap access for little-endian.
11480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11481 destroy vmx regs when saving unaligned.
11482 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11483 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11484 destroy vmx regs when saving unaligned.
11485
fef13a78
AM
114862013-10-04 Alan Modra <amodra@gmail.com>
11487
11488 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11489 Don't use a union to pack hi/low value.
11490
76a66d51
AB
114912013-10-04 Anton Blanchard <anton@au1.ibm.com>
11492
11493 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11494 for little-endian.
11495 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11497 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11498 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11499 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11500
6a31fe7f
AM
115012013-10-04 Alan Modra <amodra@gmail.com>
11502
11503 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11504 constants to usual value for .cst8 section, and remove redundant
11505 high address load.
11506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11507 constant for 0x1p52. Load little-endian words of double from
11508 correct stack offsets.
11509
7b88401f
AM
115102013-10-04 Alan Modra <amodra@gmail.com>
11511
11512 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11513 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11514 words of double from correct stack offsets.
11515 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11516 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11517 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11519 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11521 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11522 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11523 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11526 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11527 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11529 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11530 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11531 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11532
9c008155
AM
115332013-10-04 Alan Modra <amodra@gmail.com>
11534
11535 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11536 64-bit int/double union.
11537 (_FPU_SETCW): Likewise.
11538 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11539 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11540
da13146d
AM
115412013-10-04 Alan Modra <amodra@gmail.com>
11542
11543 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11544 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11545
603e8410
AM
115462013-10-04 Alan Modra <amodra@gmail.com>
11547
11548 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11549 use vector int constants.
11550 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11551
4a28b3ca
AB
115522013-10-04 Anton Blanchard <anton@au1.ibm.com>
11553
11554 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11555 array with long long.
11556 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11557 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11558 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11559 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11560 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11561 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11562 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11563 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11564 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11565 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11566 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11567 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11568 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11569
2ca85d2b
AB
115702013-10-04 Anton Blanchard <anton@au1.ibm.com>
11571
11572 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11573 (__signbit): Likewise. Correct for little-endian.
11574 (__signbitl): Call __signbit.
11575 (lrint): Correct for little-endian.
11576 (lrintf): Call lrint.
11577
62a728ae
AM
115782013-10-04 Alan Modra <amodra@gmail.com>
11579
11580 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11581 union 32-bit int array member with 64-bit int array.
11582 (t515, tm256): Double rather than long double.
11583 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11584
32c301df
AM
115852013-10-04 Alan Modra <amodra@gmail.com>
11586
11587 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11588 Delete.
11589 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11591 version of math_ldbl.h.
11592
650ef4bd
AM
115932013-10-04 Alan Modra <amodra@gmail.com>
11594
11595 [BZ #15734], [BZ #15735]
11596 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11597 all uses of ieee875 long double macros and unions. Simplify test
11598 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11599 ldbl_extract_mantissa value for ix,iy exponents. Properly
11600 normalize after ldbl_extract_mantissa, and don't add hidden bit
11601 already handled. Don't treat low word of ieee854 mantissa like
11602 low word of IBM long double and mask off bit when testing for
11603 zero.
11604 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11605 all uses of ieee875 long double macros and unions. Simplify tests
11606 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11607 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11608 two1022, instead use their values. Recognise that tests for large
11609 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11611 Rewrite all uses of ieee875 long double macros and unions. Simplify
11612 test for 0.0L and nan. Correct negation.
11613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11614 ieee875 long double macros and unions. Correct output for large
11615 magnitude x. Correct absolute value calculation.
11616 (__erfcl): Likewise.
11617 * math/libm-test.inc: Add tests for errors discovered in IBM long
11618 double versions of fmodl, remainderl, erfl and erfcl.
11619
765714ca
AM
116202013-10-04 Alan Modra <amodra@gmail.com>
11621
11622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11623 all uses of ieee854 long double macros and unions. Simplify tests
11624 for long doubles that are fully specified by the high double.
11625 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11626 Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11628 Remove dead code too.
11629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11630 (__ieee754_ynl): Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11634 Remove dead code too.
11635 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11639 Simplify.
11640 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11641 Simplify.
11642 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11645 Comment on variable precision.
11646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11648 Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11653 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11654
4ebd120c
AM
116552013-10-04 Alan Modra <amodra@gmail.com>
11656
11657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11658 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11659 all uses of ieee854 long double macros and unions.
11660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11664 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11666 Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11673 Simplify sign and nan test too.
11674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11677 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11678 Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11681 Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11688
1b6adf88
AM
116892013-10-04 Alan Modra <amodra@gmail.com>
11690
11691 * stdio-common/printf_size.c (__printf_size): Don't use
11692 union ieee854_long_double in fpnum union.
11693 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11694 signbit macro to retrieve sign from long double.
11695 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11696 retrieve sign from long double.
11697 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11698 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11699 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11700 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11701 * math/test-misc.c (main): Don't use union ieee854_long_double.
11702
4cf69995
AM
117032013-10-04 Alan Modra <amodra@gmail.com>
11704
11705 [BZ #15680]
11706 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11708 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11709 calculation. Remove unnecessary test for denormal exponent.
11710 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11711 Correct handling of denormals. Avoid undefined shift behaviour.
11712 Correct normalisation of low mantissa when low double is denormal.
11713 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11714 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11715 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11716 Correct normalisation of low mantissa. Test for overflow of high
11717 mantissa and normalise.
11718 (ldbl_nearbyint): Use more readable constant for two52.
11719 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11720 (__mpn_construct_long_double): Fix test for overflow of high
11721 mantissa and correct normalisation. Avoid undefined shift.
11722
9605ca6c
AM
117232013-10-04 Alan Modra <amodra@gmail.com>
11724
11725 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11726 (union ibm_extended_long_double): Define as an array of ieee754_double.
11727 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11728 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11729 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11730 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11738
975569d0
JM
117392013-10-03 Joseph Myers <joseph@codesourcery.com>
11740
d3d23756
JM
11741 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11742 page size instead of calling getpagesize.
11743
975569d0
JM
11744 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11745 (LOCFILE_ALIGN_MASK): Likewise.
11746 (LOCFILE_ALIGN_UP): Likewise.
11747 (LOCFILE_ALIGNED_P): Likewise.
11748 * locale/programs/ld-collate.c (collate_output): Use the new
11749 macros instead of __alignof__ (int32_t).
11750 * locale/weight.h (findidx): Likewise.
11751
b1fe1f2b
OB
117522013-10-03 Ondřej Bílka <neleai@seznam.cz>
11753
11754 [BZ #431]
11755 * manual/string.texi: Fix strncat and wcsncat.
11756
5f855e35
BM
117572013-10-03 Brooks Moses <bmoses@google.com>
11758
11759 [BZ #15915]
11760 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11761 * Makerules: ...here, and adjust associated comments.
11762
3cef6009
WN
117632013-10-02 Will Newton <will.newton@linaro.org>
11764
11765 * malloc/Makefile: Add tst-pvalloc.
11766 * malloc/tst-pvalloc.c: New file.
11767
7815420b
WN
117682013-10-02 Will Newton <will.newton@linaro.org>
11769
11770 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11771 improve test coverage.
11772
4868b204
WN
117732013-10-02 Will Newton <will.newton@linaro.org>
11774
11775 * malloc/Makefile: Add tst-posix_memalign.
11776 * malloc/tst-posix_memalign.c: New file.
11777
29c793b3
EB
117782013-10-01 Eric Blake <eblake@redhat.com>
11779
11780 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11781 Use __THROWNL rather than __THROW on static functions.
11782
fd967522
PM
117832013-09-30 Petr Machata <pmachata@redhat.com>
11784
11785 * elf/elf.h (R_AARCH64_ABS16): New macro.
11786 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11787 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11788 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11789 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11790 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11791 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11792 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11793 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11794 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11795 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11796 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11797 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11798 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11799 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11800 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11801 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11802 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11803 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11804 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11805 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11806 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11807 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11808 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11809 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11810 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11811 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11812 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11813 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11814 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11815 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11816 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11817 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11818 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11819 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11820 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11821 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11822 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11823 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11824 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11825 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11826 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11827 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11828 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11829 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11830 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11831 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11832 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11833 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11834 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11835 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11836 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11837 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11838 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11839 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11840 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11841 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11842 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11843 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11844 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11845 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11846 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11847 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11848 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11849 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11850 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11851 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11852 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11853 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11854 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11855 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11856 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11857 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11858 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11859 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11860 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11861 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11862 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11863 (R_AARCH64_TLSDESC_LDR): Likewise.
11864 (R_AARCH64_TLSDESC_ADD): Likewise.
11865 (R_AARCH64_TLSDESC_CALL): Likewise.
11866
b2179107
AS
118672013-09-30 Andreas Schwab <schwab@suse.de>
11868
11869 [BZ #15048]
11870 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11871 the nss database lookup.
11872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11874
47f28d0a
MF
118752013-09-28 Mike Frysinger <vapier@gentoo.org>
11876
11877 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11878
118792013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11880
11881 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11882 ${Bash-specific parameter/pattern/string} parameter expansion.
11883 * sysdeps/unix/make-syscalls.sh: Likewise.
11884
f4518a17
KK
118852013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11886
11887 * sysdeps/sh/stackguard-macros.h: New file.
11888
dc1a95c7
OB
118892013-09-26 Ondřej Bílka <neleai@seznam.cz>
11890
11891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11893 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11894 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11895 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11896 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11897
5ebbff8f
AZ
118982013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11899
11900 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11901 Fix thread ID register.
11902
4fd2cf9f
JM
119032013-09-25 Joseph Myers <joseph@codesourcery.com>
11904
11905 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11906 [POSIX || UNIX98]: Require rather than permitting all symbols from
11907 <time.h>.
11908 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11909 element of struct sched_param.
11910 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11911 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11912 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11913 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11914 constant.
11915
12c22bc4
OL
119162013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11917
11918 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11919 argument calculation.
11920
a03d8ea7
JM
119212013-09-24 Joseph Myers <joseph@codesourcery.com>
11922
11923 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11924 Expect macro.
11925 [POSIX] (pthread_attr_t): Do not require type.
11926 [POSIX] (pthread_cond_t): Likewise.
11927 [POSIX] (pthread_condattr_t): Likewise.
11928 [POSIX] (pthread_key_t): Likewise.
11929 [POSIX] (pthread_mutex_t): Likewise.
11930 [POSIX] (pthread_mutexattr_t): Likewise.
11931 [POSIX] (pthread_once_t): Likewise.
11932 [POSIX] (pthread_t): Likewise.
11933 [POSIX-based standards] (pthread_atfork): Expect function.
11934
6055173a
JM
119352013-09-24 Joseph Myers <joseph@codesourcery.com>
11936 Richard Sandiford <richard@codesourcery.com>
11937
11938 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11939 (swap_endianness_p): New extern variable.
11940 (set_big_endian): New inline function.
11941 (maybe_swap_uint32): Likewise.
11942 (maybe_swap_uint32_array): Likewise.
11943 (maybe_swap_uint32_obstack): Likewise.
11944 * locale/programs/locfile.c: Include <stdbool.h>.
11945 (swap_endianness_p): New variable.
11946 (add_locale_uint32): Call maybe_swap_uint32.
11947 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11948 (write_locale_data): Call maybe_swap_uint32_array.
11949 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11950 maybe_swap_uint32.
11951 (obstack_int32_grow_fast): Likewise.
11952 (output_weightwc): Call maybe_swap_uint32_obstack.
11953 (collate_output): Likewise.
11954 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11955 (OPT_LITTLE_ENDIAN): Likewise.
11956 (options): Add --little-endian and --big-endian options.
11957 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11958 * locale/programs/locarchive.c: Include "locfile.h".
11959 (GET): New macro.
11960 (SET): Likewise.
11961 (INC): Likewise.
11962 (create_archive): Use the new macros to access fields of
11963 structures directly mapped from or written to locale archives.
11964 (oldlocrecentcmp): Likewise.
11965 (enlarge_archive): Likewise.
11966 (insert_name): Likewise.
11967 (add_alias): Likewise.
11968 (add_locale): Likewise.
11969 (delete_locales_from_archive): Likewise.
11970 (show_archive_content): Likewise.
11971 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11972 locale data.
11973
39bf0bb4
RM
119742013-09-24 Roland McGrath <roland@hack.frob.com>
11975
11976 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11977 http://www.gnu.org/doc/freemanuals.texi.
11978 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11979
f02eed10
WN
119802013-09-24 Will Newton <will.newton@linaro.org>
11981
11982 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11983 macro.
11984
a3a6c312
JM
119852013-09-23 Joseph Myers <joseph@codesourcery.com>
11986
11987 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11988 unsigned char.
11989
107375ac
MR
119902013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11991
11992 * manual/threads.texi (POSIX Threads): Fix a typo.
11993
141f3a77
SP
119942013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11995
303e567a
SP
11996 [BZ #14547]
11997 * string/tst-strcoll-overflow.c: New test case.
11998 * string/Makefile (xtests): Add tst-strcoll-overflow.
11999 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12000 cache if string sizes may cause integer overflow.
12001
141f3a77
SP
12002 [BZ #14547]
12003 * string/strcoll_l.c (coll_seq): New members rule, idx,
12004 save_idx and back_us.
12005 (get_next_seq_nocache): New function.
12006 (do_compare_nocache): New function.
12007 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12008 when malloc fails.
12009
c61b4d41
CD
120102013-09-23 Carlos O'Donell <carlos@redhat.com>
12011
0b1f8e35
CD
12012 [BZ #15754]
12013 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12014 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12015 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12016
c61b4d41
CD
12017 [BZ #15754]
12018 * elf/Makefile (tests): Add tst-ptrguard1.
12019 (tests-static): Add tst-ptrguard1-static.
12020 (tst-ptrguard1-ARGS): Define.
12021 (tst-ptrguard1-static-ARGS): Define.
12022 * elf/tst-ptrguard1.c: New file.
12023 * elf/tst-ptrguard1-static.c: New file.
12024 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12025 * sysdeps/i386/stackguard-macros.h: Likewise.
12026 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12027 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12028 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12029 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12030 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12031 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12032
120332013-09-23 Hector Marco <hecmargi@upv.es>
12034 Ismael Ripoll <iripoll@disca.upv.es>
12035 Carlos O'Donell <carlos@redhat.com>
12036
12037 [BZ #15754]
12038 * sysdeps/generic/stackguard-macros.h: Define
12039 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12040 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12041 Define __pointer_chk_guard_local.
12042 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12043 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12044
f5f4e7b4
VV
120452013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12046
12047 [BZ #15859]
12048 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12049
5bb43a43
AS
120502013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12051
12052 * include/string.h (__ffs): Declare as hidden.
12053 * string/ffs.c (__ffs): Define as hidden.
12054 * sysdeps/i386/ffs.c (__ffs): Likewise.
12055 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12056 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12057 * sysdeps/s390/ffs.c (__ffs): Likewise.
12058 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12059
3ea5be54
AO
120602013-09-20 Alexandre Oliva <aoliva@redhat.com>
12061
ffb89e53
AO
12062 * NEWS: Mention malloc probes.
12063
322dea08
AO
12064 * malloc/arena.c (new_heap): New memory_heap_new probe.
12065 (grow_heap): New memory_heap_more probe.
12066 (shrink_heap): New memory_heap_less probe.
12067 (heap_trim): New memory_heap_free probe.
12068 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12069 (systrim): New memory_sbrk_less probe.
12070 * manual/probes.texi: Document them.
12071
655673f3
AO
12072 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12073 * manual/probes.texi: Document it.
12074
35fed6f1
AO
12075 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12076 (__libc_realloc): Add memory_realloc_retry probe.
12077 (__libc_memalign): Add memory_memalign_retry probe.
12078 (__libc_valloc): Add memory_valloc_retry probe.
12079 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12080 (__libc_calloc): Add memory_calloc_retry probe.
12081 * manual/probes.texi: Document them.
12082
6999d38c
AO
12083 * malloc/arena.c (get_free_list): Add probe
12084 memory_arena_reuse_free_list.
12085 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12086 and memory_arena_reuse.
12087 (arena_get2) [!PER_THREAD]: Likewise.
12088 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12089 memory_arena_reuse_realloc.
12090 * manual/probes.texi: Document them.
12091
0653427f
AO
12092 * malloc/malloc.c (__libc_free): Add
12093 memory_mallopt_free_dyn_thresholds probe.
12094 (__libc_mallopt): Add multiple memory_mallopt probes.
12095 * manual/probes.texi: Document them.
12096
3ea5be54
AO
12097 * malloc/malloc.c: Include stap-probe.h.
12098 (__libc_mallopt): Add memory_mallopt probe.
12099 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12100 * manual/probes.texi: New.
12101 * manual/Makefile (chapters): Add probes.
12102 * manual/threads.texi: Set next node.
12103
e35696c3 121042013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12105
e35696c3
CL
12106 [BZ #15963, #13985]
12107 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12108 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12109 Add `Chinese' to `nan' entry name.
12110
4aafb73c
SP
121112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12112
12113 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12114 (POLYNOMIAL): Likewise.
12115 (TAYLOR_SINCOS): Likewise.
12116 (TAYLOR_SLOW): Likewise.
12117 (__sin): Use TAYLOR_SINCOS.
12118 (__cos): Likewise.
12119 (slow): Use TAYLOR_SLOW.
12120 (sloww): Likewise.
12121 (bsloww): Likewise.
12122 (csloww): Likewise.
12123
d84f25c7
LD
121242013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12125
12126 * stdlib/strtod_l.c: Fix buffer overrun.
12127
5eea0404
SP
121282013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12129
7849ff93
SP
12130 * benchtests/Makefile (bench): Add sincos.
12131 * benchtests/bench-sincos.c: New file.
12132
cfa3c886
SP
12133 * math/libm-test.inc (cos_test_data): New test inputs.
12134 (sin_test_data): Likewise.
12135
b348e1e3
SP
12136 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12137 macro.
12138 (__sin): Use it.
12139 (__cos): Likewise.
12140 (slow1): Likewise.
12141 (slow2): Likewise.
12142 (sloww1): Likewise.
12143 (sloww2): Likewise.
12144 (bsloww1): Likewise.
12145 (bsloww2): Likewise.
12146 (cslow2): Likewise.
12147 (csloww1): Likewise.
12148 (csloww2): Likewise.
12149
6cce25f8
SP
12150 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12151 function.
12152 (__sin): Use it.
12153 (__cos): Likewise.
12154
5eea0404
SP
12155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12156 gotos.
12157 (__cos): Likewise.
12158
9c21573c
MR
121592013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12160
12161 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12162 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12163 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12164 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12165 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12166 * elf/cache.c (print_entry): Handle the new cache flags.
12167
24d22e65
JM
121682013-09-18 Joseph Myers <joseph@codesourcery.com>
12169 Aldy Hernandez <aldyh@redhat.com>
12170
12171 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12172 Change condition to [_SOFT_FLOAT].
12173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12185 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12188 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12189 declaration.
12190
d13ef066
JM
121912013-09-18 Joseph Myers <joseph@codesourcery.com>
12192
2e071de0
JM
12193 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12194 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12195 (__longjmp): Use LOAD_GP to load saved GPRs.
12196 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12197 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12198 (__sigsetjmp): Use SAVE_GP to save GPRs.
12199
d13ef066
JM
12200 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12201 Do not append -msoft-float.
12202 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12203
97a0650b
SP
122042013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12205
12206 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12207
11ca09e9
JM
122082013-09-17 Joseph Myers <joseph@codesourcery.com>
12209
12210 [BZ #15966]
12211 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12212 (_FPU_GETCW): Use initial "__" on variable and field names but not
12213 on macro parameter name.
12214 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12215 parentheses around reference to macro parameter.
12216
08ffcf34
RS
122172013-09-13 Richard Sandiford <richard@codesourcery.com>
12218
12219 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12220 prototype.
12221 (ctype_startup): Use uint32_t in cast and sizeof for
12222 ctype->charnames.
12223
ae7080d3
JL
122242013-09-11 Jia Liu <proljc@gmail.com>
12225
12226 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12227 __daddr_t_defined.
12228 [__FreeBSD__]: Likewise.
12229
5905e7b3
OB
122302013-09-11 Ondřej Bílka <neleai@seznam.cz>
12231
12232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12233 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12234 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12235 (strchr): Remove __strchr_sse42 ifunc selection.
12236 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12237 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12238
b987c776
WN
122392013-09-11 Will Newton <will.newton@linaro.org>
12240
12241 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12242 parameter to RES. Remove hardcoded 1000 value.
12243 * benchtests/bench-skeleton.c (main): Pass RES parameter
12244 to TIMING_INIT and multiply result by 1000.
12245
ddf985af
AZ
122462013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12247
12248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12249
ffdd3181
AS
122502013-09-11 Andreas Schwab <schwab@suse.de>
12251
12252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12253 if not defined.
12254 (O_TMPFILE) [__USE_GNU]: Define.
12255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12256 Define.
12257
b73ed247
WN
122582013-09-11 Will Newton <will.newton@linaro.org>
12259
12260 [BZ #15857]
12261 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12262 does not overflow.
12263
55e17aad
WN
122642013-09-11 Will Newton <will.newton@linaro.org>
12265
12266 [BZ #15856]
12267 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12268 does not overflow.
12269
1159a193
WN
122702013-09-11 Will Newton <will.newton@linaro.org>
12271
12272 [BZ #15855]
12273 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12274 does not overflow.
12275
5905e7b3 122762013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12277
12278 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12279 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12283
cdfc721b
AM
122842013-09-10 Allan McRae <allan@archlinux.org>
12285
aa04af00
AM
12286 [BZ #15748]
12287 * manual/arith.texi (Parsing of Floats): Clarify
12288 cross-reference.
12289
cdfc721b
AM
12290 [BZ #15849]
12291 * manual/install.texi (Running make install): Mention
12292 --enable-pt-chown.
12293 * INSTALL: Regenerated.
12294
95e7cf29
MR
122952013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12296
12297 * csu/init-first.c (_init): Remove the !SHARED condition around
12298 FPU control word initialization.
12299 * elf/dl-support.c (_dl_fpu_control): New variable.
12300 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12301 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12302 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12303 * math/test-fpucw-static.c: New file.
12304 * math/test-fpucw-ieee.c: New file.
12305 * math/test-fpucw-ieee-static.c: New file.
12306 * math/Makefile (tests): Add `test-fpucw-ieee' and
12307 `$(tests-static)'.
12308 (tests-static): New variable.
12309 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12310 dependency to...
12311 [($(build-shared),yes)]
12312 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12313 ... this.
12314 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12315 New dependency.
12316
83e43bf0
AM
123172013-09-09 Allan McRae <allan@archlinux.org>
12318
a9f5ce09
AM
12319 [BZ #15939]
12320 * manual/string.texi (Collation Functions): Fix typo in
12321 strcoll example.
12322 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12323
34829bc2
AM
12324 [BZ #15893]
12325 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12326
3932737d
AM
12327 [BZ #15892]
12328 * libio/memstream.c (open_memstream): Fix memory leak.
12329 * libio/wmemstream.c (open_wmemstream): Likewise.
12330
83e43bf0
AM
12331 [BZ #15895]
12332 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12333
0c66b8e9
WN
123342013-09-09 Will Newton <will.newton@linaro.org>
12335
12336 * malloc/Makefile: Add tst-realloc to tests.
12337 * malloc/tst-realloc.c: New file.
12338
f6b00fd1
AM
123392013-09-09 Allan McRae <allan@archlinux.org>
12340
12341 [BZ #15844]
12342 * COPYING: Update from GNU website to fix FSF address.
12343 * COPYING.LIB: Likewise.
12344
eec55e16
DM
123452013-09-06 David S. Miller <davem@davemloft.net>
12346
12347 * po/zh_TW.po: Update Chinese (traditional) translation from
12348 translation project.
12349
1ecbb381
RS
123502013-09-06 Richard Sandiford <richard@codesourcery.com>
12351 Joseph Myers <joseph@codesourcery.com>
12352
12353 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12354 "localeinfo.h".
12355 (obstack_chunk_alloc): New macro.
12356 (obstack_chunk_free): Likewise.
12357 (record_offset): New function.
12358 (init_locale_data): Likewise.
12359 (align_locale_data): Likewise.
12360 (add_locale_empty): Likewise.
12361 (add_locale_raw_data): Likewise.
12362 (add_locale_raw_obstack): Likewise.
12363 (add_locale_string): Likewise.
12364 (add_locale_wstring): Likewise.
12365 (add_locale_uint32): Likewise.
12366 (add_locale_uint32_array): Likewise.
12367 (add_locale_char): Likewise.
12368 (start_locale_structure): Likewise.
12369 (end_locale_structure): Likewise.
12370 (start_locale_prelude): Likewise.
12371 (end_locale_prelude): Likewise.
12372 (write_locale_data): Take locale_file structure rather than an
12373 iovec.
12374 * locale/programs/locfile.h: Include "obstack.h".
12375 (struct locale_file): Change to store locale file contents instead
12376 of header.
12377 (init_locale_data): New prototype.
12378 (align_locale_data): Likewise.
12379 (add_locale_empty): Likewise.
12380 (add_locale_raw_data): Likewise.
12381 (add_locale_raw_obstack): Likewise.
12382 (add_locale_string): Likewise.
12383 (add_locale_wstring): Likewise.
12384 (add_locale_uint32): Likewise.
12385 (add_locale_uint32_array): Likewise.
12386 (add_locale_char): Likewise.
12387 (start_locale_structure): Likewise.
12388 (end_locale_structure): Likewise.
12389 (start_locale_prelude): Likewise.
12390 (end_locale_prelude): Likewise.
12391 (write_locale_data): Update prototype.
12392 * locale/programs/3level.h (struct TABLE): Remove result field.
12393 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12394 Use new locale_file interface.
12395 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12396 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12397 * locale/programs/ld-address.c (address_output): Use new
12398 locale_file interface.
12399 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12400 NO_ADD_LOCALE.
12401 (collate_finish): Don't call collseq_table_finalize.
12402 (collate_output): Use new locale_file interface.
12403 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12404 in file.
12405 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12406 (TABLE): Move defines earlier in file.
12407 (ELEMENT): Likewise.
12408 (DEFAULT): Likewise.
12409 (wctrans_table_add): Move macro and inline function earlier in
12410 file.
12411 (struct wctype_table): Move type earlier in file.
12412 (add_locale_wctype_table): New static prototype.
12413 (struct locale_ctype_t): Use logical types instead of struct iovec
12414 pointers for members.
12415 (ctype_output): Use new locale_file interface.
12416 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12417 new locale_file interface.
12418 (allocate_arrays): Update for use of new locale_file interface.
12419 * locale/programs/ld-identification.c (identification_output): Use
12420 new locale_file interface.
12421 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12422 * locale/programs/ld-messages.c (messages_output): Likewise.
12423 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12424 * locale/programs/ld-name.c (name_output): Likewise.
12425 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12426 * locale/programs/ld-paper.c (paper_output): Likewise.
12427 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12428 * locale/programs/ld-time.c (time_output): Likewise.
12429
e029e2e5
AZ
124302013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12431
12432 * benchtests/Makefile: Add memrchr benchmark.
12433 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12434 benchmark as memrchr.
12435 * benchtests/bench-memrchr-ifunc.c: New file.
12436 * benchtests/bench-memrchr.c: New file.
12437
bbf6e8e4
WN
124382013-09-06 Will Newton <will.newton@linaro.org>
12439
12440 * benchtests/Makefile (string-bench): Add memcpy.
12441
6c82a2f8
CD
124422013-09-05 Carlos O'Donell <carlos@redhat.com>
12443 Cong Wang <amwang@redhat.com>
12444
e732c5f0 12445 [BZ #15850]
6c82a2f8
CD
12446 * sysdeps/unix/sysv/linux/bits/in.h
12447 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12448 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12449 before __USE_KERNEL_IPV6_DEFS uses.
12450 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12451 IPPROTO_BEETPH.
12452 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12453 sockaddr_in6, or ipv6_mreq.
12454
5430fc65
AZ
124552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12456
12457 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12458 memory access for final bytes in some large inputs.
12459 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12460
4660856c
AZ
124612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12462
12463 * string/test-memrchr.c: New file.
12464 * string/test-memrchr-ifunc.c: New file.
12465 * string/Makefile: Add new memrchr testcase.
12466
bb8ea713
MF
124672013-09-05 Mike Frysinger <vapier@gentoo.org>
12468
12469 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12470 fanotify_init returns EPERM.
12471
b92a20b5
JM
124722013-09-04 Joseph Myers <joseph@codesourcery.com>
12473
12474 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12475 errors.
12476 (top level): Treat second token from macro or constant entries for
12477 allowed headers as allowed.
12478 * include/complex.h: Condition internal declarations on
12479 [!_ISOMAC].
12480 * include/fenv.h: Condition include of <stdbool.h> and internal
12481 declarations on [!_ISOMAC].
7447ccd9
CL
12482
124832013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12484
3e181dda 12485 [BZ #15923]
7447ccd9
CL
12486 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12487
3f2e46a4
JM
124882013-09-04 Joseph Myers <joseph@codesourcery.com>
12489
12490 * configure.in (--enable-versioning): Remove configure option.
12491 (libc_cv_asm_symver_directive): Remove configure test.
12492 (libc_cv_ld_version_script_option): Likewise.
12493 (VERSIONING): Remove variable and AC_SUBST.
12494 (DO_VERSIONING): Remove AC_DEFINE.
12495 * configure: Regenerated.
12496 * config.h.in (DO_VERSIONING): Remove macro.
12497 * Makerules [$(versioning) = yes]: Change conditionals to
12498 [$(build-shared) = yes].
12499 * config.make.in (versioning): Remove variable.
12500 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12501 [$(build-shared) = yes].
12502 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12503 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12504 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12505 [$(build-shared) = yes].
12506 * extra-lib.mk [$(versioning) = yes]: Likewise.
12507 * hurd/Makefile [$(versioning) = yes]: Likewise.
12508 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12509 [SHARED].
12510 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12511 [SHARED].
12512 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12513 [SHARED && !NO_HIDDEN].
12514 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12515 [SHARED].
12516 [SHARED && DO_VERSIONING]: Likewise..
12517 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12518 [$(build-shared) = yes].
12519 * manual/install.texi (--disable-versioning): Remove
12520 documentation.
12521 * INSTALL: Regenerated.
12522 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12523 to [SHARED].
12524 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12525 [$(build-shared) = yes].
12526 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12527 * sysdeps/i386/i686/multiarch/strstr-c.c
12528 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12529 [SHARED && !NO_HIDDEN].
12530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12531 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12532 * sysdeps/powerpc/powerpc32/dl-machine.c
12533 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12534 * sysdeps/powerpc/powerpc32/sysdep.h
12535 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12536 to [SHARED && PIC && !NO_HIDDEN].
12537 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12538 conditional to [SHARED].
12539
44558701
WN
125402013-09-04 Will Newton <will.newton@linaro.org>
12541
12542 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12543 * benchtests/bench-string.h: Include bench-timing.h instead
12544 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12545 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12546 call to HP_TIMING_DIFF_INIT.
12547 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12548 instead of hp-timing.h macros.
12549 * benchtests/bench-memchr.c: Likewise.
12550 * benchtests/bench-memcmp.c: Likewise.
12551 * benchtests/bench-memcpy.c: Likewise.
12552 * benchtests/bench-memmem.c: Likewise.
12553 * benchtests/bench-memmove.c: Likewise.
12554 * benchtests/bench-memset.c: Likewise.
12555 * benchtests/bench-rawmemchr.c: Likewise.
12556 * benchtests/bench-strcasecmp.c: Likewise.
12557 * benchtests/bench-strcasestr.c: Likewise.
12558 * benchtests/bench-strcat.c: Likewise.
12559 * benchtests/bench-strchr.c: Likewise.
12560 * benchtests/bench-strcmp.c: Likewise.
12561 * benchtests/bench-strcpy.c: Likewise.
12562 * benchtests/bench-strcpy_chk.c: Likewise.
12563 * benchtests/bench-strlen.c: Likewise.
12564 * benchtests/bench-strncasecmp.c: Likewise.
12565 * benchtests/bench-strncat.c: Likewise.
12566 * benchtests/bench-strncmp.c: Likewise.
12567 * benchtests/bench-strncpy.c: Likewise.
12568 * benchtests/bench-strnlen.c: Likewise.
12569 * benchtests/bench-strpbrk.c: Likewise.
12570 * benchtests/bench-strrchr.c: Likewise.
12571 * benchtests/bench-strspn.c: Likewise.
12572 * benchtests/bench-strstr.c: Likewise.
12573
cae16d66
WN
125742013-09-04 Will Newton <will.newton@linaro.org>
12575
12576 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12577
ffa3cd7f
JM
125782013-09-03 Joseph Myers <joseph@codesourcery.com>
12579
12580 [BZ #15427]
12581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12582 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12583 * math/libm-test.inc (lgamma_test_data): Add more tests.
12584 * sysdeps/i386/fpu/libm-test-ulps: Update.
12585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12586
8f02859f
OB
125872013-09-03 Ondřej Bílka <neleai@seznam.cz>
12588
12589 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12590 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12591 Add ifunc.
12592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12593 Add strcmp-sse2-unaligned
12594 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12595
18d43716
MF
125962013-09-02 Mike Frysinger <vapier@gentoo.org>
12597
12598 * Versions.def (libc): Add GLIBC_2.19.
12599
ac444012
MF
126002013-09-02 Mike Frysinger <vapier@gentoo.org>
12601
12602 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12603 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12604
b7835e32
JM
126052013-09-02 Joseph Myers <joseph@codesourcery.com>
12606
12607 [BZ #14155]
12608 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12609 intermediate calculations in recurrence.
12610 (__ieee754_ynf): Likewise.
12611 * math/libm-test.inc (jn_test_data): Do not allow spurious
12612 underflow exception. Add more tests.
12613 (yn_test_data): Add more tests.
12614 * sysdeps/i386/fpu/libm-test-ulps: Update.
12615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12616
8220f4f0
OB
126172013-09-02 Ondřej Bílka <neleai@seznam.cz>
12618
12619 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12620
f24a6d08
OB
126212013-08-30 Ondřej Bílka <neleai@seznam.cz>
12622
12623 * csu/init-first.c: Fix then/than typos.
12624 * locale/programs/ld-collate.c: Likewise.
12625 * locale/programs/linereader.h: Likewise.
12626 * manual/charset.texi: Likewise.
12627 * manual/filesys.texi: Likewise.
12628 * manual/stdio.texi: Likewise.
12629 * manual/string.texi: Likewise.
12630 * stdlib/fmtmsg.c: Likewise.
12631 * sysdeps/i386/stpncpy.S: Likewise.
12632 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12635 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12636
382466e0
OB
126372013-08-30 Ondřej Bílka <neleai@seznam.cz>
12638
12639 * elf/dl-open.c: Fix typos.
12640 * iconvdata/gbbig5.c: Likewise.
12641 * iconvdata/iso-2022-jp.c: Likewise.
12642 * iconv/gconv_int.h: Likewise.
12643 * iconv/loop.c: Likewise.
12644 * nis/rpcsvc/nis.h: Likewise.
12645 * resolv/ns_name.c: Likewise.
12646 * stdio-common/vfscanf.c: Likewise.
12647 * streams/stropts.h: Likewise.
12648 * sunrpc/rpc_thread.c: Likewise.
12649 * sysdeps/i386/strpbrk.S: Likewise.
12650 * sysdeps/ieee754/k_standard.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12653 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12654 * sysdeps/mach/hurd/profil.c: Likewise.
12655 * sysdeps/s390/dl-procinfo.h: Likewise.
12656 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12657 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12659 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12661
0186c6e9
OB
126622013-08-30 Ondřej Bílka <neleai@seznam.cz>
12663
12664 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12665 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12666
d4e16af1
OB
126672013-08-29 Ondřej Bílka <neleai@seznam.cz>
12668
12669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12670 aix specific files.
12671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12672 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12673 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12675 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12677 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12678 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12679
88335980
TS
126802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12681 Roland McGrath <roland@hack.frob.com>
12682
12683 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12684 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12685
ed479b02
ST
126862013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12687
12688 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12689 __executable_start symbol instead of _start.
12690
f1cc4c86
TS
126912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12692
d821f07c
TS
12693 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12694 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12695 Move macros to...
12696 * sysdeps/gnu/ldsodefs.h: ... this new file.
12697
c54290cf
TS
12698 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12699 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12700 instead of ELFOSABI_LINUX.
12701
0007fc9b 12702 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12703 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12704 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12705 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12706 Likewise.
12707 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12708 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12709 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12710 Likewise.
12711 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12712 (ibm_extended_long_double): Add ieee_nan member.
12713 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12714 (do_test): New function.
12715
f1cc4c86
TS
12716 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12717 TEST_TRUNC.
12718 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12719 functions, renamed from truncdfsf_test, trunctfsf_test,
12720 trunctfdf_test.
12721 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12722 functions.
12723 (do_test): Run all these.
12724
6f65e668
OB
127252013-08-29 Ondřej Bílka <neleai@seznam.cz>
12726
12727 * argp/argp-help.c: Fix typos.
12728 * argp/argp-parse.c: Likewise.
12729 * debug/backtracesyms.c: Likewise.
12730 * elf/elf.h: Likewise.
12731 * malloc/malloc.c: Likewise.
12732 * nis/nis_print.c: Likewise.
12733 * resolv/res_comp.c: Likewise.
12734 * stdlib/stdlib.h: Likewise.
12735 * sunrpc/clnt_tcp.c: Likewise.
12736 * sunrpc/clnt_udp.c: Likewise.
12737 * sunrpc/clnt_unix.c: Likewise.
12738 * sysdeps/unix/bsd/ptsname.c: Likewise.
12739 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12740 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12742 Likewise.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12744 Likewise.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12746 Likewise.
6f65e668
OB
12747 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12748
3a309239
SP
127492013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12750
12751 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12753
3b813b29
MF
127542013-08-27 Mike Frysinger <vapier@gentoo.org>
12755
12756 [BZ #15897]
12757 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12758 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12759 ($(objpfx)bug-dl-leaf): New rule.
12760 ($(objpfx)bug-dl-leaf.so): Likewise.
12761 ($(objpfx)bug-dl-leaf.out): Likewise.
12762 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12763 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12764 * dlfcn/bug-dl-leaf.c: New test.
12765 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12766 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12767 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12768 (dlclose): Likewise.
12769 (dlmopen): Likewise.
12770
8cc3269f
RM
127712013-08-27 Roland McGrath <roland@hack.frob.com>
12772
7f9d0034
RM
12773 * include/netdb.h [!_ISOMAC]:
12774 Don't include <tls.h>.
12775 (h_errno, __libc_h_errno): Move declaration and macros out of
12776 [_LIBC_REENTRANT].
12777
fb431262
RM
12778 * include/resolv.h [_RESOLV_H_]:
12779 Don't include <tls.h>.
12780 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12781 * resolv/res_libc.c: Don't include <tls.h>.
12782 (_res): Use __attribute__ ((nocommon)) in place of
12783 __attribute__ ((section (".bss"))).
12784
bd81123a
RM
12785 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12786 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12787
c4e42566
RM
12788 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12789
f890a59b
RM
12790 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12791 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12792
12793 * resolv/res_mkquery.c: Include <sys/time.h>.
12794
5d1f0a09
RM
12795 * inet/ifreq.c: Moved to ...
12796 * sysdeps/unix/ifreq.c: ... here.
12797 * inet/ifreq.c: New file, true stub version.
12798
6fcf28b3
RM
12799 * socket/sa_len.c: New file.
12800 * socket/Makefile (aux): Add it.
12801 * sysdeps/unix/sysv/linux/Makefile
12802 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12803 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12804 and #include <socket/sa_len.c>.
12805 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12806 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12807
e041fb8b
RM
12808 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12809 * bits/socket.h: ... here.
12810
8cc3269f
RM
12811 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12812 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12813 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12814
5d228a43
AS
128152013-08-27 Andreas Schwab <schwab@suse.de>
12816
45b8accc
AS
12817 [BZ #15736]
12818 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12819 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12820 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12821 * string/test-strcasecmp.c (test_main): Run tests in several
12822 locales.
12823 * string/test-strncasecmp.c (test_main): Likewise.
12824
5d228a43
AS
12825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12826 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12827 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12829 (__strncasecmp_ssse3) [PIC]: Likewise.
12830
59d112a4
RM
128312013-08-26 Roland McGrath <roland@hack.frob.com>
12832
53234cc3
RM
12833 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12834
59d112a4
RM
12835 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12836 instead of explicitly declaring xdecrypt.
12837 * nis/nss_nis/nis-publickey.c: Likewise.
12838
595aba70
SP
128392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
12841 [BZ #15890]
12842 * nscd/aicache.c: Include res_hconf.h.
12843 (addhstaiX): Initialize res_hconf.
12844
ffabd393
AS
128452013-08-26 Andreas Schwab <schwab@suse.de>
12846
12847 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12848 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12849
e0a69f5c
SP
128502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12851
12852 * nscd/aicache.c (addhstaiX): Fix indentation.
12853
8c12f01d
MF
128542013-08-25 Mike Frysinger <vapier@gentoo.org>
12855
12856 * configure.ac: Quote $build_pt_chown test.
12857 * configure: Regenerated.
12858
8fe89494
JM
128592013-08-23 Joseph Myers <joseph@codesourcery.com>
12860
12861 [BZ #15532]
12862 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12863 * math/s_cexpf.c (__cexpf): Likewise.
12864 * math/s_cexpl.c (__cexpl): Likewise.
12865 * math/libm-test.inc (cexp_test_data): Correct expected return
12866 value for NaN + i0. Add another test.
12867
75b181d6
DM
128682013-08-22 David S. Miller <davem@davemloft.net>
12869
12870 * po/ca.po: Update Catalan translation from translation project.
936241e4 12871 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12872
acd06bb1
JM
128732013-08-21 Joseph Myers <joseph@codesourcery.com>
12874
12875 [BZ #15797]
12876 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12877 is infinite, not alongside NaN test.
12878 * math/s_fdimf.c (__fdimf): Likewise.
12879 * math/s_fdiml.c (__fdiml): Likewise.
12880 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12881 errno is unchanged.
12882
c0c3f78a
OB
128832013-08-21 Ondřej Bílka <neleai@seznam.cz>
12884
12885 * argp/argp-help.c: Fix typos.
12886 * crypt/speeds.c: Likewise.
12887 * csu/check_fds.c: Likewise.
12888 * elf/dl-load.c: Likewise.
12889 * elf/dl-open.c: Likewise.
12890 * elf/reldep3.c: Likewise.
12891 * elf/reldep.c: Likewise.
12892 * elf/sprof.c: Likewise.
12893 * iconv/iconv_charmap.c: Likewise.
12894 * iconv/skeleton.c: Likewise.
12895 * iconv/strtab.c: Likewise.
12896 * io/lockf64.c: Likewise.
12897 * libio/libioP.h: Likewise.
12898 * resolv/gai_notify.c: Likewise.
12899 * resolv/ns_name.c: Likewise.
12900 * resolv/ns_samedomain.c: Likewise.
12901 * resolv/res_send.c: Likewise.
12902 * stdlib/random.c: Likewise.
12903 * sunrpc/rpc/xdr.h: Likewise.
12904 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12905 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12906 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12907 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12911 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12912 * sysdeps/mach/hurd/check_fds.c: Likewise.
12913 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12914 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12917 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12918 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12919 * sysdeps/pthread/aio_notify.c: Likewise.
12920 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12921 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12922 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12923 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12924 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12925
46ed1038
LD
129262013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12927
12928 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12929 version if bit_Slow_SSE4_2 is set.
12930 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12931 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12932
d400dcac
AZ
129332013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12934
12935 [BZ #15867]
12936 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12937 trampoline stack frame information.
12938 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12939 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12940 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12941 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12942 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12943 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12944 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12945 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12946 sa_flags value.
12947 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12948 interrupting a syscall and set with option SA_SIGINFO.
12949
42c8fdd8
JM
129502013-08-20 Joseph Myers <joseph@codesourcery.com>
12951
c980f2f4
JM
12952 [BZ #15531]
12953 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12954 argument is infinite.
12955 * math/s_cprojf.c (__cprojf): Likewise.
12956 * math/s_cprojl.c (__cprojl): Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12958 * math/libm-test.inc (cproj_test_data): Add more tests.
12959
0716c4fc
JM
12960 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12961
42c8fdd8
JM
12962 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12963 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12964 size. Use __ffs to determine corresponding shift.
12965
b31469d0
JM
129662013-08-20 Joseph Myers <joseph@codesourcery.com>
12967 Roland McGrath <roland@hack.frob.com>
12968
12969 * Makefile (INSTALL): Remove trailing blank lines from output of
12970 makeinfo.
12971
4e39af6e
AK
129722013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12973
12974 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12975 Align 32 bit compat elf_greg to 8 bytes.
12976
f315524e
AA
129772013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12978
12979 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12980
1326ba1a
SP
129812013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12982
12983 * string/strcoll_l.c (coll_seq): New structure.
12984 (get_next_seq_cached): New function.
12985 (get_next_seq): New function.
12986 (do_compare): New function.
12987 (STRCOLL): Use GNU style definition. Simplify implementation
12988 by using get_next_seq, get_next_seq_cached and do_compare.
12989
91ce4085
FW
129902013-08-16 Florian Weimer <fweimer@redhat.com>
12991
12992 [BZ #14699]
12993 CVE-2013-4237
12994 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12995 member.
12996 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12997 member.
12998 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12999 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13000 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13001 conditional.
13002 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13003 GETDENTS_64BIT_ALIGNED.
13004 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13005 * manual/filesys.texi (Reading/Closing Directory): Document
13006 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13007 strongly.
13008 * manual/conf.texi (Limits for Files): Add portability note to
13009 NAME_MAX, PATH_MAX.
13010 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13011
ca0a6bc4
AS
130122013-08-13 Andreas Schwab <schwab@suse.de>
13013
13014 [BZ #15749]
13015 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13016 of fabs.
13017 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13018 LDBL_MAX_EXP >= 16384]: Add tests for it.
13019
6c1fd795
DM
130202013-08-12 David S. Miller <davem@davemloft.net>
13021
13022 * version.h (RELEASE): Set to "development".
13023 (VERSION): Set to "2.18.90".
13024 * NEWS: Add 2.19 section.
13025
31ad488d
DM
130262013-08-03 David S. Miller <davem@davemloft.net>
13027
13028 * po/ko.po: Update Korean translation from translation project.
13029
db24e684
DM
130302013-08-01 David S. Miller <davem@davemloft.net>
13031
13032 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13033 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13034 Bilka.
13035
f723285b
DM
130362013-07-30 David S. Miller <davem@davemloft.net>
13037
13038 * po/fr.po: Update French translation from translation project.
13039
3cbc52db
DM
130402013-07-28 David S. Miller <davem@davemloft.net>
13041
30bbc0cc
DM
13042 * po/cs.po: Update Czech translation from translation project.
13043
3cbc52db
DM
13044 * po/sv.po: Update Swedish translation from translation project.
13045
d492e6d0
DM
130462013-07-27 David S. Miller <davem@davemloft.net>
13047
f1a7f492
DM
13048 * po/eo.po: Update Esperanto translation from translation project.
13049
90e62a4a
DM
13050 * po/vi.po: Update Vietnamese translation from translation project.
13051
d492e6d0
DM
13052 * po/de.po: Update German translation from translation project.
13053
d4baa62d
DM
130542013-07-26 David S. Miller <davem@davemloft.net>
13055
641aa7b4
DM
13056 * po/bg.po: Update Bulgarian translation from translation project.
13057
d4baa62d
DM
13058 * po/nl.po: Update Dutch translation from translation project.
13059 * po/pl.po: Update Polish translation from translation project.
13060 * po/ru.po: Update Russian translation from translation project.
13061
61a9dcb9
DM
130622013-07-24 David S. Miller <davem@davemloft.net>
13063
13064 * po/libc.pot: Update.
13065
7b1f8b58
AZ
130662013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13067
13068 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13069 variable page size.
13070 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13071 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13072 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13073
a8fc7a03
AK
130742013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13075
13076 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13077
e4608715
CD
130782013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13079 Andreas Schwab <schwab@suse.de>
13080 Roland McGrath <roland@hack.frob.com>
13081 Joseph Myers <joseph@codesourcery.com>
13082 Carlos O'Donell <carlos@redhat.com>
13083
13084 [BZ #15755]
13085 * config.h.in: Define HAVE_PT_CHOWN.
13086 * config.make.in (build-pt-chown): New variable.
13087 * configure.in (--enable-pt_chown): New configure option.
13088 * configure: Regenerate.
13089 * login/Makefile: Include Makeconfig. Build pt_chown only if
13090 build-pt-chown is enabled.
13091 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13092 pt_chown to fix pty ownership.
13093 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13094 CLOSE_ALL_FDS.
13095 * manual/install.texi (Configuring and compiling): Mention
13096 --enable-pt_chown. Add @findex for grantpt.
13097 * INSTALL: Regenerate.
13098
da2d62df
DM
130992013-07-20 David S. Miller <davem@davemloft.net>
13100
13101 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13102 difference between 32-bit and 64-bit.
13103
d7e06450
CD
131042013-07-15 Carlos O'Donell <carlos@redhat.com>
13105
13106 [BZ #15711]
13107 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13108 Avoid system header dependency with -ffreestanding.
13109 ($(objpfx)bits/syscall%d): Likewise.
13110
f959cfd7
DM
131112013-07-13 David S. Miller <davem@davemloft.net>
13112
13113 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13114 underflows from atanl/atan2l due to bug 15319.
13115 (casinh_test_data): Likewise.
13116
c61f8513
DM
131172013-07-07 David S. Miller <davem@davemloft.net>
13118
13119 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13120
72c90ed0
JA
131212013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13122
13123 * sysdeps/i386/fpu/libm-test-ulps: Update.
13124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13125
52dfbe13
SP
131262013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13127
13128 * configure.in (--enable-lock-elision): Fix message text.
13129 * INSTALL: Regenerate.
13130 * configure: Regenerate.
13131
3f169543
AZ
131322013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13133
13134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13135
521c6785
AJ
131362013-07-03 Andreas Jaeger <aj@suse.de>
13137
13138 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13139 define.
13140 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13141 (ptrace_peeksiginfo_args): Add.
13142 (__ptrace_peeksiginfo_flags): Add.
13143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13144 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13146
d2cc15cb
AM
131472013-07-03 Allan McRae <allan@archlinux.org>
13148
13149 * sysdeps/i386/fpu/libm-test-ulps: Update.
13150
3aaeeca7
DM
131512013-07-02 David S. Miller <davem@davemloft.net>
13152
13153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13154
5314ed1a
MT
131552013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13156
13157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13158
67338156
JM
131592013-07-02 Joseph Myers <joseph@codesourcery.com>
13160
13161 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13163
1717da59
AK
131642013-07-02 Andi Kleen <ak@linux.intel.com>
13165
13166 * config.h.in (ENABLE_LOCK_ELISION): Add.
13167 * configure.in (--enable-lock-elision): Add option.
13168 * manual/install.texi: Document --enable lock elision.
13169 * configure: Regenerate
13170 * INSTALL: Regenerate.
13171
1c81621c
L
131722013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13173
13174 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13175 SSE4.2 strcasecmp for libc.a.
13176 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13177
77f01ab5
JM
131782013-07-02 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #13304]
13181 * soft-fp/op-common.h (_FP_FMA): New macro.
13182 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13183 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13184 (_FP_MUL_MEAT_1_imm): ... here.
13185 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13186 (_FP_MUL_MEAT_1_wide): ... here.
13187 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13188 (_FP_MUL_MEAT_1_hard): ... here.
13189 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13190 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13191 (_FP_MUL_MEAT_2_wide): ... here.
13192 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13193 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13194 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13195 (_FP_MUL_MEAT_2_gmp): ... here.
13196 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13197 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13198 (_FP_MUL_MEAT_4_wide): ... here.
13199 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13200 (_FP_MUL_MEAT_4_gmp): ... here.
13201 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13202 (_FP_WFRACBITS_DW_S): Likewise.
13203 (_FP_WFRACXBITS_DW_S): Likewise.
13204 (_FP_HIGHBIT_DW_S): Likewise.
13205 (FP_FMA_S): Likewise.
13206 (_FP_FRAC_HIGH_DW_S): Likewise.
13207 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13208 (_FP_WFRACBITS_DW_D): Likewise.
13209 (_FP_WFRACXBITS_DW_D): Likewise.
13210 (_FP_HIGHBIT_DW_D): Likewise.
13211 (FP_FMA_D): Likewise.
13212 (_FP_FRAC_HIGH_DW_D): Likewise.
13213 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13214 (_FP_WFRACBITS_DW_E): Likewise.
13215 (_FP_WFRACXBITS_DW_E): Likewise.
13216 (_FP_HIGHBIT_DW_E): Likewise.
13217 (FP_FMA_E): Likewise.
13218 (_FP_FRAC_HIGH_DW_E): Likewise.
13219 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13220 (_FP_WFRACBITS_DW_Q): Likewise.
13221 (_FP_WFRACXBITS_DW_Q): Likewise.
13222 (_FP_HIGHBIT_DW_Q): Likewise.
13223 (FP_FMA_Q): Likewise.
13224 (_FP_FRAC_HIGH_DW_Q): Likewise.
13225 * soft-fp/fmasf4.c: New file.
13226 * soft-fp/fmadf4.c: Likewise.
13227 * soft-fp/fmatf4.c: Likewise.
13228
6308fd9a
LD
132292013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13230
13231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13232 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13233 Silvermont.
13234 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13235 macro.
13236 (index_Slow_SSE4_2): Likewise.
13237 (index_Prefer_PMINUB_for_stringop): Likewise.
13238 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13239 bit_Slow_SSE4_2 is set.
13240 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13241 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13242
89cd9569
RA
132432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13244
13245 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13246 rtld_global._dl_hwcap2.
13247 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13248 POWER8.
13249 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13250 POWER8 feature descriptions defined in _dl_hwcap2.
13251 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13252 string handling for POWER8 feature bits.
13253 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13254 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13255 _dl_powerpc_cap_flags.
13256 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13257 * sysdeps/powerpc/rtld-global-offsets.sym
13258 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13259 _dl_hwcap2 in the rtld_global_ro structure.
13260
1ae8bfe0
RA
132612013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13262
13263 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13264 hardware capabilities in support of AT_HWCAP2.
13265 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13266 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13267 GLRO(dl_hwcap2).
13268 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13269 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13270 explicitly the unknown a_type display mechanism is used.
13271 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13272 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13273 struct member.
13274 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13275 to macro prototype for AT_HWCAP2 support.
13276 * sysdeps/i386/dl-procinfo.h: Likewise.
13277 * sysdeps/s390/dl-procinfo.h: Likewise.
13278 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13279 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13280 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13281 return -1 for unknown a_type display fallback.
13282 * sysdeps/sparc/dl-procinfo.h: Likewise.
13283 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13284 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13285
8fbec010
JM
132862013-06-28 Joseph Myers <joseph@codesourcery.com>
13287
13288 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13289 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13290
0432680e
PY
132912013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13292
13293 [BZ #12492]
13294 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13295 mprotect making __stack_prot writable.
13296
ce61a2ad
NF
132972013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13298 Joseph Myers <joseph@codesourcery.com>
13299
13300 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13301 as being properly aligned.
13302
f91f1c0f
MR
133032013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13304
3d0f5d0c
MR
13305 * dlfcn/modstatic5.c: New file.
13306 * dlfcn/tststatic5.c: New file.
13307 * dlfcn/Makefile (tests): Add tststatic5.
13308 (tests-static): Likewise.
13309 (modules-names): Add modstatic5.
13310 (tststatic5-ENV): New variable.
13311 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13312
f91f1c0f
MR
13313 [BZ #15022]
13314 * elf/dl-support.c (_dl_main_map): New variable.
13315 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13316 (_dl_nns, _dl_load_adds): Set to 1.
13317 (_dl_initial_searchlist): Refer to _dl_main_map.
13318 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13319 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13320 call to _dl_get_origin.
13321 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13322 around call_map.
13323 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13324 * dlfcn/modstatic3.c: New file.
13325 * dlfcn/tststatic3.c: New file.
13326 * dlfcn/tststatic4.c: New file.
13327 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13328 (tests-static): Likewise.
13329 (modules-names): Add modstatic3.
13330 (tststatic3-ENV, tststatic4-ENV): New variables.
13331 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13332 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13333
cbe7d24b
JM
133342013-06-26 Joseph Myers <joseph@codesourcery.com>
13335
13336 * configure.in (CC): Require GCC version 4.4 or later.
13337 * configure: Regenerated.
13338 * manual/install.texi (Tools for Compilation): Update GCC version
13339 requirement.
13340 * INSTALL: Regenerated.
13341
11b8a0e1
LD
133422013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13343
13344 [BZ #15674]
bb5bb87c
L
13345 * string/test-memcmp.c (check2): New.
13346 (main): Call check2.
13347
11b8a0e1
LD
13348 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13349
b0037103
MR
133502013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13351
13352 [BZ #15022]
13353 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13354 over to...
13355 (dl_open_worker) [!SHARED]: ... here.
13356
c18c701d
RA
133572013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13358
13359 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13360
1d17fa5f
RH
133612013-06-25 Richard Henderson <rth@redhat.com>
13362
13363 * locale/programs/locarchive.c: Include <libc-internal.h>
13364
8fcb833a
JM
133652013-06-25 Joseph Myers <joseph@codesourcery.com>
13366
13367 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13368 trailing whitespace removed.
13369
17db6e8d
MF
133702013-06-24 Mike Frysinger <vapier@gentoo.org>
13371
13372 [BZ #10283]
17db6e8d
MF
13373 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13374 * locale/programs/locarchive.c: Include libc-mmap.h.
13375 (prepare_address_space): Take two new outputs (the mmap base and len).
13376 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13377 values.
13378 (create_archive): Declare new mmap base and len values for
13379 prepare_address_space, and store the result in ah.
13380 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13381 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13382 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13383 Declare new mmap base and len values for
13384 prepare_address_space, and store the result in new_ah.
13385 (open_archive): Declare new mmap base and len values for
13386 prepare_address_space, and store the result in ah.
13387 (close_archive): If ah->mmap_base is not NULL, use that and
13388 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13389 * sysdeps/generic/libc-mmap.h: New file.
13390
d605071e
MF
133912013-06-24 Mike Frysinger <vapier@gentoo.org>
13392
13393 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13394 (ALIGN_UP): Likewise.
13395 (PTR_ALIGN_DOWN): Likewise.
13396 (PTR_ALIGN_UP): Likewise.
13397
2f063a6e
RA
133982013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13399
13400 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13401 entry mapped to PPC_PLATFORM_POWER8.
13402 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13403 POWER8.
13404 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13405 (_dl_string_platform): Add case for exporting platform position for
13406 POWER8.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13408 search path to sysdeps/powerpc/powerpc32/power8 directory.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13410 search path to sysdeps/powerpc/powerpc64/power8 directory.
13411 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13412 power7 directories.
13413 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13414 power7 directories.
13415
a31ee4b3
SP
134162013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13417
a74ca98f
SP
13418 * INSTALL: Regenerate.
13419
a31ee4b3
SP
13420 * nscd/connections.c (nscd_init): Fix comment.
13421
695c378f
JM
134222013-06-22 Joseph Myers <joseph@codesourcery.com>
13423
d8412221
JM
13424 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13425
695c378f
JM
13426 [BZ #15667]
13427 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13428 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13429
d1d54715
MR
134302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13431
13432 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13433 DL_DST_REQ_STATIC.
13434 (DL_DST_REQ_STATIC): Remove macro.
13435
8fdda7af
JM
134362013-06-21 Joseph Myers <joseph@codesourcery.com>
13437
13438 [BZ #7006]
13439 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13440 with a shift of 0 bits.
13441
f3bc5e5a
MR
134422013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13443
13444 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13445 $(tststatic-ENV).
13446
be09e8c9
KK
134472013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13448
13449 [BZ #15655]
13450 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13451
85c2e611
AZ
134522013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13453
13454 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13455 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13456 accepts -fno-tree-loop-distribute-patterns.
13457 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13458 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13459 recursive call.
13460 * string/memset.c (memset): Likewise.
13461 * string/test-memmove.c (simple_memmove): Disable loop transformation
13462 to library calls.
13463 * string/test-memset.c (simple_memset): Likewise.
13464 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13465 * benchtests/bench-memset.c (simple_memset): Likewise.
13466 * configure: Regenerated.
13467
c91e0825
JM
134682013-06-20 Joseph Myers <joseph@codesourcery.com>
13469
b8c792af
JM
13470 * math/test-misc.c (main): Ignore fesetround failure when failures
13471 of subsequent rounding tests would be ignored.
13472
c91e0825
JM
13473 [BZ #15654]
13474 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13475 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13476 * math/fegetenv.c (__fegetenv): Return 0.
13477 * math/fegetexcept.c (fegetexcept): Return 0.
13478 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13479 FE_TONEAREST.
13480 * math/feholdexcpt.c (feholdexcept): Return 0.
13481 * math/fesetenv.c (__fesetenv): Return 0.
13482 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13483 argument FE_TONEAREST.
13484 * math/feupdateenv.c (__feupdateenv): Return 0.
13485 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13486
bfcacbde
RM
134872013-06-18 Roland McGrath <roland@hack.frob.com>
13488
13489 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13490 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13491 ($(objpfx)rtld-%.os rules): Use them.
13492
e55a9b25
AZ
134932013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13494
13495 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13496 fields.
13497
346d65b3
RM
134982013-06-17 Roland McGrath <roland@hack.frob.com>
13499
12086fb4
RM
13500 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13501 length of target pattern, then descending length of dependency pattern.
13502 * configure.in (AWK): Require gawk 3.1.2 or newer.
13503 * manual/install.texi (Tools for Compilation): Say that we do.
13504 * configure: Regenerated.
13505
346d65b3
RM
13506 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13507 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13508 * scripts/sysd-rules.awk: ... this new script.
13509 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13510 than a glob-style pattern.
13511
1a846317
JM
135122013-06-17 Joseph Myers <joseph@codesourcery.com>
13513
13514 * math/test-misc.c (main): Do not treat incorrectly rounded
13515 conversions as failure unless ROUNDING_TESTS passes.
13516
8fc75e6f
JM
135172013-06-15 Joseph Myers <joseph@codesourcery.com>
13518
3711a167
JM
13519 [BZ #15631]
13520 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13521 restore exception state around main square root computation, then
13522 check for inexactness explicitly.
13523
8fc75e6f
JM
13524 * math/libm-test.inc (fma_test_data): Add another test.
13525
61dd6208
SP
135262013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13527
adf23d2c
SP
13528 * manual/threads.texi (Non-POSIX Extensions): New document
13529 node. Document pthread_getattr_default_np and
13530 pthread_setattr_default_np.
13531
61dd6208
SP
13532 * Versions.def (libpthread): Add GLIBC_2.18.
13533 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13535 Likewise.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13537 Likewise.
13538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13541 Likewise.
13542 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13543 Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13545 Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13547 Likewise.
13548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13549 Likewise.
13550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13551 Likewise.
13552
d086fc7b
LD
135532013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13554
13555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13556 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13557
747ef469
SP
135582013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13559 H.J. Lu <hjl.tools@gmail.com>
13560
13561 [BZ #15627]
13562 * sysdeps/x86_64/rtld-memset.c: Remove file.
13563 * sysdeps/x86_64/rtld-memset.S: New file.
13564
1b2feed2
JM
135652013-06-14 Joseph Myers <joseph@codesourcery.com>
13566
13567 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13568 (test_in_one_mode): Take arguments for whether the rounding mode
13569 is supported for each floating-point type.
13570 (do_test): Pass new arguments to test_in_one_mode using
13571 ROUNDING_TESTS.
13572
a58ad3f8
RM
135732013-06-13 Roland McGrath <roland@hack.frob.com>
13574
13575 * posix/tst-waitid.c (do_test): Distinguish different instances of
13576 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13577 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13578 before entering the kernel for waitpid.
13579
c204ab28
SP
135802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13581
13582 * NEWS: Fix note on clock function precision. Text by Roland
13583 McGrath.
13584
f4a29fba
RM
135852013-06-13 Roland McGrath <roland@hack.frob.com>
13586
13587 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13588 it into place only when and if the sanity check passes.
13589
1f24b9ad
JM
135902013-06-13 Joseph Myers <joseph@codesourcery.com>
13591
13592 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13593 output for whether conversion result is exact. Take argument
13594 indicating whether type is IBM long double.
13595 (round_for_all): Change need_exact field to ibm_ld.
13596 * stdlib/tst-strtod-round.c (struct exactness): New type.
13597 (struct test): Change bool ld_ok field to struct exactness exact.
13598 (TEST): Update all definitions for change to field.
13599 (tests): Regenerate array contents.
13600 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13601 field value. Check for IBM long double here.
13602 (do_test): Update calls to test_in_one_mode.
13603
58206c68
SP
136042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13605
13606 [BZ #12515]
13607 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13608 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13609
2d6f4c5b 136102013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13611
13612 [BZ #15605]
13613 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13614 generated by the compiler on loop optimizations.
13615 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13616 general definitions.
13617
94f2c076
JM
136182013-06-12 Joseph Myers <joseph@codesourcery.com>
13619
13620 * math/bug-nextafter.c: Include <math-tests.h>.
13621 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13622 the relevant type.
13623 * math/bug-nexttoward.c: Include <math-tests.h>.
13624 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13625 the relevant type.
13626 * math/test-misc.c: Include <math-tests.h>.
13627 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13628 the relevant type.
13629
e0e50a0a
AJ
136302013-06-12 Andreas Jaeger <aj@suse.de>
13631
13632 * po/ia.po: Update Interlingua translation from translation
13633 project.
13634
25061094
SP
136352013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13636
13637 * include/fenv.h: Include stdbool.h.
13638 (struct rm_ctx): New structure.
13639 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13640 Define macro.
13641 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13642 (SET_RESTORE_ROUNDF): Likewise.
13643 (SET_RESTORE_ROUNDL): Likewise.
13644 (SET_RESTORE_ROUND_NOEX): Likewise.
13645 (SET_RESTORE_ROUND_NOEXF): Likewise.
13646 (SET_RESTORE_ROUND_NOEXL): Likewise.
13647 (SET_RESTORE_ROUND_53BIT): Likewise.
13648 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13649 (libc_feresetround_noexf_ctx): Likewise.
13650 (libc_feresetround_noexl_ctx): Likewise.
13651 (libc_feholdsetround_53bit_ctx): Likewise.
13652 (libc_feresetround_53bit_ctx): Likewise.
13653 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13654 (libc_feholdexcept_setround_sse_ctx): New function.
13655 (libc_fesetenv_sse_ctx): Likewise.
13656 (libc_feupdateenv_sse_ctx): Likewise.
13657 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13658 (libc_feholdexcept_setround_387_ctx): Likewise.
13659 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13660 (libc_feholdsetround_387_prec_ctx): Likewise.
13661 (libc_feholdsetround_387_ctx): Likewise.
13662 (libc_feholdsetround_387_53bit_ctx): Likewise.
13663 (libc_feholdsetround_sse_ctx): Likewise.
13664 (libc_feresetround_sse_ctx): Likewise.
13665 (libc_feresetround_387_ctx): Likewise.
13666 (libc_feupdateenv_387_ctx): Likewise.
13667 (libc_feholdexcept_setroundf_ctx): Define macro.
13668 (libc_fesetenvf_ctx): Likewise.
13669 (libc_feupdateenvf_ctx): Likewise.
13670 (libc_feholdsetroundf_ctx): Likewise.
13671 (libc_feresetroundf_ctx): Likewise.
13672 (libc_feholdexcept_setround_ctx): Likewise.
13673 (libc_fesetenv_ctx): Likewise.
13674 (libc_feupdateenv_ctx): Likewise.
13675 (libc_feholdsetround_ctx): Likewise.
13676 (libc_feresetround_ctx): Likewise.
13677 (libc_feholdexcept_setroundl_ctx): Likewise.
13678 (libc_feupdateenvl_ctx): Likewise.
13679 (libc_feholdsetroundl_ctx): Likewise.
13680 (libc_feresetroundl_ctx): Likewise.
13681 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13682 (libc_feresetround_53bit_ctx): Likewise.
13683
59b30555
SP
136842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13685
13686 * locale/iso-639.def: Convert to UTF-8.
13687
f1d73d30
JM
136882013-06-11 Joseph Myers <joseph@codesourcery.com>
13689
13690 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13691 (EXCEPTION_TESTS_double): Likewise.
13692 (EXCEPTION_TESTS_long_double): Likewise.
13693 (EXCEPTION_TESTS): Likewise.
13694 * math/libm-test.inc (test_exceptions): Only test exceptions if
13695 EXCEPTION_TESTS (FLOAT).
13696
94aca5e7
SP
136972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 * benchtests/Makefile (string-bench): Add strcpy_chk and
13700 stpcpy_chk.
13701 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13702 * benchtests/bench-stpcpy_chk.c: New file.
13703 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13704 * benchtests/bench-strcpy_chk.c: New file.
13705 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13706 code.
13707 (do_test): Likewise.
13708
fac0c5f2
RA
137092013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13710
13711 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13712 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13713 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13714 with tabs where appropriate.
13715 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13716 dl-procinfo.h.
13717 [PPC_PLATFORM_PPC440]: Likewise.
13718 [PPC_PLATFORM_PPC464]: Likewise.
13719 [PPC_PLATFORM_PPC476]: Likewise.
13720 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13721 ppc464, and ppc476 platform strings merging from ports/
13722 dl-procinfo.h.
13723
f22bc486
AS
137242013-06-11 Andreas Schwab <schwab@suse.de>
13725
13726 [BZ #14991]
13727 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13728 (from_ucs4_idx): Regenerate.
13729 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13730 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13731 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13732 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13733 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13734 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13735 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13736 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13737 from FROM_LOOP and TO_LOOP specific macros.
13738 (BODY): Handle combining characters.
13739 * iconvdata/BIG5HKSCS.irreversible: Update.
13740 * iconvdata/BIG5HKSCS.precomposed: New file.
13741 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13742 characters.
13743 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13744
c1f75dc3
SP
137452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
4eacded2
SP
13747 * include/sys/time.h: Fix indentation and add copyright header.
13748
fec799f8
SP
13749 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13750 (do_test): Likewise.
13751 * string/test-memchr.c (do_one_test): Likewise.
13752 (do_test): Likewise.
13753 * string/test-memcmp.c (do_one_test): Likewise.
13754 (do_test): Likewise.
13755 * string/test-memcpy.c (do_one_test): Likewise.
13756 (do_test): Likewise.
13757 * string/test-memmem.c (do_one_test): Likewise.
13758 (do_test): Likewise.
13759 (do_random_tests): Likewise.
13760 * string/test-memmove.c (do_one_test): Likewise.
13761 (do_test): Likewise.
13762 * string/test-memset.c (do_one_test): Likewise.
13763 (do_test): Likewise.
13764 * string/test-rawmemchr.c (do_one_test): Likewise.
13765 (do_test): Likewise.
13766 * string/test-strcasecmp.c (do_one_test): Likewise.
13767 (do_test): Likewise.
13768 * string/test-strcasestr.c (do_one_test): Likewise.
13769 (do_test): Likewise.
13770 * string/test-strcat.c (do_one_test): Likewise.
13771 (do_test): Likewise.
13772 * string/test-strchr.c (do_one_test): Likewise.
13773 (do_test): Likewise.
13774 * string/test-strcmp.c (do_one_test): Likewise.
13775 (do_test): Likewise.
13776 * string/test-strcpy.c (do_one_test): Likewise.
13777 (do_test): Likewise.
13778 * string/test-string.h: Likewise.
13779 (test_init): Likewise.
13780 * string/test-strlen.c (do_one_test): Likewise.
13781 (do_test): Likewise.
13782 * string/test-strncasecmp.c (do_one_test): Likewise.
13783 (do_test): Likewise.
13784 * string/test-strncat.c (do_one_test): Likewise.
13785 (do_test): Likewise.
13786 * string/test-strncmp.c (do_one_test): Likewise.
13787 (do_test_limit): Likewise.
13788 (do_test): Likewise.
13789 * string/test-strncpy.c (do_one_test): Likewise.
13790 (do_test): Likewise.
13791 * string/test-strnlen.c (do_one_test): Likewise.
13792 (do_test): Likewise.
13793 * string/test-strpbrk.c (do_one_test): Likewise.
13794 (do_test): Likewise.
13795 * string/test-strrchr.c (do_one_test): Likewise.
13796 (do_test): Likewise.
13797 * string/test-strspn.c (do_one_test): Likewise.
13798 (do_test): Likewise.
13799 * string/test-strstr.c (do_one_test): Likewise.
13800 (do_test): Likewise.
13801
97020474
SP
13802 * benchtests/Makefile (string-bench): Add string benchmarks.
13803 * benchtests/bench-bcopy-ifunc.c: New file.
13804 * benchtests/bench-bcopy.c: New file.
13805 * benchtests/bench-bzero-ifunc.c: New file.
13806 * benchtests/bench-bzero.c: New file.
13807 * benchtests/bench-memccpy-ifunc.c: New file.
13808 * benchtests/bench-memccpy.c: New file.
13809 * benchtests/bench-memchr-ifunc.c: New file.
13810 * benchtests/bench-memchr.c: New file.
13811 * benchtests/bench-memcmp-ifunc.c: New file.
13812 * benchtests/bench-memcmp.c: New file.
13813 * benchtests/bench-memmem-ifunc.c: New file.
13814 * benchtests/bench-memmem.c: New file.
13815 * benchtests/bench-memmove-ifunc.c: New file.
13816 * benchtests/bench-memmove.c: New file.
13817 * benchtests/bench-mempcpy-ifunc.c: New file.
13818 * benchtests/bench-mempcpy.c: New file.
13819 * benchtests/bench-memset-ifunc.c: New file.
13820 * benchtests/bench-memset.c: New file.
13821 * benchtests/bench-rawmemchr-ifunc.c: New file.
13822 * benchtests/bench-rawmemchr.c: New file.
13823 * benchtests/bench-stpcpy-ifunc.c: New file.
13824 * benchtests/bench-stpcpy.c: New file.
13825 * benchtests/bench-stpncpy-ifunc.c: New file.
13826 * benchtests/bench-stpncpy.c: New file.
13827 * benchtests/bench-strcasecmp-ifunc.c: New file.
13828 * benchtests/bench-strcasecmp.c: New file.
13829 * benchtests/bench-strcasestr-ifunc.c: New file.
13830 * benchtests/bench-strcasestr.c: New file.
13831 * benchtests/bench-strcat-ifunc.c: New file.
13832 * benchtests/bench-strcat.c: New file.
13833 * benchtests/bench-strchr-ifunc.c: New file.
13834 * benchtests/bench-strchr.c: New file.
13835 * benchtests/bench-strchrnul-ifunc.c: New file.
13836 * benchtests/bench-strchrnul.c: New file.
13837 * benchtests/bench-strcmp-ifunc.c: New file.
13838 * benchtests/bench-strcmp.c: New file.
13839 * benchtests/bench-strcpy-ifunc.c: New file.
13840 * benchtests/bench-strcpy.c: New file.
13841 * benchtests/bench-strcspn-ifunc.c: New file.
13842 * benchtests/bench-strcspn.c: New file.
13843 * benchtests/bench-strlen-ifunc.c: New file.
13844 * benchtests/bench-strlen.c: New file.
13845 * benchtests/bench-strncasecmp-ifunc.c: New file.
13846 * benchtests/bench-strncasecmp.c: New file.
13847 * benchtests/bench-strncat-ifunc.c: New file.
13848 * benchtests/bench-strncat.c: New file.
13849 * benchtests/bench-strncmp-ifunc.c: New file.
13850 * benchtests/bench-strncmp.c: New file.
13851 * benchtests/bench-strncpy-ifunc.c: New file.
13852 * benchtests/bench-strncpy.c: New file.
13853 * benchtests/bench-strnlen-ifunc.c: New file.
13854 * benchtests/bench-strnlen.c: New file.
13855 * benchtests/bench-strpbrk-ifunc.c: New file.
13856 * benchtests/bench-strpbrk.c: New file.
13857 * benchtests/bench-strrchr-ifunc.c: New file.
13858 * benchtests/bench-strrchr.c: New file.
13859 * benchtests/bench-strspn-ifunc.c: New file.
13860 * benchtests/bench-strspn.c: New file.
13861 * benchtests/bench-strstr-ifunc.c: New file.
13862 * benchtests/bench-strstr.c: New file.
13863
c1f75dc3
SP
13864 * benchtests/Makefile: Disable parallel execution of targets.
13865 (string-bench): Add memcpy.
13866 (benchset): New variable to store a list of benchmark sets.
13867 (bench-func): Renamed from bench.
13868 (bench-set): New target.
13869 (bench): Depend on bench-func and bench-set.
13870 * benchtests/README: Add section on benchmark sets.
13871 * benchtests/bench-memcpy-ifunc.c: New file.
13872 * benchtests/bench-memcpy.c: New file.
13873 * benchtests/bench-string.h: New file.
13874
50fd745b
AS
138752013-06-11 Andreas Schwab <schwab@suse.de>
13876
13877 [BZ #15577]
13878 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13879 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13880 values in the triple.
13881 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13882 terminator in the group key.
13883
3ee7e9fe
AJ
138842013-06-11 Andreas Jaeger <aj@suse.de>
13885
13886 * po/zh_TW.po: Update Chinese (traditional) translation from
13887 translation project.
13888
89fb6835
SP
138892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13890
13891 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13892 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13893 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13895 (clock_getcpuclockid): Likewise.
13896 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13897 Add weak_alias and libc_hidden_def.
13898 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13899 * rt/clock_gettime.c (clock_gettime): Rename to
13900 __clock_gettime. Add weak_alias and libc_hidden_def.
13901 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13902 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13903 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13904 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13905 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13906 Likewise.
13907 * rt/clock_settime.c (clock_settime): Rename to
13908 __clock_settime. Add weak_alias and libc_hidden_def.
13909 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13910
0efa6f8b
JM
139112013-06-10 Joseph Myers <joseph@codesourcery.com>
13912
b8c61b4b
JM
13913 * mach/err_boot.sub: Remove trailing whitespace.
13914 * mach/err_ipc.sub: Likewise.
13915 * mach/err_mach.sub: Likewise.
13916
0efa6f8b
JM
13917 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13918 (ROUNDING_TESTS_double): Likewise.
13919 (ROUNDING_TESTS_long_double): Likewise.
13920 (ROUNDING_TESTS): Likewise.
13921 * math/libm-test.inc: Include <math-tests.h>.
13922 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13923 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13924 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13925 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13926
50b818bf
SP
139272013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
13929 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13930 of assigning.
13931
60d2f8f3
JM
139322013-06-08 Joseph Myers <joseph@codesourcery.com>
13933
4902d2c3
JM
13934 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13935 otherwise empty TRANS lines.
13936 * sysdeps/gnu/errlist.c: Regenerated.
13937
60d2f8f3
JM
13938 * catgets/gencat.c (error_print): Use (void) in function
13939 definition.
13940 * crypt/crypt_util.c (__init_des): Likewise.
13941 * crypt/speeds.c (Stop): Likewise.
13942 (main): Likewise.
13943 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13944 * inet/ruserpass.c (token): Likewise.
13945 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13946 * intl/localealias.c (extend_alias_table): Likewise.
13947 * intl/plural-exp.c (init_germanic_plural): Likewise.
13948 * libio/fcloseall.c (__fcloseall): Likewise.
13949 * libio/genops.c (_IO_flush_all): Likewise.
13950 (_IO_flush_all_linebuffered): Likewise.
13951 (_IO_cleanup): Likewise.
13952 (_IO_iter_begin): Likewise.
13953 (_IO_iter_end): Likewise.
13954 (_IO_list_lock): Likewise.
13955 (_IO_list_unlock): Likewise.
13956 (_IO_list_resetlock): Likewise.
13957 * libio/getchar.c (getchar): Likewise.
13958 * libio/getchar_u.c (getchar_unlocked): Likewise.
13959 * libio/getwchar.c (getwchar): Likewise.
13960 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13961 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13962 * login/getpt.c (__getpt): Likewise.
13963 * login/tst-utmp.c (main): Likewise.
13964 * malloc/hooks.c (__malloc_check_init): Likewise.
13965 * malloc/malloc.c (__malloc_stats): Likewise.
13966 * malloc/mtrace.c (tr_break): Likewise.
13967 (mtrace): Likewise.
13968 (muntrace): Likewise.
13969 * misc/fstab.c (endfsent): Likewise.
13970 * misc/getclktck.c (__getclktck): Likewise.
13971 * misc/getdtsz.c (__getdtablesize): Likewise.
13972 * misc/gethostid.c (gethostid): Likewise.
13973 * misc/getpagesize.c (__getpagesize): Likewise.
13974 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13975 (__get_nprocs): Likewise.
13976 (__get_phys_pages): Likewise.
13977 (__get_avphys_pages): Likewise.
13978 * misc/getttyent.c (getttyent): Likewise.
13979 (setttyent): Likewise.
13980 (endttyent): Likewise.
13981 * misc/getusershell.c (getusershell): Likewise.
13982 (endusershell): Likewise.
13983 (setusershell): Likewise.
13984 (initshells): Likewise.
13985 * misc/hsearch.c (__hdestroy): Likewise.
13986 * misc/sync.c (sync): Likewise.
13987 * misc/syslog.c (closelog_internal): Likewise.
13988 (closelog): Likewise.
13989 * misc/ttyslot.c (ttyslot): Likewise.
13990 * misc/vhangup.c (vhangup): Likewise.
13991 * posix/fork.c (__fork): Likewise.
13992 * posix/getegid.c (__getegid): Likewise.
13993 * posix/geteuid.c (__geteuid): Likewise.
13994 * posix/getgid.c (__getgid): Likewise.
13995 * posix/getpid.c (__getpid): Likewise.
13996 * posix/getppid.c (__getppid): Likewise.
13997 * posix/getuid.c (__getuid): Likewise.
13998 * posix/pause.c (pause): Likewise.
13999 * posix/setpgrp.c (setpgrp): Likewise.
14000 * posix/setsid.c (__setsid): Likewise.
14001 * posix/test-vfork.c (noop): Likewise.
14002 * resolv/gethnamaddr.c (_endhtent): Likewise.
14003 (_gethtent): Likewise.
14004 (ht_endhostent): Likewise.
14005 (gethostent): Likewise.
14006 (dns_service): Likewise.
14007 * stdlib/drand48.c (drand48): Likewise.
14008 * stdlib/lrand48.c (lrand48): Likewise.
14009 * stdlib/mrand48.c (mrand48): Likewise.
14010 * stdlib/rand.c (rand): Likewise.
14011 * stdlib/random.c (__random): Likewise.
14012 * stdlib/setenv.c (clearenv): Likewise.
14013 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14014 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14015 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14016 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14017 (__get_nprocs): Likewise.
14018 (__get_phys_pages): Likewise.
14019 (__get_avphys_pages): Likewise.
14020 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14021 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14022 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14023 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14024 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14025 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14026 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14027 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14028 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14029 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14030 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14031 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14032 * sysdeps/posix/clock.c (clock): Likewise.
14033 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14034 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14035 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14036 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14037 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14039 (__get_nprocs_conf): Likewise.
14040 (__get_phys_pages): Likewise.
14041 (__get_avphys_pages): Likewise.
14042 * time/clock.c (clock): Likewise.
14043 * time/tzset.c (__tzname_max): Likewise.
14044
2e09a79a
JM
140452013-06-07 Joseph Myers <joseph@codesourcery.com>
14046
14047 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14048 (__bswap_32): Do not use "register".
14049 * crypt/crypt.c (_ufc_doit_r): Likewise.
14050 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14051 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14052 * gmon/gmon.c (__monstartup): Likewise.
14053 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14054 * hurd/hurdmalloc.c (more_memory): Likewise.
14055 (malloc): Likewise.
14056 (free): Likewise.
14057 (realloc): Likewise.
14058 (malloc_fork_prepare): Likewise.
14059 (malloc_fork_parent): Likewise.
14060 (malloc_fork_child): Likewise.
14061 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14062 (_svcauth_des): Likewise.
14063 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14064 * inet/inet_net.c (inet_network): Likewise.
14065 * inet/inet_netof.c (inet_netof): Likewise.
14066 * inet/rcmd.c (__validuser2_sa): Likewise.
14067 * io/fts.c (fts_open): Likewise.
14068 (fts_load): Likewise.
14069 (fts_close): Likewise.
14070 (fts_read): Likewise.
14071 (fts_children): Likewise.
14072 (fts_build): Likewise.
14073 (fts_stat): Likewise.
14074 (fts_sort): Likewise.
14075 (fts_alloc): Likewise.
14076 (fts_lfree): Likewise.
14077 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14078 (_IO_file_xsgetn): Likewise.
14079 (_IO_file_xsgetn_mmap): Likewise.
14080 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14081 (_IO_cookie_write): Likewise.
14082 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14083 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14084 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14085 * malloc/obstack.c (_obstack_begin): Likewise.
14086 (_obstack_begin_1): Likewise.
14087 (_obstack_newchunk): Likewise.
14088 (_obstack_allocated_p): Likewise.
14089 (obstack_free): Likewise.
14090 (_obstack_memory_used): Likewise.
14091 * misc/getttyent.c (getttynam): Likewise.
14092 (getttyent): Likewise.
14093 (skip): Likewise.
14094 (value): Likewise.
14095 * misc/getusershell.c (initshells): Likewise.
14096 * misc/syslog.c (__vsyslog_chk): Likewise.
14097 * misc/ttyslot.c (ttyslot): Likewise.
14098 * nis/nis_hash.c (__nis_hash): Likewise.
14099 * posix/fnmatch_loop.c (FCT): Likewise.
14100 * posix/getconf.c (print_all): Likewise.
14101 (main): Likewise.
14102 * posix/getopt.c (exchange): Likewise.
14103 * posix/glob.c (globfree): Likewise.
14104 (prefix_array): Likewise.
14105 (__glob_pattern_type): Likewise.
14106 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14107 (NS_GET32): Likewise.
14108 (NS_PUT16): Likewise.
14109 (NS_PUT32): Likewise.
14110 * resolv/gethnamaddr.c (getanswer): Likewise.
14111 (gethostbyname2): Likewise.
14112 (gethostbyaddr): Likewise.
14113 (_gethtent): Likewise.
14114 (_gethtbyname2): Likewise.
14115 (_gethtbyaddr): Likewise.
14116 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14117 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14118 * resolv/res_init.c (__res_vinit): Likewise.
14119 (net_mask): Likewise.
14120 * resolv/res_mkquery.c (outchar): Likewise.
14121 (PRINT): Likewise.
14122 * stdio-common/printf_fp.c (outchar): Likewise.
14123 (PRINT): Likewise.
14124 * stdio-common/printf_fphex.c (outchar): Likewise.
14125 (PRINT): Likewise.
14126 * stdio-common/printf_size.c (outchar): Likewise.
14127 (PRINT): Likewise.
14128 * stdio-common/test_rdwr.c (main): Likewise.
14129 * stdio-common/tfformat.c (matches): Likewise.
14130 * stdio-common/vfprintf.c (outchar): Likewise.
14131 (printf_unknown): Likewise.
14132 (buffered_vfprintf): Likewise.
14133 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14134 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14135 (ReadFile): Likewise.
14136 * stdlib/qsort.c (SWAP): Likewise.
14137 (_quicksort): Likewise.
14138 * stdlib/setenv.c (__add_to_environ): Likewise.
14139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14140 * stdlib/strtol_l.c (__strtol_l): Likewise.
14141 * stdlib/tst-strtod.c (main): Likewise.
14142 * stdlib/tst-strtol.c (main): Likewise.
14143 * stdlib/tst-strtoll.c (main): Likewise.
14144 * string/bits/string2.h (__strcmp_cc): Likewise.
14145 (__strcmp_cg): Likewise.
14146 (__strcspn_c1): Likewise.
14147 (__strcspn_c2): Likewise.
14148 (__strcspn_c3): Likewise.
14149 (__strspn_c1): Likewise.
14150 (__strspn_c2): Likewise.
14151 (__strspn_c3): Likewise.
14152 (__strsep_1c): Likewise.
14153 (__strsep_2c): Likewise.
14154 (__strsep_3c): Likewise.
14155 * string/memccpy.c (__memccpy): Likewise.
14156 * string/stpcpy.c (__stpcpy): Likewise.
14157 * string/strcmp.c (strcmp): Likewise.
14158 * string/strrchr.c (strrchr): Likewise.
14159 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14160 Likewise.
14161 * sysdeps/mach/hurd/getcwd.c
14162 (_hurd_canonicalize_directory_name_internal): Likewise.
14163 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14164 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14165 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14166 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14167 Likewise, in both definitions.
14168 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14169 definitions.
14170 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14171 64] (__bswap_64): Likewise.
14172 * time/test_time.c (main): Likewise.
14173 * time/tzfile.c (__tzfile_read): Likewise.
14174 (__tzfile_compute): Likewise.
14175 * time/tzset.c (__tzset_parse_tz): Likewise.
14176 (tzset_internal): Likewise.
14177 (compute_change): Likewise.
14178 * wcsmbs/wcscat.c (__wcscat): Likewise.
14179 * wcsmbs/wcschr.c (wcschr): Likewise.
14180 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14181 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14182 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14183 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14184 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14185 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14186 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14187 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14188 * wcsmbs/wmemset.c (wmemset): Likewise.
14189
9e54314b
JM
141902013-06-06 Joseph Myers <joseph@codesourcery.com>
14191
14192 * scripts/config.guess: Update to version 2013-05-16.
14193 * scripts/config.sub: Update to version 2013-04-24.
14194 * scripts/install-sh: Update to version 2011-11-20.07.
14195 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14196 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14197
350635a5
OB
141982013-06-06 Ondřej Bílka <neleai@seznam.cz>
14199
14200 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14201 * elf/sln.c: Likewise.
14202 * hurd/hurd/ioctl.h: Likewise.
14203 * hurd/hurdmalloc.c: Likewise.
14204 * hurd/xattr.c: Likewise.
14205 * include/shlib-compat.h: Likewise.
14206 * inet/ruserpass.c: Likewise.
14207 * libio/iofgets_u.c: Likewise.
14208 * libio/iofgetws_u.c: Likewise.
14209 * locale/programs/ld-identification.c: Likewise.
14210 * locale/programs/ld-time.c: Likewise.
14211 * mach/msg-destroy.c: Likewise.
14212 * nss/nss_files/files-netgrp.c: Likewise.
14213 * resolv/res_data.c: Likewise.
14214 * soft-fp/op-1.h: Likewise.
14215 * soft-fp/op-2.h: Likewise.
14216 * soft-fp/op-4.h: Likewise.
14217 * soft-fp/op-common.h: Likewise.
14218 * stdio-common/printf_fphex.c: Likewise.
14219 * stdlib/strtod_l.c: Likewise.
14220 * sunrpc/rpc/clnt.h: Likewise.
14221 * sysdeps/generic/framestate.c: Likewise.
14222 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14223 * sysdeps/i386/bsd-setjmp.S: Likewise.
14224 * sysdeps/i386/__longjmp.S: Likewise.
14225 * sysdeps/i386/setjmp.S: Likewise.
14226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14227 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14228 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14244 * sysdeps/ieee754/support.c: Likewise.
14245 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14246 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14247 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14248 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14249 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14250 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14251 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14252 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14253 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14254 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14255 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14256 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14258 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14259 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14260 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14261 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14263
44a988af
OB
142642013-06-05 Ondřej Bílka <neleai@seznam.cz>
14265
25506f09 14266 * posix/transbug.c: Remove executable mode.
44a988af 14267
9c84384c
JM
142682013-06-05 Joseph Myers <joseph@codesourcery.com>
14269
14270 * crypt/speeds.c: Remove trailing whitespace.
14271 * dlfcn/default.c: Likewise.
14272 * elf/ifuncdep2.c: Likewise.
14273 * elf/ifuncmain1.c: Likewise.
14274 * elf/ifuncmain1vis.c: Likewise.
14275 * elf/testobj.h: Likewise.
14276 * elf/tst-stackguard1.c: Likewise.
14277 * gmon/sys/gmon.h: Likewise.
14278 * hurd/hurdmsg.c: Likewise.
14279 * hurd/new-fd.c: Likewise.
14280 * hurd/ports-get.c: Likewise.
14281 * iconvdata/ibm1008_420.c: Likewise.
14282 * inet/tst-getni1.c: Likewise.
14283 * inet/tst-getni2.c: Likewise.
14284 * libio/ioungetc.c: Likewise.
14285 * libio/wfiledoalloc.c: Likewise.
14286 * manual/libm-err-tab.pl: Likewise.
14287 * math/w_dremf.c: Likewise.
14288 * misc/ftruncate.c: Likewise.
14289 * posix/bug-glob2.c: Likewise.
14290 * posix/tst-pcre.c: Likewise.
14291 * posix/wait4.c: Likewise.
14292 * resolv/README: Likewise.
14293 * resolv/res_debug.h: Likewise.
14294 * resolv/tst-inet_ntop.c: Likewise.
14295 * setjmp/bug269-setjmp.c: Likewise.
14296 * soft-fp/extended.h: Likewise.
14297 * soft-fp/op-1.h: Likewise.
14298 * soft-fp/op-2.h: Likewise.
14299 * soft-fp/op-4.h: Likewise.
14300 * soft-fp/op-8.h: Likewise.
14301 * soft-fp/testit.c: Likewise.
14302 * stdio-common/bug16.c: Likewise.
14303 * stdlib/random.c: Likewise.
14304 * sunrpc/rpcsvc/rquota.x: Likewise.
14305 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14306 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14308 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14309 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14310 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14311 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14312 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14313 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14314 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14315 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14334 * sysdeps/ieee754/s_lib_version.c: Likewise.
14335 * sysdeps/mach/hurd/check_fds.c: Likewise.
14336 * sysdeps/mach/hurd/getsockname.c: Likewise.
14337 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14338 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14339 * sysdeps/powerpc/bits/link.h: Likewise.
14340 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14341 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14342 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14343 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14344 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14345 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14346 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14347 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14348 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14349 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14350 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14351 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14352 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14353 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14354 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14355 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14358 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14360 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14361 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14363 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14364 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14366 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14371 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14372 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14373 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14374 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14375 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14376 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14377 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14379 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14380 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14381 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14382 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14383 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14384 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14385 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14386 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14387 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14388 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14389 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14393 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14394 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14395 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14396 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14397 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14398 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14400 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14401 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14402 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14403 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14404 * sysdeps/powerpc/sysdep.h: Likewise.
14405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14406 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14407 * sysdeps/sh/dl-trampoline.S: Likewise.
14408 * sysdeps/sh/memset.S: Likewise.
14409 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14410 * sysdeps/sh/strlen.S: Likewise.
14411 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14412 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14413 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14414 * sysdeps/sparc/sparc32/rem.S: Likewise.
14415 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14416 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14417 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14418 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14419 * sysdeps/sparc/sparc32/urem.S: Likewise.
14420 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14421 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14422 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14423 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14425 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14426 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14427 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14428 * sysdeps/unix/bsd/times.c: Likewise.
14429 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14430 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14434 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14435 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14438 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14439 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14440 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14441 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14442 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14443 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14444 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14446 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14447 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14448 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14449 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14450 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14451 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14452 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14453 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14454 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14455 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14456 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14457 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14458 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14459 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14460 * sysdeps/x86_64/strcspn.S: Likewise.
14461
869378a5
RA
144622013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14463
14464 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14465 generated file. Regenerate properly from gen-translit.pl.
14466 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14467 locale/C-translit.h.
14468
840e2943
AS
144692013-06-05 Andreas Schwab <schwab@suse.de>
14470
14471 [BZ #15100]
14472 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14473 week as 6 instead of -1.
14474 * time/tst-strptime.c (day_tests): Add test case.
14475
4c60cb0c
SP
144762013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14477
14478 * sysdeps/generic/math_private.h
14479 (libc_feholdexcept_setround_53bit): Replace with
14480 libc_feholdsetround_53bit.
14481 (libc_feupdateenv_53bit): Replace with
14482 libc_feresetround_53bit.
14483 (SET_RESTORE_ROUND_53BIT): Adjust.
14484
d180203e
SP
144852013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14486
96df079a
SP
14487 * string/test-strchrnul.c: Add copyright header.
14488
d180203e
SP
14489 * posix/tst-getaddrinfo4.c: Increase test timeout.
14490
8b0ccb2d
CD
144912013-06-03 Carlos O'Donell <carlos@redhat.com>
14492
14493 [BZ #15536]
14494 * math/libm-test.inc (MAX_EXP): Remove
14495 (MIN_EXP): Define.
14496 (ulp): Use MIN_EXP - MANT_DIG.
14497 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14498
3b3c4d40
CD
144992013-05-31 Carlos O'Donell <carlos@redhat.com>
14500
14501 * po/be.po: Revert last change.
14502 * po/zh_CN.po: Likewise.
14503 * po/header.pot: Likewise.
14504
fab7ce3f
JM
145052013-05-31 Joseph Myers <joseph@codesourcery.com>
14506
14507 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14508 link-libc-deps to empty as target-specific variable.
14509 * Makerules (link-libc-args): New variable.
14510 (libc-for-link): Likewise.
14511 (link-libc-deps): Likewise.
14512 (lib%.so): Depend on $(link-libc-deps). Link with
14513 $(link-libc-args).
14514 (build-module): Link with $(link-libc-args).
14515 (build-module-asneeded): Likewise.
14516 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14517 list of objects.
14518 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14519 target-specific variable.
14520 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14521 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14522 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14523 libc.
14524 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14525 libc and ld.so.
14526 ($(objpfx)libpcprofile.so): Likewise.
14527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14528 libc_nonshared.a.
14529 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14530 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14531 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14532 $(link-libc-deps).
14533 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14534 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14535 * login/Makefile ($(objpfx)libutil.so): Likewise.
14536 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14537 * math/Makefile ($(objpfx)libm.so): Likewise.
14538 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14539 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14540 variable instead of depending directly on libc.
14541 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14542 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14543 $(link-libc-deps).
14544 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14545 libc.
14546 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14547 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14548 ($(objpfx)libanl.so): Likewise.
14549 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14550 ld.so.
14551 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14552 $(link-libc-deps).
14553 * sysdeps/i386/fpu/Makefile: Remove file.
14554 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14555 ($(objpfx)libm.so): Remove dependency on ld.so.
14556
eca5920c
PF
145572013-05-30 Patsy Franklin <pfrankli@redhat.com>
14558
14559 [BZ # 15553]
14560 * nis/yp_xdr.c (XDRMAXNAME): Define.
14561 (XDRMAXRECORD): Define.
14562 (xdr_domainname): Use XDRMAXNAME.
14563 (xdr_mapname): Likewise.
14564 (xdr_peername): Likewise.
14565 (xdr_keydat): Use XDRMAXRECORD.
14566 (xdr_valdat): Likewise.
14567
145682013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14569
14570 [BZ #14256]
14571 * manual/errno.texi (ESTALE): Update to account for more than
14572 just NFS file systems.
14573 * sysdeps/gnu/errlist.c: Regenerated.
14574
b9375348
SP
145752013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14576
14577 [BZ #15465]
14578 * elf/Makefile (tests): Add tst-null-argv.
14579 (modules-names): Add tst-null-argv-lib.
14580 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14581 (tst-null-argv-ENV): Set environment for tst-null-argv.
14582 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14583 (RTLD_PROGNAME): New macro.
14584 * elf/tst-null-argv.c: New test case.
14585 * elf/tst-null-argv-lib.c: Library for test case.
14586 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14587 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14588 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14589 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14590 * elf/dl-init.c (call_init): Likewise.
14591 (_dl_init): Likewise.
14592 * elf/dl-load.c (print_search_path): Likewise.
14593 (_dl_map_object): Likewise.
14594 * elf/dl-lookup.c (do_lookup_x): Likewise.
14595 (add_dependency): Likewise.
14596 (_dl_lookup_symbol_x): Likewise.
14597 (_dl_debug_bindings): Likewise.
14598 * elf/dl-open.c (_dl_show_scope): Likewise.
14599 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14600 * elf/dl-version.c (match_symbol): Likewise.
14601 (_dl_check_map_versions): Likewise.
14602 * elf/rtld.c (dl_main): Likewise.
14603 (print_unresolved): Use RTLD_PROGNAME.
14604 (print_missing_version): Likewise.
14605 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14606 (elf_machine_rela): Likewise.
14607 * sysdeps/powerpc/powerpc32/dl-machine.c
14608 (__process_machine_rela): Likewise.
14609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14610 Likewise.
14611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14612 Likewise.
14613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14614 Likewise.
14615 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14617 Likewise.
14618 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14619 Likewise.
14620 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14621
8a9f20c8
CD
146222013-05-28 Carlos O'Donell <carlos@redhat.com>
14623
14624 * po/be.po: Add descriptive title.
14625 * po/zh_CN.po: Likewise.
14626 * po/header.pot: Likewise.
14627
0e60d68e
MF
146282013-05-28 Mike Frysinger <vapier@gentoo.org>
14629
14630 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14631 error message.
14632 (enlarge_archive): Likewise.
14633
56b672e9
BN
146342013-05-28 Ben North <ben@redfrontdoor.org>
14635
14636 * manual/arith.texi (frexp): It is the magnitude of the return
14637 value which lies in [0.5, 1), not the return value itself.
14638
5e056687
AZ
146392013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14640
14641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14642
2b66ef5d
TS
146432013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14644
528c2405
TS
14645 * stdio-common/bug26.c (main): Correct fscanf template.
14646
07b4c13d
TS
14647 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14648 declare _dl_skip_args.
14649
ec9dd97c
TS
14650 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14651 Don't declare.
14652
2b66ef5d
TS
14653 * manual/platform.texi: Add missing @end deftypefun.
14654
4f8dfe27
JM
146552013-05-24 Joseph Myers <joseph@codesourcery.com>
14656
0323d086
JM
14657 [BZ #15529]
14658 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14659 bit of mantissa of 2^16382.
14660 * math/libm-test.inc (hypot_test_data): Add more tests.
14661
dd4259b9
JM
14662 * math/libm-test.inc: Add drem and pow10 to list of tested
14663 functions.
14664 (pow10_test): New function.
14665 (drem_test): Likewise.
14666 (drem_test_tonearest): Likewise.
14667 (drem_test_towardzero): Likewise.
14668 (drem_test_downward): Likewise.
14669 (drem_test_upward): Likewise.
14670 (main): Call the new functions.
14671
4f8dfe27
JM
14672 * math/libm-test.inc (finite_test_data): Remove.
14673 (finite_test): Run tests from isfinite_test_data.
14674 (gamma_test_data): Remove.
14675 (gamma_test): Run tests from lgamma_test_data.
14676 * sysdeps/i386/fpu/libm-test-ulps: Update.
14677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678
d116b7c4
AZ
146792013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14680
14681 * manual/platform.texi: Add PowerPC PPR function set documentation.
14682 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14683 implementation.
14684
e96e3767
CD
146852013-05-24 Carlos O'Donell <carlos@redhat.com>
14686
14687 * math/libm-test.inc (MAX_EXP): Define.
14688 (ULPDIFF): Define.
14689 (ulp): New function.
14690 (check_float_internal): Use ULPDIFF.
14691 (cpow_test): Disable failing test.
14692 (check_ulp): Test ulp() implemetnation.
14693 (main): Call check_ulp before starting tests.
14694
b679a606
JM
146952013-05-24 Joseph Myers <joseph@codesourcery.com>
14696
e8bdba36
JM
14697 * math/gen-libm-test.pl (generate_testfile): Do not handle
14698 START_DATA and END_DATA.
14699 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14700 END_DATA.
14701 (acos_tonearest_test_data): Likewise.
14702 (acos_towardzero_test_data): Likewise.
14703 (acos_downward_test_data): Likewise.
14704 (acos_upward_test_data): Likewise.
14705 (acosh_test_data): Likewise.
14706 (asin_test_data): Likewise.
14707 (asin_tonearest_test_data): Likewise.
14708 (asin_towardzero_test_data): Likewise.
14709 (asin_downward_test_data): Likewise.
14710 (asin_upward_test_data): Likewise.
14711 (asinh_test_data): Likewise.
14712 (atan_test_data): Likewise.
14713 (atanh_test_data): Likewise.
14714 (atan2_test_data): Likewise.
14715 (cabs_test_data): Likewise.
14716 (cacos_test_data): Likewise.
14717 (cacosh_test_data): Likewise.
14718 (carg_test_data): Likewise.
14719 (casin_test_data): Likewise.
14720 (casinh_test_data): Likewise.
14721 (catan_test_data): Likewise.
14722 (catanh_test_data): Likewise.
14723 (cbrt_test_data): Likewise.
14724 (ccos_test_data): Likewise.
14725 (ccosh_test_data): Likewise.
14726 (ceil_test_data): Likewise.
14727 (cexp_test_data): Likewise.
14728 (cimag_test_data): Likewise.
14729 (clog_test_data): Likewise.
14730 (clog10_test_data): Likewise.
14731 (conj_test_data): Likewise.
14732 (copysign_test_data): Likewise.
14733 (cos_test_data): Likewise.
14734 (cos_tonearest_test_data): Likewise.
14735 (cos_towardzero_test_data): Likewise.
14736 (cos_downward_test_data): Likewise.
14737 (cos_upward_test_data): Likewise.
14738 (cosh_test_data): Likewise.
14739 (cosh_tonearest_test_data): Likewise.
14740 (cosh_towardzero_test_data): Likewise.
14741 (cosh_downward_test_data): Likewise.
14742 (cosh_upward_test_data): Likewise.
14743 (cpow_test_data): Likewise.
14744 (cproj_test_data): Likewise.
14745 (creal_test_data): Likewise.
14746 (csin_test_data): Likewise.
14747 (csinh_test_data): Likewise.
14748 (csqrt_test_data): Likewise.
14749 (ctan_test_data): Likewise.
14750 (ctan_tonearest_test_data): Likewise.
14751 (ctan_towardzero_test_data): Likewise.
14752 (ctan_downward_test_data): Likewise.
14753 (ctan_upward_test_data): Likewise.
14754 (ctanh_test_data): Likewise.
14755 (ctanh_tonearest_test_data): Likewise.
14756 (ctanh_towardzero_test_data): Likewise.
14757 (ctanh_downward_test_data): Likewise.
14758 (ctanh_upward_test_data): Likewise.
14759 (erf_test_data): Likewise.
14760 (erfc_test_data): Likewise.
14761 (exp_test_data): Likewise.
14762 (exp_tonearest_test_data): Likewise.
14763 (exp_towardzero_test_data): Likewise.
14764 (exp_downward_test_data): Likewise.
14765 (exp_upward_test_data): Likewise.
14766 (exp10_test_data): Likewise.
14767 (exp2_test_data): Likewise.
14768 (expm1_test_data): Likewise.
14769 (fabs_test_data): Likewise.
14770 (fdim_test_data): Likewise.
14771 (finite_test_data): Likewise.
14772 (floor_test_data): Likewise.
14773 (fma_test_data): Likewise.
14774 (fma_towardzero_test_data): Likewise.
14775 (fma_downward_test_data): Likewise.
14776 (fma_upward_test_data): Likewise.
14777 (fmax_test_data): Likewise.
14778 (fmin_test_data): Likewise.
14779 (fmod_test_data): Likewise.
14780 (fpclassify_test_data): Likewise.
14781 (frexp_test_data): Likewise.
14782 (gamma_test_data): Likewise.
14783 (hypot_test_data): Likewise.
14784 (ilogb_test_data): Likewise.
14785 (isfinite_test_data): Likewise.
14786 (isgreater_test_data): Likewise.
14787 (isgreaterequal_test_data): Likewise.
14788 (isinf_test_data): Likewise.
14789 (isless_test_data): Likewise.
14790 (islessequal_test_data): Likewise.
14791 (islessgreater_test_data): Likewise.
14792 (isnan_test_data): Likewise.
14793 (isnormal_test_data): Likewise.
14794 (issignaling_test_data): Likewise.
14795 (isunordered_test_data): Likewise.
14796 (j0_test_data): Likewise.
14797 (j1_test_data): Likewise.
14798 (jn_test_data): Likewise.
14799 (ldexp_test_data): Likewise.
14800 (lgamma_test_data): Likewise.
14801 (lrint_test_data): Likewise.
14802 (lrint_tonearest_test_data): Likewise.
14803 (lrint_towardzero_test_data): Likewise.
14804 (lrint_downward_test_data): Likewise.
14805 (lrint_upward_test_data): Likewise.
14806 (llrint_test_data): Likewise.
14807 (llrint_tonearest_test_data): Likewise.
14808 (llrint_towardzero_test_data): Likewise.
14809 (llrint_downward_test_data): Likewise.
14810 (llrint_upward_test_data): Likewise.
14811 (log_test_data): Likewise.
14812 (log10_test_data): Likewise.
14813 (log1p_test_data): Likewise.
14814 (log2_test_data): Likewise.
14815 (logb_test_data): Likewise.
14816 (logb_downward_test_data): Likewise.
14817 (lround_test_data): Likewise.
14818 (llround_test_data): Likewise.
14819 (modf_test_data): Likewise.
14820 (nearbyint_test_data): Likewise.
14821 (nextafter_test_data): Likewise.
14822 (nexttoward_test_data): Likewise.
14823 (pow_test_data): Likewise.
14824 (pow_tonearest_test_data): Likewise.
14825 (pow_towardzero_test_data): Likewise.
14826 (pow_downward_test_data): Likewise.
14827 (pow_upward_test_data): Likewise.
14828 (remainder_test_data): Likewise.
14829 (remainder_tonearest_test_data): Likewise.
14830 (remainder_towardzero_test_data): Likewise.
14831 (remainder_downward_test_data): Likewise.
14832 (remainder_upward_test_data): Likewise.
14833 (remquo_test_data): Likewise.
14834 (rint_test_data): Likewise.
14835 (rint_tonearest_test_data): Likewise.
14836 (rint_towardzero_test_data): Likewise.
14837 (rint_downward_test_data): Likewise.
14838 (rint_upward_test_data): Likewise.
14839 (round_test_data): Likewise.
14840 (scalb_test_data): Likewise.
14841 (scalbn_test_data): Likewise.
14842 (scalbln_test_data): Likewise.
14843 (signbit_test_data): Likewise.
14844 (sin_test_data): Likewise.
14845 (sin_tonearest_test_data): Likewise.
14846 (sin_towardzero_test_data): Likewise.
14847 (sin_downward_test_data): Likewise.
14848 (sin_upward_test_data): Likewise.
14849 (sincos_test_data): Likewise.
14850 (sinh_test_data): Likewise.
14851 (sinh_tonearest_test_data): Likewise.
14852 (sinh_towardzero_test_data): Likewise.
14853 (sinh_downward_test_data): Likewise.
14854 (sinh_upward_test_data): Likewise.
14855 (sqrt_test_data): Likewise.
14856 (tan_test_data): Likewise.
14857 (tan_tonearest_test_data): Likewise.
14858 (tan_towardzero_test_data): Likewise.
14859 (tan_downward_test_data): Likewise.
14860 (tan_upward_test_data): Likewise.
14861 (tanh_test_data): Likewise.
14862 (tgamma_test_data): Likewise.
14863 (trunc_test_data): Likewise.
14864 (y0_test_data): Likewise.
14865 (y1_test_data): Likewise.
14866 (yn_test_data): Likewise.
14867 (significand_test_data): Likewise.
14868
b679a606
JM
14869 * math/gen-libm-test.pl (@functions): Remove variable.
14870 (generate_testfile): Don't handle START and END lines.
14871 * math/libm-test.inc (START): New macro.
14872 (END): Likewise.
14873 (END_COMPLEX): Likewise.
14874 (acos_test): Use END macro without arguments.
14875 (acos_test_tonearest): Likewise.
14876 (acos_test_towardzero): Likewise.
14877 (acos_test_downward): Likewise.
14878 (acos_test_upward): Likewise.
14879 (acosh_test): Likewise.
14880 (asin_test): Likewise.
14881 (asin_test_tonearest): Likewise.
14882 (asin_test_towardzero): Likewise.
14883 (asin_test_downward): Likewise.
14884 (asin_test_upward): Likewise.
14885 (asinh_test): Likewise.
14886 (atan_test): Likewise.
14887 (atanh_test): Likewise.
14888 (atan2_test): Likewise.
14889 (cabs_test): Likewise.
14890 (cacos_test): Use END_COMPLEX macro without arguments.
14891 (cacosh_test): Likewise.
14892 (carg_test): Use END macro without arguments.
14893 (casin_test): Use END_COMPLEX macro without arguments.
14894 (casinh_test): Likewise.
14895 (catan_test): Likewise.
14896 (catanh_test): Likewise.
14897 (cbrt_test): Use END macro without arguments.
14898 (ccos_test): Use END_COMPLEX macro without arguments.
14899 (ccosh_test): Likewise.
14900 (ceil_test): Use END macro without arguments.
14901 (cexp_test): Use END_COMPLEX macro without arguments.
14902 (cimag_test): Use END macro without arguments.
14903 (clog_test): Use END_COMPLEX macro without arguments.
14904 (clog10_test): Likewise.
14905 (conj_test): Likewise.
14906 (copysign_test): Use END macro without arguments.
14907 (cos_test): Likewise.
14908 (cos_test_tonearest): Likewise.
14909 (cos_test_towardzero): Likewise.
14910 (cos_test_downward): Likewise.
14911 (cos_test_upward): Likewise.
14912 (cosh_test): Likewise.
14913 (cosh_test_tonearest): Likewise.
14914 (cosh_test_towardzero): Likewise.
14915 (cosh_test_downward): Likewise.
14916 (cosh_test_upward): Likewise.
14917 (cpow_test): Use END_COMPLEX macro without arguments.
14918 (cproj_test): Likewise.
14919 (creal_test): Use END macro without arguments.
14920 (csin_test): Use END_COMPLEX macro without arguments.
14921 (csinh_test): Likewise.
14922 (csqrt_test): Likewise.
14923 (ctan_test): Likewise.
14924 (ctan_test_tonearest): Likewise.
14925 (ctan_test_towardzero): Likewise.
14926 (ctan_test_downward): Likewise.
14927 (ctan_test_upward): Likewise.
14928 (ctanh_test): Likewise.
14929 (ctanh_test_tonearest): Likewise.
14930 (ctanh_test_towardzero): Likewise.
14931 (ctanh_test_downward): Likewise.
14932 (ctanh_test_upward): Likewise.
14933 (erf_test): Use END macro without arguments.
14934 (erfc_test): Likewise.
14935 (exp_test): Likewise.
14936 (exp_test_tonearest): Likewise.
14937 (exp_test_towardzero): Likewise.
14938 (exp_test_downward): Likewise.
14939 (exp_test_upward): Likewise.
14940 (exp10_test): Likewise.
14941 (exp2_test): Likewise.
14942 (expm1_test): Likewise.
14943 (fabs_test): Likewise.
14944 (fdim_test): Likewise.
14945 (finite_test): Likewise.
14946 (floor_test): Likewise.
14947 (fma_test): Likewise.
14948 (fma_test_towardzero): Likewise.
14949 (fma_test_downward): Likewise.
14950 (fma_test_upward): Likewise.
14951 (fmax_test): Likewise.
14952 (fmin_test): Likewise.
14953 (fmod_test): Likewise.
14954 (fpclassify_test): Likewise.
14955 (frexp_test): Likewise.
14956 (gamma_test): Likewise.
14957 (hypot_test): Likewise.
14958 (ilogb_test): Likewise.
14959 (isfinite_test): Likewise.
14960 (isgreater_test): Likewise.
14961 (isgreaterequal_test): Likewise.
14962 (isinf_test): Likewise.
14963 (isless_test): Likewise.
14964 (islessequal_test): Likewise.
14965 (islessgreater_test): Likewise.
14966 (isnan_test): Likewise.
14967 (isnormal_test): Likewise.
14968 (issignaling_test): Likewise.
14969 (isunordered_test): Likewise.
14970 (j0_test): Likewise.
14971 (j1_test): Likewise.
14972 (jn_test): Likewise.
14973 (ldexp_test): Likewise.
14974 (lgamma_test): Likewise.
14975 (lrint_test): Likewise.
14976 (lrint_test_tonearest): Likewise.
14977 (lrint_test_towardzero): Likewise.
14978 (lrint_test_downward): Likewise.
14979 (lrint_test_upward): Likewise.
14980 (llrint_test): Likewise.
14981 (llrint_test_tonearest): Likewise.
14982 (llrint_test_towardzero): Likewise.
14983 (llrint_test_downward): Likewise.
14984 (llrint_test_upward): Likewise.
14985 (log_test): Likewise.
14986 (log10_test): Likewise.
14987 (log1p_test): Likewise.
14988 (log2_test): Likewise.
14989 (logb_test): Likewise.
14990 (logb_test_downward): Likewise.
14991 (lround_test): Likewise.
14992 (llround_test): Likewise.
14993 (modf_test): Likewise.
14994 (nearbyint_test): Likewise.
14995 (nextafter_test): Likewise.
14996 (nexttoward_test): Likewise.
14997 (pow_test): Likewise.
14998 (pow_test_tonearest): Likewise.
14999 (pow_test_towardzero): Likewise.
15000 (pow_test_downward): Likewise.
15001 (pow_test_upward): Likewise.
15002 (remainder_test): Likewise.
15003 (remainder_test_tonearest): Likewise.
15004 (remainder_test_towardzero): Likewise.
15005 (remainder_test_downward): Likewise.
15006 (remainder_test_upward): Likewise.
15007 (remquo_test): Likewise.
15008 (rint_test): Likewise.
15009 (rint_test_tonearest): Likewise.
15010 (rint_test_towardzero): Likewise.
15011 (rint_test_downward): Likewise.
15012 (rint_test_upward): Likewise.
15013 (round_test): Likewise.
15014 (scalb_test): Likewise.
15015 (scalbn_test): Likewise.
15016 (scalbln_test): Likewise.
15017 (signbit_test): Likewise.
15018 (sin_test): Likewise.
15019 (sin_test_tonearest): Likewise.
15020 (sin_test_towardzero): Likewise.
15021 (sin_test_downward): Likewise.
15022 (sin_test_upward): Likewise.
15023 (sincos_test): Likewise.
15024 (sinh_test): Likewise.
15025 (sinh_test_tonearest): Likewise.
15026 (sinh_test_towardzero): Likewise.
15027 (sinh_test_downward): Likewise.
15028 (sinh_test_upward): Likewise.
15029 (sqrt_test): Likewise.
15030 (tan_test): Likewise.
15031 (tan_test_tonearest): Likewise.
15032 (tan_test_towardzero): Likewise.
15033 (tan_test_downward): Likewise.
15034 (tan_test_upward): Likewise.
15035 (tanh_test): Likewise.
15036 (tgamma_test): Likewise.
15037 (trunc_test): Likewise.
15038 (y0_test): Likewise.
15039 (y1_test): Likewise.
15040 (yn_test): Likewise.
15041 (significand_test): Likewise.
15042
bae143d2
OB
150432013-05-24 Ondřej Bílka <neleai@seznam.cz>
15044
15045 [BZ #15381]
15046 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15047
9323d39b
EM
150482013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15049
d4ea44a0 15050 [BZ #14894]
9323d39b
EM
15051 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15052 __ppc_mdoio and __ppc_mdoom.
15053 * manual/platform.texi: Document new functions __ppc_yield,
15054 __ppc_mdoio and __ppc_mdoom.
15055
13e23af7
CD
150562013-05-22 Carlos O'Donell <carlos@redhat.com>
15057
15058 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15059 (main): Mention "tls" pseudo-hwcap is legacy.
15060 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15061
351fe550
JM
150622013-05-22 Joseph Myers <joseph@codesourcery.com>
15063
15064 * math/gen-libm-test.pl (parse_args): Output only string of
15065 arguments as text for test name, not full call or descriptions of
15066 tests for extra outputs.
15067 (generate_testfile): Do not pass function name to parse_args.
15068 Generate this_func variable from START.
15069 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15070 field to arg_str.
15071 (struct test_ff_f_data): Likewise.
15072 (test_ff_f_data_nexttoward): Likewise.
15073 (struct test_fi_f_data): Likewise.
15074 (struct test_fl_f_data): Likewise.
15075 (struct test_if_f_data): Likewise.
15076 (struct test_fff_f_data): Likewise.
15077 (struct test_c_f_data): Likewise.
15078 (struct test_f_f1_data): Likewise. Remove field extra_name.
15079 (struct test_fF_f1_data): Likewise.
15080 (struct test_ffI_f1_data): Likewise.
15081 (struct test_c_c_data): Rename test_name field to arg_str.
15082 (struct test_cc_c_data): Likewise.
15083 (struct test_f_i_data): Likewise.
15084 (struct test_ff_i_data): Likewise.
15085 (struct test_f_l_data): Likewise.
15086 (struct test_f_L_data): Likewise.
15087 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15088 and extra2_name.
15089 (COMMON_TEST_SETUP): New macro.
15090 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15091 (COMMON_TEST_CLEANUP): Likewise.
15092 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15093 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15094 macros.
15095 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15096 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15097 macros.
15098 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15099 (RUN_TEST_fff_f): Take argument string. Call new setup and
15100 cleanup macros.
15101 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15102 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15103 macros.
15104 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15105 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15106 macros.
15107 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15108 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15109 cleanup macros.
15110 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15111 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15112 cleanup macros.
15113 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15114 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15115 cleanup macros.
15116 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15117 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15118 macros.
15119 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15120 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15121 macros.
15122 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15123 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15124 macros.
15125 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15126 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15127 cleanup macros.
15128 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15129 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15130 cleanup macros.
15131 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15132 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15133 macros.
15134 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15135 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15136 cleanup macros.
15137 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15138 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15139 macros.
15140 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15141 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15142 macros.
15143 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15144 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15145 cleanup macros.
15146 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15147
85118d4d
EBM
151482013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15149
15150 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15151 to _sifields.sigfault.
15152 (si_addr_lsb): Define new macro.
15153 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15155 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15156
7a44c18f
CD
151572013-05-03 Carlos O'Donell <carlos at redhat.com>
15158
15159 [BZ #15441]
15160 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15161 returns -1.
15162 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15163 null return -1.
15164 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15165 loading the domain.
15166
b50a7181
JM
151672013-05-22 Joseph Myers <joseph@codesourcery.com>
15168
15169 * math/gen-libm-test.pl (parse_args): Do not include expected
15170 result in test name.
15171 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15173 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15175 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15177
051063c8
SP
151782013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15179
3ce9e010
SP
15180 * benchtests/Makefile: Sort function entries.
15181
051063c8
SP
15182 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15183 tanh, asinh, acosh, atanh.
15184 * benchtests/acos-inputs: New file.
15185 * benchtests/acosh-inputs: New file.
15186 * benchtests/asin-inputs: New file.
15187 * benchtests/asinh-inputs: New file.
15188 * benchtests/atanh-inputs: New file.
15189 * benchtests/cosh-inputs: New file.
15190 * benchtests/log-inputs: New file.
15191 * benchtests/sinh-inputs: New file.
15192 * benchtests/tanh-inputs: New file.
15193
47c22455
DL
151942013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15195
15196 [BZ #15339]
15197 * posix/tst-getaddrinfo4.c: New test.
15198 * posix/Makefile (tests): Add it.
15199
3d04f5db
SP
152002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15201
15202 [BZ #15339]
15203 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15204 when no services were used.
15205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15206 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15207
d5dd6189
AS
152082013-05-21 Andreas Schwab <schwab@suse.de>
15209
15210 [BZ #15014]
15211 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15212 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15213 successful.
15214 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15215 redundant variable declarations and reallocation of buffer when
15216 parsing as IPv6 address. Always set NSS status when called from
15217 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15218 buffer too small. Correct computation of needed size.
15219 * nss/Makefile (tests): Add test-digits-dots.
15220 * nss/test-digits-dots.c: New test.
15221
fef94eab
SP
152222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15223
15224 * benchtests/Makefile: Remove instructions for adding
15225 benchmark tests.
15226 * benchtests/README: New file to explain how to execute and
15227 enhance the benchmark tests.
15228
e39adf43
AS
152292013-05-21 Andreas Schwab <schwab@suse.de>
15230
15231 [BZ #15493]
15232 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15233 * setjmp/tst-sigsetjmp.c: New test.
15234
b2b671b6
OB
152352013-05-20 Ondřej Bílka <neleai@seznam.cz>
15236
15237 * sysdeps/x86_64/memset.S (memset): New implementation.
15238 (__bzero): Likewise.
15239 (__memset_tail): New function.
15240
2d48b41c
OB
152412013-05-20 Ondřej Bílka <neleai@seznam.cz>
15242
15243 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15244 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15245 __memcpy_sse2_unaligned ifunc selection.
15246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15247 Add memcpy-sse2-unaligned.S.
15248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15249 Add: __memcpy_sse2_unaligned.
15250
f16cc3eb
JM
152512013-05-19 Joseph Myers <joseph@codesourcery.com>
15252
3e694268
JM
15253 [BZ #15490]
15254 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15255 math_force_eval before restoring floating-point envrionment.
15256 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15258 Likewise.
15259 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15260 <math_private.h>.
15261 (__nearbyintl): Use math_force_eval before restoring
15262 floating-point environment.
15263 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15264
db62a907
JM
15265 * math/gen-libm-test.pl (special_functions): Remove.
15266 (parse_args): Don't handle TEST_extra. Handle functions with no
15267 return value.
15268 * math/libm-test.inc (struct test_sincos_data): Replace with
15269 struct test_fFF_11_data.
15270 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15271 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15272 (sincos_test_data): Change element type to struct
15273 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15274 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15275 RUN_TEST_LOOP_sincos.
15276 * math/README.libm-test: Don't mention special handling of
15277 individual functions.
15278 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15281 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15282 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284
f16cc3eb
JM
15285 * math/gen-libm-test.pl (get_variable): Remove function.
15286 (parse_args): Don't show pointer parameters to call in test
15287 names. Use "extra output N" in test names for extra outputs
15288 rather than naming variables.
15289
3779b5b6
JM
152902013-05-18 Joseph Myers <joseph@codesourcery.com>
15291
2ee094ff
JM
15292 [BZ #15488]
15293 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15294 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15295 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15296 double tests.
15297 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15298 disable.
15299 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15300 check_long_double.
15301
3779b5b6
JM
15302 * math/gen-libm-test.pl (@tests): Remove variable.
15303 ($count): Likewise.
15304 (new_test): Remove function.
15305 (show_exceptions): New function.
15306 (special_functions): Use show_exceptions instead of new_test.
15307 (parse_args): Likewise.
15308 (generate_testfile): Pass only function name in generated call to
15309 print_max_error or print_complex_max_error.
15310 (get_ulps): Do not handle complex tests specially.
15311 (output_test): Rename to ...
15312 (get_all_ulps_for_test): ... this. Return a string rather than
15313 printing to a file. Require ulps to be present.
15314 (output_ulps): Generate arrays rather than #defines.
15315 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15316 (struct ulp_data): New type.
15317 (BUILD_COMPLEX_ULP): Remove macro.
15318 (compare_ulp_data): New function.
15319 (find_ulps): Likewise.
15320 (find_test_ulps): Likewise.
15321 (find_function_ulps): Likewise.
15322 (find_complex_function_ulps): Likewise.
15323 (print_max_error): Determine allowed ulps using
15324 find_function_ulps.
15325 (print_complex_max_error): Determine allowed ulps using
15326 find_complex_function_ulps.
15327 (check_float_internal): Determine max ulps using find_test_ulps.
15328 (check_float): Do not take max_ulp parameter. Update call to
15329 check_float_internal.
15330 (check_complex): Likewise.
15331 (check_int): Do not take max_ulp parameter.
15332 (check_long): Likewise.
15333 (check_bool): Likewise.
15334 (check_longlong): Likewise.
15335 (struct test_f_f_data): Remove max_ulp field.
15336 (struct test_ff_f_data): Likewise.
15337 (struct test_ff_f_data_nexttoward): Likewise.
15338 (struct test_fi_f_data): Likewise.
15339 (struct test_fl_f_data): Likewise.
15340 (struct test_if_f_data): Likewise.
15341 (struct test_fff_f_data): Likewise.
15342 (struct test_c_f_data): Likewise.
15343 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15344 (struct test_fF_f1_data): Likewise.
15345 (struct test_ffI_f1_data): Likewise.
15346 (struct test_c_c_data): Remove max_ulp field.
15347 (struct test_cc_c_data): Likewise.
15348 (struct test_f_i_data): Likewise.
15349 (struct test_ff_i_data): Likewise.
15350 (struct test_f_l_data): Likewise.
15351 (struct test_f_L_data): Likewise.
15352 (struct test_sincos_data): Likewise.
15353 (RUN_TEST_f_f): Do not handle ulps.
15354 (RUN_TEST_LOOP_f_f): Likewise.
15355 (RUN_TEST_2_f): Likewise.
15356 (RUN_TEST_LOOP_2_f): Likewise.
15357 (RUN_TEST_fff_f): Likewise.
15358 (RUN_TEST_LOOP_fff_f): Likewise.
15359 (RUN_TEST_c_f): Likewise.
15360 (RUN_TEST_LOOP_c_f): Likewise.
15361 (RUN_TEST_f_f1): Likewise.
15362 (RUN_TEST_LOOP_f_f1): Likewise.
15363 (RUN_TEST_fF_f1): Likewise.
15364 (RUN_TEST_LOOP_fF_f1): Likewise.
15365 (RUN_TEST_fI_f1): Likewise.
15366 (RUN_TEST_LOOP_fI_f1): Likewise.
15367 (RUN_TEST_ffI_f1): Likewise.
15368 (RUN_TEST_LOOP_ffI_f1): Likewise.
15369 (RUN_TEST_c_c): Likewise.
15370 (RUN_TEST_LOOP_c_c): Likewise.
15371 (RUN_TEST_cc_c): Likewise.
15372 (RUN_TEST_LOOP_cc_c): Likewise.
15373 (RUN_TEST_f_i): Likewise.
15374 (RUN_TEST_LOOP_f_i): Likewise.
15375 (RUN_TEST_f_i_tg): Likewise.
15376 (RUN_TEST_LOOP_f_i_tg): Likewise.
15377 (RUN_TEST_ff_i_tg): Likewise.
15378 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15379 (RUN_TEST_f_b): Likewise.
15380 (RUN_TEST_LOOP_f_b): Likewise.
15381 (RUN_TEST_f_b_tg): Likewise.
15382 (RUN_TEST_LOOP_f_b_tg): Likewise.
15383 (RUN_TEST_f_l): Likewise.
15384 (RUN_TEST_LOOP_f_l): Likewise.
15385 (RUN_TEST_f_L): Likewise.
15386 (RUN_TEST_LOOP_f_L): Likewise.
15387 (RUN_TEST_sincos): Likewise.
15388 (RUN_TEST_LOOP_sincos): Likewise.
15389
8269107f
JM
153902013-05-17 Joseph Myers <joseph@codesourcery.com>
15391
bb38759d
JM
15392 [BZ #15480]
15393 [BZ #15485]
15394 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15395 main case of finite arguments, set rounding mode to FE_TONEAREST
15396 and discard exceptions.
15397 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15398 exceptions.
15399 (remainder_tonearest_test_data): New variable.
15400 (remainder_test_tonearest): New function.
15401 (remainder_towardzero_test_data): New variable.
15402 (remainder_test_towardzero): New function.
15403 (remainder_downward_test_data): New variable.
15404 (remainder_test_downward): New function.
15405 (remainder_upward_test_data): New variable.
15406 (remainder_test_upward): New function.
15407 (main): Call the new test functions.
15408
a00bdcf0
JM
15409 * math/libm-test.inc (struct test_f_f1_data): Remove field
15410 extra_init.
15411 (struct test_fF_f1_data): Likewise.
15412 (struct test_ffI_f1_data): Likewise.
15413 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15414 based on value of EXTRA_EXPECTED.
15415 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15416 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15417 EXTRA_VAR based on value of EXTRA_EXPECTED.
15418 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15419 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15420 EXTRA_VAR based on value of EXTRA_EXPECTED.
15421 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15422 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15423 EXTRA_VAR based on value of EXTRA_EXPECTED.
15424 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15425 * math/gen-libm-test.pl (parse_args): Don't output initializers
15426 for extra output values.
15427
de407f79
JM
15428 * math/libm-test.inc (check_int): Expect result to be exactly
15429 equal to expected value and do not handle ulps.
15430 (check_long): Likewise.
15431 (check_longlong): Likewise.
15432
8269107f
JM
15433 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15434 exceptions.
15435 (cimag_test_data): Likewise.
15436 (conj_test_data): Likewise.
15437 (copysign_test_data): Likewise.
15438 (cproj_test_data): Likewise.
15439 (creal_test_data): Likewise.
15440 (fabs_test_data): Likewise.
15441 (fdim_test_data): Likewise.
15442 (finite_test_data): Likewise.
15443 (floor_test_data): Likewise.
15444 (fmax_test_data): Likewise.
15445 (fmin_test_data): Likewise.
15446 (fmod_test_data): Likewise.
15447 (fpclassify_test_data): Likewise.
15448 (frexp_test_data): Likewise.
15449 (ilogb_test_data): Likewise.
15450 (isfinite_test_data): Likewise.
15451 (isgreater_test_data): Likewise.
15452 (isgreaterequal_test_data): Likewise.
15453 (isinf_test_data): Likewise.
15454 (isless_test_data): Likewise.
15455 (islessequal_test_data): Likewise.
15456 (islessgreater_test_data): Likewise.
15457 (isnan_test_data): Likewise.
15458 (isnormal_test_data): Likewise.
15459 (issignaling_test_data): Likewise.
15460 (isunordered_test_data): Likewise.
15461 (ldexp_test_data): Likewise.
15462 (lrint_test_data): Likewise.
15463 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15464 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15465 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15466 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15467 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15468 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15469 test input.
15470 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15471 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15472 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15473 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15474 that test input.
15475 (lrint_downward_test_data): Test for "inexact" exceptions.
15476 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15477 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15478 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15479 test input.
15480 (lrint_upward_test_data): Test for "inexact" exceptions.
15481 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15482 test input.
15483 (llrint_test_data): Test for "inexact" exceptions.
15484 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15485 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15486 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15487 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15488 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15489 (llrint_downward_test_data): Test for "inexact" exceptions.
15490 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15491 (llrint_upward_test_data): Test for "inexact" exceptions.
15492 (logb_test_data): Likewise.
15493 (logb_downward_test_data): Likewise.
15494 (nextafter_test_data): Likewise.
15495 (nexttoward_test_data): Likewise.
15496 (remainder_test_data): Likewise.
15497 (remquo_test_data): Likewise.
15498 (scalbn_test_data): Likewise.
15499 (scalbln_test_data): Likewise.
15500 (signbit_test_data): Likewise.
15501 (sqrt_test_data): Likewise.
15502 (significand_test_data): Likewise.
15503
48a18de1
SP
155042013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15505
15506 [BZ #15424]
15507 * benchtests/bench-modf.c (struct args): Mark arg0 as
15508 volatile.
15509 * scripts/bench.pl: Mark members of struct args as volatile.
15510
13d3b41a
AZ
155112013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15512
68191c1d 15513 [BZ # 15497]
13d3b41a
AZ
15514 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15515 negative infinity on POWER6 or lower.
15516 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15517
2848b105
MR
155182013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15519
15520 [BZ #15442]
15521 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15522 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15523 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15524 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15525 (_FP_SETQNAN): New macro.
15526 (_FP_SETQNAN_SEMIRAW): Likewise.
15527 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15528 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15529 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15530 (FP_EXTEND): Use _FP_FRAC_SNANP.
15531 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15532 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15533 into account.
15534 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15535 New macro.
15536 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15537 Likewise.
15538
323e5cb7
JM
155392013-05-16 Joseph Myers <joseph@codesourcery.com>
15540
c58b274f
JM
15541 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15542 with DIVIDE_BY_ZERO_EXCEPTION.
15543 (gamma_test_data): Likewise.
15544 (lgamma_test_data): Likewise.
15545 (log_test_data): Likewise.
15546 (log10_test_data): Likewise.
15547 (log2_test_data): Likewise.
15548 (tgamma_test_data): Likewise.
15549
0ab34904
JM
15550 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15551 (acos_test_tonearest): Likewise.
15552 (acos_test_towardzero): Likewise.
15553 (acos_test_downward): Likewise.
15554 (acos_test_upward): Likewise.
15555 (acosh_test): Likewise.
15556 (asin_test): Likewise.
15557 (asin_test_tonearest): Likewise.
15558 (asin_test_towardzero): Likewise.
15559 (asin_test_downward): Likewise.
15560 (asin_test_upward): Likewise.
15561 (asinh_test): Likewise.
15562 (atan_test): Likewise.
15563 (atanh_test): Likewise.
15564 (atan2_test): Likewise.
15565 (cabs_test): Likewise.
15566 (cacos_test): Likewise.
15567 (cacosh_test): Likewise.
15568 (casin_test): Likewise.
15569 (casinh_test): Likewise.
15570 (catan_test): Likewise.
15571 (catanh_test): Likewise.
15572 (cbrt_test): Likewise.
15573 (ccos_test): Likewise.
15574 (ccosh_test): Likewise.
15575 (cexp_test): Likewise.
15576 (clog_test): Likewise.
15577 (clog10_test): Likewise.
15578 (cos_test): Likewise.
15579 (cos_test_tonearest): Likewise.
15580 (cos_test_towardzero): Likewise.
15581 (cos_test_downward): Likewise.
15582 (cos_test_upward): Likewise.
15583 (cosh_test): Likewise.
15584 (cosh_test_tonearest): Likewise.
15585 (cosh_test_towardzero): Likewise.
15586 (cosh_test_downward): Likewise.
15587 (cosh_test_upward): Likewise.
15588 (cpow_test): Likewise.
15589 (csin_test): Likewise.
15590 (csinh_test): Likewise.
15591 (csqrt_test): Likewise.
15592 (ctan_test): Likewise.
15593 (ctan_test_tonearest): Likewise.
15594 (ctan_test_towardzero): Likewise.
15595 (ctan_test_downward): Likewise.
15596 (ctan_test_upward): Likewise.
15597 (ctanh_test): Likewise.
15598 (ctanh_test_tonearest): Likewise.
15599 (ctanh_test_towardzero): Likewise.
15600 (ctanh_test_downward): Likewise.
15601 (ctanh_test_upward): Likewise.
15602 (erf_test): Likewise.
15603 (erfc_test): Likewise.
15604 (exp_test): Likewise.
15605 (exp_test_tonearest): Likewise.
15606 (exp_test_towardzero): Likewise.
15607 (exp_test_downward): Likewise.
15608 (exp_test_upward): Likewise.
15609 (exp10_test): Likewise.
15610 (exp2_test): Likewise.
15611 (expm1_test): Likewise.
15612 (fmod_test): Likewise.
15613 (gamma_test): Likewise.
15614 (hypot_test): Likewise.
15615 (j0_test): Likewise.
15616 (j1_test): Likewise.
15617 (jn_test): Likewise.
15618 (lgamma_test): Likewise.
15619 (log_test): Likewise.
15620 (log10_test): Likewise.
15621 (log1p_test): Likewise.
15622 (log2_test): Likewise.
15623 (logb_test_downward): Likewise.
15624 (pow_test): Likewise.
15625 (pow_test_tonearest): Likewise.
15626 (pow_test_towardzero): Likewise.
15627 (pow_test_downward): Likewise.
15628 (pow_test_upward): Likewise.
15629 (remainder_test): Likewise.
15630 (remquo_test): Likewise.
15631 (sin_test): Likewise.
15632 (sin_test_tonearest): Likewise.
15633 (sin_test_towardzero): Likewise.
15634 (sin_test_downward): Likewise.
15635 (sin_test_upward): Likewise.
15636 (sincos_test): Likewise.
15637 (sinh_test): Likewise.
15638 (sinh_test_tonearest): Likewise.
15639 (sinh_test_towardzero): Likewise.
15640 (sinh_test_downward): Likewise.
15641 (sinh_test_upward): Likewise.
15642 (sqrt_test): Likewise.
15643 (tan_test): Likewise.
15644 (tan_test_tonearest): Likewise.
15645 (tan_test_towardzero): Likewise.
15646 (tan_test_downward): Likewise.
15647 (tan_test_upward): Likewise.
15648 (tanh_test): Likewise.
15649 (tgamma_test): Likewise.
15650 (y0_test): Likewise.
15651 (y1_test): Likewise.
15652 (yn_test): Likewise.
15653
323e5cb7
JM
15654 * math/gen-libm-test.pl (adjust_arg): Remove function.
15655 (special_function): Remove argument $in_func. Only handle
15656 generating output for tables of tests, not inside functions.
15657 (parse_args): Likewise.
15658 (generate_testfile): Remove variable $in_func. Update call to
15659 parse_args.
15660 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15661 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15662 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15663 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15664 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15665 (MAX_VALUE_INIT): Rename macro to max_value.
15666 (MIN_VALUE_INIT): Rename macro to min_value.
15667 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15668 (plus_zero): Remove variable.
15669 (minus_zero): Likewise.
15670 (plus_infty): Likewise.
15671 (minus_infty): Likewise.
15672 (qnan_value): Likewise.
15673 (max_value): Likewise.
15674 (min_value): Likewise.
15675 (min_subnorm_value): Likewise.
15676
e054f494
RA
156772013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15678
15679 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15680 uint64_t or uint32_t usage.
15681 * crypt/sha256-block.c: Likewise.
15682 * crypt/sha256-crypt.c: Likewise.
15683 * crypt/sha256.c: Likewise.
15684 * crypt/sha512-block.c: Likewise.
15685 * crypt/sha512-crypt.c: Likewise.
15686 * crypt/sha512.c: Likewise.
15687 * debug/backtrace-tst.c: Likewise.
15688 * debug/pcprofiledump.c: Likewise.
15689 * elf/cache.c: Likewise.
15690 * elf/dl-cache.c: Likewise.
15691 * elf/dl-misc.c: Likewise.
15692 * elf/dl-profile.c: Likewise.
15693 * elf/dl-support.c: Likewise.
15694 * elf/ldconfig.c: Likewise.
15695 * elf/sprof.c: Likewise.
15696 * iconv/dummy-repertoire.c: Likewise.
15697 * iconv/iconv_charmap.c: Likewise.
15698 * iconv/skeleton.c: Likewise.
15699 * iconvdata/8bit-generic.c: Likewise.
15700 * iconvdata/cp737.h: Likewise.
15701 * iconvdata/cp775.h: Likewise.
15702 * iconvdata/ibm1008.h: Likewise.
15703 * iconvdata/ibm1025.h: Likewise.
15704 * iconvdata/ibm1046.h: Likewise.
15705 * iconvdata/ibm1097.h: Likewise.
15706 * iconvdata/ibm1112.h: Likewise.
15707 * iconvdata/ibm1122.h: Likewise.
15708 * iconvdata/ibm1123.h: Likewise.
15709 * iconvdata/ibm1124.h: Likewise.
15710 * iconvdata/ibm1129.h: Likewise.
15711 * iconvdata/ibm1130.h: Likewise.
15712 * iconvdata/ibm1132.h: Likewise.
15713 * iconvdata/ibm1133.h: Likewise.
15714 * iconvdata/ibm1137.h: Likewise.
15715 * iconvdata/ibm1140.h: Likewise.
15716 * iconvdata/ibm1141.h: Likewise.
15717 * iconvdata/ibm1142.h: Likewise.
15718 * iconvdata/ibm1143.h: Likewise.
15719 * iconvdata/ibm1144.h: Likewise.
15720 * iconvdata/ibm1145.h: Likewise.
15721 * iconvdata/ibm1146.h: Likewise.
15722 * iconvdata/ibm1147.h: Likewise.
15723 * iconvdata/ibm1148.h: Likewise.
15724 * iconvdata/ibm1149.h: Likewise.
15725 * iconvdata/ibm1153.h: Likewise.
15726 * iconvdata/ibm1154.h: Likewise.
15727 * iconvdata/ibm1155.h: Likewise.
15728 * iconvdata/ibm1156.h: Likewise.
15729 * iconvdata/ibm1157.h: Likewise.
15730 * iconvdata/ibm1158.h: Likewise.
15731 * iconvdata/ibm1160.h: Likewise.
15732 * iconvdata/ibm1161.h: Likewise.
15733 * iconvdata/ibm1162.h: Likewise.
15734 * iconvdata/ibm1163.h: Likewise.
15735 * iconvdata/ibm1164.h: Likewise.
15736 * iconvdata/ibm1166.h: Likewise.
15737 * iconvdata/ibm1167.h: Likewise.
15738 * iconvdata/ibm12712.h: Likewise.
15739 * iconvdata/ibm1390.h: Likewise.
15740 * iconvdata/ibm1399.h: Likewise.
15741 * iconvdata/ibm16804.h: Likewise.
15742 * iconvdata/ibm4517.h: Likewise.
15743 * iconvdata/ibm4899.h: Likewise.
15744 * iconvdata/ibm4909.h: Likewise.
15745 * iconvdata/ibm4971.h: Likewise.
15746 * iconvdata/ibm5347.h: Likewise.
15747 * iconvdata/ibm803.h: Likewise.
15748 * iconvdata/ibm856.h: Likewise.
15749 * iconvdata/ibm901.h: Likewise.
15750 * iconvdata/ibm902.h: Likewise.
15751 * iconvdata/ibm9030.h: Likewise.
15752 * iconvdata/ibm9066.h: Likewise.
15753 * iconvdata/ibm921.h: Likewise.
15754 * iconvdata/ibm922.h: Likewise.
15755 * iconvdata/ibm9448.h: Likewise.
15756 * iconvdata/isiri-3342.h: Likewise.
15757 * iconvdata/jis0201.h: Likewise.
15758 * include/link.h: Likewise.
15759 * include/netdb.h: Likewise.
15760 * inet/check_native.c: Likewise.
15761 * inet/check_pf.c: Likewise.
15762 * inet/getipv4sourcefilter.c: Likewise.
15763 * inet/getnameinfo.c: Likewise.
15764 * inet/getsourcefilter.c: Likewise.
15765 * inet/htonl.c: Likewise.
15766 * inet/setipv4sourcefilter.c: Likewise.
15767 * inet/setsourcefilter.c: Likewise.
15768 * inet/test-inet6_opt.c: Likewise.
15769 * inet/tst-network.c: Likewise.
15770 * locale/C-collate.c: Likewise.
15771 * locale/C-ctype.c: Likewise.
15772 * locale/C-time.c: Likewise.
15773 * locale/C-translit.h: Likewise.
15774 * locale/loadarchive.c: Likewise.
15775 * locale/programs/3level.h: Likewise.
15776 * locale/programs/charmap.c: Likewise.
15777 * locale/programs/charmap.h: Likewise.
15778 * locale/programs/ld-address.c: Likewise.
15779 * locale/programs/ld-collate.c: Likewise.
15780 * locale/programs/ld-ctype.c: Likewise.
15781 * locale/programs/ld-identification.c: Likewise.
15782 * locale/programs/ld-measurement.c: Likewise.
15783 * locale/programs/ld-messages.c: Likewise.
15784 * locale/programs/ld-monetary.c: Likewise.
15785 * locale/programs/ld-name.c: Likewise.
15786 * locale/programs/ld-numeric.c: Likewise.
15787 * locale/programs/ld-paper.c: Likewise.
15788 * locale/programs/ld-telephone.c: Likewise.
15789 * locale/programs/ld-time.c: Likewise.
15790 * locale/programs/linereader.c: Likewise.
15791 * locale/programs/locale.c: Likewise.
15792 * locale/programs/locarchive.c: Likewise.
15793 * locale/programs/locfile.h: Likewise.
15794 * locale/programs/repertoire.c: Likewise.
15795 * locale/programs/simple-hash.c: Likewise.
15796 * locale/programs/simple-hash.h: Likewise.
15797 * malloc/memusage.c: Likewise.
15798 * malloc/memusagestat.c: Likewise.
15799 * nis/nis_defaults.c: Likewise.
15800 * nis/nis_hash.c: Likewise.
15801 * nis/nis_print.c: Likewise.
15802 * nis/nis_xdr.c: Likewise.
15803 * nscd/connections.c: Likewise.
15804 * nscd/hstcache.c: Likewise.
15805 * nscd/nscd_gethst_r.c: Likewise.
15806 * nscd/nscd_getserv_r.c: Likewise.
15807 * nscd/nscd_helper.c: Likewise.
15808 * nscd/servicescache.c: Likewise.
15809 * nss/makedb.c: Likewise.
15810 * nss/nss_db/db-XXX.c: Likewise.
15811 * nss/nss_db/db-initgroups.c: Likewise.
15812 * nss/nss_db/db-netgrp.c: Likewise.
15813 * nss/nss_files/files-network.c: Likewise.
15814 * nss/nss_files/files-parse.c: Likewise.
15815 * posix/bug-regex5.c: Likewise.
15816 * posix/fnmatch_loop.c: Likewise.
15817 * posix/regcomp.c: Likewise.
15818 * posix/regexec.c: Likewise.
15819 * posix/tst-rfc3484-2.c: Likewise.
15820 * posix/tst-rfc3484-3.c: Likewise.
15821 * posix/tst-rfc3484.c: Likewise.
15822 * resolv/nss_dns/dns-canon.c: Likewise.
15823 * resolv/nss_dns/dns-network.c: Likewise.
15824 * resolv/res_init.c: Likewise.
15825 * resolv/res_mkquery.c: Likewise.
15826 * resolv/tst-aton.c: Likewise.
15827 * stdlib/cxa_atexit.c: Likewise.
15828 * stdlib/cxa_finalize.c: Likewise.
15829 * stdlib/gen-fpioconst.c: Likewise.
15830 * stdlib/strtol_l.c: Likewise.
15831 * string/tst-endian.c: Likewise.
15832 * sunrpc/auth_des.c: Likewise.
15833 * sunrpc/clnt_udp.c: Likewise.
15834 * sunrpc/rtime.c: Likewise.
15835 * sunrpc/svcauth_des.c: Likewise.
15836 * sunrpc/xdr.c: Likewise.
15837 * sunrpc/xdr_intXX_t.c: Likewise.
15838 * sunrpc/xdr_rec.c: Likewise.
15839 * sysdeps/generic/ldconfig.h: Likewise.
15840 * sysdeps/generic/ldsodefs.h: Likewise.
15841 * sysdeps/generic/memusage.h: Likewise.
15842 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15852 * sysdeps/posix/getaddrinfo.c: Likewise.
15853 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15854 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15855 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15856 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15857 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15858 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15859 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15860 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15861 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15863 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15864 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15865 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15866 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15867 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15868 * sysdeps/x86_64/dl-tls.h: Likewise.
15869 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15870 * time/alt_digit.c: Likewise.
15871 * time/era.c: Likewise.
15872 * wcsmbs/tst-c16c32-1.c: Likewise.
15873
8c75f674
JM
158742013-05-16 Joseph Myers <joseph@codesourcery.com>
15875
15876 * math/libm-test.inc (struct test_sincos_data): New type.
15877 (RUN_TEST_LOOP_sincos): New macro.
15878 (sincos_test_data): New variable.
15879 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15880
e6e49e59
RH
158812013-05-16 Richard Henderson <rth@redhat.com>
15882
15883 * math/atest-exp2.c (LIMB64): New macro.
15884 (CONSTSZ): New macro.
15885 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15886 (hexdig): Move ...
15887 (print_mpn_fp): ... to function scope.
15888 (read_mpn_hex): Remove.
15889 (get_log2): Remove.
15890 (exp2_mpn): Use mp_log2.
15891 (main): Use mp_exp1.
15892
15c7c18d
JM
158932013-05-16 Joseph Myers <joseph@codesourcery.com>
15894
105a07df
JM
15895 * math/libm-test.inc: Remove comment about not testing "inexact"
15896 exceptions.
15897 (INEXACT_EXCEPTION): New macro.
15898 (NO_INEXACT_EXCEPTION): Likewise.
15899 (INVALID_EXCEPTION_OK): Update value.
15900 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15901 (OVERFLOW_EXCEPTION_OK): Likewise.
15902 (UNDERFLOW_EXCEPTION_OK): Likewise.
15903 (IGNORE_ZERO_INF_SIGN): Likewise.
15904 (ERRNO_UNCHANGED): Likewise.
15905 (ERRNO_EDOM): Likewise.
15906 (ERRNO_ERANGE): Likewise.
15907 (test_exceptions): Handle testing "inexact" exceptions.
15908 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15909 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15910 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15911 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15912 INEXACT_EXCEPTION.
15913 (rint_towardzero_test_data): Likewise.
15914 (rint_downward_test_data): Likewise.
15915 (rint_upward_test_data): Likewise.
15916
e9eee333
JM
15917 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15918 with OVERFLOW_EXCEPTION.
15919 (exp10_test_data): Likewise.
15920 (exp2_test_data): Likewise.
15921 (expm1_test_data): Likewise.
15922 (lgamma_test_data): Likewise.
15923 (pow_test_data): Likewise.
15924 (tgamma_test_data): Likewise.
15925 (yn_test_data): Remove duplicate test of overflow.
15926
1c38ff73
JM
15927 * math/libm-test.inc (struct test_cc_c_data): New type.
15928 (RUN_TEST_LOOP_cc_c): New macro.
15929 (cpow_test_data): New variable.
15930 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15931
15c7c18d
JM
15932 * math/libm-test.inc (struct test_f_L_data): New type.
15933 (RUN_TEST_LOOP_f_L): New macro.
15934 (llrint_test_data): New variable.
15935 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15936 (llrint_tonearest_test_data): New variable.
15937 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15938 (llrint_towardzero_test_data): New variable.
15939 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15940 (llrint_downward_test_data): New variable.
15941 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15942 (llrint_upward_test_data): New variable.
15943 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15944 (llround_test_data): New variable.
15945 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15946
f137ff13
PC
159472013-05-13 Peter Collingbourne <pcc@google.com>
15948
15949 * math/atest-exp2.c (get_log2): Remove const attribute.
15950
3608cb24
JM
159512013-05-15 Joseph Myers <joseph@codesourcery.com>
15952
15953 * math/libm-test.inc (struct test_f_l_data): New type.
15954 (RUN_TEST_LOOP_f_l): New macro.
15955 (lrint_test_data): New variable.
15956 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15957 (lrint_tonearest_test_data): New variable.
15958 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15959 (lrint_towardzero_test_data): New variable.
15960 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15961 (lrint_downward_test_data): New variable.
15962 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15963 (lrint_upward_test_data): New variable.
15964 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15965 (lround_test_data): New variable.
15966 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15967
39b1f617
PC
159682013-05-15 Peter Collingbourne <pcc@google.com>
15969
1deff3dc
PC
15970 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15971 (EXTRACT_WORDS64) Use where appropriate.
15972 (INSERT_WORDS64) Likewise.
15973
791f3ba0
PC
15974 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15975 constraints with x constraints.
15976 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15977
39b1f617
PC
15978 * malloc/obstack.c (_obstack_compat): Add initializer.
15979
12fba011
EM
159802013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15981
15982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15983 si_trapno and add si_addr_lsb to _sifields.sigfault.
15984 (si_trapno): Remove macro.
15985 (si_addr_lsb): Define new macro.
15986 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15987
d369f531
JM
159882013-05-15 Joseph Myers <joseph@codesourcery.com>
15989
b861c6c4
JM
15990 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15991 instead of TEST_f_l.
15992 (llrint_test_tonearest): Likewise.
15993 (llrint_test_towardzero): Likewise.
15994 (llrint_test_downward): Likewise.
15995 (llrint_test_upward): Likewise.
15996 (llround_test): Likewise.
15997
7abeee12
JM
15998 * math/libm-test.inc (struct test_f_i_data): Add comment.
15999 (RUN_TEST_LOOP_f_b): New macro.
16000 (RUN_TEST_LOOP_f_b_tg): Likewise.
16001 (finite_test_data): New variable.
16002 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16003 (isfinite_test_data): New variable.
16004 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16005 (isinf_test_data): New variable.
16006 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16007 (isnan_test_data): New variable.
16008 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16009 (isnormal_test_data): New variable.
16010 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16011 (issignaling_test_data): New variable.
16012 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16013 (signbit_test_data): New variable.
16014 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16015
cbe8c4d3
JM
16016 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16017 with INVALID_EXCEPTION.
16018 (acosh_test_data): Likewise.
16019 (asin_test_data): Likewise.
16020 (atanh_test_data): Likewise.
16021 (fmod_test_data): Likewise.
16022 (log_test_data): Likewise.
16023 (log10_test_data): Likewise.
16024 (log2_test_data): Likewise.
16025 (pow_test_data): Likewise.
16026 (sqrt_test_data): Likewise.
16027 (y0_test_data): Likewise.
16028 (y1_test_data): Likewise.
16029 (yn_test_data): Likewise.
16030
5575c0e5
JM
16031 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16032 function contents.
16033
d369f531
JM
16034 * math/libm-test.inc (struct test_ff_i_data): New type.
16035 (RUN_TEST_LOOP_ff_i_tg): New macro.
16036 (isgreater_test_data): New variable.
16037 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16038 (isgreaterequal_test_data): New variable.
16039 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16040 (isless_test_data): New variable.
16041 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16042 (islessequal_test_data): New variable.
16043 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16044 (islessgreater_test_data): New variable.
16045 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16046 (isunordered_test_data): New variable.
16047 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16048
781fd748
DM
160492013-05-14 David S. Miller <davem@davemloft.net>
16050
16051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16052
87aa21df
JM
160532013-05-14 Joseph Myers <joseph@codesourcery.com>
16054
5e908270
JM
16055 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16056
f71172e5
JM
16057 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16058 extra_test to int.
16059 (struct test_f_i_data): Change type of max_ulp to int.
16060
8cfa635a
JM
16061 * math/libm-test.inc (test_ffI_f1_data): New type.
16062 (RUN_TEST_LOOP_ffI_f1): New macro.
16063 (remquo_test_data): New variable.
16064 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16065
2bcb36b2
JM
16066 * setjmp/tst-setjmp-fp.c: New file.
16067 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16068 (link-libm): New variable.
16069 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16070
acbd839a
JM
16071 * math/libm-test.inc (struct test_f_i_data): New type.
16072 (RUN_TEST_LOOP_f_i): New macro.
16073 (RUN_TEST_LOOP_f_i_tg): Likewise.
16074 (fpclassify_test_data): New variable.
16075 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16076 (ilogb_test_data): New variable.
16077 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16078
e414d745
JM
16079 * math/libm-test.inc (scalbln_test): Correct function name in END
16080 call.
16081
d9c2a0fd
JM
16082 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16083 (RUN_TEST_LOOP_fI_f1): New macro.
16084 (frexp_test_data): New variable.
16085 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16086
9dc9095d
JM
16087 * math/libm-test.inc (struct test_fF_f1_data): New type.
16088 (RUN_TEST_LOOP_fF_f1): New macro.
16089 (modf_test_data): New variable.
16090 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16091
87aa21df
JM
16092 * math/libm-test.inc (struct test_f_f1_data): New type.
16093 (RUN_TEST_LOOP_f_f1): New macro.
16094 (gamma_test_data): New variable.
16095 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16096 (lgamma_test_data): New variable.
16097 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16098
141af660
CD
160992013-05-13 Carlos O'Donell <carlos@redhat.com>
16100
16101 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16102 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16103 (main): Comment "tls" pseudo-hwcap.
16104
6d33265c
JM
161052013-05-13 Joseph Myers <joseph@codesourcery.com>
16106
68fc074c
JM
16107 * math/libm-test.inc (struct test_fl_f_data): New type.
16108 (RUN_TEST_LOOP_fl_f): New variable.
16109 (scalbln_test_data): New variable.
16110 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16111
243216e1
JM
16112 * math/libm-test.inc (struct test_fi_f_data): New type.
16113 (RUN_TEST_LOOP_fi_f): New macro.
16114 (ldexp_test_data): New variable.
16115 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16116 (scalbn_test_data): New variable.
16117 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16118
6a1992e2
JM
16119 * math/libm-test.inc (struct test_c_f_data): New type.
16120 (RUN_TEST_LOOP_c_f): New macro.
16121 (cabs_test_data): New variable.
16122 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16123 (carg_test_data): New variable.
16124 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16125 (cimag_test_data): New variable.
16126 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16127 (creal_test_data): New variable.
16128 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16129
0e400df5
JM
16130 * math/libm-test.inc (struct test_if_f_data): New type.
16131 (RUN_TEST_LOOP_if_f): New macro.
16132 (jn_test_data): New variable.
16133 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16134 (yn_test_data): New variable.
16135 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16136
6d33265c
JM
16137 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16138
f98ece5f
AZ
161392013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16140
16141 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16142 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16143
0f7d347b
SP
161442013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16145
43fe811b
SP
16146 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16147 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16148 (bench-deps): Add bench-timing.h.
16149 * benchtests-bench-skeleton.c: Include bench-timing.h.
16150 (main): Use TIMING_* macros instead of clock_gettime.
16151 * benchtests/bench-timing.h: New file.
16152
0f7d347b
SP
16153 [BZ #14582]
16154 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16155 Renamed from _LIB_VERSION.
16156 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16157
601a3a5f
JM
161582013-05-12 Joseph Myers <joseph@codesourcery.com>
16159
4f184d30
JM
16160 * math/libm-test.inc (struct test_fff_f_data): New type.
16161 (RUN_TEST_LOOP_fff_f): New macro.
16162 (fma_test_data): New variable.
16163 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16164 (fma_towardzero_test_data): New variable.
16165 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16166 (fma_downward_test_data): New variable.
16167 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16168 (fma_upward_test_data): New variable.
16169 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16170
08198877
JM
16171 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16172 (struct test_c_c_data): New type.
16173 (RUN_TEST_LOOP_c_c): New macro.
16174 (cacos_test_data): New variable.
16175 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16176 (cacosh_test_data): New variable.
16177 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16178 (casin_test_data): New variable.
16179 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16180 (casinh_test_data): New variable.
16181 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16182 (catan_test_data): New variable.
16183 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16184 (catanh_test_data): New variable.
16185 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16186 (ccos_test_data): New variable.
16187 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16188 (ccosh_test_data): New variable.
16189 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16190 (cexp_test_data): New variable.
16191 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16192 (clog_test_data): New variable.
16193 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16194 (clog10_test_data): New variable.
16195 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16196 (conj_test_data): New variable.
16197 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16198 (cproj_test_data): New variable.
16199 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16200 (csin_test_data): New variable.
16201 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16202 (csinh_test_data): New variable.
16203 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16204 (csqrt_test_data): New variable.
16205 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16206 (ctan_test_data): New variable.
16207 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16208 (ctan_tonearest_test_data): New variable.
16209 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16210 (ctan_towardzero_test_data): New variable.
16211 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16212 (ctan_downward_test_data): New variable.
16213 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16214 (ctan_upward_test_data): New variable.
16215 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16216 (ctanh_test_data): New variable.
16217 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16218 (ctanh_tonearest_test_data): New variable.
16219 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16220 (ctanh_towardzero_test_data): New variable.
16221 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16222 (ctanh_downward_test_data): New variable.
16223 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16224 (ctanh_upward_test_data): New variable.
16225 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16226 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16227 of BUILD_COMPLEX.
16228
601a3a5f
JM
16229 * math/libm-test.inc (struct test_ff_f_data): New type.
16230 (struct test_ff_f_data_nexttoward): Likewise.
16231 (RUN_TEST_LOOP_2_f): New macro.
16232 (RUN_TEST_LOOP_ff_f): Likewise.
16233 (atan2_test_data): New variable.
16234 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16235 (copysign_test_data): New variable.
16236 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16237 (fdim_test_data): New variable.
16238 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16239 (fmax_test_data): New variable.
16240 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16241 (fmin_test_data): New variable.
16242 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16243 (fmod_test_data): New variable.
16244 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16245 (hypot_test_data): New variable.
16246 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16247 (nextafter_test_data): New variable.
16248 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16249 (nexttoward_test_data): New variable.
16250 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16251 (pow_test_data): New variable.
16252 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16253 (pow_tonearest_test_data): New variable.
16254 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16255 (pow_towardzero_test_data): New variable.
16256 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16257 (pow_downward_test_data): New variable.
16258 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16259 (pow_upward_test_data): New variable.
16260 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16261 (remainder_test_data): New variable.
16262 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16263 (scalb_test_data): New variable.
16264 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update.
16266
74c57478
JM
162672013-05-11 Joseph Myers <joseph@codesourcery.com>
16268
8329e4da
JM
16269 * math/libm-test.inc (fma_test): Use max_value instead of local
16270 variable fltmax.
16271 (nextafter_test): Likewise.
16272
74c57478
JM
16273 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16274 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16275 (acos_downward_test_data): New variable.
16276 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16277 (acos_upward_test_data): New variable.
16278 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16279 (acosh_test_data): New variable.
16280 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16281 (asin_test_data): New variable.
16282 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16283 (asin_tonearest_test_data): New variable.
16284 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16285 (asin_towardzero_test_data): New variable.
16286 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16287 (asin_downward_test_data): New variable.
16288 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16289 (asin_upward_test_data): New variable.
16290 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16291 (asinh_test_data): New variable.
16292 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16293 (atan_test_data): New variable.
16294 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16295 (atanh_test_data): New variable.
16296 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16297 (cbrt_test_data): New variable.
16298 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16299 (ceil_test_data): New variable.
16300 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16301 (cos_test_data): New variable.
16302 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16303 (cos_tonearest_test_data): New variable.
16304 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16305 (cos_towardzero_test_data): New variable.
16306 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16307 (cos_downward_test_data): New variable.
16308 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16309 (cos_upward_test_data): New variable.
16310 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16311 (cosh_test_data): New variable.
16312 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16313 (cosh_tonearest_test_data): New variable.
16314 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16315 (cosh_towardzero_test_data): New variable.
16316 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16317 (cosh_downward_test_data): New variable.
16318 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16319 (cosh_upward_test_data): New variable.
16320 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16321 (erf_test_data): New variable.
16322 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16323 (erfc_test_data): New variable.
16324 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16325 (exp_test_data): New variable.
16326 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16327 (exp_tonearest_test_data): New variable.
16328 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16329 (exp_towardzero_test_data): New variable.
16330 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16331 (exp_downward_test_data): New variable.
16332 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16333 (exp_upward_test_data): New variable.
16334 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16335 (exp10_test_data): New variable.
16336 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16337 (exp2_test_data): New variable.
16338 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16339 (expm1_test_data): New variable.
16340 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16341 (fabs_test_data): New variable.
16342 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16343 (floor_test_data): New variable.
16344 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16345 (j0_test_data): New variable.
16346 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16347 (j1_test_data): New variable.
16348 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16349 (log_test_data): New variable.
16350 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16351 (log10_test_data): New variable.
16352 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16353 (log1p_test_data): New variable.
16354 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16355 (log2_test_data): New variable.
16356 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16357 (logb_test_data): New variable.
16358 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16359 (logb_downward_test_data): New variable.
16360 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16361 (nearbyint_test_data): New variable.
16362 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16363 (rint_test_data): New variable.
16364 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16365 (rint_tonearest_test_data): New variable.
16366 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16367 (rint_towardzero_test_data): New variable.
16368 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16369 (rint_downward_test_data): New variable.
16370 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16371 (rint_upward_test_data): New variable.
16372 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16373 (round_test_data): New variable.
16374 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16375 (sin_test_data): New variable.
16376 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16377 (sin_tonearest_test_data): New variable.
16378 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16379 (sin_towardzero_test_data): New variable.
16380 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16381 (sin_downward_test_data): New variable.
16382 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16383 (sin_upward_test_data): New variable.
16384 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16385 (sinh_test_data): New variable.
16386 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16387 (sinh_tonearest_test_data): New variable.
16388 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16389 (sinh_towardzero_test_data): New variable.
16390 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16391 (sinh_downward_test_data): New variable.
16392 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16393 (sinh_upward_test_data): New variable.
16394 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16395 (sqrt_test_data): New variable.
16396 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16397 (tan_test_data): New variable.
16398 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16399 (tan_tonearest_test_data): New variable.
16400 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16401 (tan_towardzero_test_data): New variable.
16402 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16403 (tan_downward_test_data): New variable.
16404 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16405 (tan_upward_test_data): New variable.
16406 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16407 (tanh_test_data): New variable.
16408 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16409 (tgamma_test_data): New variable.
16410 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16411 (trunc_test_data): New variable.
16412 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16413 (y0_test_data): New variable.
16414 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16415 (y1_test_data): New variable.
16416 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16417 (significand_test_data): New variable.
16418 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16419
7187d844
CG
164202013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16421
16422 [BZ #12387]
16423 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16424
f63fae73
PT
164252013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16426
16427 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16428
8a67a4b3
AJ
164292013-05-10 Andreas Jaeger <aj@suse.de>
16430
16431 [BZ #15448]
16432 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16433 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16434
51df539d
JM
164352013-05-10 Joseph Myers <joseph@codesourcery.com>
16436
16437 * math/gen-libm-test.pl (adjust_arg): New function.
16438 (special_functions): Handle generating output in both functions
16439 and arrays.
16440 (parse_args): Likewise.
16441 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16442 $in_func argument to parse_args.
16443 * math/libm-test.inc (struct test_f_f_data): New type.
16444 (IF_ROUND_INIT_): New macro.
16445 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16446 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16447 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16448 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16449 (ROUND_RESTORE_): Likewise.
16450 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16451 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16452 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16453 (ROUND_RESTORE_FE_UPWARD): Likewise.
16454 (RUN_TEST_LOOP_f_f): New macro.
16455 (acos_test_data): New variable.
16456 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16457 (acos_tonearest_test_data): New variable.
16458 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16459
5c637fe5
SP
164602013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16461
16462 * benchtests/bench-skeleton.c (startup): Fix coding style.
16463
ab2b9461
JM
164642013-05-10 Joseph Myers <joseph@codesourcery.com>
16465
16466 [BZ #6809]
16467 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16468 negative infinity argument.
16469 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16470 negative infinity argument.
16471 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16472 negative infinity argument.
16473 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16474 domain errors.
16475
4c0fe6fe
FW
164762013-05-10 Florian Weimer <fweimer@redhat.com>
16477
16478 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16479 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16480 * iconv/iconv_prog.c (main): Likewise.
16481 * locale/programs/charmap-dir.c (charmap_readdir)
16482 (fopen_uncompressed): Likewise.
16483 * locale/programs/locfile.c (siblings_uncached)
16484 (write_locale_data): Use lstat64 instead of lstat.
16485 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16486 stat.
16487
a3375d29
AJ
164882013-05-10 Andreas Jaeger <aj@suse.de>
16489
16490 [BZ #15395]
16491 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16492 localization.
16493 Include <locale.h>.
16494
36129722
CD
164952013-05-09 Carlos O'Donell <carlos@redhat.com>
16496
16497 * elf/dl-close.c (_dl_close_worker): Add comments.
16498
faa7f811
JM
164992013-05-09 Joseph Myers <joseph@codesourcery.com>
16500
ed41ffef
JM
16501 [BZ #15359]
16502 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16503 high part of pi/2.
16504 (__ieee754_rem_pio2l): Update comments.
16505
d0213cd0
JM
16506 [BZ #15429]
16507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16508 high part of pi/2.
16509 (__ieee754_rem_pio2l): Update comments.
16510
0d3e777a
JM
16511 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16512 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16513
24f56066
JM
16514 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16515 M_PI_4l.
16516
faa7f811
JM
16517 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16518 (M_PI_34_LOG10El): Likewise.
16519 (M_PI2_LOG10El): Likewise.
16520 (M_PI4_LOG10El): Likewise.
16521 (M_PI_LOG10El): Likewise.
16522
e9a5e0fd
AZ
165232013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16524
16525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16526
d8cd06db
JM
165272013-05-08 Joseph Myers <joseph@codesourcery.com>
16528
a0d9f9d7
JM
16529 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16530 (MINUS_ZERO_INIT): Likewise.
16531 (PLUS_INFTY_INIT): Likewise.
16532 (MINUS_INFTY_INIT): Likewise.
16533 (QNAN_VALUE_INIT): Likewise.
16534 (MAX_VALUE_INIT): Likewise.
16535 (MIN_VALUE_INIT): Likewise.
16536 (MIN_SUBNORM_VALUE_INIT): Likewise.
16537 (plus_zero): Initialize with PLUS_ZERO_INIT.
16538 (minus_zero): Initialize with MINUS_ZERO_INIT.
16539 (plus_infty): Initialize with PLUS_INFTY_INIT.
16540 (minus_infty): Initialize with MINUS_INFTY_INIT.
16541 (qnan_value): Initialize with QNAN_VALUE_INIT.
16542 (max_value): Initialize with MAX_VALUE_INIT.
16543 (min_value): Initialize with MIN_VALUE_INIT.
16544 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16545
ae08db3b
JM
16546 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16547 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16548 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16549 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16550
f44bf14a
JM
16551 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16552 (RUN_TEST_2_f): Likewise.
16553 (RUN_TEST_ff_f): Likewise.
16554 (RUN_TEST_fi_f): Likewise.
16555 (RUN_TEST_fl_f): Likewise.
16556 (RUN_TEST_fff_f): Likewise.
16557 (RUN_TEST_c_f): Likewise.
16558 (RUN_TEST_f_f1): Likewise.
16559 (RUN_TEST_fF_f1): Likewise.
16560 (RUN_TEST_fI_f1): Likewise.
16561 (RUN_TEST_ffI_f1): Likewise.
16562 (RUN_TEST_c_c): Likewise.
16563 (RUN_TEST_cc_c): Likewise.
16564 (RUN_TEST_f_i): Likewise.
16565 (RUN_TEST_f_i_tg): Likewise.
16566 (RUN_TEST_ff_i_tg): Likewise.
16567 (RUN_TEST_f_b): Likewise.
16568 (RUN_TEST_f_b_tg): Likewise.
16569 (RUN_TEST_f_l): Likewise.
16570 (RUN_TEST_f_L): Likewise.
16571 (RUN_TEST_sincos): Likewise.
16572 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16573 whether to show exceptions. Do not include ");\n" in return
16574 value.
16575 (special_functions): Output call to RUN_TEST_sincos instead of
16576 check_float calls. Update calls to new_test.
16577 (parse_args): Output call to single RUN_TEST_* macro instead of
16578 check_* calls and other assignments. Update calls to new_test.
16579
d8cd06db
JM
16580 [BZ #2546]
16581 [BZ #2560]
16582 [BZ #5159]
16583 [BZ #15426]
16584 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16585 input to result for tgamma overflow.
16586 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16587 (gamma_coeff): New variable.
16588 (NCOEFF): New macro.
16589 (gamma_positive): New function.
16590 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16591 underflow here. Use gamma_positive instead of exp (lgamma) for
16592 other arguments.
16593 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16594 (gamma_coeff): New variable.
16595 (NCOEFF): New macro.
16596 (gammaf_positive): New function.
16597 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16598 underflow here. Use gamma_positive instead of exp (lgamma) for
16599 other arguments.
16600 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16601 (gamma_coeff): New variable.
16602 (NCOEFF): New macro.
16603 (gammal_positive): New function.
16604 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16605 underflow here. Use gamma_positive instead of exp (lgamma) for
16606 other arguments.
16607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16608 (gamma_coeff): New variable.
16609 (NCOEFF): New macro.
16610 (gammal_positive): New function.
16611 (__ieee754_gammal_r): Handle positive infinity, overflow and
16612 underflow here. Handle NaN the same as positive infinity. Remove
16613 check x < 0xffffffff for negative integers. Use gamma_positive
16614 instead of exp (lgamma) for other arguments.
16615 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16616 (gamma_coeff): New variable.
16617 (NCOEFF): New macro.
16618 (gammal_positive): New function.
16619 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16620 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16621 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16622 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16623 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16624 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16625 * sysdeps/generic/math_private.h (__gamma_productf): New
16626 prototype.
16627 (__gamma_product): Likewise.
16628 (__gamma_productl): Likewise.
16629 * math/Makefile (libm-calls): Add gamma_product.
16630 * math/libm-test.inc (tgamma_test): Add more tests.
16631 * sysdeps/i386/fpu/libm-test-ulps: Update.
16632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16633
bb7cf681
OB
166342013-05-08 Ondřej Bílka <neleai@seznam.cz>
16635
16636 * benchtests/bench-skeleton.c (main): Preheat CPU.
16637
ba853947
AJ
166382013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16639
16640 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16641
8347c74c
RM
166422013-05-07 Roland McGrath <roland@hack.frob.com>
16643
16644 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16645 and _dl_skip_args_internal.
16646
e8dd4791
CD
166472013-05-07 Carlos O'Donell <carlos@redhat.com>
16648
16649 * manual/message.texi (Message Translation): Talk about users.
16650 Message to key mapping impacts design.
16651
c7405830
RM
166522013-05-06 Roland McGrath <roland@hack.frob.com>
16653
a9173057
RM
16654 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16655
976e2f03
RM
16656 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16657
9723ffc5
RM
16658 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16659 * sysdeps/wordsize-64/glob64.c: ... here.
16660
962e6658
RM
16661 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16662 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16663 New macros.
16664
ee586a6d
RM
16665 * debug/getlogin_r_chk.c: Moved to ...
16666 * login/getlogin_r_chk.c: ... here.
16667 * debug/Makefile (routines): Move getlogin_r_chk to ...
16668 * login/Makefile (routines): ... here.
16669 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16670 * login/Versions (libc: GLIBC_2.4): ... here.
16671
355f9165
RM
16672 * io/poll.c (__poll): Renamed from poll.
16673 Add libc_hidden_def.
16674 (poll): Define as weak alias.
16675
bd9ffde6
RM
16676 * debug/ptsname_r_chk.c: Moved to ...
16677 * login/ptsname_r_chk.c: ... here.
16678 * debug/Makefile (routines): Move ptsname_r_chk to ...
16679 * login/Makefile (routines): ... here.
16680 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16681 * login/Versions (libc: GLIBC_2.4): ... here.
16682
8fb16a04
RM
16683 * posix/getlogin.c: Moved to ...
16684 * login/getlogin.c: ... here.
16685 * posix/getlogin_r.c: Moved to ...
16686 * login/getlogin_r.c: ... here.
16687 * posix/getlogin_r.c: Moved to ...
16688 * login/getlogin_r.c: ... here.
16689 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16690 * login/Makefile (routines): ... here.
16691 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16692 * login/Versions (libc: GLIBC_2.0): ... here.
16693
b99b892f
RM
16694 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16695 (setrlimit): Define as weak alias.
16696
c7405830
RM
16697 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16698 Call __ names for open, ftruncate, and close.
16699 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16700 (truncate): Define as weak alias.
16701
5bf96de5
JM
167022013-05-06 Joseph Myers <joseph@codesourcery.com>
16703
9ea3513c
JM
16704 * math/gen-libm-test.pl (parse_args): Initialize x before each
16705 test of frexp, modf and remquo.
16706
5bf96de5
JM
16707 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16708 test signgam value.
16709
16e616a7
AZ
167102013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16711
16712 [BZ #15418]
16713 [BZ #15419]
16714 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16715 internal tests.
16716 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16717
d5e82754
RM
167182013-05-06 Roland McGrath <roland@hack.frob.com>
16719
16720 * elf/dl-writev.h: New file.
16721 * elf/dl-misc.c: Include it.
16722 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16723 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16724
a7548d41
JM
167252013-05-04 Joseph Myers <joseph@codesourcery.com>
16726
b7dab1e4
JM
16727 * math/libm-test.inc (noXFails): Remove variable.
16728 (noXPasses): Likewise.
16729 (BUILD_COMPLEX_INT): Remove macro.
16730 (print_screen): Remove xfail argument.
16731 (print_screen_max_error): Likewise.
16732 (update_stats): Likewise.
16733 (print_max_error): Likewise. Update calls to other affected
16734 functions.
16735 (print_complex_max_error): Likewise.
16736 (test_single_exception): Update calls to print_screen.
16737 (test_single_errno): Likewise.
16738 (check_float_internal): Remove xfail argument. Update calls to
16739 other affected functions.
16740 (check_float): Likewise.
16741 (check_complex): Likewise.
16742 (check_int): Likewise.
16743 (check_long): Likewise.
16744 (check_bool): Likewise.
16745 (check_longlong): Likewise.
16746 (main): Don't print noXFails and noXPasses.
16747 * math/gen-libm-test.pl (top level): Don't mention expected
16748 failure handling in comment.
16749 (new_test): Don't handle expected failures.
16750 (parse_args): Don't mention expected failure handling in comment.
16751 (generate_testfile): Don't handle expected failures.
16752 (parse_ulps): Likewise.
16753 (print_ulps_file): Likewise.
16754 (get_failure): Remove function.
16755 (output_test): Don't handle expected failures.
16756 * make/README.libm-test: Don't mention expected failure handling.
16757
a7548d41
JM
16758 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16759 (minus_zero): Likewise.
16760 (plus_infty): Likewise.
16761 (minus_infty): Likewise.
16762 (qnan_value): Likewise.
16763 (max_value): Likewise.
16764 (min_value): Likewise.
16765 (min_subnorm_value): Likewise.
16766 (initialize): Do not initialize those variables dynamically.
16767
60bfd54c
RM
167682013-05-03 Roland McGrath <roland@hack.frob.com>
16769
cc0e6ed8
RM
16770 * io/open.c (__open_2): Moved to ...
16771 * io/open_2.c: ... this new file.
16772 * io/open64.c (__open64_2): Moved to ...
16773 * io/open64_2.c: ... this new file.
16774 * io/openat.c (__openat_2): Moved to ...
16775 * io/openat_2.c: ... this new file.
16776 * io/openat64.c (__openat64_2): Moved to ...
16777 * io/openat64_2.c: ... this new file.
16778 * io/Makefile (routines): Add them.
16779 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16780 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16781 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16782 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16783 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16784 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16785 (__openat64): Add hidden_ver.
16786 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16787 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16788
60bfd54c
RM
16789 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16790 Separately conditionalize setting of GLRO(dl_sysinfo) so
16791 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16792 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16793
83e7640f
AZ
167942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16795
16796 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16798 definition.
16799 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16800 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16801 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16802 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16803 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16804
d5dc2af3
JM
168052013-05-03 Joseph Myers <joseph@codesourcery.com>
16806
c31a5b1e
JM
16807 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16808 test signgam value.
16809
d5dc2af3
JM
16810 * math/libm-test.inc (hypot_test): Do not use
16811 IGNORE_ZERO_INF_SIGN.
16812
164fd39d
AJ
168132013-05-03 Andreas Jaeger <aj@suse.de>
16814
16815 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16816 Linux 3.9.
16817 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16818 (PF_MAX): Adjust for VSOCK change.
16819
8237f48c
AZ
168202013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16821
16822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16823
9df02941
CD
168242013-05-02 Carlos O'Donell <carlos@redhat.com>
16825
16826 [BZ #15264]
16827 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16828 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16829 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16830
d422395e
DM
168312013-05-02 David S. Miller <davem@davemloft.net>
16832
16833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16834
a07c5731
OB
168352013-05-01 Ondřej Bílka <neleai@seznam.cz>
16836
16837 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16838
1324e37f
RM
168392013-05-01 Roland McGrath <roland@hack.frob.com>
16840
16841 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16842
0695940b
RS
168432013-05-01 Richard Smith <richard@metafoo.co.uk>
16844
bb5f27ad 16845 [BZ #14952]
0695940b
RS
16846 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16847 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16848 Use __attribute__ ((__gnu_inline__)).
16849 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16850 Don't use __attribute__ ((__gnu_inline__)).
16851
10de07f5
JM
168522013-05-01 Joseph Myers <joseph@codesourcery.com>
16853
16854 [BZ #15423]
16855 * math/s_catan.c (__catan): Handle small real or imaginary part of
16856 input specially to avoid spurious underflow.
16857 * math/s_catanf.c (__catanf): Likewise.
16858 * math/s_catanh.c (__catanh): Likewise.
16859 * math/s_catanhf.c (__catanhf): Likewise.
16860 * math/s_catanhl.c (__catanhl): Likewise.
16861 * math/s_catanl.c (__catanl): Likewise.
16862 * math/libm-test.inc (catan_test): Add more tests.
16863 (catanh_test): Likewise.
16864 * sysdeps/i386/fpu/libm-test-ulps: Update.
16865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16866
cb4d5414
AZ
168672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16868
16869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16870
caf84319
JM
168712013-04-30 Joseph Myers <joseph@codesourcery.com>
16872
16873 [BZ #15416]
16874 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16875 accurately for denominator in atan2.
16876 * math/s_catanf.c (__catanf): Likewise.
16877 * math/s_catanh.c (__catanh): Likewise.
16878 * math/s_catanhf.c (__catanhf): Likewise.
16879 * math/s_catanhl.c (__catanhl): Likewise.
16880 * math/s_catanl.c (__catanl): Likewise.
16881 * math/libm-test.inc (catan_test): Add more tests.
16882 (catanh_test): Likewise.
16883 * sysdeps/i386/fpu/libm-test-ulps: Update.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16885
d569c6ee
SP
168862013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16887
6dbe713d
SP
16888 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16889
f0ee064b
SP
16890 * benchtests/Makefile (bench): Remove slow benchmarks.
16891 * benchtests/atan-inputs: Add slow benchmark inputs.
16892 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16893 (BENCH_FUNC): Accept variant offset.
16894 (VARIANT): Define.
16895 * benchtests/bench-skeleton.c (main): Run benchmark for each
16896 variant.
16897 * benchtests/cos-inputs: Add slow benchmark inputs.
16898 * benchtests/exp-inputs: Likewise.
16899 * benchtests/pow-inputs: Likewise.
16900 * benchtests/sin-inputs: Likewise.
16901 * benchtests/slowatan-inputs: Remove.
16902 * benchtests/slowatan.c: Remove.
16903 * benchtests/slowcos-inputs: Remove.
16904 * benchtests/slowcos.c: Remove.
16905 * benchtests/slowexp-inputs: Remove.
16906 * benchtests/slowexp.c: Remove.
16907 * benchtests/slowpow-inputs: Remove.
16908 * benchtests/slowpow.c: Remove.
16909 * benchtests/slowsin-inputs: Remove.
16910 * benchtests/slowsin.c: Remove.
16911 * benchtests/slowtan-inputs: Remove.
16912 * benchtests/slowtan.c: Remove.
16913 * benchtests/tan-inputs: Add slow benchmark inputs.
16914 * scripts/bench.pl: Parse comments and directives.
16915
d569c6ee
SP
16916 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16917 in CPPFLAGS.
16918 ($(objpfx)bench-%.c): Remove *-ITER.
16919 * benchtests/bench-modf.c: Remove definition of ITER.
16920 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16921 (main): Loop for DURATION seconds instead of fixed number of
16922 iterations.
16923 * scripts/bench.pl: Don't expect iterations in parameters.
16924
a6a242fe
RM
169252013-04-29 Roland McGrath <roland@hack.frob.com>
16926
16927 * io/fchdir.c (__fchdir): Renamed from fchdir.
16928 (fchdir): Define as weak alias.
16929
f2da7793
JM
169302013-04-29 Joseph Myers <joseph@codesourcery.com>
16931
16932 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16933 (ERRNO_EDOM): Likewise.
16934 (ERRNO_ERANGE): Likewise.
16935 (noErrnoTests): New variable.
16936 (init_max_error): Set errno to 0.
16937 (test_single_errno): New function.
16938 (test_errno): Likewise.
16939 (check_float_internal): Call test_errno. Set errno to 0.
16940 (check_complex): Refer to errno tests in comment.
16941 (check_int): Call test_errno. Set errno to 0.
16942 (check_long): Likewise.
16943 (check_bool): Likewise.
16944 (check_longlong): Likewise.
16945 (cos_test): Use ERRNO_* flags for errno tests instead of
16946 check_int.
16947 (expm1_test): Likewise.
16948 (fmod_test): Likewise.
16949 (ilogb_test): Likewise.
16950 (lgamma_test): Likewise.
16951 (pow_test): Likewise.
16952 (remainder_test): Likewise.
16953 (sin_test): Likewise.
16954 (tan_test): Likewise.
16955 (yn_test): Likewise.
16956 (initialize): Set errno to 0.
16957 (main): Print number of errno tests.
16958 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16959
b1a36ceb
AJ
169602013-04-29 Andreas Jaeger <aj@suse.de>
16961
c3ed8088
AJ
16962 [BZ #15084]
16963 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16964 and RES_USEVC.
16965
f1a24198
AJ
16966 [BZ #15085]
16967 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16968 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16969 unimplemented.
16970
9ce3b2cb
AJ
16971 [BZ #15380]
16972 * stdlib/random.c (__initstate): Return NULL if
16973 __initstate fails.
16974
f1a24198 16975 [BZ #15086]
b1a36ceb
AJ
16976 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16977 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16978 RES_SNGLKUPREOP.
16979
7e7b6f36
AZ
169802013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16981
16982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16983
4d14f449
JM
169842013-04-29 Joseph Myers <joseph@codesourcery.com>
16985
16986 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16987 of individual tests.
16988 (casin_test): Likewise.
16989 (casinh_test): Likewise.
16990
5b4217d7
JM
169912013-04-27 Joseph Myers <joseph@codesourcery.com>
16992
16993 [BZ #15409]
16994 * math/s_catan.c (__catan): Handle arguments with large real or
16995 imaginary part separately without squaring.
16996 * math/s_catanf.c (__catanf): Likewise.
16997 * math/s_catanh.c (__catanh): Likewise.
16998 * math/s_catanhf.c (__catanhf): Likewise.
16999 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17000 and redefine.
17001 (__catanhl): Handle arguments with large real or imaginary part
17002 separately without squaring.
17003 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17004 and redefine.
17005 (__catanl): Handle arguments with large real or imaginary part
17006 separately without squaring.
17007 * math/libm-test.inc (catan_test): Add more tests.
17008 (catanh_test): Likewise.
17009 * sysdeps/i386/fpu/libm-test-ulps: Update.
17010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17011
4220c3ef
AJ
170122013-04-27 Andreas Jaeger <aj@suse.de>
17013
17014 [BZ #15007]
17015 * stdlib/stdlib.h: Update guards for qecvt.
17016 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17017 <stdlib.h>.
17018
4721b2d1
AM
170192013-04-27 Allan McRae <allan@archlinux.org>
17020
17021 * sysdeps/i386/fpu/libm-test-ulps: Update.
17022
f0302940
JM
170232013-04-26 Joseph Myers <joseph@codesourcery.com>
17024
9457fd95
JM
17025 [BZ #15406]
17026 * math/s_catan.c: Include <float.h>.
17027 (__catan): Ensure underflow exception occurs for underflowed
17028 result.
17029 * math/s_catanf.c: Include <float.h>.
17030 (__catanf): Ensure underflow exception occurs for underflowed
17031 result.
17032 * math/s_catanh.c: Include <float.h>.
17033 (__catanh): Ensure underflow exception occurs for underflowed
17034 result.
17035 * math/s_catanhf.c: Include <float.h>.
17036 (__catanhf): Ensure underflow exception occurs for underflowed
17037 result.
17038 * math/s_catanhl.c: Include <float.h>.
17039 (__catanhl): Ensure underflow exception occurs for underflowed
17040 result.
17041 * math/s_catanl.c: Include <float.h>.
17042 (__catanl): Ensure underflow exception occurs for underflowed
17043 result.
17044 * math/libm-test.inc (catan_test): Add more tests.
17045 (catanh_test): Likewise.
17046
f0302940
JM
17047 [BZ #15405]
17048 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17049 underflowed result.
17050 * math/s_ccoshf.c (__ccoshf): Likewise.
17051 * math/s_ccoshl.c (__ccoshl): Likewise.
17052 * math/s_csin.c (__csin): Likewise.
17053 * math/s_csinf.c (__csinf): Likewise.
17054 * math/s_csinh.c (__csinh): Likewise.
17055 * math/s_csinhf.c (__csinhf): Likewise.
17056 * math/s_csinhl.c (__csinhl): Likewise.
17057 * math/s_csinl.c (__csinl): Likewise.
17058 * math/libm-test.inc (ccos_test): Add more tests.
17059 (ccosh_test): Likewise.
17060 (csin_test): Likewise.
17061 (csinh_test): Likewise.
17062
aa630f59
AZ
170632013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17064
17065 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17066 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17067 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17068 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17069 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17070 powerpc/power5+/fpu folders.
17071 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17072
17073
1b835983
MT
170742013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17075
17076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17077
73709b26
JM
170782013-04-25 Joseph Myers <joseph@codesourcery.com>
17079
17080 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17081 additions to variable.
17082 [$(config-machine) = x86_64] (modules-names): Likewise.
17083 ($(objpfx)tst-audit3): Remove dependency.
17084 ($(objpfx)tst-audit3.out): Likewise.
17085 ($(objpfx)tst-audit4): Likewise.
17086 ($(objpfx)tst-audit4.out): Likewise.
17087 ($(objpfx)tst-audit5): Likewise.
17088 ($(objpfx)tst-audit5.out): Likewise.
17089 ($(objpfx)tst-audit6): Likewise.
17090 ($(objpfx)tst-audit6.out): Likewise.
17091 ($(objpfx)tst-audit7): Likewise.
17092 ($(objpfx)tst-audit7.out): Likewise.
17093 (tst-audit3-ENV): Remove variable.
17094 (tst-audit4-ENV): Likewise.
17095 (tst-audit5-ENV): Likewise.
17096 (tst-audit6-ENV): Likewise.
17097 (tst-audit7-ENV): Likewise.
17098 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17099 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17100 addition to variable.
17101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17105 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17106 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17107 tst-audit3, tst-audit4 and tst-audit5.
17108 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17109 tst-audit6 and tst-audit7.
17110 [$(subdir) = elf] (modules-names): Add audit modules for those
17111 tests.
17112 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17113 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17114 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17115 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17116 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17117 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17118 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17119 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17120 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17121 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17122 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17123 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17124 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17125 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17126 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17127 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17128 Likewise.
17129 [$(subdir) = elf && $(config-cflags-avx) = yes]
17130 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17131 [$(subdir) = elf && $(config-cflags-avx) = yes]
17132 (CFLAGS-tst-auditmod4a.c): Likewise.
17133 [$(subdir) = elf && $(config-cflags-avx) = yes]
17134 (CFLAGS-tst-auditmod4b.c): Likewise.
17135 [$(subdir) = elf && $(config-cflags-avx) = yes]
17136 (CFLAGS-tst-auditmod6b.c): Likewise.
17137 [$(subdir) = elf && $(config-cflags-avx) = yes]
17138 (CFLAGS-tst-auditmod6c.c): Likewise.
17139 [$(subdir) = elf && $(config-cflags-avx) = yes]
17140 (CFLAGS-tst-auditmod7b.c): Likewise.
17141 * elf/tst-audit3.c: Move to ...
17142 * sysdeps/x86_64/tst-audit3.c: ... here.
17143 * elf/tst-audit4.c: Move to ...
17144 * sysdeps/x86_64/tst-audit4.c: ... here.
17145 * elf/tst-audit5.c: Move to ...
17146 * sysdeps/x86_64/tst-audit5.c: ... here.
17147 * elf/tst-audit6.c: Move to ...
17148 * sysdeps/x86_64/tst-audit6.c: ... here.
17149 * elf/tst-audit7.c: Move to ...
17150 * sysdeps/x86_64/tst-audit7.c: ... here.
17151 * elf/tst-auditmod3a.c: Move to ...
17152 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17153 * elf/tst-auditmod3b.c: Move to ...
17154 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17155 * elf/tst-auditmod4a.c: Move to ...
17156 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17157 * elf/tst-auditmod4b.c: Move to ...
17158 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17159 * elf/tst-auditmod5a.c: Move to ...
17160 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17161 * elf/tst-auditmod5b.c: Move to ...
17162 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17163 * elf/tst-auditmod6a.c: Move to ...
17164 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17165 * elf/tst-auditmod6b.c: Move to ...
17166 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17167 * elf/tst-auditmod6c.c: Move to ...
17168 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17169 * elf/tst-auditmod7a.c: Move to ...
17170 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17171 * elf/tst-auditmod7b.c: Move to ...
17172 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17173
1ef74943
PP
171742013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17175
17176 [BZ #15366]
17177 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17178 define unconditionally.
17179 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17180 define unconditionally.
17181 (INT8_C, INT16_C, etc.): Likewise.
17182
93fd48c5
MR
171832013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17184
ae9552cf
MR
17185 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17186 __ehdr_start with hidden visibility.
17187
93fd48c5
MR
17188 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17189
418601aa
CD
171902013-04-24 Carlos O'Donell <carlos@redhat.com>
17191
17192 * math/libm-test.inc (cos_test): Use accurate hex constants.
17193 (sincost_test): Likewise.
17194
2f38fbfe
JM
171952013-04-24 Joseph Myers <joseph@codesourcery.com>
17196
5e221800
JM
17197 * math/libm-test.inc (catan_test): Add more tests.
17198 (catanh_test): Likewise.
17199
77f143fd
JM
17200 * math/s_catanf.c (__catanf): Use suffixed floating-point
17201 constants.
17202 * math/s_catanhf.c (__catanhf): Likewise.
17203 * math/s_catanhl.c (__catanhl): Likewise.
17204 * math/s_catanl.c (__catanl): Likewise.
17205
2f38fbfe
JM
17206 [BZ #15394]
17207 * math/s_catan.c (__catan): Calculate imaginary part of result
17208 with log1p not log unless computing log of number close to 0.
17209 * math/s_catanf.c (__catanf): Likewise.
17210 * math/s_catanl.c (__catanl): Likewise.
17211 * math/s_catanh.c (__catanh): Calculate real part of result with
17212 log1p not log unless computing log of number close to 0.
17213 * math/s_catanhf.c (__catanhf): Likewise.
17214 * math/s_catanhl.c (__catanhl): Likewise.
17215 * math/libm-test.inc (catan_test): Add more tests.
17216 (catanh_test): Likewise.
17217 * sysdeps/i386/fpu/libm-test-ulps: Update.
17218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17219
45d69176
SP
172202013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17221
17222 * benchtests/Makefile: Mention files in which fast and slow
17223 paths of math functions are implemented.
17224
87f51853
RM
172252013-04-23 Roland McGrath <roland@hack.frob.com>
17226
17227 * sysdeps/posix/timespec_get.c: New file.
17228
3c026539
AZ
172292013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17230
17231 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17232 POWER.
17233 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17234 for POWER.
17235 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17236 powerpc/power5/fpu folders.
17237 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17238 * benchtests/Makefile: Add modf testcase.
17239 * benchtests/bench-modf.c: New file: Benchmark test for mo
17240
ff491d14
SP
172412013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17242
17243 [BZ #14888]
17244 * time/Makefile (tests): Add tst-strptime-whitespace.
17245 * time/strptime_l.c (get_number): Use ISSPACE.
17246 (__strptime_internal): Likewise.
17247 * time/tst-strptime-whitespace.c: New test case.
17248
7ed3f4e8
AS
172492013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17250
17251 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17252 member.
17253 (_nss_files_init): Set it here.
17254
5c95f7b6
HC
172552013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17256
17257 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17258 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17259 unsigned.
17260
d34c9158
JBG
172612013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17262
17263 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17264
2169712d
SP
172652013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17266
17267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17268 size just once.
17269
29c5de99
DM
172702013-04-21 David S. Miller <davem@davemloft.net>
17271
17272 * po/ru.po: Update Russion translation from translation project.
17273
ccdad15d
AC
172742013-04-17 Adam Conrad <adconrad@0c3.net>
17275
17276 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17277 and setfsgid.
17278
0f122b8d
CD
172792013-04-17 Carlos O'Donell <carlos@redhat.com>
17280
5c5b07da 17281 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17282 * configure: Regenerate.
5c5b07da 17283 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17284 Add example to error message.
17285 * sysdeps/i386/configure: Regenerate.
17286
037714dd
SP
172872013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17288
17289 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17290 slowtan.
17291 * benchtests/cos-inputs: New file.
17292 * benchtests/slowcos-inputs: New file.
17293 * benchtests/slowcos.c: New file.
17294 * benchtests/slowtan-inputs: New file.
17295 * benchtests/slowtan.c: New file.
17296 * benchtests/tan-inputs: New file.
17297
e913141d
RM
172982013-04-16 Roland McGrath <roland@hack.frob.com>
17299
17300 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17301 considered kosher.
17302
a2964074
SP
173032013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17304
4856bcd2
SP
17305 * benchtests/Makefile: Include cppflags-iterator.mk to add
17306 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17307
a2964074
SP
17308 * Makefile.in (bench-clean): New target.
17309 * benchtests/Makefile (bench-clean): Likewise.
17310
9fbf9aca
DH
173112013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17312
17313 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17314
207d1e2a
TS
173152013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17316
17317 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17318
306dfba9
AS
173192013-04-15 Andreas Schwab <schwab@suse.de>
17320
17321 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17322 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17323 * nscd/pwdcache.c (cache_addpw): Likewise.
17324 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17325 more than recsize.
17326
206a6699
SP
173272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17328
17329 * benchtests/Makefile (bench): Write all output to
17330 bench-out.tmp together.
17331
0582f6b3
AS
173322013-04-15 Andreas Schwab <schwab@suse.de>
17333
17334 * nscd/nscd.c (main): Don't fork again after closing files.
17335
acb4325f
SP
173362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17337
5cb26d0a
SP
17338 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17339
acb4325f
SP
17340 * benchtests/Rules (bench-deps): Collect dependencies into a
17341 single variable. Add Makefile to dependencies.
17342 ($(objpfx)bench-%.c): Depend on bench-deps.
17343
47792506
RM
173442013-04-12 Roland McGrath <roland@hack.frob.com>
17345 Xavier Roche <roche+kml2@exalead.com>
17346
17347 [BZ #15361]
17348 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17349 just that it's a file descriptor.
17350 * manual/llio.texi (Synchronizing AIO Operations): Update description
17351 for EBADF error from aio_fsync.
17352
8fc1bee5
SP
173532013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17354
17355 * Rules (bench): Move target definition...
17356 * benchtests/Makefile: ... here.
17357
aba5e333
CD
173582013-04-11 Carlos O'Donell <carlos@redhat.com>
17359
17360 * math/libm-test.inc (cos_test): Fix PI/2 test.
17361 (sincos_test): Likewise.
17362 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17363 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17364
273cdee8
AS
173652013-04-11 Andreas Schwab <schwab@suse.de>
17366
6ecec3b6
AS
17367 [BZ #13988]
17368 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17369 accept exponent character only when digits were seen.
17370 * stdio-common/Makefile (tests): Add bug26.
17371 * stdio-common/bug26.c: New file.
17372
273cdee8
AS
17373 [BZ #14293]
17374 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17375 non-freeable.
17376
8da491f5
SP
173772013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17378
01dc6df9
SP
17379 * Makeconfig (rtld-prefix): Define built linker prefix.
17380 * Rules (run-bench): Use it.
17381 * math/Makefile (run-regen-ulps): Likewise.
17382
8da491f5
SP
17383 * Rules (bench): Remove eval.
17384
abe7f530
SP
173852013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17386 Roland McGrath <roland@hack.frob.com>
17387 Ondrej Bilka <neleai@seznam.cz>
17388
17389 [BZ #15346]
17390 * time/getdate.c: Include ctype.h and alloca.h.
17391 (__getdate_r): Trim leading and trailing spaces of input.
17392 * time/tst-getdate.c (tests): Add tests with leading and
17393 trailing spaces.
17394
61c23e62
RM
173952013-04-08 Roland McGrath <roland@hack.frob.com>
17396
17397 [BZ #14280]
17398 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17399 when computing value.
17400
7208a313
CD
174012013-04-06 Carlos O'Donell <carlos@redhat.com>
17402
085b2d41
CD
17403 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17404 Use testrun.sh to run libm tests.
17405
7208a313
CD
17406 [BZ #15309]
17407 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17408
872c0acd
MM
174092013-04-06 Marko Myllynen <myllynen@redhat.com>
17410
17411 [BZ #15264]
17412 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17413
26510bdd
CD
174142013-04-06 Carlos O'Donell <carlos@redhat.com>
17415
17416 * Makefile.in (regen-ulps): New target.
17417 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17418 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17419 [ifneq (no,$(PERL)] (regen-ulps): New target.
17420 [ifeq (no,$(PERL)] (regen-ulps): New target.
17421 * math/libm-test.inc (ulps_file_name): Define.
17422 (output_dir): New variable.
17423 (options): Add "output-dir" option.
17424 (parse_opt): Handle 'o' case.
17425 (main): If output_dir is non-NULL use it as a prefix
17426 otherwise use "".
17427 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17428
a01f19c8
CD
174292013-04-06 Carlos O'Donell <carlos@redhat.com>
17430
17431 [BZ #10060, #10062]
17432 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17433 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17434 fail configure if __sync_val_compare_and_swap is not inlined.
17435 * sysdeps/i386/configure: Regenerate.
17436 * configure.in: Build for i686 when configured for i386.
17437 * configure: Regenerate.
17438 * README: Remove i386 reference.
17439
b7a329a5
CD
174402013-04-06 Carlos O'Donell <carlos@redhat.com>
17441
17442 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17443 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17444
bf0f50df
TS
174452013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17446
ee091edf
TS
17447 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17448 (lmsnanval): New variables.
17449 (F): Add conversion tests.
17450 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17451 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17452
a8b792d6
TS
17453 * stdio-common/tstdiomisc.c (F): Properly collect individual
17454 tests' results.
17455
a1cbf437
TS
17456 [BZ #14686, #15336]
17457 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17458 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17459 Instead, use input NaN values or generate a qNaN by arithmetic
17460 operation. Also fix bugs to comply with the standard.
17461 * math/libm-test.inc (remainder_test): Add more tests.
17462
8b43a0c9
TS
17463 [BZ #15335, #15342]
17464 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17466 input NaN values or generate a qNaN by arithmetic operation.
17467
d91da4ce
TS
17468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17469 unreachable code.
17470
bf0f50df
TS
17471 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17472 definitions.
17473
05e166c8
JM
174742013-04-03 Joseph Myers <joseph@codesourcery.com>
17475
17476 [BZ #14478]
17477 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17478 underflowed result.
17479 * math/s_cexpf.c (__cexpf): Likewise.
17480 * math/s_cexpl.c (__cexpl): Likewise.
17481 * math/libm-test.inc (cexp_test): Add more tests.
17482
1cef1b19
AS
174832013-04-03 Andreas Schwab <schwab@suse.de>
17484
17485 [BZ #15330]
17486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17487 order arrays from heap if bigger than alloca cutoff.
17488
74d87055
TS
174892013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17490
17491 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17492 (SNAN_TESTS_double): Refer to GCC PR56831.
17493 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17494 GCC PR56828.
17495
d755bba4
SP
174962013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17497
90d5d5bb
SP
17498 * Rules (bench): Move bench.out after the run is complete.
17499
73e0cd5d
SP
17500 * Rules (bench): Echo currently running benchmark.
17501
64aabd4b
SP
17502 * benchtests/Makefile (bench): Add atan and slowatan.
17503 * benchtests/atan-inputs: New file.
17504 * benchtests/slowatan-inputs: New file.
17505 * benchtests/slowatan.c: New file.
17506
c871eccd
SP
17507 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17509 its value.
17510
d755bba4
SP
17511 [BZ #15305]
17512 * sysdeps/unix/sysv/linux/kernel-features.h
17513 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17514 __ASSUME_XFS_RESTRICTED_CHOWN.
17515 * sysdeps/unix/sysv/linux/pathconf.c
17516 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17517 Save and restore errno.
17518
52ce4860
JM
175192013-04-02 Joseph Myers <joseph@codesourcery.com>
17520
17521 [BZ #15327]
17522 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17523 arguments using __kernel_casinh.
17524 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17525 arguments using __kernel_casinhf.
17526 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17527 arguments using __kernel_casinhl.
17528 * math/libm-test.inc (cacosh_test): Add more tests.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531
81f311c2
SP
175322013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17533
e7906a47
SP
17534 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17536
92e3664b
SP
17537 * bench/Makefile (bench): Add sin and slowsin.
17538 * benchtests/sin-inputs: New file.
17539 * benchtests/slowsin-inputs: New file.
17540 * benchtests/slowsin.c: New file.
17541
81f311c2
SP
17542 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17543 (bench): Add slowexp and slowpow.
17544 (exp-ITER): Increase iterations.
17545 (pow-ITER): Likewise.
17546 * benchtests/exp-inputs: Change input.
17547 * benchtests/pow-inputs: Likewise.
17548 * benchtests/slowexp-inputs: New file.
17549 * benchtests/slowexp.c: New file.
17550 * benchtests/slowpow-inputs: New file.
17551 * benchtests/slowpow.c: New file.
17552
ab0f1aa9
AZ
175532013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17554
17555 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17556 instructions.
17557 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17558 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17559 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17560 * benchtests/Makefile: Add rint benchtest.
17561 * benchtests/rint-inputs: Input for rint benchtest.
17562
57267616
TS
175632013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17564
17565 * Versions.def (libm): Add GLIBC_2.18.
17566 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17567 hidden libm prototypes.
17568 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17569 * math/Makefile (libm-calls): Add s_issignaling.
17570 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17571 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17572 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17573 declaration.
17574 * math/math.h [__USE_GNU] (issignaling): New macro.
17575 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17576 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17578 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17581 * manual/arith.texi (issignaling): New section.
17582 * manual/libm-err-tab.pl (@all_functions): Update comment.
17583 * math/gen-libm-test.pl (parse_args): Apply special handling for
17584 issignaling.
17585 * math/libm-test.inc (print_float, issignaling_test): New
17586 functions.
17587 (check_float_internal): Add issignaling checks.
17588 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17589 default definition.
17590 * sysdeps/powerpc/math-tests.h: New file.
17591 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17592 tests.
17593 * math/test-snan.c (TEST_FUNC): Likewise.
17594
6142896d
DM
175952013-03-30 David S. Miller <davem@davemloft.net>
17596
17597 * po/de.po: Update from translation team.
17598
ccc8cadf
JM
175992013-03-30 Joseph Myers <joseph@codesourcery.com>
17600
17601 [BZ #10357]
17602 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17603 imaginary part less than 1.0 and real part less than 0.5
17604 specially.
17605 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17606 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17607 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17608 (cacos_test): Add more tests.
17609 (casin_test): Likewise.
17610 (casinh_test): Likewise.
17611 * sysdeps/i386/fpu/libm-test-ulps: Update.
17612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17613
0f6a8d4b
SP
176142013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17615
0d1029de
SP
17616 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17617 ONE with its value.
17618
c2d94018
SP
17619 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17620 (__pow_mp): Replace ONE and MONE with their values.
17621 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17622 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17623 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17624 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17625 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17626 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17627
27ec37f1
SP
17628 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17629
a64d7e0e
SP
17630 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17631 (__pow_mp): Replace ZERO and MZERO with their values.
17632 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17634 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17636 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17637 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17638 (__sqr): Likewise.
17639
d26dd3eb
SP
17640 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17641
0f6a8d4b
SP
17642 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17643
e57b0c61
RM
176442013-03-28 Roland McGrath <roland@hack.frob.com>
17645
17646 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17647 Declare with __attribute__ ((weak)).
17648 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17649 Call __call_tls_dtors only if it's not NULL.
17650
356b3480
RM
176512013-03-28 Roland McGrath <roland@hack.frob.com>
17652
288f7d79
RM
17653 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17654 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17655 magic __ehdr_start linker symbol if it's defined.
17656 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17657 them up here if it was already done.
17658
dc0a0263
RM
17659 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17660 (_dl_aux_init): Use const in cast when setting it.
17661 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17662 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17663 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17664
3d3436ae
RM
17665 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17666 Declare them here.
17667 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17668 * csu/libc-tls.c: Nor here.
17669 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17670
356b3480
RM
17671 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17672 (__libc_message): Never call vsyslog.
17673
b0f1246a
AM
176742013-03-28 Alan Modra <amodra@gmail.com>
17675
17676 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17677 Define as empty.
17678 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17679 Likewise.
17680
fbbe2b9a
AZ
176812013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17682
17683 [BZ #15214]
17684 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17685 underflow.
17686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17687
1728ab37
SP
176882013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17689
7a86be6e
SP
17690 [BZ #15304]
17691 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17692 Don't add gid passed as argument.
17693
1728ab37
SP
17694 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17695
3a7182a1
JM
176962013-03-27 Joseph Myers <joseph@codesourcery.com>
17697
17698 [BZ #15307]
17699 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17700 imaginary part between 1.0 and 1.5 and real part less than 0.5
17701 specially.
17702 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17703 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17704 * math/libm-test.inc (cacos_test): Add more tests.
17705 (casin_test): Likewise.
17706 (casinh_test): Likewise.
17707 * sysdeps/i386/fpu/libm-test-ulps: Update.
17708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17709
6f2e90e7
SP
177102013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17711
5739f705
SP
17712 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17713 constants.
17714 (norm): Likewise.
17715 (denorm): Likewise.
17716 (__dbl_mp): Likewise.
17717 (add_magnitudes): Likewise.
17718 (sub_magnitudes): Likewise.
17719 (__add): Likewise.
17720 (__sub): Likewise.
17721 (__mul): Likewise.
17722 (__sqr): Likewise.
17723 (__inv): Likewise.
17724 (__dvd): Likewise.
17725
e375e83d
SP
17726 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17727 commented code.
17728 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17729 (__dubcos): Likewise.
17730 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17731 (__ieee754_acos): Likewise.
17732 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17733 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17734 (__exp1): Likewise.
17735 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17736 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17737 (log1): Likewise.
17738 (my_log2): Likewise.
17739 (checkint): Likewise.
17740 * sysdeps/ieee754/dbl-64/e_remainder.c
17741 (__ieee754_remainder): Likewise.
17742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17744 (bsloww): Likewise.
17745 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17746
6f2e90e7
SP
17747 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17748 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17749 MANTISSA_STORE_T to store computations on mantissa. Use
17750 macros for rounding and division.
17751 (denorm): Likewise.
17752 (__dbl_mp): Likewise.
17753 (add_magnitudes): Likewise.
17754 (sub_magnitudes): Likewise.
17755 (__mul): Likewise.
17756 (__sqr): Likewise.
17757 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17758 powers of two in terms of TWOPOW macro.
17759 (mp_no): Make type of mantissa as MANTISSA_T.
17760 [!RADIXI]: Define RADIXI.
17761 [!TWO52]: Define TWO52.
17762 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17763
fce14d4e
AZ
177642013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765
17766 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17767 llroundl symbol when building for PPC32.
17768
9ad027fb
MW
177692013-03-24 Mark H Weaver <mhw@netris.org>
17770
17771 * manual/arith.texi (Normalization Functions): Fix prototypes for
17772 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17773
e42a38dd
AZ
177742013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17775
17776 [BZ #13889]
17777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17778 high value to check if expl overflow.
17779 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17780 to check for underflow and overflow.
17781 * math/libm-test.inc: Add exp test.
17782
2e0fb521
DL
177832013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17784
17785 [BZ #11120]
17786 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17787 with NOT_IN_libc.
17788
b5784d95
AZ
177892013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17790
17791 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17792 symbol.
17793
5aa4a1a1
TS
177942013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17795
bdef0be7
TS
17796 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17797 wrap blocks consisting of several statements.
17798
5aa4a1a1
TS
17799 * sysdeps/generic/math-tests.h: New file.
17800 * sysdeps/i386/fpu/math-tests.h: Likewise.
17801 * math/test-snan.c: Include it.
17802 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17803
98c48fe5
JM
178042013-03-21 Joseph Myers <joseph@codesourcery.com>
17805
17806 [BZ #15285]
17807 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17808 (__ieee754_j0l): Do not improve calculations using cos of twice
17809 input for inputs above LDBL_MAX / 2.0L.
17810 (__ieee754_y0l): Likewise.
17811 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17812 (__ieee754_j1l): Do not improve calculations using cos of twice
17813 input for inputs above LDBL_MAX / 2.0L.
17814 (__ieee754_y1l): Likewise.
17815 * math/libm-test.inc (j0_test): Add another test.
17816 (j1_test): Likewise.
17817 (y0_test): Likewise.
17818 (y1_test): Likewise.
17819 * sysdeps/i386/fpu/libm-test-ulps: Update.
17820
3775a8bc
SP
178212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17822
17823 * Rules ($(objpfx)bench-%.c): Include code from a C source
17824 file.
17825
0a1b2ae6
JM
178262013-03-21 Joseph Myers <joseph@codesourcery.com>
17827
17828 [BZ #15287]
17829 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17830 imaginary part 1.0 and real part less than 0.5 specially.
17831 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17832 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17833 * math/libm-test.inc (cacos_test): Add more tests.
17834 (casin_test): Likewise.
17835 (casinh_test): Likewise.
17836 * sysdeps/i386/fpu/libm-test-ulps: Update.
17837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17838
b33d4ce4
SP
178392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17840
17841 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17842 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17843
bef0b507
JM
178442013-03-20 Joseph Myers <joseph@codesourcery.com>
17845
17846 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17847 * config.make.in (config-cflags-sse4): Remove variable.
17848 (config-cflags-avx): Likewise.
17849 (config-cflags-sse2avx): Likewise.
17850 (config-cflags-novzeroupper): Likewise.
17851 (config-asflags-i686): Likewise.
17852 (have-mfma4): Likewise.
17853 (have-as-vis3): Likewise.
17854 (MIG): Likewise.
17855 * configure.in (MIG): Do not AC_SUBST.
17856 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17857 (libc_cv_cc_sse4): Do not AC_SUBST.
17858 (libc_cv_cc_avx): Likewise.
17859 (libc_cv_cc_sse2avx): Likewise.
17860 (libc_cv_cc_novzeroupper): Likewise.
17861 (libc_cv_cc_fma4): Likewise.
17862 (libc_cv_as_i686): Likewise.
17863 (libc_cv_sparc_as_vis3): Likewise.
17864 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17865 LIBC_CONFIG_VAR.
17866 (config-asflags-i686): Likewise.
17867 (config-cflags-avx): Likewise.
17868 (config-cflags-sse2avx): Likewise.
17869 (have-mfma4): Likewise.
17870 (config-cflags-novzeroupper): Likewise.
17871 * sysdeps/mach/configure.in (MIG): Likewise.
17872 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17873 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17874 LIBC_CONFIG_VAR.
17875 (config-cflags-avx): Likewise.
17876 (config-cflags-sse2avx): Likewise.
17877 (have-mfma4): Likewise.
17878 (config-cflags-novzeroupper): Likewise.
17879 * configure: Regenerated.
17880 * sysdeps/i386/configure: Likewise.
17881 * sysdeps/mach/configure: Likewise.
17882 * sysdeps/sparc/configure: Likewise.
17883 * sysdeps/x86_64/configure: Likewise.
17884
912cc4b3
RM
178852013-03-20 Roland McGrath <roland@hack.frob.com>
17886
17887 [BZ #14812]
17888 * locale/programs/localedef.c (options): Put N_ translation marker
17889 on argument names, not just descriptions.
17890
04eed2b0
MS
178912013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17892
17893 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17894
a065ceff
OB
178952013-03-20 Ondřej Bílka <neleai@seznam.cz>
17896
9bb2a810 17897 [BZ #14176]
a065ceff
OB
17898 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17899
a600e5ce
RM
179002013-03-19 Roland McGrath <roland@hack.frob.com>
17901
17902 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17903 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17904 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17905 [!BEFORE_ABORT] (before_abort): New function.
17906 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17907 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17908 (writev_for_fatal): New function.
17909 (WRITEV_FOR_FATAL): New macro; call that.
17910 (backtrace_and_maps): New function.
17911 (BEFORE_ABORT): New macro; call that.
17912 (struct str_list): Type removed.
17913 (__libc_message, __libc_fatal): Functions removed.
17914 Include <sysdeps/posix/libc_fatal.c> instead.
17915
6b18bea6
JM
179162013-03-19 Joseph Myers <joseph@codesourcery.com>
17917
17918 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17919 constants.
17920 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17921 double constants.
17922
aaa8cb4b
AS
179232013-03-19 Andreas Schwab <schwab@suse.de>
17924
44673770
AS
17925 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17926 * sysdeps/gnu/configure: Regenerate.
17927
aaa8cb4b
AS
17928 * configure.in: Substitute libc_cv_rtlddir.
17929 * configure: Regenerate.
17930 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17931 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17932 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17933 * elf/Makefile (install-others, CFLAGS-interp.c)
17934 (ldso_install, common-ldd-rewrite): Likewise.
17935 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17936 $(inst_slibdir)/$(rtld-installed-name).
17937 * scripts/rellns-sh: Add -p option.
17938 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17939 for source.
17940
d3cfc668
SP
179412013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17942
17943 * manual/nptl.texi: Renamed to ...
17944 * manual/threads.texi: ... this.
17945 * manual/Makefile (chapters): Update.
17946
0e2b9cdd
RM
179472013-03-18 Roland McGrath <roland@hack.frob.com>
17948
17949 [BZ #14812]
17950 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17951 on argument names, not just descriptions.
0e2b9cdd
RM
17952 * malloc/memusagestat.c (options): Likewise.
17953 * nss/getent.c (options): Likewise.
63270c24
RM
17954
179552013-03-18 Benno Schulenberg <bensberg@justemail.net>
17956
17957 [BZ #14812]
17958 * iconv/iconv_prog.c (options): Put N_ translation marker
17959 on argument names, not just descriptions.
17960 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17961
b2e1393c
OB
179622013-03-18 Ondrej Bilka <neleai@seznam.cz>
17963
17964 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17965 implementation which is faster on all x86_64 architectures.
17966 Tested on AMD, Intel Nehalem, SNB, IVB.
17967 * sysdeps/x86_64/strnlen.S: Likewise.
17968
17969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17970 Remove all multiarch strlen and strnlen versions.
17971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17972 Remove strlen and strnlen related parts.
17973
17974 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17975 Inline strlen part.
17976 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17977
17978 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17979 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17980 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17981 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17982 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17983 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17984
ec4ff04d
CD
179852013-03-17 Carlos O'Donell <carlos@redhat.com>
17986
17987 * manual/memory.texi (Malloc Tunable Parameters):
17988 Sort parameters alphabetically. Add comments for missing entries.
17989
cd18e90a
DM
179902013-03-17 David S. Miller <davem@davemloft.net>
17991
17992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17993
2a185d32
JM
179942013-03-16 Joseph Myers <joseph@codesourcery.com>
17995
d2f9799e
JM
17996 [BZ #15283]
17997 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17998 for arguments at most half maximum finite value.
17999 * math/libm-test.inc (j0_test): Add more tests.
18000 (j1_test): Likewise.
18001 (y0_test): Likewise.
18002 (y1_test): Likewise.
18003 * sysdeps/i386/fpu/libm-test-ulps: Update.
18004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18005
2a185d32
JM
18006 [BZ #14155]
18007 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18008 1 / x and functions P and Q for arguments above 0x1p256L.
18009 (__ieee754_y0l): Likewise.
18010 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18011 (__ieee754_y1l): Likewise.
18012 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18013 (j1_test): Likewise.
18014 (y0_test): Likewise.
18015 (y1_test): Likewise.
18016
6cbec759
TS
180172013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18018
18019 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18020 variable.
18021
bc16e260
RM
180222013-03-15 Roland McGrath <roland@hack.frob.com>
18023
aefc9b8c
RM
18024 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18025 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18026 zero since it's initialized to EXEC_PAGESIZE.
18027
bc16e260
RM
18028 * sysdeps/unix/sysv/linux/ldsodefs.h
18029 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18030 * sysdeps/generic/ldsodefs.h: ... here.
18031
a57da955
TS
180322013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18033
af00a34d
TS
18034 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18035
495ded2c
TS
18036 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18037 math/test-snan.c.
18038 * math/test-snan.c: Renamed from
18039 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18040 * math/Makefile (tests): Add test-snan.
18041 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18042 test-powerpc-snan.
18043
777b0332
TS
18044 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18045 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18046 functions.
18047 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18048 __builtin_nan family of functions.
18049 * math/libm-test.inc (initialize): Initialize qnan_value with
18050 __builtin_nan family of functions.
18051 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18052 Remove variables.
18053 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18054 Remove functions.
18055 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18056 storage class. Initialize qNaN_var and sNaN_var with
18057 __builtin_nan and __builtin_nans families of functions,
18058 respectively.
18059
64d063b8
TS
18060 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18061 (sqrt_test): Remove duplicate test with qNaN input.
18062 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18063 (round_test, signbit_test, significand_test): Note missing +/-Inf
18064 as well as qNaN tests.
18065
67e971f1
TS
18066 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18067 qNaN_var. Fix a few strings, too.
18068 * math/libm-test.inc (nan_value): Rename to qnan_value.
18069 * math/gen-libm-test.pl (%beautify): Adjust to that.
18070 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18071 * math/test-misc.c (main): Likewise.
18072 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18073 to __qnan_bytes, and __qnan_union, respectively.
18074 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18075 Likewise.
18076 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18077 and lqnanval, respectively.
18078 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18079 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18080 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18081 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18082
64487e12
TS
18083 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18084 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18085 doubles.
18086
e015e27b
TS
18087 * math/test-misc.c (main): Fix copy'n'pastos.
18088 * misc/tst-efgcvt.c (special): Likewise.
18089
a57da955
TS
18090 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18091 Remove declarations.
18092
1e380345
SP
180932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18094
18095 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18096 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18097 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18098 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18099
ef26eece
AZ
181002013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18101
18102 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18103 macro to return vdso values correctly in IFUNC implementations.
18104 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18105 Optimization by using IFUNC.
18106
8cfdb7e0
SP
181072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18108 Richard Henderson <rth@redhat.com>
18109 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18110
18111 * Makefile.in (bench): New target.
18112 * NEWS: Mention the benchmark framework.
18113 * Rules (bench): Likewise.
18114 (binaries-bench): Generate binaries for functions to
18115 benchmark.
18116 * benchtests/Makefile: New makefile for benchmark tests.
18117 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18118 programs.
18119 * benchtests/exp-inputs: New input file for EXP function.
18120 * benchtests/pow-inputs: New input file for POW function.
18121 * scripts/bench.pl: New script to generate source files for
18122 benchmark programs.
18123
bcda9880
SP
181242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18125
d22ca8cd
SP
18126 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18127 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18128 computations on mantissa. Use macros for rounding and
18129 division.
18130 (denorm): Likewise.
18131 (__dbl_mp): Likewise.
18132 (add_magnitudes): Likewise.
18133 (sub_magnitudes): Likewise.
18134 (__mul): Likewise.
18135 (__sqr): Likewise.
18136 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18137 powers of two in terms of TWOPOW macro.
18138 (mp_no): Make type of mantissa as MANTISSA_T.
18139 [!RADIXI]: Define RADIXI.
18140 [!TWO52]: Define TWO52.
18141 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18142
bcda9880
SP
18143 * manual/nptl.texi (cindex): Modify threads to pthreads.
18144
06d5adfb
JM
181452013-03-15 Joseph Myers <joseph@codesourcery.com>
18146
18147 * sysdeps/x86_64/preconfigure: Regenerated.
18148
41c7328e
JM
181492013-03-14 Joseph Myers <joseph@codesourcery.com>
18150
18151 [BZ #14155]
18152 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18153 0x1p28 and above.
18154 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18155 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18156 0x1p28 and above.
18157 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18158 * math/libm-test.inc (j0_test): Do not allow one spurious
18159 underflow exception.
18160 (y1_test): Likewise.
18161
e25cfa60
SP
181622013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18163
0409959c
SP
18164 * manual/Makefile (chapters): Add nptl.
18165 * manual/debug.texi (Debugging Support): Add link to Threads
18166 chapter.
18167 * manual/nptl.texi: New file.
18168
e25cfa60
SP
18169 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18170
58a1335e
PB
181712013-03-14 Petr Baudis <pasky@ucw.cz>
18172
18173 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18174 for non-NULL pointer before the memory validity test. Pointed
18175 out by Holger Brunck <holger.brunck@keymile.com>.
18176
9dc7c64f
AS
181772013-03-13 Andreas Schwab <schwab@suse.de>
18178
18179 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18180 instead of .os.
18181
54206aa6
JM
181822013-03-13 Joseph Myers <joseph@codesourcery.com>
18183
18184 * timezone/zic.c: Update from tzcode 2013b.
18185
e98cdb38
CD
181862013-03-12 Carlos O'Donell <carlos@redhat.com>
18187
18188 * manual/install.texi (Configuring and compiling):
18189 Mention i686 and i586.
18190 * INSTALL: Regenerate.
18191
9967e003
RM
181922013-03-12 Roland McGrath <roland@hack.frob.com>
18193
18194 * sysdeps/init_array/elf-init.c: New file.
18195 * csu/elf-init.c
18196 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18197 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18198
18199 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18200 __gmon_start__ as global, but as static with a .preinit_array pointer.
18201 * sysdeps/init_array/gmon-start.c: New file. Use that.
18202 * sysdeps/init_array/crti.S: New file, empty except for comments.
18203 * sysdeps/init_array/crtn.S: Likewise.
18204
e6b5a293 182052013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18206
18207 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18208 definining bcopy.
80f844c9
OB
18209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18210 Remove Prefer_SSE_for_memop.
18211 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18212 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18213 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18215 memset-x86-64.
80f844c9 18216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18217 Remove bzero, memset ifunc support.
80f844c9
OB
18218 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18219 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18220 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18221 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18222
fb6b0fcb
AS
182232013-03-11 Andreas Schwab <schwab@suse.de>
18224
18225 [BZ #15234]
18226 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18227 by SHLIB_COMPAT.
18228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18229 (GLIBC_2.16): Remove pthread_atfork.
18230
3e6bd4b1
PP
182312013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18232
18233 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18234 (ptestcases.h): Likewise.
18235
222d7f00
RM
182362013-03-08 Roland McGrath <roland@hack.frob.com>
18237
18238 * Makeconfig ($(common-objpfx)config.status): Depend on
18239 sysdeps/*/preconfigure{,.in} too.
18240
1ba4f030
JM
182412013-03-08 Joseph Myers <joseph@codesourcery.com>
18242
a222d91a
JM
18243 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18244 (__free_hook): Use void * instead of __malloc_ptr_t.
18245 (__malloc_hook): Likewise.
18246 (__realloc_hook): Likewise.
18247 (__memalign_hook): Likewise.
18248 (__after_morecore_hook): Likewise.
18249 * malloc/arena.c (save_malloc_hook): Likewise.
18250 (save_free_hook): Likewise.
18251 * malloc/hooks.c (malloc_hook_ini): Likewise.
18252 (realloc_hook_ini): Likewise.
18253 (memalign_hook_ini): Likewise.
18254 * malloc/malloc.c (malloc_hook_ini): Likewise.
18255 (realloc_hook_ini): Likewise.
18256 (memalign_hook_ini): Likewise.
18257 (__free_hook): Likewise.
18258 (__malloc_hook): Likewise.
18259 (__realloc_hook): Likewise.
18260 (__memalign_hook): Likewise.
18261 (__libc_malloc): Likewise.
18262 (__libc_free): Likewise.
18263 (__libc_realloc): Likewise.
18264 (__libc_memalign): Likewise.
18265 (__libc_valloc): Likewise.
18266 (__libc_pvalloc): Likewise.
18267 (__libc_calloc): Likewise.
18268 (__posix_memalign): Likewise.
18269 * malloc/morecore.c (__sbrk): Likewise.
18270 (__default_morecore): Likewise.
18271
5cc45e10
JM
18272 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18273
dd54b864
JM
18274 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18275 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18276 __malloc_ptrdiff_t.
18277
1ba4f030
JM
18278 * malloc/malloc.h (__malloc_size_t): Remove macro.
18279 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18280 __malloc_size_t.
18281 (old_memalign_hook): Likewise.
18282 (old_realloc_hook): Likewise.
18283 (struct hdr): Likewise.
18284 (flood): Likewise.
18285 (mallochook): Likewise.
18286 (memalignhook): Likewise.
18287 (reallochook): Likewise.
18288 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18289 (tr_old_realloc_hook): Likewise.
18290 (tr_old_memalign_hook): Likewise.
18291 (tr_mallochook): Likewise.
18292 (tr_reallochook): Likewise.
18293 (tr_memalignhook): Likewise.
18294
edf66e57
AZ
182952013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18296
18297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18298 default_ldbl_pack and using as default implementation.
18299 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18300 implementation.
18301 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18302 redundant definition.
18303 (ldbl_insert_mantissa): Likewise.
18304 (ldbl_canonicalize): Likewise.
18305 (ldbl_nearbyint): Likewise.
18306 (ldbl_pack): Rename to ldbl_pack_ppc.
18307 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18308 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18309 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18310
6d9145d8
SP
183112013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18312
18313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18314 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18316 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18318 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18319 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18320 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18321
4dd4e157
AJ
183222013-03-07 Andreas Jaeger <aj@suse.de>
18323
18324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18325 bits/mman-linux.h.
18326
adbb8027
SP
183272013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18328
ce544b5b
SP
18329 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18330 Include mpa.h and declare __MPEXP.
18331 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18332 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18333 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18334 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18335 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18336 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18337 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18338
4cc149fd
SP
18339 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18340 (__slowpow): Use long double EXPL and LOGL functions to
18341 compute POW.
18342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18343 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18344 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18345 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18346 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18347 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18348
e6ebd4a7
SP
18349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18350 intermediate variable to calculate exponent.
18351 (__sqr): Likewise.
18352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18353 Likewise.
18354 (__sqr): Likewise.
18355
82a9811d
SP
18356 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18357 [!NO__SQR]: Define __sqr.
18358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18359 and NO__SQR. Remove all code except __mul and __sqr. Include
18360 sysdeps/ieee754/dbl-64/mpa.c.
18361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18362
adbb8027
SP
18363 [BZ #12723]
18364 * posix/Makefile (tests): Add tst-pathconf.
18365 * posix/tst-pathconf.c: New test case.
18366 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18367 _PC_PIPE_BUF.
18368 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18369
39120df9
PF
183702013-03-06 Patsy Franklin <pfrankli@redhat.com>
18371
18372 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18373
67525cb8
AJ
183742013-03-06 Andreas Jaeger <aj@suse.de>
18375
664a9ce4
AJ
18376 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18377 definition via __MAP_ANONYMOUS.
18378
8e39047d
AJ
18379 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18380 it's not part of Linux headers.
18381
67525cb8
AJ
18382 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18383 (MAP_HUGE_MASK): Define.
18384
18385 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18386 Define.
18387 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18389 Define.
18390 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18391 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18392 Define.
18393 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18395 Define.
18396 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18397
18398 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18399 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18400 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18401 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18402 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18403 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18404
18405 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18406 Handle f2fs.
18407
18408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18409 Handle f2fs and efivarfs.
18410
18411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18412 f2fs.
18413
18414 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18415 (EFIVARFS_MAGIC): Add.
18416 (F2FS_LINK_MAX): Add.
18417
e1b42695
PP
184182013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18419
18420 * stdio-common/vfprintf.c: Replace __builtin_expect with
18421 __glibc_unlikely.
18422
2d67d91a
JM
184232013-03-06 Joseph Myers <joseph@codesourcery.com>
18424
18425 [BZ #13550]
18426 * sysdeps/generic/bp-sym.h: Remove file.
18427 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18428 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18429 <bp-sym.h> and <bp-asm.h>.
18430 (__longjmp): Don't use BP_SYM.
18431 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18432 and <bp-asm.h>.
18433 (memcpy): Don't use BP_SYM.
18434 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18435 <bp-sym.h> and <bp-asm.h>.
18436 (memcpy): Don't use BP_SYM.
18437 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18438 <bp-asm.h>.
18439 (memcpy): Don't use BP_SYM.
18440 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18441 <bp-asm.h>.
18442 (memset): Don't use BP_SYM.
18443 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18444 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18445 (__bzero): Don't use BP_SYM.
18446 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18447 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18449 <bp-sym.h> and <bp-asm.h>.
18450 (memcmp): Don't use BP_SYM. Remove comment about bounded
18451 pointers.
18452 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18453 <bp-sym.h> and <bp-asm.h>.
18454 (memcpy): Don't use BP_SYM.
18455 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18456 <bp-sym.h> and <bp-asm.h>.
18457 (memset): Don't use BP_SYM.
18458 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18459 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18460 (__bzero): Don't use BP_SYM.
18461 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18462 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18463 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18464 <bp-sym.h> and <bp-asm.h>.
18465 (strncmp): Don't use BP_SYM. Remove comment about bounded
18466 pointers.
18467 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18468 <bp-sym.h> and <bp-asm.h>.
18469 (memcpy): Don't use BP_SYM.
18470 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18471 <bp-sym.h> and <bp-asm.h>.
18472 (memset): Don't use BP_SYM.
18473 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18474 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18475 (__bzero): Don't use BP_SYM.
18476 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18477 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18478 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18479 <bp-sym.h> and <bp-asm.h>.
18480 (__memchr): Don't use BP_SYM.
18481 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18482 <bp-sym.h> and <bp-asm.h>.
18483 (memcmp): Don't use BP_SYM. Remove comment about bounded
18484 pointers.
18485 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18486 <bp-sym.h> and <bp-asm.h>.
18487 (memcpy): Don't use BP_SYM.
18488 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18489 <bp-sym.h> and <bp-asm.h>.
18490 (__mempcpy): Don't use BP_SYM.
18491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18492 <bp-sym.h> and <bp-asm.h>.
18493 (__memrchr): Don't use BP_SYM.
18494 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18495 <bp-sym.h> and <bp-asm.h>.
18496 (memset): Don't use BP_SYM.
18497 (__bzero): Likewise.
18498 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18499 <bp-sym.h> and <bp-asm.h>.
18500 (__rawmemchr): Don't use BP_SYM.
18501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18502 <bp-sym.h> and <bp-asm.h>.
18503 (__STRCMP): Don't use BP_SYM.
18504 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18505 <bp-sym.h> and <bp-asm.h>.
18506 (strchr): Don't use BP_SYM.
18507 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18508 <bp-sym.h> and <bp-asm.h>.
18509 (__strchrnul): Don't use BP_SYM.
18510 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18511 <bp-sym.h> and <bp-asm.h>.
18512 (strlen): Don't use BP_SYM.
18513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18514 <bp-sym.h> and <bp-asm.h>.
18515 (strncmp): Don't use BP_SYM. Remove comment about bounded
18516 pointers.
18517 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18518 <bp-sym.h> and <bp-asm.h>.
18519 (__strnlen): Don't use BP_SYM.
18520 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18521 <bp-sym.h> and <bp-asm.h>.
18522 (__GI__setjmp): Don't use BP_SYM.
18523 (_setjmp): Likewise.
18524 (__sigsetjmp): Likewise.
18525 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18526 (L(start_addresses)): Don't use BP_SYM.
18527 (_start): Likewise.
18528 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18529 <bp-asm.h>.
18530 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18531 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18532 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18533 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18534 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18535 <bp-asm.h>.
18536 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18537 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18538 about bounded pointers.
18539 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18540 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18541 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18542 <bp-asm.h>.
18543 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18544 about bounded pointers. Remove GKM FIXME comments.
18545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18546 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18547 <bp-asm.h>.
18548 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18549 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18550 Remove GKM FIXME comments.
18551 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18552 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18553 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18554 <bp-asm.h>.
18555 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18556 about bounded pointers. Remove GKM FIXME comment.
18557 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18558 and <bp-asm.h>.
18559 (strncmp): Don't use BP_SYM. Remove comment about bounded
18560 pointers.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18562 <bp-sym.h> and <bp-asm.h>.
18563 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18565 <bp-sym.h> and <bp-asm.h>.
18566 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18567 comment.
18568
cdcf361f
PP
185692013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18570
18571 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18572 call free(NULL).
18573
3c4a2b15
DM
185742013-03-05 David S. Miller <davem@davemloft.net>
18575
18576 * po/es.po: Update from translation team.
18577
cdcf361f 185782013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18579
18580 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18581 <bits/mman-linux.h>.
18582 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18583 is fine.
18584 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18585 <bits/mman-linux.h> to end of file.
18586 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18587 is fine.
18588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18589 <bits/mman-linux.h> to end of file.
18590 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18591 is fine.
18592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18593 <bits/mman-linux.h> to end of file.
18594
18595 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18596 (MCL_CURRENT, MCL_FUTURE): Define here.
18597
5f67c04f
AK
185982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18599
8a4473cc 18600 [BZ #15232]
5f67c04f
AK
18601 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18602 attribute_hidden.
18603 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18604
c3e94a95
AK
186052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18606
18607 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18608 fourth parameter needed for rt_sigprocmask syscall.
18609 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18610 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18611 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18612 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18614 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18615
cfb6382a
JM
186162013-03-04 Joseph Myers <joseph@codesourcery.com>
18617
18618 [BZ #13550]
18619 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18620 comment about bounded pointers.
18621 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18622 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18623
539d8e01
AJ
186242013-03-04 Andreas Jaeger <aj@suse.de>
18625
18626 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18627 common definitions.
18628
18629 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18630 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18631 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18635
2e167a70 186362013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18637
18638 [BZ #15055]
18639 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18640 __ieee754_sqrl instead of __sqrl.
18641
68508633
JM
186422013-03-01 Joseph Myers <joseph@codesourcery.com>
18643
18644 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18645 * sysdeps/powerpc/fpu_control.h: ... here.
18646 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18647 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18648 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18649 * sysdeps/powerpc/bits/mathinline.h: ... here.
18650
7775448e
RM
186512013-03-01 Roland McGrath <roland@hack.frob.com>
18652
18653 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18654 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18655 to just [NEED_DL_SYSINFO_DSO].
18656 * elf/dl-support.c: Likewise.
18657 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18658 * elf/rtld.c (dl_main): Likewise.
18659 * elf/setup-vdso.h (setup_vdso): Likewise.
18660 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18661 * sysdeps/unix/sysv/linux/dl-sysdep.c
18662 (_dl_discover_osversion): Likewise.
18663
4e9b5995
CD
186642013-03-01 Carlos O'Donell <carlos@redhat.com>
18665
18666 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18667 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18668
e23872c8
SP
186692013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18670
e5c74c63
SP
18671 * NEWS: Mention libm performance improvements and non-x86 PI
18672 futex support.
18673
e23872c8
SP
18674 * csu/libc-start.c (__pthread_initialize_minimal): Change
18675 function arguments.
18676 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18677
b5510883
JM
186782013-02-28 Joseph Myers <joseph@codesourcery.com>
18679
18680 [BZ #13550]
18681 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18682 * sysdeps/powerpc/powerpc32/__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/a2/memcpy.S: Don't include <bp-sym.h>
18686 and <bp-asm.h>.
18687 (memcpy): Don't use BP_SYM.
18688 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18689 <bp-asm.h>.
18690 (__mpn_add_n): Don't use BP_SYM.
18691 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18692 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18693 and <bp-asm.h>.
18694 (__mpn_addmul_1): Don't use BP_SYM.
18695 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18696 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18697 <bp-sym.h>.
18698 (_setjmp): Don't use BP_SYM.
18699 (__novmx_setjmp): Likewise.
18700 (__GI__setjmp): Likewise.
18701 (__vmx_setjmp): Likewise.
18702 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18703 <bp-sym.h>.
18704 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18705 (__bzero): Don't use BP_SYM.
18706 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18707 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18708 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18709 <bp-sym.h> and <bp-asm.h>.
18710 (memcpy): Don't use BP_SYM.
18711 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18712 <bp-sym.h> and <bp-asm.h>.
18713 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18714 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18715 <bp-sym.h> and <bp-asm.h>.
18716 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18717 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18718 <bp-asm.h>.
18719 (__mpn_lshift): Don't use BP_SYM.
18720 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18721 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18722 <bp-asm.h>.
18723 (memset): Don't use BP_SYM.
18724 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18725 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18726 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18727 <bp-asm.h>.
18728 (__mpn_mul_1): Don't use BP_SYM.
18729 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18731 <bp-sym.h> and <bp-asm.h>.
18732 (memcmp): Don't use BP_SYM.
18733 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18734 <bp-sym.h> and <bp-asm.h>.
18735 (memcpy): Don't use BP_SYM.
18736 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18737 <bp-sym.h> and <bp-asm.h>.
18738 (memset): Don't use BP_SYM.
18739 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18740 <bp-sym.h> and <bp-asm.h>.
18741 (strncmp): Don't use BP_SYM.
18742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18743 <bp-sym.h> and <bp-asm.h>.
18744 (memcpy): Don't use BP_SYM.
18745 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18746 <bp-sym.h> and <bp-asm.h>.
18747 (memset): Don't use BP_SYM.
18748 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18749 <bp-sym.h> and <bp-asm.h>.
18750 (__memchr): Don't use BP_SYM.
18751 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18752 <bp-sym.h> and <bp-asm.h>.
18753 (memcmp): Don't use BP_SYM.
18754 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18755 <bp-sym.h> and <bp-asm.h>.
18756 (memcpy): Don't use BP_SYM.
18757 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18758 <bp-sym.h> and <bp-asm.h>.
18759 (__mempcpy): Don't use BP_SYM.
18760 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18761 <bp-sym.h> and <bp-asm.h>.
18762 (__memrchr): Don't use BP_SYM.
18763 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18764 <bp-sym.h> and <bp-asm.h>.
18765 (memset): Don't use BP_SYM.
18766 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18767 <bp-sym.h> and <bp-asm.h>.
18768 (__rawmemchr): Don't use BP_SYM.
18769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18770 <bp-sym.h> and <bp-asm.h>.
18771 (__STRCMP): Don't use BP_SYM.
18772 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18773 <bp-sym.h> and <bp-asm.h>.
18774 (strchr): Don't use BP_SYM.
18775 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18776 <bp-sym.h> and <bp-asm.h>.
18777 (__strchrnul): Don't use BP_SYM.
18778 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18779 <bp-sym.h> and <bp-asm.h>.
18780 (strlen): Don't use BP_SYM.
18781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18782 <bp-sym.h> and <bp-asm.h>.
18783 (strncmp): Don't use BP_SYM.
18784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18785 <bp-sym.h> and <bp-asm.h>.
18786 (__strnlen): Don't use BP_SYM.
18787 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18788 <bp-asm.h>.
18789 (__mpn_rshift): Don't use BP_SYM.
18790 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18791 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18792 <bp-sym.h> and <bp-asm.h>.
18793 (__sigsetjmp): Don't use BP_SYM.
18794 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18795 (L(start_addresses)): Don't use BP_SYM.
18796 (_start): Likewise.
18797 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18798 <bp-asm.h>.
18799 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18800 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18801 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18802 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18803 <bp-asm.h>.
18804 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18805 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18806 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18807 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18808 <bp-asm.h>.
18809 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18810 comments.
18811 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18812 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18813 <bp-asm.h>.
18814 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18815 FIXME comments.
18816 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18817 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18818 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18819 <bp-asm.h>.
18820 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18821 comment.
18822 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18823 and <bp-asm.h>.
18824 (strncmp): Don't use BP_SYM,
18825 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18826 <bp-asm.h>.
18827 (__mpn_sub_n): Don't use BP_SYM.
18828 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18829 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18830 and <bp-asm.h>.
18831 (__mpn_submul_1): Don't use BP_SYM.
18832 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18834 <bp-sym.h> and <bp-asm.h>.
18835 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18837 <bp-sym.h> and <bp-asm.h>.
18838 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18839 comment.
18840
8d19fe64
SP
188412013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18842
18843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18844 Use ZK to minimize writes to Z.
18845 (sub_magnitudes): Simplify code a bit.
18846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18847 Use ZK to minimize writes to Z.
18848 (sub_magnitudes): Simplify code a bit.
18849
85bd816a
RM
188502013-02-27 Roland McGrath <roland@hack.frob.com>
18851
18852 * csu/gmon-start.c: Add special exception to license text.
18853
b5977bf2
RH
188542013-02-27 Richard Henderson <rth@redhat.com>
18855
18856 * scripts/config.guess: Update from config.git.
18857 * scripts/config.sub: Likewise.
18858
11d6e2f2
SP
188592013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18860
09c14ed2
SP
18861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18862
a688864e
SP
18863 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18864
6295157a
SP
18865 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18866
b8de2202
SP
18867 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18868
11d6e2f2
SP
18869 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18870
7e80ddb8
RM
188712013-02-26 Roland McGrath <roland@hack.frob.com>
18872
18873 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18874 [$(build-shared = yes].
7e80ddb8 18875
7da6d9ed
SP
188762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18877
45f05884
SP
18878 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18879 (__mul): Reduce iterations for calculating mantissa.
18880
2236d359
SP
18881 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18882 MPTWO.
18883 (__mpranred): Likewise.
18884
7da6d9ed
SP
18885 [BZ #15160]
18886 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18887 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18888
b7688c42
PE
188892013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18890
18891 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18892 Define __attribute__.
18893
53a5c423
SP
188942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18895
18896 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18897 unused.
18898 * posix/regex_internal.h (__attribute): Remove.
18899 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18900 (re_string_context_at): Likewise.
18901 (bitset_not): Use __attribute__ and mark function as possibly
18902 unused.
18903 (bitset_merge): Likewise.
18904 (bitset_mask): Likewise.
18905 (re_string_char_size_at): Likewise.
18906 (re_string_wchar_at): Likewise.
18907 (re_string_elem_size_at): Likewise.
18908
60f5a8b5
SP
189092013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18910
2a983a2e
SP
18911 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18912 code.
18913 (cc32): Likewise.
18914
e69804d1
SP
18915 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18916 (__acr): Likewise.
18917 (__cpy): Likewise.
18918 (norm): Likewise.
18919 (denorm): Likewise.
18920 (__dbl_mp): Likewise.
18921 (add_magnitudes): Likewise.
18922 (sub_magnitudes): Likewise.
18923 (__mul): Likewise.
18924 (__inv): Likewise.
18925
2f22a1e8
SP
18926 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18927 style.
18928
8930ddc7
SP
18929 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18930 style.
18931
dc60cb11
SP
18932 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18933 code.
18934
60f5a8b5
SP
18935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18936 up changes with default code.
18937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18938 Likewise.
18939
b4d1fd33
AM
189402013-02-24 Allan McRae <allan@archlinux.org>
18941
faf6f8bc
AM
18942 * manual/socket.texi (The Internet Namespace): Order menu items
18943 to match that in the file.
18944
b4d1fd33
AM
18945 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18946 node listing of the info page menu.
18947
2366713d
JM
189482013-02-21 Joseph Myers <joseph@codesourcery.com>
18949
18950 [BZ #13550]
18951 * sysdeps/i386/bp-asm.h: Remove file.
18952 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18953 (PARMS): Do not use macros from bp-asm.h.
18954 (S1): Likewise.
18955 (S2): Likewise.
18956 (SIZE): Likewise.
18957 (__mpn_add_n): Do not use BP_SYM
18958 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18959 "bp-asm.h".
18960 (PARMS): Do not use macros from bp-asm.h.
18961 (S1): Likewise.
18962 (SIZE): Likewise.
18963 (__mpn_addmul_1): Do not use BP_SYM
18964 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18965 "bp-asm.h".
18966 (PARMS): Do not use macros from bp-asm.h.
18967 (SIGMSK): Likewise.
18968 (_setjmp): Likewise. Do not use BP_SYM.
18969 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18970 "bp-asm.h".
18971 (PARMS): Do not use macros from bp-asm.h.
18972 (SIGMSK): Likewise.
18973 (setjmp): Likewise. Do not use BP_SYM.
18974 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18975 "bp-asm.h".
18976 (PARMS): Do not use macros from bp-asm.h.
18977 (__frexp): Do not use BP_SYM.
18978 (frexp): Likewise.
18979 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18980 "bp-asm.h".
18981 (PARMS): Do not use macros from bp-asm.h.
18982 (__frexpf): Do not use BP_SYM.
18983 (frexpf): Likewise.
18984 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18985 "bp-asm.h".
18986 (PARMS): Do not use macros from bp-asm.h.
18987 (__frexpl): Do not use BP_SYM.
18988 (frexpl): Likewise.
18989 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18990 "bp-asm.h".
18991 (PARMS): Do not use macros from bp-asm.h.
18992 (__remquo): Do not use BP_SYM.
18993 (remquo): Likewise.
18994 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18995 "bp-asm.h".
18996 (PARMS): Do not use macros from bp-asm.h.
18997 (__remquof): Do not use BP_SYM.
18998 (remquof): Likewise.
18999 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19000 "bp-asm.h".
19001 (PARMS): Do not use macros from bp-asm.h.
19002 (__remquol): Do not use BP_SYM.
19003 (remquol): Likewise.
19004 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19005 "bp-asm.h".
19006 (PARMS): Do not use macros from bp-asm.h.
19007 (DEST): Likewise.
19008 (SRC): Likewise.
19009 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19010 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19011 "bp-asm.h".
19012 (PARMS): Do not use macros from bp-asm.h.
19013 (strlen): Do not use BP_SYM.
19014 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19015 "bp-asm.h".
19016 (PARMS): Do not use macros from bp-asm.h.
19017 (S1): Likewise.
19018 (S2): Likewise.
19019 (SIZE): Likewise.
19020 (__mpn_add_n): Do not use BP_SYM.
19021 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19022 "bp-asm.h".
19023 (PARMS): Do not use macros from bp-asm.h.
19024 (S1): Likewise.
19025 (SIZE): Likewise.
19026 (__mpn_addmul_1): Do not use BP_SYM.
19027 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19028 weak_alias.
19029 (bzero): Likewise.
19030 * sysdeps/i386/i586/lshift.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_lshift): Do not use BP_SYM.
19036 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19037 "bp-asm.h".
19038 (PARMS): Do not use macros from bp-asm.h.
19039 (DEST): Likewise.
19040 (SRC): Likewise.
19041 (LEN): Likewise.
19042 (memcpy): Likewise. Do not use BP_SYM.
19043 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19044 libc_hidden_def and weak_alias.
19045 (mempcpy): Do not use BP_SYM in weak_alias.
19046 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19047 "bp-asm.h".
19048 (PARMS): Do not use macros from bp-asm.h.
19049 (DEST): Likewise.
19050 (LEN): Likewise.
19051 [!BZERO_P] (CHR): Likewise.
19052 (memset): Likewise. Do not use BP_SYM.
19053 * sysdeps/i386/i586/mul_1.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 (SIZE): Likewise.
19058 (__mpn_mul_1): Do not use BP_SYM.
19059 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19060 "bp-asm.h".
19061 (PARMS): Do not use macros from bp-asm.h.
19062 (S): Likewise.
19063 (SIZE): Likewise.
19064 (__mpn_rshift): Do not use BP_SYM.
19065 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19066 "bp-asm.h".
19067 (PARMS): Do not use macros from bp-asm.h.
19068 (STR): Likewise.
19069 (CHR): Likewise.
19070 (strchr): Likewise. Do not use BP_SYM.
19071 (index): Do not use BP_SYM in weak_alias.
19072 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19073 "bp-asm.h".
19074 (PARMS): Do not use macros from bp-asm.h.
19075 (DEST): Likewise.
19076 (SRC): Likewise.
19077 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19078 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19079 "bp-asm.h".
19080 (PARMS): Do not use macros from bp-asm.h.
19081 (strlen): Do not use BP_SYM.
19082 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19083 "bp-asm.h".
19084 (PARMS): Do not use macros from bp-asm.h.
19085 (S1): Likewise.
19086 (S2): Likewise.
19087 (SIZE): Likewise.
19088 (__mpn_sub_n): Do not use BP_SYM.
19089 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19090 "bp-asm.h".
19091 (PARMS): Do not use macros from bp-asm.h.
19092 (S1): Likewise.
19093 (SIZE): Likewise.
19094 (__mpn_submul_1): Do not use BP_SYM.
19095 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19096 "bp-asm.h".
19097 (PARMS): Do not use macros from bp-asm.h.
19098 (S1): Likewise.
19099 (S2): Likewise.
19100 (SIZE): Likewise.
19101 (__mpn_add_n): Do not use BP_SYM.
19102 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19103 weak_alias.
19104 (bzero): Likewise.
19105 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19106 "bp-asm.h".
19107 (PARMS): Do not use macros from bp-asm.h.
19108 (BLK2): Likewise.
19109 (LEN): Likewise.
19110 (memcmp): Do not use BP_SYM.
19111 (bcmp): Do not use BP_SYM in weak_alias.
19112 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19113 "bp-asm.h".
19114 (PARMS): Do not use macros from bp-asm.h.
19115 (DEST): Likewise.
19116 (SRC): Likewise.
19117 (LEN): Likewise.
19118 (memcpy): Likewise. Do not use BP_SYM.
19119 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19120 "bp-asm.h".
19121 (PARMS): Do not use macros from bp-asm.h.
19122 (DEST): Likewise.
19123 (SRC): Likewise.
19124 (LEN): Likewise.
19125 (memmove): Likewise. Do not use BP_SYM.
19126 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19127 "bp-asm.h".
19128 (PARMS): Do not use macros from bp-asm.h.
19129 (DEST): Likewise.
19130 (SRC): Likewise.
19131 (LEN): Likewise.
19132 (__mempcpy): Likewise. Do not use BP_SYM.
19133 (mempcpy): Do not use BP_SYM in weak_alias.
19134 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19135 "bp-asm.h".
19136 (PARMS): Do not use macros from bp-asm.h.
19137 (DEST): Likewise.
19138 (LEN): Likewise.
19139 [!BZERO_P] (CHR): Likewise.
19140 (memset): Likewise. Do not use BP_SYM.
19141 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19142 "bp-asm.h".
19143 (PARMS): Do not use macros from bp-asm.h.
19144 (STR2): Likewise.
19145 (strcmp): Do not use BP_SYM.
19146 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19147 "bp-asm.h".
19148 (PARMS): Do not use macros from bp-asm.h.
19149 (STR): Likewise.
19150 (DELIM): Likewise.
19151 [USE_AS_STRTOK_R] (SAVE): Likewise.
19152 (FUNCTION): Likewise. Do not use BP_SYM.
19153 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19154 aliases.
19155 (strtok_r): Likewise.
19156 (__GI___strtok_r): Likewise.
19157 * sysdeps/i386/lshift.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_lshift): Do not use BP_SYM.
19162 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19163 (PARMS): Do not use macros from bp-asm.h.
19164 (STR): Likewise.
19165 (CHR): Likewise.
19166 (__memchr): Do not use BP_SYM.
19167 (memchr): Do not use BP_SYM in weak_alias.
19168 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19169 (PARMS): Do not use macros from bp-asm.h.
19170 (BLK2): Likewise.
19171 (LEN): Likewise.
19172 (memcmp): Do not use BP_SYM.
19173 (bcmp): Do not use BP_SYM in weak_alias.
19174 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19175 (PARMS): Do not use macros from bp-asm.h.
19176 (S1): Likewise.
19177 (SIZE): Likewise.
19178 (__mpn_mul_1): Do not use BP_SYM.
19179 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19180 "bp-asm.h".
19181 (PARMS): Do not use macros from bp-asm.h.
19182 (STR): Likewise.
19183 (CHR): Likewise.
19184 (__rawmemchr): Do not use BP_SYM.
19185 (rawmemchr): Do not use BP_SYM in weak_alias.
19186 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19187 (PARMS): Do not use macros from bp-asm.h.
19188 (S): Likewise.
19189 (SIZE): Likewise.
19190 (__mpn_rshift): Do not use BP_SYM.
19191 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19192 (PARMS): Do not use macros from bp-asm.h.
19193 (SIGMSK): Likewise.
19194 (__sigsetjmp): Likewise. Do not use BP_SYM.
19195 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19196 (_start): Do not use BP_SYM.
19197 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19198 (PARMS): Do not use macros from bp-asm.h.
19199 (DEST): Likewise.
19200 (SRC): Likewise.
19201 (__stpcpy): Likewise. Do not use BP_SYM.
19202 (stpcpy): Do not use BP_SYM in weak_alias.
19203 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19204 "bp-asm.h".
19205 (PARMS): Do not use macros from bp-asm.h.
19206 (DEST): Likewise.
19207 (SRC): Likewise.
19208 (LEN): Likewise.
19209 (__stpncpy): Likewise. Do not use BP_SYM.
19210 (stpncpy): Do not use BP_SYM in weak_alias.
19211 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19212 (PARMS): Do not use macros from bp-asm.h.
19213 (STR): Likewise.
19214 (CHR): Likewise.
19215 (strchr): Likewise. Do not use BP_SYM.
19216 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19217 "bp-asm.h".
19218 (PARMS): Do not use macros from bp-asm.h.
19219 (STR): Likewise.
19220 (CHR): Likewise.
19221 (__strchrnul): Likewise. Do not use BP_SYM.
19222 (strchrnul): Do not use BP_SYM in weak_alias.
19223 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19224 "bp-asm.h".
19225 (PARMS): Do not use macros from bp-asm.h.
19226 (STOP): Likewise.
19227 (strcspn): Do not use BP_SYM.
19228 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19229 "bp-asm.h".
19230 (PARMS): Do not use macros from bp-asm.h.
19231 (STR): Likewise.
19232 (STOP): Likewise.
19233 (strpbrk): Likewise. Do not use BP_SYM.
19234 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19235 "bp-asm.h".
19236 (PARMS): Do not use macros from bp-asm.h.
19237 (STR): Likewise.
19238 (CHR): Likewise.
19239 (strrchr): Likewise. Do not use BP_SYM.
19240 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19241 (PARMS): Do not use macros from bp-asm.h.
19242 (SKIP): Likewise.
19243 (strspn): Do not use BP_SYM.
19244 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19245 (PARMS): Do not use macros from bp-asm.h.
19246 (STR): Likewise.
19247 (DELIM): Likewise.
19248 (SAVE): Likewise.
19249 (FUNCTION): Likewise. Do not use BP_SYM.
19250 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19251 aliases.
19252 (strtok_r): Likewise.
19253 (__GI___strtok_r): Likewise.
19254 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19255 (PARMS): Do not use macros from bp-asm.h.
19256 (S1): Likewise.
19257 (S2): Likewise.
19258 (SIZE): Likewise.
19259 (__mpn_sub_n): Do not use BP_SYM.
19260 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19261 "bp-asm.h".
19262 (PARMS): Do not use macros from bp-asm.h.
19263 (S1): Likewise.
19264 (SIZE): Likewise.
19265 (__mpn_submul_1): Do not use BP_SYM.
19266 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19267 <bp-sym.h>.
19268 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19269 and <bp-asm.h>.
19270 (PARMS): Do not use macros from bp-asm.h.
19271 (FLAGS): Likewise.
19272 (PTID): Likewise.
19273 (TLS): Likewise.
19274 (CTID): Likewise.
19275 (__clone): Do not use BP_SYM.
19276 (clone): Do not use BP_SYM in weak_alias.
19277 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19278 and <bp-asm.h>.
19279 (PARMS): Do not use macros from bp-asm.h.
19280 (LEN): Likewise.
19281 (__mmap64): Do not use BP_SYM.
19282 (mmap64): Do not use BP_SYM in weak_alias.
19283 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19284 <bp-sym.h> and <bp-asm.h>.
19285 (PARMS): Do not use macros from bp-asm.h.
19286 (__posix_fadvise64_l64): Do not use BP_SYM.
19287 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19288 (PARMS): Do not use macros from bp-asm.h.
19289 (NSOPS): Likewise.
19290 (semtimedop): Do not use BP_SYM.
19291 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19292 and <bp-asm.h>.
19293
582a3cff
AM
192942013-02-21 Allan McRae <allan@archlinux.org>
19295
19296 * manual/message.texi (Charset conversion in gettext):
19297 Move @end statement to beginning of line.
19298
bab8a695
SP
192992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19300
80945231
SP
19301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19302 static.
19303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19304 Likewise.
19305
bab8a695
SP
19306 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19307 (denorm): Likewise.
19308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19310
e21d7aa7
AK
193112013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19312
19313 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19314 tail-call to the resolved function if pltexit isn't needed.
19315
4c7a4263
SP
193162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19317
19318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19319 or Y being zero as being unlikely.
19320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19321 Likewise.
19322
41f49342
CD
193232013-02-20 Carlos O'Donell <carlos@redhat.com>
19324
19325 * manual/nss.texi (System Databases and Name Service Switch):
19326 Remove frobnicate @pxref.
19327
50022a93
TS
193282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19329
19330 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19331 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19332
08cbd996
PM
193332013-02-20 Petr Machata <pmachata@redhat.com>
19334
19335 * elf/elf.h (R_ARM_TARGET1): New macro.
19336 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19337 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19338 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19339 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19340 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19341 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19342 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19343 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19344 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19345 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19346 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19347 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19348 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19349 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19350 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19351 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19352 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19353 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19354 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19355 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19356 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19357 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19358 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19359 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19360 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19361 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19362 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19363 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19364 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19365 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19366 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19367 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19368 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19369 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19370 (R_ARM_THM_GOT_BREL12): Likewise.
19371 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19372 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19373 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19374 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19375 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19376 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19377 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19378 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19379 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19380
c7b275d6
TS
193812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19382
19383 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19384 __attribute_used__ to __attribute__ ((unused)).
19385
20cd7fb3
SP
193862013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19387
19388 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19389 powerpc mpa.c.
19390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19391 comment formatting.
19392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19393
92945b52
JM
193942013-02-19 Joseph Myers <joseph@codesourcery.com>
19395
19396 [BZ #13550]
19397 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19398 Remove macro.
19399 (ENTER): Remove both macro definitions.
19400 (LEAVE): Likewise.
19401 (CHECK_BOUNDS_LOW): Likewise.
19402 (CHECK_BOUNDS_HIGH): Likewise.
19403 (CHECK_BOUNDS_BOTH): Likewise.
19404 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19405 (RETURN_BOUNDED_POINTER): Likewise.
19406 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19407 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19408 (POP_ERRNO_LOCATION_RETURN): Likewise.
19409 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19410 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19411 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19412 macros.
19413 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19414 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19415 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19416 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19417 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19418 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19419 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19420 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19421 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19422 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19423 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19424 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19425 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19426 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19427 removed macros.
19428 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19429 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19430 macros.
19431 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19432 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19433 * sysdeps/i386/i586/memset.S (memset): Likewise.
19434 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19435 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19436 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19437 macros.
19438 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19439 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19440 Change uses of L(2) to L(out).
19441 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19442 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19443 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19444 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19445 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19446 removed macros.
19447 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19448 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19449 macros.
19450 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19451 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19452 (RETURN): Do not use macro LEAVE.
19453 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19454 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19455 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19456 * sysdeps/i386/i686/memset.S (memset): Likewise.
19457 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19458 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19459 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19460 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19461 Likewise.
19462 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19463 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19464 L(1_2) and L(1_3) into L(1).
19465 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19466 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19467 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19468 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19469 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19470 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19471 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19472 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19473 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19474 macros.
19475 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19476 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19477 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19478 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19479 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19480 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19481 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19482 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19483 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19484 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19485 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19486 * sysdeps/i386/strspn.S (strspn): Likewise.
19487 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19488 conditional code.
19489 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19490 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19491 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19492 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19493 L(1_3) into L(1_1).
19494 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19495 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19496 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19497 macros.
19498 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19499
2389741a
JJ
195002013-02-19 Jakub Jelinek <jakub@redhat.com>
19501
19502 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19503 macro.
19504
2016b3cd
SP
195052013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19506
e4f22324
SP
19507 * math/atest-exp.c (exp_mpn): Remove ROUND.
19508 * math/atest-exp2.c (exp_mpn): Likewise.
19509 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19510
2016b3cd
SP
19511 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19512 * stdlib/tst-tls-atexit-lib.c: Likewise.
19513 * stdlib/tst-tls-atexit.c: Likewise.
19514
4be9b544
MF
195152013-02-18 Mike Frysinger <vapier@gentoo.org>
19516
19517 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19518 and __attribute_alloc_size__.
19519
2f62b9ee
MF
195202013-02-18 Mike Frysinger <vapier@gentoo.org>
19521
19522 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19523 __attribute_alloc_size__.
19524 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19525 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19526
6ff444c4
MF
195272013-02-18 Mike Frysinger <vapier@gentoo.org>
19528
19529 * include/programs/xmalloc.h: New file.
19530 * catgets/gencat.c: Include it.
19531 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19532 * elf/pldd.c: Likewise.
19533 * iconv/iconv_charmap.c: Likewise.
19534 * iconv/iconvconfig.c: Likewise.
19535 * iconv/strtab.c: Likewise.
19536 * locale/programs/locale.c: Likewise.
19537 * locale/programs/localedef.h: Likewise.
19538 * locale/programs/simple-hash.c: Likewise.
19539 * nscd/nscd.h: Likewise.
19540 * nss/makedb.c: Likewise.
19541 * sysdeps/generic/ldconfig.h: Likewise.
19542
be179c8a
SP
195432013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19544
ba384f6e
SP
19545 * Versions.def: Add GLIBC_2.18.
19546 * include/link.h (struct link_map): New member l_tls_dtor_count.
19547 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19548 (__call_tls_dtors): Likewise.
19549 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19550 __cxa_thread_atexit_impl.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19552 Likewise.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19554 Likewise.
19555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19556 Likewise.
19557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19558 Likewise.
19559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19561 Likewise.
19562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19563 Likewise.
19564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19566 Likewise.
19567 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19568 (tests): Add test case tst-tls-atexit.
19569 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19570 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19571 (GLIBC_PRIVATE): Add __call_tls_dtors.
19572 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19573 for libstdc++.
19574 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19575 * stdlib/tst-tls-atexit.c: New test case.
19576 * stdlib/tst-tls-atexit-lib.c: New test case.
19577
ffaa74cf 19578 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19579
be179c8a
SP
19580 * elf/Versions (ld): Add _dl_find_dso_for_object.
19581 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19582 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19583 (dl_open_worker): Use _dl_find_dso_for_object.
19584 * elf/dl-sym.c (do_sym): Likewise.
19585 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19586
f78b5caa
AK
195872013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19588
19589 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19590 Syntactic changes only.
19591 (_dl_runtime_profile): Do a tail-call to the resolved function.
19592
29691210
JM
195932013-02-17 Joseph Myers <joseph@codesourcery.com>
19594
19595 [BZ #13550]
19596 * sysdeps/x86_64/bp-asm.h: Remove file.
19597 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19598 <bp-sym.h> and <bp-asm.h>.
19599 (__clone): Do not use BP_SYM.
19600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19601 <bp-sym.h> and <bp-asm.h>.
19602 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19603 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19604 "bp-asm.h".
19605 (_setjmp): Do not use BP_SYM.
19606 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19607 "bp-asm.h".
19608 (setjmp): Do not use BP_SYM.
19609 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19610 libc_hidden_def.
19611 (mempcpy): Do not use BP_SYM in weak_alias.
19612 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19613 "bp-asm.h".
19614 (strchr): Do not use BP_SYM.
19615 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19616 "bp-asm.h".
19617 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19618 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19619 (_start): Do not use BP_SYM.
19620 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19621 "bp-asm.h".
19622 (strcat): Do not use BP_SYM.
19623 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19624 "bp-asm.h".
19625 (STRCMP): Do not use BP_SYM.
19626 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19627 "bp-asm.h".
19628 (STRCPY): Do not use BP_SYM.
19629 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19630 "bp-asm.h".
19631 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19632 "bp-asm.h".
19633 (FUNCTION): Do not use BP_SYM.
19634 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19635 weak_alias.
19636 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19637
f238fd19
AJ
196382013-02-17 Andreas Jaeger <aj@suse.de>
19639
19640 * time/Versions: Sort entries.
19641 * string/Versions: Likewise.
19642 * resolv/Versions: Likewise.
19643 * posix/Versions: Likewise.
19644 * iconv/Versions: Likewise.
19645 * elf/Versions: Likewise.
19646 * wcsmbs/Versions: Likewise.
19647
bd07f23c 196482013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19649
22af19f9
SP
19650 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19651 loop termination condition.
19652
4709fe76
SP
19653 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19654 variable to calculate EZ.
19655 (__sqr): Likewise.
2d0e0f29
SP
19656
19657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19658 the lower precision input.
19659
daaa7713
JM
196602013-02-15 Joseph Myers <joseph@codesourcery.com>
19661
19662 [BZ #13550]
19663 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19664 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19665 (run-via-rtld-prefix): Do not handle %-bp tests.
19666 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19667 (all-object-suffixes): Remove .ob.
19668 (bppfx): Remove variable.
19669 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19670 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19671 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19672 [$(build-bounded) = yes] (libtype.ob): Likewise.
19673 * Makerules (elide-routines.ob): Remove variable.
19674 (do-tests-clean): Do not handle *-bp.out.
19675 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19676 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19677 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19678 (tests): Do not include $(tests-bp.out).
19679 (xtests): Do not include $(xtests-bp.out).
19680 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19681 [$(build-bounded) = yes] ($(addprefix
19682 $(objpfx),$(binaries-bounded))): Remove rule.
19683 ($(objpfx)%-bp.out): Remove rule.
19684 * config.make.in (build-bounded): Remove variable.
19685 * crypt/Makefile [$(build-bounded) = yes]
19686 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19687 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19688 append to variable.
19689 [$(build-bounded) = yes] (install-lib): Likewise.
19690 [$(build-bounded) = yes] (generated): Likewise.
19691 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19692 Remove rule.
19693 * intl/Makefile [$(build-bounded) = yes]
19694 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19695 * math/Makefile [$(build-bounded) = yes]
19696 ($(tests:%=$(objpfx)%-bp): Likewise.
19697 * misc/Makefile [$(build-bounded) = yes]
19698 ($(objpfx)tst-tsearch-bp): Likewise.
19699 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19700 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19701 Remove dependency.
19702 * string/Makefile (o-objects.ob): Remove variable.
19703 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19704 (CFLAGS-.ob): Remove variable.
19705 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19706 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19707 both definitions of variable.
19708 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19709 (ASFLAGS-.ob): Remove variable.
19710
e97ed6dd
JM
197112013-02-14 Joseph Myers <joseph@codesourcery.com>
19712
2bdd4ca6
JM
19713 [BZ #13550]
19714 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19715 Remove __BOUNDED_POINTERS__ from condition.
19716 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19717 * string/bits/string2.h [!__NO_STRING_INLINES &&
19718 !__BOUNDED_POINTERS__]: Likewise.
19719 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19720 Likewise.
19721 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19722 Remove conditional code.
19723 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19724 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19725 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19726 condition.
19727
e97ed6dd
JM
19728 [BZ #13550]
19729 * csu/libc-start.c: Do not include <bp-sym.h>.
19730 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19731 * elf/dl-open.c: Do not include <bp-sym.h>.
19732 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19733 * math/fegetenv.c: Do not include <bp-sym.h>.
19734 (fegetenv): Do not use BP_SYM in versioned symbols.
19735 * nptl/sysdeps/pthread/bits/libc-lockP.h
19736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19737 <bp-sym.h>.
19738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19739 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19741 (__pthread_mutex_destroy): Likewise.
19742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19743 (__pthread_mutex_lock): Likewise.
19744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19745 (__pthread_mutex_trylock): Likewise.
19746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19747 (__pthread_mutex_unlock): Likewise.
19748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19749 (__pthread_mutexattr_init): Likewise.
19750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19751 (__pthread_mutexattr_destroy): Likewise.
19752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19753 (__pthread_mutexattr_settype): Likewise.
19754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19755 (__pthread_rwlock_init): Likewise.
19756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19757 (__pthread_rwlock_destroy): Likewise.
19758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19759 (__pthread_rwlock_rdlock): Likewise.
19760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19761 (__pthread_rwlock_tryrdlock): Likewise.
19762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19763 (__pthread_rwlock_wrlock): Likewise.
19764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19765 (__pthread_rwlock_trywrlock): Likewise.
19766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19767 (__pthread_rwlock_unlock): Likewise.
19768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19769 (__pthread_key_create): Likewise.
19770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19771 (__pthread_setspecific): Likewise.
19772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19773 (__pthread_getspecific): Likewise.
19774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19775 Likewise.
19776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19777 (_pthread_cleanup_push_defer): Likewise.
19778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19779 (_pthread_cleanup_pop_restore): Likewise.
19780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19781 (pthread_setcancelstate): Likewise.
19782 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19783 <bp-sym.h>.
19784 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19785 (memchr): Do not use BP_SYM in weak_alias.
19786 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19787 (fegetenv): Do not use BP_SYM in versioned symbols.
19788 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19789 (fesetenv): Do not use BP_SYM in versioned symbols.
19790 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19791 (feupdateenv): Do not use BP_SYM in versioned symbols.
19792 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19793 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19794 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19795 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19796 (open64): Do not use BP_SYM in weak_alias.
19797 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19798 (fegetenv): Do not use BP_SYM in versioned symbols.
19799 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19800 (fesetenv): Do not use BP_SYM in versioned symbols.
19801 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19802 (feupdateenv): Do not use BP_SYM in versioned symbols.
19803 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19804 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19805 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19806 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19807 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19808 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19810 <bp-sym.h>.
19811 (__libc_start_main): Do not use BP_SYM.
19812
d6752ccd
SP
198132013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19814
cb57ce60
SP
19815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19816 redundant return line.
19817 (norm): Likewise.
19818 (denorm): Likewise.
19819 (dbl_mp): Likewise.
19820 (sub_magnitudes): Likewise.
19821 (__add): Likewise.
19822 (__sub): Likewise.
19823 (__mul): Likewise.
19824 (__inv): Likewise.
19825 (__dvd): Likewise.
19826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19827 (norm): Likewise.
19828 (denorm): Likewise.
19829 (dbl_mp): Likewise.
19830 (sub_magnitudes): Likewise.
19831 (__add): Likewise.
19832 (__sub): Likewise.
19833 (__mul): Likewise.
19834 (__inv): Likewise.
19835 (__dvd): Likewise.
19836
f414520d
SP
19837 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19838 instead of __mul.
19839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19840 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19841 (cc32): Likewise.
19842
d6752ccd
SP
19843 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19844 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19846 of __mul for squares.
19847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19848 function
19849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19850 Likewise.
19851 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19852 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19853
70d9946a
JM
198542013-02-13 Joseph Myers <joseph@codesourcery.com>
19855
19856 [BZ #13550]
19857 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19858 code.
19859 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19860 prototype or function definition. Rename ubp_* variables and
19861 parameters. Remove argv definitions conditional on
19862 [__BOUNDED_POINTERS__].
19863 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19864 * elf/dl-runtime.c (_dl_fixup): Likewise.
19865 * include/set-hooks.h (RUN_HOOK): Likewise.
19866 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19867 definition.
19868 * string/strcpy.c (strcpy): Do not use __unbounded.
19869 * sysdeps/generic/frame.h (struct layout): Likewise.
19870 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19871 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19872 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19873 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19874 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19875 (__backtrace): Likewise.
19876 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19877 use __ptrvalue.
19878 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19879 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19880 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19881 Likewise.
19882 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19883 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19884 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19885 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19886 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19887 Do not use __unbounded.
19888 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19889 Rename __unboundedrlimits parameter to rlimits in prototype.
19890 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19891 Do not use __unbounded.
19892 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19893 not use __ptrvalue.
19894 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19895 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19896 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19897 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19898 __ptrvalue or __unbounded.
19899 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19900 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19901 use __unbounded.
19902 (__new_msgctl): Do not use __ptrvalue.
19903 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19904 __unbounded.
19905 (__libc_msgrcv): Do not use __ptrvalue.
19906 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19907 startup_info): Do not use __unbounded.
19908 (__libc_start_main): Likewise. Rename ubp_* variables and
19909 parameters. Remove argv definitions conditional on
19910 [__BOUNDED_POINTERS__].
19911 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19912 __ptrvalue.
19913 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19914 use __unbounded.
19915 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19916 or __ptrvalue.
19917 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19918 use __unbounded.
19919 (__new_shmctl): Do not use __ptrvalue.
19920 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19921 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19922 Likewise.
19923 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19924 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19925 (__libc_sigaction): Likewise.
19926 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19927 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19928 Likewise.
19929 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19930
cc7834d6
OB
199312013-02-13 Ondřej Bílka <neleai@seznam.cz>
19932
ffb1ec7b 19933 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19934
19935 * string/mempcpy.c: Implement by calling memcpy.
19936
bdf02814
SP
199372013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19938
c2af38aa
SP
19939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19940
4e92d59e
SP
19941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19942 evaluation.
19943
909279a5
SP
19944 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19945 values in the mantissa.
19946
bdf02814
SP
19947 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19948 minimize writes to Z.
19949 (sub_magnitudes): Simplify code a bit.
19950
cd525923
RM
199512013-02-12 Roland McGrath <roland@hack.frob.com>
19952
19953 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19954 from the message. The linker prefixes all warnings with that already.
19955
7e2f0d2d
AS
199562013-02-12 Andreas Schwab <schwab@suse.de>
19957
a445af0b
AS
19958 [BZ #15078]
19959 * posix/regexec.c (extend_buffers): Add parameter min_len.
19960 (check_matching): Pass minimum needed length.
19961 (clean_state_log_if_needed): Likewise.
19962 (get_subexp): Likewise.
19963 * posix/Makefile (tests): Add bug-regex34.
19964 (bug-regex34-ENV): Define.
19965 * posix/bug-regex34.c: New file.
19966
7e2f0d2d
AS
19967 [BZ #11561]
19968 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19969 elements compare against the byte sequence of it, not its name.
19970 * posix/Makefile (tests): Add bug-regex35.
19971 (bug-regex35-ENV): Define.
19972 * posix/bug-regex35.c: New file.
19973
a175b684
TV
199742013-02-11 Tom de Vries <tom@codesourcery.com>
19975
19976 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19977 comment.
19978 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19979 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19980 (CHECK_EOL): Add undef.
19981
310998fe 199822013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19983
19984 * bits/stdlib-bsearch.h: New file.
19985 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19986 * stdlib/stdlib.h: Likewise.
41eda41d 19987
8ded91fb
RM
199882013-02-11 Roland McGrath <roland@hack.frob.com>
19989
19990 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19991 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19992 declaration.
19993 * manual/search.texi (Array Search Function): Add missing const in
19994 lfind prototype.
19995 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19996 declaration to use rlim_t.
19997 (Basic Scheduling Functions): Remove erroneous const from
19998 sched_getparam prototype. Remove erroneous * from
19999 sched_get_priority_max and sched_get_priority_min prototypes.
20000 (Resource Usage): Fix summary @comment on vtimes to refer to
20001 sys/vtimes.h rather than vtimes.h.
20002 Add missing *s in vtimes prototype.
20003 (Limits on Resources): Fix ulimit prototype to return long int.
20004 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20005 prototypes to use long int rather than double.
20006 (BSD Random): Fix initstate and setstate to use char *, not void *.
20007 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20008 prototype to make second argument 'struct aiocb64 *const[]'.
20009 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20010 (Status of AIO Operations): Remove erroneous const in aio_return and
20011 aio_return64 prototypes.
20012 (Synchronizing I/O): Fix sync prototype to return void.
20013 * manual/startup.texi (Suboptions): Remove an erroneous const in
20014 getsubopt prototype.
20015 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20016 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20017 use size_t rather than int.
20018 (Scanning All Users): Likewise for getpwent_r.
20019 (Setting Groups): Add missing const to setgroups prototype.
20020 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20021 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20022 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20023 'const void *' rather than 'const char *'.
20024 (Host Address Functions): Likewise for inet_ntop.
20025 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20026 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20027 ssize_t for return value.
20028 (Sending Data): Likewise for send, sendto, sendmsg.
20029 (Socket Option Functions): Add a missing const in setsockopt prototype.
20030 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20031 use wchar_t for the argument.
20032 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20033 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20034 take no arguments.
20035 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20036 double/float/long double for second argument.
20037 Fix return types of significand, significandf, significandl.
20038 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20039 argument in fchmod prototype.
20040 (File Owner): Use uid_t and gid_t in fchown prototype.
20041 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20042 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20043 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20044 use 'const struct dirent **' as argument types to CMP function pointer
20045 argument.
20046 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20047 (File Times): Fix summary magic @comment for struct utimbuf and utime
20048 to refer to utime.h, not time.h.
20049 * manual/string.texi (Argz Functions): Add missing const in
20050 argz_extract and argz_next prototypes.
20051 (Finding Tokens in a String): Likewise for basename.
20052 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20053 (Copying and Concatenation): Fix typo in wmemmove prototype.
20054 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20055 (Signal Stack): Remove erroneous const in sigstack prototype.
20056 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20057 prototype.
20058 (Simple Calendar Time): Likewise for stime.
20059 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20060 prototype.
20061 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20062 say sys/sysctl.h instead.
20063 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20064 and vsyslog prototypes.
20065
fe77fe6d
TV
200662013-02-11 Tom de Vries <tom@codesourcery.com>
20067
20068 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20069 Remove.
20070
3a09b620
RM
200712013-02-11 Roland McGrath <roland@hack.frob.com>
20072
20073 * misc/sys/mman.h: Fix typo in mremap comment.
20074
550a0b89
RM
200752013-02-08 Roland McGrath <roland@hack.frob.com>
20076
20077 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20078 the '\0' terminator.
20079
a2da1673
JM
200802013-02-08 Joseph Myers <joseph@codesourcery.com>
20081
20082 [BZ #13550]
20083 * debug/segfault.c: Don't include <bp-checks.h>.
20084 * sysdeps/generic/bp-checks.h: Remove file.
20085 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20086 (__GETDENTS): Don't use CHECK_N.
20087 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20088 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20089 (__getgroups): Don't use CHECK_N.
20090 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20091 (setgroups): Don't use CHECK_N.
20092 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20093 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20094 (__libc_msgrcv): Don't use CHECK_N.
20095 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20096 (__libc_msgsnd): Don't use CHECK_N.
20097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20098 <bp-checks.h>.
20099 (__libc_pread): Don't use CHECK_N.
20100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20101 include <bp-checks.h>.
20102 (__libc_pread64): Don't use CHECK_N.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20104 include <bp-checks.h>.
20105 (__libc_pwrite): Don't use CHECK_N.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20107 include <bp-checks.h>.
20108 (__libc_pwrite64): Don't use CHECK_N.
20109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20110 <bp-checks.h>.
20111 (__libc_pread): Don't use CHECK_N.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20113 include <bp-checks.h>.
20114 (__libc_pread64): Don't use CHECK_N.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20116 include <bp-checks.h>.
20117 (__libc_pwrite): Don't use CHECK_N.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20119 include <bp-checks.h>.
20120 (__libc_pwrite64): Don't use CHECK_N.
20121 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20122 (do_pread): Don't use CHECK_N.
20123 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20124 (do_pread64): Don't use CHECK_N.
20125 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20126 (do_pwrite): Don't use CHECK_N.
20127 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20128 (do_pwrite64): Don't use CHECK_N.
20129 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20130 (__libc_readv): Don't use CHECK_N.
20131 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20132 (semop): Don't use CHECK_N.
20133 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20134 <bp-checks.h>.
20135 (semtimedop): Don't use CHECK_N.
20136 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20137 (__libc_pread): Don't use CHECK_N.
20138 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20139 <bp-checks.h>.
20140 (__libc_pread64): Don't use CHECK_N.
20141 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20142 <bp-checks.h>.
20143 (__libc_pwrite): Don't use CHECK_N.
20144 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20145 <bp-checks.h>.
20146 (__libc_pwrite64): Don't use CHECK_N.
20147 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20148 <bp-checks.h>.
20149 (__libc_msgrcv): Don't use CHECK_N.
20150 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20151 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20152 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20153 (__libc_writev): Don't use CHECK_N.
20154
b84660a8
RM
201552013-02-08 Roland McGrath <roland@hack.frob.com>
20156
7f3e75f8
RM
20157 * string/strcpy.c: Removed unused variable.
20158
b84660a8
RM
20159 * Makeconfig (+sysdep-includes): Define with := rather than =.
20160 Use an existing include/ subdir of each sysdeps dir before it.
20161
471514d3
CD
201622013-02-08 Carlos O'Donell <carlos@redhat.com>
20163
20164 * nscd/connection.c (register_traced_file): Comment function.
20165 [HAVE_INOTIFY] (union __inev): Define.
20166 [HAVE_INOTIFY] (inotify_check_files): New function.
20167 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20168 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20169 clear_db_cache.
20170 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20171
b2d3c3be
CD
201722013-02-08 Carlos O'Donell <carlos@redhat.com>
20173
20174 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20175 loaded if not already and that a failure is permanent.
20176
b39949d2
CD
201772013-02-08 Carlos O'Donell <carlos@redhat.com>
20178
ddacd1db 20179 [BZ #15006]
b39949d2
CD
20180 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20181 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20182
b2c9eff4
JM
201832013-02-08 Joseph Myers <joseph@codesourcery.com>
20184
f3aae3f3
JM
20185 [BZ #13550]
20186 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20187 (CHECK_1_NULL_OK): Likewise.
20188 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20189 (__fxstat): Do not use CHECK_1.
20190 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20191 <bp-checks.h>.
20192 (___fxstat64): Do not use CHECK_1.
20193 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20194 <bp-checks.h>.
20195 (__fxstatat): Do not use CHECK_1.
20196 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20197 <bp-checks.h>.
20198 (__fxstatat64): Do not use CHECK_1.
20199 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20200 <bp-checks.h>.
20201 (__fxstat): Do not use CHECK_1.
20202 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20203 <bp-checks.h>.
20204 (__fxstatat): Do not use CHECK_1.
20205 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20206 <bp-checks.h>.
20207 (__getresgid): Do not use CHECK_1.
20208 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20209 <bp-checks.h>.
20210 (__getresuid): Do not use CHECK_1.
20211 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20212 <bp-checks.h>.
20213 (__lxstat): Do not use CHECK_1.
20214 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20215 <bp-checks.h>.
20216 (__old_msgctl): Do not use CHECK_1.
20217 (__new_msgctl): Likewise.
20218 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20219 <bp-checks.h>.
20220 (__new_setrlimit): Do not use CHECK_1.
20221 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20222 <bp-checks.h>.
20223 (__old_shmctl): Do not use CHECK_1.
20224 (__new_shmctl): Likewise.
20225 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20226 <bp-checks.h>.
20227 (__xstat): Do not use CHECK_1.
20228 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20229 (__lxstat): Do not use CHECK_1.
20230 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20231 <bp-checks.h>.
20232 (___lxstat64): Do not use CHECK_1.
20233 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20234 (__old_msgctl): Do not use CHECK_1.
20235 (__new_msgctl): Likewise.
20236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20237 <bp-checks.h>.
20238 (__gettimeofday): Do not use CHECK_1.
20239 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20240 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20241 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20242 <bp-checks.h>.
20243 (__gettimeofday): Do not use CHECK_1.
20244 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20245 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20246 (__new_shmctl): Do not use CHECK_1.
20247 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20248 <bp-checks.h>.
20249 (do_sigtimedwait): Do not use CHECK_1.
20250 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20251 <bp-checks.h>.
20252 (do_sigwaitinfo): Do not use CHECK_1.
20253 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20254 <bp-checks.h>.
20255 (msgctl): Do not use CHECK_1.
20256 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20257 <bp-checks.h>.
20258 (shmctl): Do not use CHECK_1.
20259 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20260 (ustat): Do not use CHECK_1.
20261 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20262 <bp-checks.h>.
20263 (__fxstat): Do not use CHECK_1.
20264 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20265 <bp-checks.h>.
20266 (__fxstatat): Do not use CHECK_1.
20267 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20268 <bp-checks.h>.
20269 (__lxstat): Do not use CHECK_1.
20270 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20271 <bp-checks.h>.
20272 (__xstat): Do not use CHECK_1.
20273 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20274 (__xstat): Do not use CHECK_1.
20275 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20276 (___xstat64): Do not use CHECK_1.
20277
b2c9eff4
JM
20278 [BZ #13550]
20279 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20280 definitions.
20281 (CHECK_BOUNDS_HIGH): Likewise.
20282 * string/strcpy.c: Do not include <bp-checks.h>.
20283 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20284
f1d70dad
RM
202852013-02-07 Roland McGrath <roland@hack.frob.com>
20286
20287 * nscd/nscd-client.h (__nscd_drop_map_ref):
20288 Add __attribute__ ((unused)).
20289 * nis/nss-nisplus.h (niserr2nss): Likewise.
20290
20291 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20292 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20293
20294 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20295 Remove inline keyword.
20296 * include/rounding-mode.h (round_away): Likewise.
20297 * libio/wfileops.c (adjust_wide_data): Likewise.
20298 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20299 (__m128i_strloadu_tolower): Likewise.
20300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20301 (__m128i_strloadu_tolower): Likewise.
20302 * time/mktime.c (ydhms_diff): Likewise.
20303 * locale/elem-hash.h (elem_hash): Likewise.
20304 * locale/setlocale.c (setdata): Likewise.
20305 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20306 (re_string_wchar_at): Likewise.
20307 (bitset_not, bitset_merge, bitset_mask): Likewise.
20308 [!(__GNUC__ > 3)] (inline): Remove macro.
20309 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20310 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20311 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20312 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20313 * string/memcmp.c (memcmp_bytes): Likewise.
20314 * locale/programs/locarchive.c (compute_hashval): Likewise.
20315 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20316 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20317 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20318 * nss/getent.c (print_rpc, print_protocols): Likewise.
20319 (print_passwd, print_group, print_aliases): Likewise.
20320 * nis/nss-nisplus.h (niserr2nss): Likewise.
20321 * nscd/connections.c (restart_p): Likewise.
20322 Change return type to bool.
20323
eab55bfb
RM
203242013-02-05 Roland McGrath <roland@hack.frob.com>
20325
7bd642f5
RM
20326 * Makeconfig (all-Depend-files): Add existing
20327 $(sorted-subdirs:=/Depend) files.
20328 (all-subdirs): Remove nss.
20329 * sysdeps/unix/inet/Subdirs: Add it here instead.
20330 * hesiod/Depend: New file.
20331
573c29b2
RM
20332 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20333 instead of calling alloca.
20334
b2e25af0
RM
20335 * io/lseek.c (__lseek): Rename to __libc_lseek.
20336 Define __lseek as an alias.
20337
eab55bfb
RM
20338 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20339
9a0d1941
CD
203402013-02-04 Carlos O'Donell <carlos@redhat.com>
20341
20342 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20343 else clause and remove check for non-standard endianness.
20344
b83bbec4
DM
203452013-02-04 David S. Miller <davem@davemloft.net>
20346
20347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20348
6277fdab
JM
203492013-02-04 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #13550]
20352 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20353 (__ubp_memchr): Remove prototype.
20354 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20355 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20356 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20357 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20358 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20359 Remove alias.
20360 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20361 (__ubp_memchr): Likewise.
20362 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20363 (__ubp_memchr): Likewise.
20364 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20365 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20366 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20367 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20368 CHECK_STRING.
20369 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20370 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20371 (__getcwd): Do not use CHECK_STRING.
20372 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20373 <bp-checks.h>.
20374 (__real_chown): Do not use CHECK_STRING.
20375 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20376 <bp-checks.h>.
20377 (fchownat): Do not use CHECK_STRING.
20378 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20379 CHECK_STRING.
20380 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20381 <bp-checks.h>.
20382 (__lchown): Do not use CHECK_STRING.
20383 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20384 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20385 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20386 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20388 include <bp-checks.h>.
20389 (truncate64): Do not use CHECK_STRING.
20390 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20391 <bp-checks.h>.
20392 (__real_chown): Do not use CHECK_STRING.
20393 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20394 <bp-checks.h>.
20395 (__lchown): Do not use CHECK_STRING.
20396 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20397 <bp-checks.h>.
20398 (__chown): Do not use CHECK_STRING.
20399 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20400 <bp-checks.h>.
20401 (truncate64): Do not use CHECK_STRING.
20402 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20403 Likewise.
20404 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20405 (__xmknod): Do not use CHECK_STRING.
20406 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20407 <bp-checks.h>.
20408 (__xmknodat): Do not use CHECK_STRING.
20409 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20410 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20411
903ae060
AS
204122013-02-04 Andreas Schwab <schwab@suse.de>
20413
20414 [BZ #14142]
20415 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20416 * include/netdb.h: Likewise for h_errno.
20417 * elf/tst-stackguard1.c: Include <tls.h>.
20418
542f9466
JK
204192013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20420
20421 * elf/link.h (struct link_map): Extend the l_addr comment.
20422 * include/link.h (struct link_map): Likewise.
20423
e782a927
JM
204242013-02-01 Joseph Myers <joseph@codesourcery.com>
20425
20426 [BZ #13550]
20427 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20428 (BOUNDED_1): Remove macro.
20429 * debug/backtrace.c: Don't include <bp-checks.h>.
20430 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20431 (__backtrace): Likewise.
20432 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20433 <bp-checks.h>.
20434 (__backtrace): Don't use BOUNDED_1.
20435 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20436 <bp-checks.h>.
20437 (__backtrace): Don't use BOUNDED_1.
20438 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20439 (__backtrace): Don't use BOUNDED_1.
20440 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20441 (shmat): Don't use BOUNDED_N.
20442
8cf28c5e
JM
204432013-01-31 Joseph Myers <joseph@codesourcery.com>
20444
3a7ac8a0
JM
20445 [BZ #13550]
20446 * sysdeps/generic/bp-start.h: Remove file.
20447 * csu/libc-start.c: Don't include <bp-start.h>.
20448 (LIBC_START_MAIN): Set up __environ directly instead of using
20449 INIT_ARGV_and_ENVIRON.
20450 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20451 <bp-start.h>.
20452
f3499f95
JM
20453 [BZ #13550]
20454 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20455 definitions.
20456 (CHECK_FCNTL): Likewise.
20457 (CHECK_N_PAGES): Likewise.
20458
32a45bea
JM
20459 [BZ #13550]
20460 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20461 definitions.
20462 (CHECK_SIGSET_NULL_OK): Likewise.
20463 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20464 <bp-checks.h>.
20465 (sigpending): Don't use CHECK_SIGSET.
20466 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20467 <bp-checks.h>.
20468 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20469 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20470 <bp-checks.h>.
20471 (do_sigsuspend): Don't use CHECK_SIGSET.
20472 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20473 use CHECK_SIGSET.
20474 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20475 (do_sigwait): Don't use CHECK_SIGSET.
20476 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20477 use CHECK_SIGSET.
20478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20479 include <bp-checks.h>.
20480 (sigpending): Don't use CHECK_SIGSET.
20481 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20482 include <bp-checks.h>.
20483 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20484 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20485 <bp-checks.h>.
20486 (sigpending): Don't use CHECK_SIGSET.
20487 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20488 <bp-checks.h>.
20489 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20490
2e8a5c8c
JM
20491 [BZ #13550]
20492 * sysdeps/generic/bp-semctl.h: Remove file.
20493 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20494 <bp-checks.h> and <bp-semctl.h>.
20495 (__old_semctl): Don't use CHECK_SEMCTL.
20496 (__new_semctl): Likewise.
20497 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20498 and <bp-semctl.h>.
20499 (__old_semctl): Don't use CHECK_SEMCTL.
20500 (__new_semctl): Likewise.
20501 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20502 <bp-checks.h> and <bp-semctl.h>.
20503 (__old_semctl): Don't use CHECK_SEMCTL.
20504 (__new_semctl): Likewise.
20505 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20506 <bp-checks.h> and <bp-semctl.h>.
20507 (semctl): Don't use CHECK_SEMCTL.
20508
c2d54929
JM
20509 [BZ #13550]
20510 * Makerules (elide-bp-thunks): Remove variable.
20511 (elide-routines.oS): Don't use $(elide-bp-thunks).
20512 (elide-routines.os): Likewise.
20513 (elide-routines.o): Likewise.
20514 (elide-routines.op): Likewise.
20515 (elide-routines.og): Likewise.
20516 (objects): Don't use $(bp-thunks).
20517 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20518 include.
20519 (common-generated): Do not add s-proto-bp.d.
20520 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20521 (int): Likewise.
20522 (typ): Likewise.
20523 Do not generate makefile rules for bounded-pointer thunks.
20524 * sysdeps/generic/bp-thunks.h: Remove file.
20525 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20526 * sysdeps/unix/s-proto-bp.S: Likewise.
20527
8cf28c5e
JM
20528 [BZ #15062]
20529 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20530 parts of result separately when argument is not close to line from
20531 -i to i and one part of argument is small.
20532 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20533 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20534 * math/libm-test.inc (cacos_test): Add more tests.
20535 (casin_test): Likewise.
20536 (casinh_test): Likewise.
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20539
c4e33b8d
DM
205402013-01-31 David S. Miller <davem@davemloft.net>
20541
20542 * po/de.po: Update from translation team.
20543
3b60b421
MK
205442013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20545
20546 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20547
bb931195
TS
205482013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20549
b5a5da23
TS
20550 * configure.in (_AC_PROG_CC_C89): New definition.
20551 * configure: Regenerate.
20552
bb931195
TS
20553 * configure.in (AC_PROG_CPP): New definition.
20554 * configure: Regenerate.
20555
8c53a12c
JM
205562013-01-23 Joseph Myers <joseph@codesourcery.com>
20557
20558 * debug/tst-backtrace.h: New file.
20559 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20560 (ret): Remove variable.
20561 (x): Likewise.
20562 (FAIL): Remove macro.
20563 (NO_INLINE): Likewise.
20564 (fn1): Use match function instead of strstr.
20565 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20566 (ret): Remove variable.
20567 (x): Likewise.
20568 (FAIL): Remove macro.
20569 (NO_INLINE): Likewise.
20570 (fn): Use match function instead of strstr.
20571 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20572 (ret): Remove variable.
20573 (x): Likewise.
20574 (FAIL): Remove macro.
20575 (NO_INLINE): Likewise.
20576 (handle_signal): Use match function instead of strstr.
20577 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20578 (ret): Remove variable.
20579 (x): Likewise.
20580 (FAIL): Remove macro.
20581 (NO_INLINE): Likewise.
20582 (handle_signal): Use match function instead of strstr.
20583
4858fa2a
RM
205842013-01-23 Roland McGrath <roland@hack.frob.com>
20585
20586 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20587
bae8e7f5
DM
205882013-01-23 David S. Miller <davem@davemloft.net>
20589
20590 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20591 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20592 argument of CAS if possible.
20593 * sysdeps/sparc/sparc64/bits/atomic.h
20594 (__arch_compare_and_exchange_val_32_acq): Likewise.
20595 (__arch_compare_and_exchange_val_64_acq): Likewise.
20596
9cbbc4ae
PT
205972013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20598
20599 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20600 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20601 Include <limits.h>.
67b3f58c 20602 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20603
5655a0b5
AC
206042013-01-23 Adam Conrad <adconrad@0c3.net>
20605
20606 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20607 (LDFLAGS-tst-array5): Likewise.
20608
052aff95
JM
206092013-01-23 Joseph Myers <joseph@codesourcery.com>
20610
20611 [BZ #15036]
20612 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20613 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20614 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20615 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20616
7c1e01aa
DM
206172013-01-21 David S. Miller <davem@davemloft.net>
20618
20619 * sysdeps/sparc/backtrace.c: New file.
20620 * sysdeps/sparc/sparc32/backtrace.h: New file.
20621 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20622 * sysdeps/sparc/sparc64/backtrace.h: New file.
20623 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20624 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20625 -funwind-tables.
20626
ab087e0a
AS
206272013-01-21 Andreas Schwab <schwab@suse.de>
20628
20629 [BZ #15020]
20630 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20631 closed its stdout.
20632
ed689c2f
AS
206332013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20634
20635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20636 "mpa2.h".
20637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20638
31d470ac
JM
206392013-01-18 Joseph Myers <joseph@codesourcery.com>
20640 Mark Mitchell <mark@codesourcery.com>
20641 Tom de Vries <tom@codesourcery.com>
20642 Paul Pluzhnikov <ppluzhnikov@google.com>
20643
20644 * debug/tst-backtrace2.c: New file.
20645 * debug/tst-backtrace3.c: Likewise.
20646 * debug/tst-backtrace4.c: Likewise.
20647 * debug/tst-backtrace5.c: Likewise.
20648 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20649 (CFLAGS-tst-backtrace3.c): Likewise.
20650 (CFLAGS-tst-backtrace4.c): Likewise.
20651 (CFLAGS-tst-backtrace5.c): Likewise.
20652 (LDFLAGS-tst-backtrace2): Likewise.
20653 (LDFLAGS-tst-backtrace3): Likewise.
20654 (LDFLAGS-tst-backtrace4): Likewise.
20655 (LDFLAGS-tst-backtrace5): Likewise.
20656 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20657 tst-backtrace4 and tst-backtrace5.
20658
90567f30 206592013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20660 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20661
20662 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20663 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20664 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20665 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20667 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20668 "+r" and remove output regs list as redundant. Add explicit inline
20669 asm to specify register of return val to work around compiler codegen
20670 bug. Remove (int) cast on return value. Add return type parameter to
20671 use in macro so that this macro does not truncate return value for
20672 64-bit values.
20673 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20674 pass to INTERNAL_VSYSCALL_NCS.
20675 (INLINE_VSYSCALL): Add 'long int' as return type to
20676 INTERNAL_VSYSCALL_NCS macro invocation.
20677 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20678 INTERNAL_VSYSCALL_NCS macro invocation.
20679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20680
d3b9ea61
SP
206812013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20682
0b57daeb
SP
20683 [BZ #14496]
20684 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20685 Fix application of SIMD FP exception mask.
20686
caa99d06
SP
20687 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20688 mp_no from a power of two.
20689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20690 __mpexp_twomm1. Use __pow_mp.
20691
d3b9ea61
SP
20692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20693 multiplication.
20694
1dbaee3c
DM
206952013-01-17 David S. Miller <davem@davemloft.net>
20696
20697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20698
728d7b43
JM
206992013-01-17 Joseph Myers <joseph@codesourcery.com>
20700
20701 [BZ #15023]
20702 * include/complex.h: Condition contents on [!_COMPLEX_H].
20703 (__kernel_casinhf): New prototype.
20704 (__kernel_casinh): Likewise.
20705 (__kernel_casinhl): Likewise.
20706 * math/Makefile (libm_calls): Add k_casinh.
20707 * math/k_casinh.c: New file.
20708 * math/k_casinhf.c: Likewise.
20709 * math/k_casinhl.c: Likewise.
20710 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20711 finite nonzero arguments.
20712 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20713 finite nonzero arguments.
20714 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20715 finite nonzero arguments.
20716 * math/s_casinh.c: Do not include <float.h>.
20717 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20718 * math/s_casinhf.c: Do not include <float.h>.
20719 (__casinhf): Move code for finite nonzero arguments to
20720 k_casinhf.c.
20721 * math/s_casinhl.c: Do not include <float.h>.
20722 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20723 redefine.
20724 (__casinhl): Move code for finite nonzero arguments to
20725 k_casinhl.c.
20726 * math/libm-test.inc (cacos_test): Add more tests.
20727 * sysdeps/i386/fpu/libm-test-ulps: Update.
20728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20729
2a26ef3a
PT
207302013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20731
20732 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20733 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20734 [!HAVE_MREMAP]: Remove [defined linux] case.
20735 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20736
a897655d
SP
207372013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20738
20739 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20740
881ebe89 207412013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20742
20743 * elf/elf.h (R_386_SIZE32): New relocation.
20744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20745 R_386_SIZE32.
20746 (elf_machine_rela): Likewise.
20747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20748 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20749
59981e9b
JM
207502013-01-17 Joseph Myers <joseph@codesourcery.com>
20751
20752 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20753 (FP_FAST_FMA): Do not define.
20754 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20755 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20756 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20757 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20758 !_SOFT_FLOAT]: Likewise.
20759 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20761 value.
20762 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20763 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20765 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20766 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20767 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20768 file.
20769
cfa8054f
AS
207702013-01-16 Andreas Schwab <schwab@suse.de>
20771
20772 [BZ #14327]
20773 * include/stdlib.h (__mktemp): Add declaration.
20774 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20775 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20776
dd930cc5
SP
207772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20778
881ebe89
SP
20779 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20780 definitions.
20781 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20782 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20783 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20784 definitions here.
20785 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20786 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20787 definitions.
20788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20789 and ONE.
20790 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20791 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20792 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20793 definitions.
20794 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20795 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20796 definitions.
20797 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20798
dd930cc5
SP
20799 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20800
c19a9f89
DM
208012013-01-15 David S. Miller <davem@davemloft.net>
20802
1aa61767
DM
20803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20804 trunc{,f} to libm-sysdep_routes.
20805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20807 file.
20808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20810 file.
20811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20812 file.
20813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20816 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20817 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20818 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20819 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20820 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20821
c42d5e98
DM
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20823 nearbyint{,f} to libm-sysdep_routes.
20824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20826 New file.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20828 file.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20830 New file.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20832 file.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20836 file.
20837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20839 file.
20840 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20841 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20842 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20843
c19a9f89
DM
20844 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20845 libc_feholdexcept and libc_fesetenv.
20846
357679d2
MF
208472013-01-15 Mike Frysinger <vapier@gentoo.org>
20848
20849 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20850
65a82e3d
DM
208512013-01-14 David S. Miller <davem@davemloft.net>
20852
8b954ab9
DM
20853 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20854 (SPARC_ASM_VIS2_IFUNC): Likewise.
20855 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20857 use of 'siam' instruction.
20858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20859 Likewise.
20860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20861 Likewise.
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20863 Likewise.
20864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20869 file.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20871 file.
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20873 file.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20875 file.
20876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20881 new VIS2 routines.
20882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20885 Likewise.
20886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20891 routines to libm-sysdep_routines.
20892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20893
65a82e3d
DM
20894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20895 fdim/fdimf to libm-sysdep_routines.
20896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20897 file.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20900 file.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20904 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20905 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20906 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20907 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20908
e34ab705
SP
209092013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20910
2a91b573
SP
20911 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20912 to optimize copies.
20913
1066a534
SP
20914 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20917
e34ab705
SP
20918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20919 local variable MPTWO.
20920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20921 Likewise.
20922
aba5e596
MF
209232013-01-13 Mike Frysinger <vapier@gentoo.org>
20924
20925 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20926 GLOB_NOESCAPE.
20927
e557e9e5
MF
209282013-01-13 Mike Frysinger <vapier@gentoo.org>
20929
20930 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20931
0428cec9
MF
209322013-01-13 Mike Frysinger <vapier@gentoo.org>
20933
20934 * manual/pattern.texi (glob_t): Document gl_flags.
20935 (glob64_t): Likewise.
20936
8794a964
DM
209372013-01-11 David S. Miller <davem@davemloft.net>
20938
66438c3f
RM
20939 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20940 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20941 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20942 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20943 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20944 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20945 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20946 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20947 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20948 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20949 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20950 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20951 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20952
4ae4244d
DM
20953 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20954 sparc V9 rather than using V8 code.
20955 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20956 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20957
8794a964
DM
20958 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20959 Move to...
20960 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20961 Here.
20962
6270516e
RM
209632013-01-11 Roland McGrath <roland@hack.frob.com>
20964
20965 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20966 not in the main loop.
20967 * configure: Regenerated.
20968
6a57d931
JM
209692013-01-11 Joseph Myers <joseph@codesourcery.com>
20970
20971 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20972 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20973 to just #else.
20974 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20975 [!__GLIBC_HAVE_LONG_LONG] case.
20976 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20977 condition to just #else.
20978 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20979 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20980 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20981 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20982 unconditional.
20983 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20984 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20985 #elif condition to just #else.
20986 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20987 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20988 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20989 #elif condition to just #else.
20990
0e8529e9
SE
209912013-01-11 Steve Ellcey <sellcey@mips.com>
20992
20993 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20994 (EF_MIPS_ARCH_64): Fix value.
20995 (EF_MIPS_ARCH_32R2): New.
20996 (EF_MIPS_ARCH_64R2): New.
20997
740b3dbe
L
209982013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20999
21000 * Makeconfig (+link-pie-before-libc): New.
21001 (+link-pie-after-libc): Likewise.
21002 (+link-pie-tests): Likewise.
21003 (+link-pie): Rewritten.
21004 (link-before-libc): Remove $(config-LDFLAGS).
21005 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21006 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21007 (config-LDFLAGS): Renamed to ...
21008 (rtld-LDFLAGS): This.
21009 (rtld-tests-LDFLAGS): New macro.
21010 (link-libc-rpath-link): Likewise.
21011 (link-libc-tests-rpath-link): Likewise.
21012 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21013 (link-libc): Prepand $(link-libc-rpath-link).
21014 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21015 (test-program-prefix): New macro.
21016 (test-via-rtld-prefix): Likewise.
21017 (test-program-cmd): Likewise.
21018 (host-test-program-cmd): Likewise.
21019 * Makefile ($(common-objpfx)testrun.sh): Replace
21020 $(run-program-prefix) with $(test-program-prefix).
21021 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21022 $(rtld-LDFLAGS).
21023 ($(common-objpfx)shlib.lds): Likewise.
21024 (build-module-helper): Likewise.
21025 ($(common-objpfx)format.lds): Likewise.
21026 * Rules (binaries-pie-tests): New.
21027 (binaries-pie-notests): Likewise.
21028 (binaries-pie): Rewritten.
21029 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21030 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21031 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21032 (make-test-out): Replace $(host-built-program-cmd) with
21033 $(host-test-program-cmd).
21034 * config.make.in (build-hardcoded-path-in-tests): New variable.
21035 * configure.in (--enable-hardcoded-path-in-tests): New configure
21036 option.
21037 (hardcoded_path_in_tests): New AC_SUBST.
21038 * configure: Regenerated.
21039 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21040 $(built-program-cmd) with $(test-program-cmd).
21041 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21042 (test_program_cmd): This.
21043 * elf/Makefile ($(objpfx)order.out): Run test with
21044 $(test-program-prefix).
21045 ($(objpfx)order2.out): Likewise.
21046 ($(objpfx)tst-initorder.out): Likewise.
21047 ($(objpfx)tst-initorder2.out): Likewise.
21048 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21049 $(test-program-cmd).
21050 ($(objpfx)tst-array1-static.out): Likewise.
21051 ($(objpfx)tst-array2.out): Likewise.
21052 ($(objpfx)tst-array3.out): Likewise.
21053 ($(objpfx)tst-array4.out): Likewise.
21054 ($(objpfx)tst-array5.out): Likewise.
21055 ($(objpfx)tst-array5-static.out): Likewise.
21056 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21057 $(test-program-cmd).
21058 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21059 $(run-program-prefix) with $(test-program-prefix).
21060 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21061 (test_program_prefix): This.
21062 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21063 $(run-program-prefix) with $(test-program-prefix).
21064 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21065 (test_program_prefix): This.
21066 * iconvdata/tst-tables.sh: Likewise.
21067 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21068 $(run-program-prefix) with $(test-program-prefix).
21069 ($(objpfx)tst-translit.out): Likewise.
21070 ($(objpfx)tst-gettext2.out): Likewise.
21071 ($(objpfx)tst-gettext4.out): Likewise.
21072 ($(objpfx)tst-gettext6.out): Likewise.
21073 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21074 (test_program_prefix): This.
21075 * intl/tst-gettext2.sh: Likewise.
21076 * intl/tst-gettext4.sh Likewise.
21077 * intl/tst-gettext6.sh: Likewise.
21078 * intl/tst-translit.sh: Likewise.
21079 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21080 with $(test-program-cmd).
21081 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21082 $(run-program-prefix) with $(test-program-prefix).
21083 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21084 (test_program_prefix): This.
21085 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21086 $(run-program-prefix) with $(test-program-prefix).
21087 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21088 (test_program_prefix): This.
21089 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21090 * posix/Makefile ($(objpfx)globtest.out): Replace
21091 $(run-via-rtld-prefix) and $(test-wrapper) with
21092 $(test-program-prefix) and $(test-via-rtld-prefix).
21093 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21094 $(test-program-prefix).
21095 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21096 $(host-test-program-cmd).
21097 (tst-spawn-ARGS): Likewise.
21098 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21099 $(test-program-prefix).
21100 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21101 (test_via_rtld_prefix): This.
21102 (test_wrapper): Renamed to ...
21103 (test_program_prefix): This.
21104 (run_program_prefix): Replaced by test_program_prefix.
21105 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21106 (test_program_prefix): This.
21107 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21108 with $(host-test-program-cmd).
21109 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21110 $(run-program-prefix) with $(test-program-prefix).
21111 ($(objpfx)tst-printf.out): Likewise.
21112 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21113 $(test-program-cmd).
21114 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21115 (test_program_prefix): This.
21116 * stdio-common/tst-unbputc.sh: Likewise.
21117 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21118 $(run-program-prefix) with $(test-program-prefix).
21119 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21120 (test_program_prefix): This.
21121 * string/Makefile ($(objpfx)tst-svc.out): Replace
21122 $(built-program-cmd) with $(test-program-cmd).
21123
c6fe55cf
AJ
211242013-01-11 Andreas Jaeger <aj@suse.de>
21125
21126 [BZ #15003]
21127 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21128 value. Sync with Linux 3.7.
21129
9e6919c8
DM
211302013-01-10 David S. Miller <davem@davemloft.net>
21131
21132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21133 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21134 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21135
1c9f1a02
RM
211362013-01-10 Roland McGrath <roland@hack.frob.com>
21137
21138 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21139 never set.
21140 * configure: Regenerated.
21141
b9de2dde
DM
211422013-01-10 David S. Miller <davem@davemloft.net>
21143
21144 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21145 sparc V9 rather than using V8 code.
21146 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21147 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21148
e7f68ef4
RM
211492013-01-10 Roland McGrath <roland@hack.frob.com>
21150
21151 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21152 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21153 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21154 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21155 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21156 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21157 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21158 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21159 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21160 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21161 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21162 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21163 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21164 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21165 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21166 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21167 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21168 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21169 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21170 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21171 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21172 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21173 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21174 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21175 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21176 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21177 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21178
5a47cc9c
DM
211792013-01-10 David S. Miller <davem@davemloft.net>
21180
21181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21182
4cf8f209
L
211832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21184
21185 * posix/Makefile (tests-static): New variable.
21186 (tests): Add $(tests-static).
21187 (tst-exec-static-ARGS): New variable.
21188 (tst-spawn-static-ARGS): Likewise.
21189 * posix/tst-exec-static.c: New file.
21190 * posix/tst-spawn-static.c: Likewise.
21191 * posix/tst-exec.c: Support run directly.
21192 * posix/tst-spawn.c: Likewise.
21193
fed0faa1
JM
211942013-01-10 Joseph Myers <joseph@codesourcery.com>
21195
828beb13
JM
21196 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21197 long.
21198 * math/bits/mathcalls.h (llrint): Likewise.
21199 (llround): Likewise.
21200 * stdlib/stdlib.h (struct drand48_data): Likewise.
21201 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21202 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21203 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21204 Likewise.
21205 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21206 Likewise.
21207 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21208 (elf_greg_t): Likewise.
21209 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21210 (__jmp_buf): Likewise.
21211 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21212 definitions.
21213 (llrint): Likewise, for all definitions.
21214 (llrintl): Likewise.
21215
fed0faa1
JM
21216 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21217 Remove [__GNUC__] condition.
21218 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21219 condition to just [__USE_ISOC99].
21220 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21221
1a20cb20
L
212222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21223
21224 [BZ #14200]
21225 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21226 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21227 defined.
21228 (_POSIX_V6_ILP32_OFF32): Likewise.
21229 (_XBS5_ILP32_OFF32): Likewise.
21230 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21231 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21232
751b85f7
SP
212332013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21234
7490eb81
SP
21235 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21236
751b85f7
SP
21237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21238 doubles __mpexp_twomm1. Adjust usage.
21239 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21240 Remove.
21241
988197f0
AS
212422013-01-10 Andreas Schwab <schwab@suse.de>
21243
21244 [BZ #14964]
21245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21246 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21247
e83d7298
DM
212482013-01-09 David S. Miller <davem@davemloft.net>
21249
034ed64b 21250 [BZ #15003]
57f41c40
AS
21251 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21252 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21253 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21254 (TCP_FASTOPEN): Define.
e83d7298
DM
21255 (tcp_repair_opt): New structure.
21256 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21257 enum values.
57f41c40
AS
21258 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21259 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21260 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21261 (tcp_cookie_transactions): New structure.
21262
d5e0b9bd
AB
212632013-01-09 Anton Blanchard <anton@samba.org>
21264
21265 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21266 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21268 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21269
0c07e3ea
JM
212702013-01-09 Joseph Myers <joseph@codesourcery.com>
21271
21272 * include/features.h (__USE_ANSI): Remove.
21273
232f7002
RM
212742013-01-09 Roland McGrath <roland@hack.frob.com>
21275
ad98e30c
RM
21276 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21277
232f7002
RM
21278 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21279
950c99ca
SP
212802013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21281
b5792741
SP
21282 * sysdeps/s390/fpu/libm-test-ulps: Update.
21283
47cf2278
SP
21284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21285
950c99ca
SP
21286 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21287 (__acr): Likewise.
21288 (__cpy): Likewise.
21289 (norm): Likewise.
21290 (denorm): Likewise.
21291 (__mp_dbl): Likewise.
21292 (__dbl_mp): Likewise.
21293 (add_magnitudes): Likewise.
21294 (sub_magnitudes): Likewise.
21295 (__add): Likewise.
21296 (__sub): Likewise.
21297 (__mul): Likewise.
21298 (__inv): Likewise.
21299 (__dvd): Likewise.
21300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21301 (__acr): Likewise.
21302 (__cpy): Likewise.
21303 (norm): Likewise.
21304 (denorm): Likewise.
21305 (__mp_dbl): Likewise.
21306 (__dbl_mp): Likewise.
21307 (add_magnitudes): Likewise.
21308 (sub_magnitudes): Likewise.
21309 (__add): Likewise.
21310 (__sub): Likewise.
21311 (__mul): Likewise.
21312 (__inv): Likewise.
21313 (__dvd): Likewise.
21314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21315 (__acr): Likewise.
21316 (__cpy): Likewise.
21317 (norm): Likewise.
21318 (denorm): Likewise.
21319 (__mp_dbl): Likewise.
21320 (__dbl_mp): Likewise.
21321 (add_magnitudes): Likewise.
21322 (sub_magnitudes): Likewise.
21323 (__add): Likewise.
21324 (__sub): Likewise.
21325 (__mul): Likewise.
21326 (__inv): Likewise.
21327 (__dvd): Likewise.
21328
eede9df9
JM
213292013-01-08 Joseph Myers <joseph@codesourcery.com>
21330
21331 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21332 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21333 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21334 2 && __USE_EXTERN_INLINES]: Likewise.
21335
c40ea3d9
AJ
213362013-01-08 Andreas Jaeger <aj@suse.de>
21337
21338 [BZ# 14985]
21339 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21340 Remove.
21341 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21342 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21343
2ccdea26
AB
213442013-01-07 Anton Blanchard <anton@samba.org>
21345
21346 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21347 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21348 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21349 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21350 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21351 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21352 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21353 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21355 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21357 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21358 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21360 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21362 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21364 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21366 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21367 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21369 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21370 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21371 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21372 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21373 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21375 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21376 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21379 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21380 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21381 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21382 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21384 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21385 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21388 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21389
a9708fed
JM
213902013-01-07 Joseph Myers <joseph@codesourcery.com>
21391
375607b9
JM
21392 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21393 (__MALLOC_PMT): Likewise.
21394 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21395 [__GNUC__], only on [_LIBC].
21396 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21397 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21398 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21399 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21400 forward declaration.
21401 (realloc_hook_ini): Likewise.
21402 (memalign_hook_ini): Likewise.
21403 (__libc_memalign): Do not use __MALLOC_PMT in variable
21404 declaration.
21405 (__libc_valloc): Likewise.
21406 (__libc_pvalloc): Likewise.
21407 (__libc_calloc): Likewise.
21408 (__posix_memalign): Likewise.
21409
a9708fed
JM
21410 [BZ #14996]
21411 * math/s_casinh.c: Include <float.h>.
21412 (__casinh): Do not do computation with squaring and square root
21413 for large arguments.
21414 * math/s_casinhf.c: Include <float.h>.
21415 (__casinhf): Do not do computation with squaring and square root
21416 for large arguments.
21417 * math/s_casinhl.c: Include <float.h>.
21418 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21419 (__casinhl): Do not do computation with squaring and square root
21420 for large arguments.
21421 * math/libm-test.inc (casin_test): Add more tests.
21422 (casinh_test): Likewise.
21423 * sysdeps/i386/fpu/libm-test-ulps: Update.
21424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425
afec409a
L
214262013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21427
21428 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21429 (__x86_64_raw_data_cache_size): Likewise.
21430 (__x86_64_data_cache_size_half): Likewise.
21431 (__x86_64_raw_data_cache_size_half): Likewise.
21432 (__x86_64_shared_cache_size): Likewise.
21433 (__x86_64_raw_shared_cache_size): Likewise.
21434 (__x86_64_shared_cache_size_half): Likewise.
21435 (__x86_64_raw_shared_cache_size_half): Likewise.
21436 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21437 to ...
21438 (__x86_data_cache_size): This.
21439 (__x86_64_raw_data_cache_size): Renamed to ...
21440 (__x86_raw_data_cache_size): This.
21441 (__x86_64_data_cache_size_half): Renamed to ...
21442 (__x86_data_cache_size_half): This.
21443 (__x86_64_raw_data_cache_size_half): Renamed to ...
21444 (__x86_raw_data_cache_size_half): This.
21445 (__x86_64_shared_cache_size): Renamed to ...
21446 (__x86_shared_cache_size): This.
21447 (__x86_64_raw_shared_cache_size): Renamed to ...
21448 (__x86_raw_shared_cache_size): This.
21449 (__x86_64_shared_cache_size_half): Renamed to ...
21450 (__x86_shared_cache_size_half): This.
21451 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21452 (__x86_raw_shared_cache_size_half): This.
21453 * sysdeps/x86_64/memcpy.S: Updated.
21454 * sysdeps/x86_64/memset.S: Likewise.
21455 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21458
0b3986d0
DM
214592013-01-04 David S. Miller <davem@davemloft.net>
21460
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21462
e47686e9
AS
214632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21464
d643bac1
AS
21465 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21466 1 to avoid redefinition warning.
21467 (__USE_GNU): Don't define.
21468 (init_signaling_nan): Protoize.
21469
e47686e9
AS
21470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21471
b18decba
SP
214722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21473
fffb407f
SP
21474 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21476 (__cpymn): Likewise.
21477 (norm): Remove commented code.
21478 (denorm): Likewise.
21479 (__mp_dbl): Likewise.
21480 (__inv): Likewise.
21481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21482 (__cpymn): Likewise.
21483 (norm): Remove commented code.
21484 (denorm): Likewise.
21485 (__mp_dbl): Likewise.
21486 (__inv): Likewise.
21487
b18decba
SP
21488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21489 mp_no value for 1.0 and 2.0.
21490 (norm): Use RADIXI instead of radixi.d.
21491 (denorm): Likewise.
21492 (__mul): Use 0.0 instead of zero.d.
21493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21494 mp_no value for 1.0 and 2.0.
21495 (norm): Use RADIXI instead of radixi.d.
21496 (denorm): Likewise.
21497 (__mul): Use 0.0 instead of zero.d.
21498
cdc1c96f
JM
214992013-01-04 Joseph Myers <joseph@codesourcery.com>
21500
21501 [BZ #14994]
21502 * math/s_casinh.c (__casinh): Reduce finite argument to first
21503 quadrant then set signs of results at the end.
21504 * math/s_casinhf.c (__casinhf): Likewise.
21505 * math/s_casinhl.c (__casinhl): Likewise.
21506 * math/libm-test.inc (casin_test): Add more tests.
21507 (casinh_test): Likewise.
21508 * sysdeps/i386/fpu/libm-test-ulps: Update.
21509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21510
302913e1
SP
215112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21512
6420d207
SP
21513 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21514
a9e48ab4
SP
21515 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21516
b7837264
SP
21517 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21518 declarations.
21519 (denorm): Likewise.
21520 (__mp_dbl): Likewise.
21521 (__inv): Likewise.
21522
f8af25d2
SP
21523 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21524 and adjust the header comment.
21525
302913e1
SP
21526 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21527 variable name from declaration.
21528
5d7dd1ca
L
215292013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21532 Initialize COMMON_CPUID_INDEX_7 element.
21533 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21534 (CPUID_RTM): Likewise.
21535 (HAS_RTM): Likewise.
21536 (COMMON_CPUID_INDEX_7): New enum.
21537
2f5f40f4
AS
215382013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21539
21540 [BZ #14981]
21541 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21542 size is zero, record memory as freed.
21543
4056f4a0
AJ
215442013-01-03 Andreas Jaeger <aj@suse.de>
21545
21546 * po/ia.po: Add new Interlingua translation.
21547
ab15736f 215482012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21549
21550 * locale/programs/localedef.c: Fix description of '--posix' flag.
21551
568035b7
JM
215522013-01-02 Joseph Myers <joseph@codesourcery.com>
21553
e6898b8d
JM
21554 * NEWS: Update dates in second copyright notice.
21555 * README: Update copyright dates in example.
21556 * manual/libc.texinfo: Update copyright dates.
21557 * scripts/test-installation.pl: Update copyright date in --version
21558 output.
21559
0e2f9562
JM
21560 * hurd/ctty-input.c: Fix copyright notice formatting.
21561 * hurd/ctty-output.c: Likewise.
21562 * hurd/dtable.c: Likewise.
21563 * hurd/hurd-raise.c: Likewise.
21564 * hurd/hurdprio.c: Likewise.
21565 * hurd/msgportdemux.c: Likewise.
21566 * misc/sys/file.h: Likewise.
21567 * misc/sys/ioctl.h: Likewise.
21568 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21569 * sysdeps/mach/hurd/chdir.c: Likewise.
21570 * sysdeps/mach/hurd/fchdir.c: Likewise.
21571 * sysdeps/mach/hurd/rename.c: Likewise.
21572 * sysdeps/mach/hurd/rmdir.c: Likewise.
21573 * sysdeps/mach/hurd/seekdir.c: Likewise.
21574 * sysdeps/mach/hurd/setsid.c: Likewise.
21575 * sysdeps/posix/wait3.c: Likewise.
21576
568035b7
JM
21577 * All files with FSF copyright notices: Update copyright dates
21578 using scripts/update-copyrights.
21579 * intl/plural.c: Regenerated.
21580 * locale/programs/charmap-kw.h: Likewise.
21581 * locale/programs/locfile-kw.h: Likewise.
21582
da08f647
SP
215832013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21584
0f5477af
SP
21585 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21586 four values.
21587
44e0d4c2
SP
21588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21589 calculation loop and add branch prediction.
21590
4d55b4e5
SP
21591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21592 check access beyond bounds of m1np.
21593
da08f647
SP
21594 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21595 MPTWO.
21596 (__inv): Remove local variable MPTWO to use the global
21597 constant.
21598 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21599 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21600 variable MPTWO.
21601 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21602 MP3HALFS static const.
21603
8e051029
DM
216042013-01-01 David S. Miller <davem@davemloft.net>
21605
21606 * po/ca.po: Update from translation team.
21607
f4cf5f2d
JM
216082013-01-01 Joseph Myers <joseph@codesourcery.com>
21609
21610 * scripts/update-copyrights: New file.
21611 * Makeconfig: Reformat copyright notice.
21612 * ctype/ctype.h: Likewise.
21613 * debug/swprintf_chk.c: Likewise.
21614 * elf/dl-cache.c: Likewise.
21615 * elf/dl-debug.c: Likewise.
21616 * elf/dl-object.c: Likewise.
21617 * grp/initgroups.c: Likewise.
21618 * hurd/Makefile: Likewise.
21619 * hurd/hurd/signal.h: Likewise.
21620 * hurd/hurdfault.c: Likewise.
21621 * hurd/hurdioctl.c: Likewise.
21622 * hurd/hurdlookup.c: Likewise.
21623 * hurd/intr-msg.c: Likewise.
21624 * iconv/gconv_open.c: Likewise.
21625 * libio/swprintf.c: Likewise.
21626 * locale/lc-ctype.c: Likewise.
21627 * locale/nl_langinfo.c: Likewise.
21628 * mach/Machrules: Likewise.
21629 * mach/Makefile: Likewise.
21630 * malloc/obstack.h: Likewise.
21631 * manual/Makefile: Likewise.
21632 * manual/tsort.awk: Likewise.
21633 * misc/bits/stab.def: Likewise.
21634 * nis/nis_print_group_entry.c: Likewise.
21635 * nis/nis_table.c: Likewise.
21636 * nis/nss_compat/compat-pwd.c: Likewise.
21637 * nis/nss_compat/compat-spwd.c: Likewise.
21638 * po/Makefile: Likewise.
21639 * posix/fnmatch.c: Likewise.
21640 * posix/regex.h: Likewise.
21641 * resolv/Makefile: Likewise.
21642 * resolv/nss_dns/dns-network.c: Likewise.
21643 * resolv/res_hconf.c: Likewise.
21644 * scripts/gen-sorted.awk: Likewise.
21645 * soft-fp/soft-fp.h: Likewise.
21646 * stdio-common/printf.h: Likewise.
21647 * stdlib/monetary.h: Likewise.
21648 * stdlib/random.c: Likewise.
21649 * stdlib/random_r.c: Likewise.
21650 * sysdeps/generic/Makefile: Likewise.
21651 * sysdeps/gnu/Makefile: Likewise.
21652 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21666 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21667 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21668 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21670 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21673 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21680 * sysdeps/mach/hurd/errnos.awk: Likewise.
21681 * sysdeps/mach/hurd/fork.c: Likewise.
21682 * sysdeps/mach/hurd/getcwd.c: Likewise.
21683 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21684 * sysdeps/mach/hurd/mmap.c: Likewise.
21685 * sysdeps/mach/hurd/utimes.c: Likewise.
21686 * sysdeps/mach/hurd/xmknod.c: Likewise.
21687 * sysdeps/posix/profil.c: Likewise.
21688 * sysdeps/posix/readdir_r.c: Likewise.
21689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21690 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21691 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21692 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21694 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21695 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21698 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21699 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21700 * sysdeps/pthread/lio_listio.c: Likewise.
21701 * sysdeps/sparc/dl-procinfo.h: Likewise.
21702 * sysdeps/unix/i386/sysdep.S: Likewise.
21703 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21704 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21705 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21706 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21708 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21709 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21710 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21711 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21712 * sysdeps/wordsize-32/divdi3.c: Likewise.
21713 * time/sys/time.h: Likewise.
21714 * wcsmbs/Makefile: Likewise.
21715
0549fbba
DM
217162013-01-01 David S. Miller <davem@davemloft.net>
21717
a141f1a7
DM
21718 * po/fr.po: Update from translation team.
21719
0549fbba
DM
21720 * catgets/gencat.c: Update copyright year.
21721 * csu/version.c: Likewise.
21722 * debug/catchsegv.sh: Likewise.
21723 * debug/pcprofiledump.c: Likewise.
21724 * debug/xtrace.sh: Likewise.
21725 * elf/ldconfig.c: Likewise.
21726 * elf/ldd.bash.in: Likewise.
21727 * elf/pldd.c: Likewise.
21728 * elf/sotruss.ksh: Likewise.
21729 * elf/sprof.c: Likewise.
21730 * iconv/iconv_prog.c: Likewise.
21731 * iconv/iconvconfig.c: Likewise.
21732 * locale/programs/locale.c: Likewise.
21733 * locale/programs/localedef.c: Likewise.
21734 * login/programs/pt_chown.c: Likewise.
21735 * malloc/memusage.sh: Likewise.
21736 * malloc/memusagestat.c: Likewise.
21737 * malloc/mtrace.pl: Likewise.
21738 * nscd/nscd.c: Likewise.
21739 * nss/getent.c: Likewise.
21740 * nss/makedb.c: Likewise.
21741 * posix/getconf.c: Likewise.
21742
18ea052c
SP
217432012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21744
21745 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21746 numbers.
21747
9c89fca6
MF
217482012-12-30 Mike Frysinger <vapier@gentoo.org>
21749
21750 * math/bits/mathcalls.h (modf): Use __nonnull.
21751
085ec079
SP
217522012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21753
21754 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21755 (split): Use macro CN instead of the bare value.
21756 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21757 could be used.
21758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21759 instead of the bare value.
21760 (power1): Likewise.
21761
6d9f97e1
SP
217622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21763
d63f73be
SP
21764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21765 __ATAN_TWOM.
21766 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21767
6d9f97e1
SP
21768 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21769 their values.
21770 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21772 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21773 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21774
4c4febf5
AJ
217752012-12-28 Andreas Jaeger <aj@suse.de>
21776
af5843ef
AJ
21777 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21778 values are from Linux 3.7.
21779
4c4febf5
AJ
21780 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21781 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21782
99136f82
SP
217832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21784
2f216c3c 21785 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21786 TRUE case.
21787
99136f82
SP
21788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21789 (norm): Likewise.
21790 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21791 variables with preprocessor constants.
21792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21793 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21795
7fffbdff
BH
217962012-12-27 Bruno Haible <bruno@clisp.org>
21797
21798 [BZ #14317]
21799 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21800 only if needed.
21801
b76eb5f0
SP
218022012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21803
31a7fe5c
SP
21804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21805 and use variable directly.
21806 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21807
b76eb5f0
SP
21808 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21809 MPONE.
21810 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21812 variable MPONE.
21813 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21815 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21816 include directive. Remove local variable MPONE.
21817 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21818 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21819 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21820
2c8bfe7d
DM
218212012-12-25 David S. Miller <davem@davemloft.net>
21822
21823 * version.h (RELEASE): Set to "development".
21824 (VERSION): Set to "2.17.90".
21825 * NEWS: Add 2.18 section.
21826
147d03b0
DM
218272012-12-21 David S. Miller <davem@davemloft.net>
21828
21829 * po/hr.po: Update from translation team.
21830
a8ebb2b9
AK
218312012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21832
21833 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21834
95b4f1b6
SE
218352012-12-19 Steve Ellcey <sellcey@mips.com>
21836
b2d94007 21837 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21838
cedb2a90
MS
218392012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21840
21841 * manual/contrib.texi (Contributors): Spelling correction.
21842
bbf527d6
DM
218432012-12-15 David S. Miller <davem@davemloft.net>
21844
21845 * po/ru.po: Update from translation team.
21846
bc38c906
DM
218472012-12-13 David S. Miller <davem@davemloft.net>
21848
85429b1a
DM
21849 * NEWS: Mention IFUNC testsuite enhancements.
21850
d283e353
DM
21851 * po/pl.po: Update from translation team.
21852 * po/bg.po: Likewise.
21853
bc38c906
DM
21854 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21855 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21856
a181b0d7
DM
218572012-12-11 David S. Miller <davem@davemloft.net>
21858
4641d57e
DM
21859 * po/sv.po: Update from translation team.
21860
f7bc6495
DM
21861 * po/vi.po: Update from translation team.
21862
6fc9048f
DM
21863 * po/cs.po: Update from translation team.
21864
a181b0d7
DM
21865 * po/de.po: Update from translation team.
21866 * po/eo.po: Likewise.
21867 * po/nl.po: Likewise.
21868
f70bfe80
SP
218692012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21870
3c8b4190
SP
21871 [BZ #14246]
21872 * manual/argp.texi (Argp Helper Functions): Move node to follow
21873 Argp Parsing State.
21874
f70bfe80
SP
21875 [BZ #14872]
21876 * manual/conf.texi (Limits on File System Capacity): Mention if
21877 terminating null is included in the max size.
21878
188f0adf
AJ
218792012-12-10 Andreas Jaeger <aj@suse.de>
21880
21881 * po/cs.po: Update from translation team.
21882
56e7d3ad
SP
218832012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21884
21885 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21886 void pointer and cast to uintptr_t.
21887 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21888 path.
21889 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21890 * sysdeps/s390/s390-64/memset.S: Likewise.
21891
76f2d2ea 218922012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21893
21894 [BZ #14833]
21895 * menual/message.texi (Message Translation): Fix typos.
21896 (Helper programs for gettext): Likewise.
21897
67cbf9a2
AS
218982012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21899
21900 [BZ #14898]
21901 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21902 Change to -1.
21903
682d0e9a
DM
219042012-12-07 David S. Miller <davem@davemloft.net>
21905
21906 * po/libc.pot: Update.
21907
573cd484
RH
219082012-12-07 Richard Henderson <rth@redhat.com>
21909
7e9da188 21910 [BZ #10114]
573cd484
RH
21911 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21912 normal/normal case to before the switch.
21913 (_FP_DIV): Likewise.
21914
e933a943
MF
219152012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21916 Mike Frysinger <vapier@gentoo.org>
21917
21918 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21919 check for __NR_fadvise64_64.
21920
82123268
CM
219212012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21922
21923 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21924 0, not just to plain "0" as a statement.
21925 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21926 with cw.
21927
d9814526
JM
219282012-12-06 Joseph Myers <joseph@codesourcery.com>
21929
21930 * NEWS: Use sourceware.org in Bugzilla URL.
21931
7728c574
SP
219322012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21933
f16946dd
SP
21934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21935 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21936
5704bbcb
SP
21937 * stdio-common/tst-put-error.c (do_test): Add newline to the
21938 padded test to ensure flush.
21939
17aa0516
JL
219402012-12-05 Jeff Law <law@redhat.com>
21941
21942 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21943
363313b5
JM
219442012-12-05 Joseph Myers <joseph@codesourcery.com>
21945
effbd42a
JM
21946 * README: Don't refer to ports add-on as distributed separately.
21947 Mention AArch64 in list of systems supported in the ports add-on.
21948
87600365
JM
21949 * LICENSES: Add more non-FSF copyright and license notices.
21950
a0d7066a
JM
21951 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21952 ((unused)).
21953
66ca5a5b
JM
21954 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21955
363313b5
JM
21956 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21957 10000 as width of padded output.
21958
b37984ad
JM
219592012-12-04 Joseph Myers <joseph@codesourcery.com>
21960
9003570a
JM
21961 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21962
b37984ad
JM
21963 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21964 variable LX with __attribute__ ((unused)).
21965 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21966 Likewise.
21967 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21969 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21970 with __attribute__ ((unused)).
21971
c8df52ec
DM
219722012-12-04 David S. Miller <davem@abraco.davemloft.net>
21973
21974 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21975
b3b099af
JM
219762012-12-04 Joseph Myers <joseph@codesourcery.com>
21977
c33aa6e3
JM
21978 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21979 (CFLAGS-nldbl-acos.c): New variable.
21980 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21981 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21982 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21983 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21984 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21985 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21986 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21987 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21988 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21989 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21990 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21991 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21992 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21993 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21994 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21995 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21996 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21997 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21998 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21999 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22000 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22001 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22002 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22003 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22004 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22005 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22006 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22007 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22008 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22009 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22010 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22011 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22016 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22017 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22018 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22019 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22020 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22021 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22022 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22023 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22024 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22048 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22049 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22050 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22051 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22052 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22053 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22054 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22055 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22056 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22057 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22058 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22059 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22060 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22061 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22062 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22063 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22064 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22065 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22066 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22067 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22068 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22069 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22070 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22071 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22072 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22073 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22074 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22075 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22076 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22077
20f0018d
JM
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22079 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22080
b3b099af
JM
22081 [BZ #14914]
22082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22083 whole low double instead of just low 47 bits when splitting values
22084 into two parts.
22085
029264d1
AM
220862012-12-03 Allan McRae <allan@archlinux.org>
22087
22088 * manual/stdio.texi (Predefined Printf Handlers): Remove
22089 @hsep and @vsep usage.
22090
c9d6789e
MF
220912012-12-03 Mike Frysinger <vapier@gentoo.org>
22092
22093 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22094 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22095
4b7634a5
JL
220962012-12-03 Jeff Law <law@redhat.com>
22097
22098 * time/sys/time.h (settimeofday): Do not mark TV argument
22099 as __nonnull.
22100
eb6cbd24
MF
221012012-12-01 Mike Frysinger <vapier@gentoo.org>
22102
22103 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22104 when currently writing and seek to current position when not.
22105 * libio/Makefile (tests): Remove bug-fclose1.
22106 * libio/bug-fclose1.c: Delete.
22107
f638872a
JM
221082012-12-01 Joseph Myers <joseph@codesourcery.com>
22109
22110 * manual/arith.texi (feenableexcept): Fix typo.
22111 (fedisableexcept): Likewise.
22112
48085d14
RM
221132012-11-30 Roland McGrath <roland@hack.frob.com>
22114
22115 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22116 second, differently-typed declaration, rather than a cast.
22117
1a538b9f
SP
221182012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22119
22120 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22121 * include/rpc/svc.h: ... here.
22122
d07f2ff1 221232012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22124
22125 [BZ #13013]
22126 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22127 depending n and resplen2 to catch cases where answer
22128 equals answerp2.
22129
c93ec1f0
CD
221302012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22131
22132 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22133 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22134
37db69de
MF
221352012-11-29 Mike Frysinger <vapier@gentoo.org>
22136
22137 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22138
e10c4e4f
RM
221392012-11-29 Roland McGrath <roland@hack.frob.com>
22140
22141 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22142
2af1b328
JL
221432012-11-28 Jeff Law <law@redhat.com>
22144
22145 [BZ #13761]
22146 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22147 dataset_temporary. Track alloca usage into alloca_used.
22148 If dataset is large allocate and release it via malloc/free.
22149
111db5b1
FW
221502012-06-04 Florian Weimer <fweimer@redhat.com>
22151
f06cc227 22152 [BZ #14197]
111db5b1
FW
22153 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22154
dd694abd
DM
221552012-11-28 David S. Miller <davem@davemloft.net>
22156
22157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22158
9984dd01
JM
221592012-11-28 Joseph Myers <joseph@codesourcery.com>
22160
22161 [BZ #14803]
22162 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22163 of pi/2 rounded to nearest to 64 bits.
22164 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22165 nearest to 64 bits.
22166 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22167 bits.
22168
14bc93a9
JL
221692012-11-28 Jeff Law <law@redhat.com>
22170 Martin Osvald <mosvald@redhat.com>
22171
22172 [BZ #14889]
22173 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22174 * sunrpc/svc.c: Include time.h.
22175 (__svc_accept_failed): New function.
22176 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22177 any reason other than EINTR, call __svc_accept_failed.
22178 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22179 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22180
e3c6aa3a
AS
221812012-11-28 Andreas Schwab <schwab@suse.de>
22182
22183 * scripts/abilist.awk: Also handle indirect functions in .opd
22184 section.
22185
1bead169
JM
221862012-11-28 Joseph Myers <joseph@codesourcery.com>
22187
22188 [BZ #13881]
22189 * sysdeps/x86/fpu/powl_helper.c: New file.
22190 * sysdeps/x86/fpu/Makefile: Likewise.
22191 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22192 (p3): New object.
22193 (__ieee754_powl): Use __powl_helper for finite arguments except
22194 integer exponents below 8.
22195 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22196 (p3): New object.
22197 (__ieee754_powl): Use __powl_helper for finite arguments except
22198 integer exponents below 8.
22199 * math/libm-test.inc (pow_test): Add more tests and enable some
22200 previously disabled tests.
22201 * sysdeps/i386/fpu/libm-test-ulps: Update.
22202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22203
0817d63d
SP
222042012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22205 Carlos O'Donell <carlos_odonell@mentor.com>
22206
22207 * nss/makedb.c (is_prime): Assert that input is odd and greater
22208 than 4. Note that fact in a comment too.
22209 (next_prime): Add 4 to input.
22210
de2fd463
SP
222112012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22212
22213 [BZ #11741]
22214 * libio/Makefile (tests): Add test case tst-fwrite-error.
22215 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22216 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22217 * libio/tst-fwrite-error.c: New test case.
22218
c515fb51
L
222192012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22220
22221 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22222 before casting to void *.
22223 * include/libc-internal.h (__pointer_type): New macro.
22224 (__integer_if_pointer_type_sub): Likewise.
22225 (__integer_if_pointer_type): Likewise.
22226 (cast_to_integer): Likewise.
22227 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22228 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22229 before casting to atomic64_t.
22230 (atomic_exchange_acq): Likewise.
22231 (__arch_exchange_and_add_body): Likewise.
22232 (__arch_add_body): Likewise.
22233 (atomic_add_negative): Likewise.
22234 (atomic_add_zero): Likewise.
22235
4cf77aa9
JM
222362012-11-26 Joseph Myers <joseph@codesourcery.com>
22237
22238 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22239 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22240 (add_fdes): Likewise.
22241 (linear_search_fdes): Likewise.
22242 (binary_search_unencoded_fdes): Likewise.
22243
d260b3b4
AS
222442012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22245
22246 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22247
67060746
AC
222482012-11-24 Adam Conrad <adconrad@0c3.net>
22249
22250 * configure.in: Autodetect C++ header directories.
22251 * configure: Regenerated.
22252
800938a1
MF
222532012-11-23 Mike Frysinger <vapier@gentoo.org>
22254
22255 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22256
4e6e34e6
AS
222572012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22258
22259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22260
7c7feb47
JM
222612012-11-22 Joseph Myers <joseph@codesourcery.com>
22262
7184dcdf
JM
22263 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22264 LDBL_MANT_DIG == 106]: Disable some tests.
22265 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22266 Likewise.
22267 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22268 Likewise.
22269
0a42601f
JM
22270 [BZ #14871]
22271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22272 input for small inputs. Return +/- pi/2 for large inputs.
22273 * math/libm-test.inc (atan_test): Add more tests.
22274
79c9b9fe
JM
22275 * sysdeps/generic/unwind-dw2-fde-glibc.c
22276 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22277 __attribute__ ((unused)).
22278
c60d3bf2
JM
22279 [BZ #14645]
22280 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22281 x * y if x and y are nonzero and z is zero.
22282
ef1e0867
JM
22283 [BZ #14811]
22284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22285 nonzero exponents with absolute value below 0x1p-117 to +/-
22286 0x1p-117.
22287
1468ded3
JM
22288 [BZ #14869]
22289 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22290 up arguments below 2**-450, not just those below 2**-500.
22291 * math/libm-test.inc (hypot_test): Add another test.
22292
8e27e3cc
JM
22293 [BZ #14868]
22294 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22295 Return a+b for ratio over 2**120, not 2**60.
22296 * math/libm-test.inc (hypot_test): Add another test.
22297
c9c0279b
JM
22298 * math/libm-test.inc (clog_test): Use
22299 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22300 (clog10_test): Likewise.
22301
7c7feb47
JM
22302 [BZ #6778]
22303 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22304
fff1530e
AS
223052012-11-22 Andreas Schwab <schwab@suse.de>
22306
22307 * sysdeps/i386/fpu/libm-test-ulps: Update.
22308
94558d30
PT
223092012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22310
22311 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22312 printf output with newline.
22313
7e1be741
L
223142012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22315
6bfea974
L
22316 [BZ #14865]
22317 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22318 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22319 -z nodlopen, -z initfirst and -z execstack support.
22320 * configure: Regenerated.
22321
7e1be741
L
22322 * elf/elf.h (DF_1_NODIRECT): New macro.
22323 (DF_1_IGNMULDEF): Likewise.
22324 (DF_1_NOKSYMS): Likewise.
22325 (DF_1_NOHDR): Likewise.
22326 (DF_1_EDITED): Likewise.
22327 (DF_1_NORELOC): Likewise.
22328 (DF_1_SYMINTPOSE): Likewise.
22329 (DF_1_GLOBAUDIT): Likewise.
22330 (DF_1_SINGLETON): Likewise.
22331 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22332 DT_1_SUPPORTED_MASK bits.
22333 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22334
105ce2ce
CD
223352012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22336
22337 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22338
123be9de
TS
223392012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22340
d072f3f7
TS
22341 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22342 macro.
22343
123be9de
TS
22344 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22345 (sendmmsg): Move declarations...
22346 * socket/sys/socket.h: ... here.
22347 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22348 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22349 include it from...
22350 * socket/recvmmsg.c: ... this new file.
22351 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22352 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22353 definition of __sendmmsg hidden.
22354 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22355 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22356 Move ENOSYS stub into and include it from...
22357 * socket/sendmmsg.c: ... this new file.
22358 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22359 (sysdep_routines): Move recvmmsg and sendmmsg...
22360 * socket/Makefile (routines): ... here.
22361 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22362 (GLIBC_PRIVATE): Add __sendmmsg.
22363 * include/sys/socket.h (__sendmmsg): Add declarations.
22364 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22365 sendmmsg.
22366
cf9a5d18
JM
223672012-11-20 Joseph Myers <joseph@codesourcery.com>
22368
22369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22370 variable I1 with __attribute__ ((unused)).
22371 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22372
ecd4caf9
JM
223732012-11-19 Joseph Myers <joseph@codesourcery.com>
22374
be14d48f
JM
22375 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22376 DUMMY variables with __attribute__ ((unused)).
22377
ecd4caf9
JM
22378 * bits/byteswap.h: Include <bits/types.h>.
22379 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22380
986cab95
PT
223812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22382
22383 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22384 string_t. Do not manually set errno.
22385 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22386 length with __strnlen. Make sure to both set errno and return it on
22387 failure.
22388
6d33cc9d
DM
223892012-11-19 David S. Miller <davem@davemloft.net>
22390
22391 With help from Joseph Myers.
22392 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22393 very large arguments properly.
22394 * math/libm-test.inc (atan_test): New tests.
22395 (atan2_test): New tests.
22396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22398
ee663277
JM
223992012-11-19 Joseph Myers <joseph@codesourcery.com>
22400
877f2d8e
JM
22401 [BZ #14856]
22402 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22403 Define to 3.
22404
116fc08a
JM
22405 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22406 [POSIX] (EADDRNOTAVAIL): Likewise.
22407 [POSIX] (EAFNOSUPPORT): Likewise.
22408 [POSIX] (EALREADY): Likewise.
22409 [POSIX] (ECONNABORTED): Likewise.
22410 [POSIX] (ECONNREFUSED): Likewise.
22411 [POSIX] (ECONNRESET): Likewise.
22412 [POSIX] (EDESTADDRREQ): Likewise.
22413 [POSIX] (EDQUOT): Likewise.
22414 [POSIX] (EHOSTUNREACH): Likewise.
22415 [POSIX] (EIDRM): Likewise.
22416 [POSIX] (EISCONN): Likewise.
22417 [POSIX] (ELOOP): Likewise.
22418 [POSIX] (EMULTIHOP): Likewise.
22419 [POSIX] (ENETDOWN): Likewise.
22420 [POSIX] (ENETUNREACH): Likewise.
22421 [POSIX] (ENOBUFS): Likewise.
22422 [POSIX] (ENODATA): Likewise.
22423 [POSIX] (ENOLINK): Likewise.
22424 [POSIX] (ENOMSG): Likewise.
22425 [POSIX] (ENOPROTOOPT): Likewise.
22426 [POSIX] (ENOSR): Likewise.
22427 [POSIX] (ENOSTR): Likewise.
22428 [POSIX] (ENOTCONN): Likewise.
22429 [POSIX] (ENOTSOCK): Likewise.
22430 [POSIX] (EOPNOTSUPP): Likewise.
22431 [POSIX] (EOVERFLOW): Likewise.
22432 [POSIX] (EPROTO): Likewise.
22433 [POSIX] (EPROTONOSUPPORT): Likewise.
22434 [POSIX] (EPROTOTYPE): Likewise.
22435 [POSIX] (ESTALE): Likewise.
22436 [POSIX] (ETIME): Likewise.
22437 [POSIX] (ETXTBSY): Likewise.
22438 [POSIX] (EWOULDBLOCK): Likewise.
22439 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22440 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22441 [POSIX] (SEEK_CUR): Likewise.
22442 [POSIX] (SEEK_END): Likewise.
22443 [POSIX || UNIX98] (mode_t): Do not require.
22444 [POSIX] (off_t): Likewise.
22445 [POSIX] (pid_t): Likewise.
22446 [POSIX] (sys/stat.h): Do not allow header.
22447 [POSIX] (unistd.h): Likewise.
22448 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22449 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22450 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22451 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22452 require.
22453 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22454 sigevent): Specify elements.
22455 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22456 entry.
22457 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22458 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22459
a483863f
JM
22460 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22461 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22462 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22463 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22464 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22465 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22466 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22467 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22468 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22469 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22470 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22471 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22472 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22473 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22474 Likewise.
22475 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22476 Likewise.
22477 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22478 Likewise.
22479 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22480 Likewise.
22481 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22483 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22484 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22486 Specify lower bound on value.
22487 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22493 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22494 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22495 value.
22496 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22497 as optional.
22498 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22502 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22504 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22505 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22506 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22507 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22508 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22513 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22514 entry.
22515 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22516 optional.
22517 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22519 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22520 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22522 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22523 Likewise.
22524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22525 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22526 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22527 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22529 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22530 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22531 as optional.
22532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22534 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22536 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22537 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22538 specify as optional.
22539 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22542 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22543 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22544 [XPG3] (NL_LANGMAX): Likewise.
22545 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22546 [POSIX || XPG3] (NL_NMAX): Likewise.
22547 [POSIX || XPG3] (NL_SETMAX): Likewise.
22548 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22549 [XPG3] (NZERO): Likewise.
22550 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22551 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22552 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22553 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22554 (REG_ERANGE): Expect.
22555 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22556 optional-constant.
22557 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22558 Use (void) in prototype.
22559 [POSIX] (*_t): Allow.
22560 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22561 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22562 (WRDE_BADVAL): Expect.
22563
5ba924e3
JM
22564 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22565 expect.
22566 [XPG3 || XPG4] (O_RSYNC): Likewise.
22567 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22568 Likewise.
22569 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22570 [XPG3 || XPG4] (sigqueue): Likewise.
22571 [XPG3 || XPG4] (sigtimedwait): Likewise.
22572 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22573 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22574 [XPG3 || XPG4] (vsnprintf): Likewise.
22575 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22576 Likewise.
22577 [XPG3 || XPG4] (blksize_t): Likewise.
22578 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22579 Likewise.
22580 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22581 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22582 [XPG3 || XPG4] (struct itimerspec): Likewise.
22583 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22584 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22585 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22586 [XPG3 || XPG4] (clockid_t): Likewise.
22587 [XPG3 || XPG4] (timer_t): Likewise.
22588 [XPG3 || XPG4] (clock_getres): Likewise.
22589 [XPG3 || XPG4] (clock_gettime): Likewise.
22590 [XPG3 || XPG4] (clock_settime): Likewise.
22591 [XPG3 || XPG4] (nanosleep): Likewise.
22592 [XPG3 || XPG4] (timer_create): Likewise.
22593 [XPG3 || XPG4] (timer_delete): Likewise.
22594 [XPG3 || XPG4] (timer_gettime): Likewise.
22595 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22596 [XPG3 || XPG4] (timer_settime): Likewise.
22597 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22598 [XPG3 || XPG4] (getlogin_r): Likewise.
22599 [XPG3 || XPG4] (pread): Likewise.
22600 [XPG3 || XPG4] (pthread_atfork): Likewise.
22601 [XPG3 || XPG4] (pwrite): Likewise.
22602
ee663277
JM
22603 [BZ #14835]
22604 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22605 <bits/siginfo.h>.
22606
942caa16
PT
226072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22608
e19af380
PT
22609 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22610 finalizing MALLSTREAM.
22611
942caa16
PT
22612 * sysdeps/mach/hurd/syncfs.c: New file.
22613
cfde9b46
SP
226142012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22615
22616 [BZ #14719]
22617 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22618 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22619 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22620 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22621 (_nss_dns_gethostbyname4_r): Likewise.
22622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22623 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22624
f6da27e5
PH
226252012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22626
22627 [BZ #13763]
22628 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22629
6665d4a2
SM
226302012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22631
1f51ee92
SM
22632 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22633 * elf/cache.c (print_entry): Print ",AArch64" for
22634 FLAG_AARCH64_LIB64
22635
6665d4a2
SM
22636 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22637 * elf/cache.c (print_entry): Print ",hard-float" for
22638 FLAG_ARM_LIBHF.
22639
05b227bd
DM
226402012-11-18 David S. Miller <davem@davemloft.net>
22641
22642 With help from Joseph Myers.
22643 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22644 cutoff to 2**-13.
22645 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22646 cutoff to 2**-25.
22647 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22648 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22649 small.
22650 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22651 * math/libm-test.inc (y0_test): New tests.
22652 (y1_test): New tests.
22653 * sysdeps/i386/fpu/libm-test-ulps: Update.
22654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22656
786b0b67
AS
226572012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22658
22659 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22660 64-bit targets.
22661 * configure: Regenerated.
22662
8e18b86d
DM
226632012-11-17 David S. Miller <davem@davemloft.net>
22664
22665 [BZ #14811]
22666 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22667 nonzero exponents with absolute value below 0x1p-128 to +/-
22668 0x1p-128.
22669
531f1ae0
JM
226702012-11-17 Joseph Myers <joseph@codesourcery.com>
22671
12df29e2
JM
22672 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22673
150dc1a0
JM
22674 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22675
531f1ae0
JM
22676 * posix/getconf-speclist.c: New file.
22677 * posix/posix-envs.def: Likewise.
22678 * posix/confstr.c (START_ENV_GROUP): New macro.
22679 (END_ENV_GROUP): Likewise.
22680 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22681 (KNOWN_PRESENT_ENV_STRING): Likewise.
22682 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22683 (UNKNOWN_ENVIRONMENT): Likewise.
22684 (confstr): Include posix-envs.def instead of handling
22685 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22686 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22687 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22688 (END_ENV_GROUP): Likewise.
22689 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22690 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22691 (UNKNOWN_ENVIRONMENT): Likewise.
22692 (__sysconf): Include posix-envs.def instead of handling associated
22693 cases directly here.
22694 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22695 preprocessing getconf-speclist.c rather than running getconf or
22696 generating empty file.
22697
a93f9cbc
PT
226982012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22699
22700 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22701
d64d9f87
AL
227022012-11-16 Andrej Lajovic <natrij@gmail.com>
22703
22704 [BZ #14672]
22705 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22706
447885eb
DM
227072012-11-16 David S. Miller <davem@davemloft.net>
22708
22709 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22710 smaller than LDBL_EPSILON/2.0L, just return xm1.
22711
bcbf9830
L
227122012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22713
22714 * elf/tst-array1.c (init): Set constructor priority to 1000.
22715 (fini): Set destructor priority to 1000.
22716 * elf/tst-array2dep.c: Likewise.
22717
2b766585
SP
227182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22719
22720 [BZ #11741]
22721 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22722 (_IO_new_file_xsputn): Also return EOF if none of the input
22723 data was written when overflow failed.
22724 * libio/iopadn.c (_IO_padn): Likewise.
22725 * libio/iowpadn.c (_IO_wpadn): Likewise.
22726 * stdio-common/tst-put-error.c: Add copyright notice.
22727 (do_test): Add case for printing padded string.
22728 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22729 _IO_padn returned error.
22730 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22731 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22732 return EOF.
22733
b1848fde
SP
227342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22735
22736 * libio/libioP.h: Add comment note that the references to C++
22737 bits are now obsolete.
22738
2fd89785
MS
227392012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22740
22741 * math/libm-test.inc (check_complex): Use asprintf.
22742
e3ea5409
JM
227432012-11-14 Joseph Myers <joseph@codesourcery.com>
22744
22745 * debug/pcprofiledump.c (print_version): Update copyright year.
22746 * malloc/memusagestat.c (print_version): Likewise.
22747
2e64d265
L
227482012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22749
22750 [BZ #14831]
22751 * elf/Makefile (tests): Add tst-audit8.
22752 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22753 ($(objpfx)tst-audit8.out): New target.
22754 (tst-audit8-ENV): New variable.
22755 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22756 audit if l_reloc_result is NULL.
22757 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22758 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22759 * elf/tst-audit8.c: New file.
22760
c485e4d2
MS
227612012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22762
22763 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22764 * misc/Makefile (CFLAGS-select.c): Define.
22765 * posix/Makefile (CFLAGS-pause.c): Define.
22766
3a0d900a
DM
227672012-11-13 David S. Miller <davem@davemloft.net>
22768
22769 * crypt/Makefile: Move test targets after toplevel Rules
22770 inclusion. Grab any necessary sysdep routines when linking.
22771 * crypt/md5.c (md5_process_block): Remove define, we will always
22772 name it __md5_process_block.
22773 (md5_finish_ctx): Update md5_process_block call.
22774 (md5_stream): Likewise.
22775 (md5_process_bytes): Likewise.
22776 (md5_process_block): Rename to __md5_process_block and move to ...
22777 * crypt/md5-block.c: ... here.
22778 * crypt/sha256.c (sha256_process_block): Move to ...
22779 * crypt/sha256-block.c: ... here.
22780 * crypt/sha512.c (sha512_process_block): Move to ...
22781 * crypt/sha512-block.c: ... here.
22782 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22783 path.
22784 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22785 * sysdeps/sparc/sparc64/multiarch/Makefile
22786 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22787 crypt subdir.
22788 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22789 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22790 multiarch changes.
22791 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22792 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22793 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22794 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22795 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22796 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22797 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22798 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22799 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22800 file.
22801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22802 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22803 file.
22804 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22805
8ca89318
JM
228062012-11-13 Joseph Myers <joseph@codesourcery.com>
22807
e27d476a
JM
22808 * timezone/tzselect.ksh: Update from tzcode git revision
22809 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22810 * timezone/zdump.c: Likewise.
22811 * timezone/zic.c: Likewise.
22812 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22813 in TZVERSION setting, not $(PKGVERSION).
22814 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22815 REPORT_BUGS_TO settings.
22816
8ca89318
JM
22817 [BZ #14838]
22818 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22819 macro.
22820
47594329
MS
228212012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22822
22823 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22824 detection to immediately after _FP_ROUND().
22825 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22826 bits are 0.
22827
640ac3f1
DM
228282012-11-11 David S. Miller <davem@davemloft.net>
22829
22830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22831 inttypes.h
22832 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22833 __close rather than their public counterparts.
22834
3d2577bb
JM
228352012-11-10 Joseph Myers <joseph@codesourcery.com>
22836
22837 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22838 file.
22839 [UNIX98] (sem_timedwait): Do not expect.
22840 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22841 [XPG4 || UNIX98] (sockatmark): Do not expect.
22842 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22843 (clock_getcpuclockid): Do not expect.
22844 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22845 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22846 Do not expect.
22847 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22848 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22849 [UNIX98] (vwscanf): Likewise.
22850 [UNIX98] (vswscanf): Likewise.
22851
fb1ae1ee
JM
228522012-11-09 Joseph Myers <joseph@codesourcery.com>
22853
9ec6f8bd
JM
22854 * timezone/version.h: Remove file.
22855 * timezone/README: Do not refer to version.h.
22856 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22857 $(objpfx)version.h.
22858 ($(objpfx)zdump.o): Likewise.
c3f81911 22859 ($(objpfx)version.h): New target.
9ec6f8bd 22860
0aa8f8a1
JM
22861 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22862 2012i.
22863 * timezone/README: Don't mention modification to tzselect.ksh.
22864 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22865 work on unmodified tzselect.ksh. Substitute version numbers in
22866 tzselect.ksh.
22867
4e87147f
JM
22868 * Makefile (format-me): Remove.
22869 (INSTALL): Adjust indentation. Use commands directly instead of
22870 using $(format-me).
22871
8b748aed
JM
22872 * aclocal.m4 (ACX_PKGVERSION): New macro.
22873 (ACX_BUGURL): Likewise.
22874 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22875 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22876 (REPORT_BUGS_TO): Likewise.
22877 * configure: Regenerated.
22878 * config.h.in (PKGVERSION): New macro.
22879 (REPORT_BUGS_TO): Likewise.
22880 * config.make.in (PKGVERSION): New variable.
22881 (PKGVERSION_TEXI): Likewise.
22882 (REPORT_BUGS_TO): Likewise.
22883 (REPORT_BUGS_TEXI): Likewise.
22884 * Makefile (format-me): Use -I$(common-objpfx)manual.
22885 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22886 ($(common-objpfx)manual/%): New target.
22887 (manual/%): Remove target.
22888 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22889 (print_version): Use PKGVERSION.
22890 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22891 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22892 and REPORT_BUGS_TO.
22893 ($(objpfx)xtrace): Likewise.
22894 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22895 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22896 (print_version): Use PKGVERSION.
22897 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22898 (do_version): Use PKGVERSION.
22899 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22900 REPORT_BUGS_TO.
22901 (common-ldd-rewrite): Likewise.
22902 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22903 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22904 (print_version): Use PKGVERSION.
22905 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22906 * elf/pldd.c (argp_program_bug_address): Remove variable.
22907 (more_help): New function.
22908 (argp): Use more_help.
22909 (print_version): Use PKGVERSION.
22910 * elf/sln.c (main): Use PKGVERSION.
22911 (usage): Use REPORT_BUGS_TO.
22912 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22913 (top level): Use PKGVERSION.
22914 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22915 (print_version): Use PKGVERSION.
22916 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22917 (print_version): Use PKGVERSION.
22918 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22919 (print_version): Use PKGVERSION.
22920 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22921 (print_version): Use PKGVERSION.
22922 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22923 (print_version): Use PKGVERSION.
22924 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22925 (print_version): Use PKGVERSION.
22926 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22927 and BUGURL.
22928 ($(objpfx)memusage): Likewise.
22929 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22930 (do_version): Use PKGVERSION.
22931 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22932 (print_version): Use PKGVERSION.
22933 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22934 ($PKGVERSION): New variable.
22935 ($REPORT_BUGS_TO): Likewise.
22936 (usage): Use $REPORT_BUGS_TO.
22937 (top level): Use $PKGVERSION.
22938 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22939 ($(objpfx)pkgvers.texi): New rule.
22940 ($(objpfx)stamp-pkgvers): Likewise.
22941 * manual/install.texi: Include pkgvers.texi.
22942 (--with-pkgversion): Document new configure option.
22943 (--with-bugurl): Likewise.
22944 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22945 than necessarily for this particular distribution. Use
22946 REPORT_BUGS_TO for where to report bugs.
22947 * INSTALL: Regenerated.
22948 * manual/libc.texinfo: Include pkgvers.texi.
22949 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22950 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22951 (print_version): Use PKGVERSION.
22952 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22953 (print_version): Use PKGVERSION.
22954 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22955 (print_version): Use PKGVERSION.
22956 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22957 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22958 macro.
22959 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22960 (print_version): Use PKGVERSION.
22961 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22962 (print_version): Use PKGVERSION.
22963 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22964 and PKGVERSION.
22965
92e4b6a9
JM
22966 * timezone/checktab.awk: Update from tzcode 2012i.
22967 * timezone/ialloc.c: Likewise.
22968 * timezone/private.h: Likewise.
22969 * timezone/scheck.c: Likewise.
22970 * timezone/tzfile.h: Likewise.
22971 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22972 (TZVERSION): Hardcode tzcode version number.
22973 * timezone/zdump.c: Update from tzcode 2012i.
22974 * timezone/zic.c: Likewise.
22975 * timezone/version.h: New file.
22976 * timezone/README: Describe version.h. Update upstream location.
22977
9bde902c
JM
22978 [BZ #14824]
22979 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22980 (mktemp): Enable declaration.
22981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22985 Likewise.
22986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22987 Likewise.
22988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22989 Likewise.
22990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22991 Likewise.
22992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22993 Likewise.
22994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22995 Likewise.
22996
fb1ae1ee
JM
22997 [BZ #14821]
22998 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22999 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23000 for copies of such integer values.
23001 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23002 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23003
2c1adbcb
AJ
230042012-11-09 Andreas Jaeger <aj@suse.de>
23005
23006 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23007 definitions and declarations that are provided by
23008 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23009
d0f8457e
AK
230102012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23011
3a235abb 23012 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23013 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23014 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23015 definition.
23016
57241e26
MS
230172012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23018
23019 * elf/elf.h: Update comment before AArch64 relocations.
23020
60e8270d
DM
230212012-11-07 David S. Miller <davem@davemloft.net>
23022
23023 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23024 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23025 (__start_context): Declare.
23026 (__makecontext_ret): Delete.
23027 (__makecontext): Hook up __start_context instead of
23028 __makecontext_ret.
23029 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23030 (sysdep_routines): Add __start_context when in stdlib.
23031
0fbb0fbc
JM
230322012-11-07 Joseph Myers <joseph@codesourcery.com>
23033
23034 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23035 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23036 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23037 hardcoded "nm".
23038 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23039 (READELF): New variable. Use it instead of hardcoded "readelf".
23040
eb48db7e
L
230412012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23042
23043 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23044 * sysdeps/x86/Makefile: Here.
23045 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23046 * sysdeps/x86/tst-xmmymm.sh: This.
23047
05bcf62a
JM
230482012-11-07 Joseph Myers <joseph@codesourcery.com>
23049
c4b6cf53
JM
23050 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23051 expectations.
23052 [UNIX98] (pthread_barrier_t): Do not expect.
23053 [UNIX98] (pthread_barrierattr_t): Likewise.
23054 [UNIX98] (pthread_spinlock_t): Likewise.
23055 [UNIX98] (pthread_barrier_destroy): Likewise.
23056 [UNIX98] (pthread_barrier_init): Likewise.
23057 [UNIX98] (pthread_barrier_wait): Likewise.
23058 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23059 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23060 [UNIX98] (pthread_barrierattr_init): Likewise.
23061 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23062 [UNIX98] (pthread_getcpuclockid): Likewise.
23063 [UNIX98] (pthread_mutex_timedlock): Likewise.
23064 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23065 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23066 [UNIX98] (pthread_sigmask): Likewise.
23067 [UNIX98] (pthread_spin_destroy): Likewise.
23068 [UNIX98] (pthread_spin_init): Likewise.
23069 [UNIX98] (pthread_spin_lock): Likewise.
23070 [UNIX98] (pthread_spin_trylock): Likewise.
23071 [UNIX98] (pthread_spin_unlock): Likewise.
23072 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23073 Do not expect.
23074 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23075 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23076 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23077 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23078 [XPG3 || XPG4] (pthread_key_t): Likewise.
23079 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23080 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23081 [XPG3 || XPG4] (pthread_once_t): Likewise.
23082 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23083 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23084 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23085 [XPG3 || XPG4] (pthread_t): Likewise.
23086
cbe6e120
JM
23087 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23088 not expect.
23089 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23090
1b126443
JM
23091 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23092 Change function return type to int.
23093
b961a573
JM
23094 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23095 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23096 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23097 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23098 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23099 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23100 [!POSIX] (posix_madvise): Likewise.
23101 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23102 && !UNIX98].
23103 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23104 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23105 (mode_t): Likewise.
23106 (posix_mem_offset): Likewise.
23107 (posix_typed_mem_get_info): Likewise.
23108 (posix_typed_mem_open): Likewise.
23109
9e188909
JM
23110 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23111 Change condition to [XOPEN2K8].
23112
05bcf62a
JM
23113 * conform/conformtest.pl: Preprocess allow-header data with -x c
23114 instead of from stdin.
23115 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23116 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23117 [C99-based standards] (cerfc): Likewise.
23118 [C99-based standards] (cexp2): Likewise.
23119 [C99-based standards] (cexpm1): Likewise.
23120 [C99-based standards] (clog10): Likewise.
23121 [C99-based standards] (clog1p): Likewise.
23122 [C99-based standards] (clog2): Likewise.
23123 [C99-based standards] (clgamma): Likewise.
23124 [C99-based standards] (ctgamma): Likewise.
23125 [C99-based standards] (cerff): Likewise.
23126 [C99-based standards] (cerfcf): Likewise.
23127 [C99-based standards] (cexp2f): Likewise.
23128 [C99-based standards] (cexpm1f): Likewise.
23129 [C99-based standards] (clog10f): Likewise.
23130 [C99-based standards] (clog1pf): Likewise.
23131 [C99-based standards] (clog2f): Likewise.
23132 [C99-based standards] (clgammaf): Likewise.
23133 [C99-based standards] (ctgammaf): Likewise.
23134 [C99-based standards] (cerfl): Likewise.
23135 [C99-based standards] (cerfcl): Likewise.
23136 [C99-based standards] (cexp2l): Likewise.
23137 [C99-based standards] (cexpm1l): Likewise.
23138 [C99-based standards] (clog10l): Likewise.
23139 [C99-based standards] (clog1pl): Likewise.
23140 [C99-based standards] (clog2l): Likewise.
23141 [C99-based standards] (clgammal): Likewise.
23142 [C99-based standards] (ctgammal): Likewise.
23143 * conform/data/inttypes.h-data [C99-based standards]: Include
23144 stdint.h-data. Remove all expectations for stdint.h contents.
23145 [C99-based standards] (PRI*): Do not allow.
23146 [C99-based standards] (SCN*): Likewise.
23147 [C99-based standards] (*_t): Likewise.
23148 [C99-based-standards] (PRId8): Expect macro.
23149 [C99-based-standards] (PRIi8): Likewise.
23150 [C99-based-standards] (PRIo8): Likewise.
23151 [C99-based-standards] (PRIu8): Likewise.
23152 [C99-based-standards] (PRIx8): Likewise.
23153 [C99-based-standards] (PRIX8): Likewise.
23154 [C99-based-standards] (SCNd8): Likewise.
23155 [C99-based-standards] (SCNi8): Likewise.
23156 [C99-based-standards] (SCNo8): Likewise.
23157 [C99-based-standards] (SCNu8): Likewise.
23158 [C99-based-standards] (SCNx8): Likewise.
23159 [C99-based-standards] (PRIdLEAST8): Likewise.
23160 [C99-based-standards] (PRIiLEAST8): Likewise.
23161 [C99-based-standards] (PRIoLEAST8): Likewise.
23162 [C99-based-standards] (PRIuLEAST8): Likewise.
23163 [C99-based-standards] (PRIxLEAST8): Likewise.
23164 [C99-based-standards] (PRIXLEAST8): Likewise.
23165 [C99-based-standards] (SCNdLEAST8): Likewise.
23166 [C99-based-standards] (SCNiLEAST8): Likewise.
23167 [C99-based-standards] (SCNoLEAST8): Likewise.
23168 [C99-based-standards] (SCNuLEAST8): Likewise.
23169 [C99-based-standards] (SCNxLEAST8): Likewise.
23170 [C99-based-standards] (PRIdFAST8): Likewise.
23171 [C99-based-standards] (PRIiFAST8): Likewise.
23172 [C99-based-standards] (PRIoFAST8): Likewise.
23173 [C99-based-standards] (PRIuFAST8): Likewise.
23174 [C99-based-standards] (PRIxFAST8): Likewise.
23175 [C99-based-standards] (PRIXFAST8): Likewise.
23176 [C99-based-standards] (SCNdFAST8): Likewise.
23177 [C99-based-standards] (SCNiFAST8): Likewise.
23178 [C99-based-standards] (SCNoFAST8): Likewise.
23179 [C99-based-standards] (SCNuFAST8): Likewise.
23180 [C99-based-standards] (SCNxFAST8): Likewise.
23181 [C99-based-standards] (PRId16): Likewise.
23182 [C99-based-standards] (PRIi16): Likewise.
23183 [C99-based-standards] (PRIo16): Likewise.
23184 [C99-based-standards] (PRIu16): Likewise.
23185 [C99-based-standards] (PRIx16): Likewise.
23186 [C99-based-standards] (PRIX16): Likewise.
23187 [C99-based-standards] (SCNd16): Likewise.
23188 [C99-based-standards] (SCNi16): Likewise.
23189 [C99-based-standards] (SCNo16): Likewise.
23190 [C99-based-standards] (SCNu16): Likewise.
23191 [C99-based-standards] (SCNx16): Likewise.
23192 [C99-based-standards] (PRIdLEAST16): Likewise.
23193 [C99-based-standards] (PRIiLEAST16): Likewise.
23194 [C99-based-standards] (PRIoLEAST16): Likewise.
23195 [C99-based-standards] (PRIuLEAST16): Likewise.
23196 [C99-based-standards] (PRIxLEAST16): Likewise.
23197 [C99-based-standards] (PRIXLEAST16): Likewise.
23198 [C99-based-standards] (SCNdLEAST16): Likewise.
23199 [C99-based-standards] (SCNiLEAST16): Likewise.
23200 [C99-based-standards] (SCNoLEAST16): Likewise.
23201 [C99-based-standards] (SCNuLEAST16): Likewise.
23202 [C99-based-standards] (SCNxLEAST16): Likewise.
23203 [C99-based-standards] (PRIdFAST16): Likewise.
23204 [C99-based-standards] (PRIiFAST16): Likewise.
23205 [C99-based-standards] (PRIoFAST16): Likewise.
23206 [C99-based-standards] (PRIuFAST16): Likewise.
23207 [C99-based-standards] (PRIxFAST16): Likewise.
23208 [C99-based-standards] (PRIXFAST16): Likewise.
23209 [C99-based-standards] (SCNdFAST16): Likewise.
23210 [C99-based-standards] (SCNiFAST16): Likewise.
23211 [C99-based-standards] (SCNoFAST16): Likewise.
23212 [C99-based-standards] (SCNuFAST16): Likewise.
23213 [C99-based-standards] (SCNxFAST16): Likewise.
23214 [C99-based-standards] (PRId32): Likewise.
23215 [C99-based-standards] (PRIi32): Likewise.
23216 [C99-based-standards] (PRIo32): Likewise.
23217 [C99-based-standards] (PRIu32): Likewise.
23218 [C99-based-standards] (PRIx32): Likewise.
23219 [C99-based-standards] (PRIX32): Likewise.
23220 [C99-based-standards] (SCNd32): Likewise.
23221 [C99-based-standards] (SCNi32): Likewise.
23222 [C99-based-standards] (SCNo32): Likewise.
23223 [C99-based-standards] (SCNu32): Likewise.
23224 [C99-based-standards] (SCNx32): Likewise.
23225 [C99-based-standards] (PRIdLEAST32): Likewise.
23226 [C99-based-standards] (PRIiLEAST32): Likewise.
23227 [C99-based-standards] (PRIoLEAST32): Likewise.
23228 [C99-based-standards] (PRIuLEAST32): Likewise.
23229 [C99-based-standards] (PRIxLEAST32): Likewise.
23230 [C99-based-standards] (PRIXLEAST32): Likewise.
23231 [C99-based-standards] (SCNdLEAST32): Likewise.
23232 [C99-based-standards] (SCNiLEAST32): Likewise.
23233 [C99-based-standards] (SCNoLEAST32): Likewise.
23234 [C99-based-standards] (SCNuLEAST32): Likewise.
23235 [C99-based-standards] (SCNxLEAST32): Likewise.
23236 [C99-based-standards] (PRIdFAST32): Likewise.
23237 [C99-based-standards] (PRIiFAST32): Likewise.
23238 [C99-based-standards] (PRIoFAST32): Likewise.
23239 [C99-based-standards] (PRIuFAST32): Likewise.
23240 [C99-based-standards] (PRIxFAST32): Likewise.
23241 [C99-based-standards] (PRIXFAST32): Likewise.
23242 [C99-based-standards] (SCNdFAST32): Likewise.
23243 [C99-based-standards] (SCNiFAST32): Likewise.
23244 [C99-based-standards] (SCNoFAST32): Likewise.
23245 [C99-based-standards] (SCNuFAST32): Likewise.
23246 [C99-based-standards] (SCNxFAST32): Likewise.
23247 [C99-based-standards] (PRId64): Likewise.
23248 [C99-based-standards] (PRIi64): Likewise.
23249 [C99-based-standards] (PRIo64): Likewise.
23250 [C99-based-standards] (PRIu64): Likewise.
23251 [C99-based-standards] (PRIx64): Likewise.
23252 [C99-based-standards] (PRIX64): Likewise.
23253 [C99-based-standards] (SCNd64): Likewise.
23254 [C99-based-standards] (SCNi64): Likewise.
23255 [C99-based-standards] (SCNo64): Likewise.
23256 [C99-based-standards] (SCNu64): Likewise.
23257 [C99-based-standards] (SCNx64): Likewise.
23258 [C99-based-standards] (PRIdLEAST64): Likewise.
23259 [C99-based-standards] (PRIiLEAST64): Likewise.
23260 [C99-based-standards] (PRIoLEAST64): Likewise.
23261 [C99-based-standards] (PRIuLEAST64): Likewise.
23262 [C99-based-standards] (PRIxLEAST64): Likewise.
23263 [C99-based-standards] (PRIXLEAST64): Likewise.
23264 [C99-based-standards] (SCNdLEAST64): Likewise.
23265 [C99-based-standards] (SCNiLEAST64): Likewise.
23266 [C99-based-standards] (SCNoLEAST64): Likewise.
23267 [C99-based-standards] (SCNuLEAST64): Likewise.
23268 [C99-based-standards] (SCNxLEAST64): Likewise.
23269 [C99-based-standards] (PRIdFAST64): Likewise.
23270 [C99-based-standards] (PRIiFAST64): Likewise.
23271 [C99-based-standards] (PRIoFAST64): Likewise.
23272 [C99-based-standards] (PRIuFAST64): Likewise.
23273 [C99-based-standards] (PRIxFAST64): Likewise.
23274 [C99-based-standards] (PRIXFAST64): Likewise.
23275 [C99-based-standards] (SCNdFAST64): Likewise.
23276 [C99-based-standards] (SCNiFAST64): Likewise.
23277 [C99-based-standards] (SCNoFAST64): Likewise.
23278 [C99-based-standards] (SCNuFAST64): Likewise.
23279 [C99-based-standards] (SCNxFAST64): Likewise.
23280 [C99-based-standards] (PRIdMAX): Likewise.
23281 [C99-based-standards] (PRIiMAX): Likewise.
23282 [C99-based-standards] (PRIoMAX): Likewise.
23283 [C99-based-standards] (PRIuMAX): Likewise.
23284 [C99-based-standards] (PRIxMAX): Likewise.
23285 [C99-based-standards] (PRIXMAX): Likewise.
23286 [C99-based-standards] (SCNdMAX): Likewise.
23287 [C99-based-standards] (SCNiMAX): Likewise.
23288 [C99-based-standards] (SCNoMAX): Likewise.
23289 [C99-based-standards] (SCNuMAX): Likewise.
23290 [C99-based-standards] (SCNxMAX): Likewise.
23291 [C99-based-standards] (PRIdPTR): Likewise.
23292 [C99-based-standards] (PRIiPTR): Likewise.
23293 [C99-based-standards] (PRIoPTR): Likewise.
23294 [C99-based-standards] (PRIuPTR): Likewise.
23295 [C99-based-standards] (PRIxPTR): Likewise.
23296 [C99-based-standards] (PRIXPTR): Likewise.
23297 [C99-based-standards] (SCNdPTR): Likewise.
23298 [C99-based-standards] (SCNiPTR): Likewise.
23299 [C99-based-standards] (SCNoPTR): Likewise.
23300 [C99-based-standards] (SCNuPTR): Likewise.
23301 [C99-based-standards] (SCNxPTR): Likewise.
23302 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23303 allow.
23304 * conform/data/stdint.h-data: Update comments to clarify
23305 requirements.
23306 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23307 type.
23308 [C99-based standards] (INT8_MAX): Likewise.
23309 [C99-based standards] (INT16_MIN): Likewise.
23310 [C99-based standards] (INT16_MAX): Likewise.
23311 [C99-based standards] (INT32_MIN): Likewise.
23312 [C99-based standards] (INT32_MAX): Likewise.
23313 [C99-based standards] (INT64_MIN): Likewise.
23314 [C99-based standards] (INT64_MAX): Likewise.
23315 [C99-based standards] (UINT8_MAX): Likewise.
23316 [C99-based standards] (UINT16_MAX): Likewise.
23317 [C99-based standards] (UINT32_MAX): Likewise.
23318 [C99-based standards] (UINT64_MAX): Likewise.
23319 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23320 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23321 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23322 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23323 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23324 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23325 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23326 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23327 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23328 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23329 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23330 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23331 [C99-based standards] (INT_FAST8_MIN): Likewise.
23332 [C99-based standards] (INT_FAST8_MAX): Likewise.
23333 [C99-based standards] (INT_FAST16_MIN): Likewise.
23334 [C99-based standards] (INT_FAST16_MAX): Likewise.
23335 [C99-based standards] (INT_FAST32_MIN): Likewise.
23336 [C99-based standards] (INT_FAST32_MAX): Likewise.
23337 [C99-based standards] (INT_FAST64_MIN): Likewise.
23338 [C99-based standards] (INT_FAST64_MAX): Likewise.
23339 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23340 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23341 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23342 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23343 [C99-based standards] (INTPTR_MIN): Likewise.
23344 [C99-based standards] (INTPTR_MAX): Likewise.
23345 [C99-based standards] (UINTPTR_MAX): Likewise.
23346 [C99-based standards] (INTMAX_MIN): Likewise.
23347 [C99-based standards] (INTMAX_MAX): Likewise.
23348 [C99-based standards] (UINTMAX_MAX): Likewise.
23349 [C99-based standards] (PTRDIFF_MIN): Likewise.
23350 [C99-based standards] (PTRDIFF_MAX): Likewise.
23351 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23352 [C99-based standards] (SIZE_MAX): Likewise.
23353 [C99-based standards] (WCHAR_MAX): Likewise.
23354 [C99-based standards] (WINT_MAX): Likewise.
23355 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23356 constraint on value.
23357 [C99-based standards] (WCHAR_MIN): Likewise.
23358 [C99-based standards] (WINT_MIN): Likewise.
23359 [C99-based standards] (*_t): Allow.
23360 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23361 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23362 Include math.h-data and complex.h-data. Remove all expectations
23363 of math.h and complex.h contents.
23364 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23365 at end of line.
23366 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23367 (struct tm): Expect tag.
23368 [C99-based-standards] (wcstof): Expect function.
23369 [C99-based-standards] (wcstold): Likewise.
23370 [C99-based-standards] (wcstoll): Likewise.
23371 [C99-based-standards] (wcstoull): Likewise.
23372 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23373 macro-int-constant. Specify type.
23374 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23375 constraint on value.
23376 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23377 Specify type.
23378 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23379 Specify value.
23380 [ISO C standards]: Do not allow headers.
23381 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23382 wcs[abcdefghijklmnopqrstuvwxyz]*.
23383 [ISO C standards] (*_t): Do not allow.
23384 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23385 Expect function.
23386 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23387 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23388 Specify type.
23389 [ISO C standards]: Do not allow headers.
23390 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23391 is[abcdefghijklmnopqrstuvwxyz]*.
23392 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23393 to[abcdefghijklmnopqrstuvwxyz]*.
23394 [ISO C standards] (*_t): Do not allow.
23395 * conform/data/stdalign.h-data: New file.
23396 * conform/data/stdbool.h-data: Likewise.
23397 * conform/data/stdnoreturn.h-data: Likewise.
23398
7514feb8
RM
233992012-11-07 Roland McGrath <roland@hack.frob.com>
23400
23401 [BZ #14815]
23402 * manual/filesys.texi (Directory Entries): Typo fix.
23403 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23404
19b2ecfc
MS
234052012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23406
23407 * elf/elf.h (EM_AARCH64): New macro.
23408 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23409 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23410 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23411 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23412 (R_AARCH64_TLSDESC): Likewise.
23413 (NT_ARM_TLS): Likewise.
23414 (NT_ARM_HW_BREAK): Likewise.
23415 (NT_ARM_HW_WATCH): Likewise.
23416
60e235ee
JM
234172012-11-07 Joseph Myers <joseph@codesourcery.com>
23418
23419 [BZ #14811]
23420 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23421 (__ieee754_powl): Saturate nonzero exponents with absolute value
23422 below 0x1p-79 to +/- 0x1p-79.
23423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23424 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23425 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23426 nonzero exponents with absolute value below 0x1p-32 to +/-
23427 0x1p-32.
23428 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23429 (__ieee754_powl): Saturate nonzero exponents with absolute value
23430 below 0x1p-79 to +/- 0x1p-79.
23431 * math/libm-test.inc (pow_test): Add more tests.
23432
0ab234b7
AK
234332012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23434
23435 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23436 _dl_s390_cap_flags with kernel. Increase string length.
23437 (_dl_s390_platforms): Add z196 and zEC12.
23438
45832f74
JM
234392012-11-07 Joseph Myers <joseph@codesourcery.com>
23440
23441 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23442 Change XOPEN21K to XOPEN2K.
23443
19218757
MK
234442012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23445
23446 * string/memmove.c: Use memcpy when possible.
23447
c5f45721
AJ
234482012-11-06 Andreas Jaeger <aj@suse.de>
23449
23450 * po/eo.po: Update from translation team.
23451
82477c28
JM
234522012-11-06 Joseph Myers <joseph@codesourcery.com>
23453
23454 [BZ #14793]
23455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23456 exponent and small x and y exponents, scale x or y up. Increase
23457 by 2 the exponent used in scaling up.
23458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23460 * math/libm-test.inc (fma_test): Add more tests.
23461 (fma_test_towardzero): Likewise.
23462 (fma_test_downward): Likewise.
23463 (fma_test_upward): Likewise.
23464
99252c8c
JM
234652012-11-05 Joseph Myers <joseph@codesourcery.com>
23466
acfa885f
JM
23467 [BZ #14805]
23468 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23469 fenv_t *.
23470
99252c8c
JM
23471 [BZ #14801]
23472 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23473 namespace for names of struct fields.
23474 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23475 fenv_t fields.
23476 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23477 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23478
d6d98dea
ST
234792012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23480
23481 [BZ #3665]
23482 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23483
e10bb107
TS
234842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23485
23486 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23487 PTR_DEMANGLE.
23488
23489 [BZ #5246]
23490 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23491 PTR_DEMANGLE.
23492
a0c2940d
JM
234932012-11-04 Joseph Myers <joseph@codesourcery.com>
23494
23495 [BZ #14797]
23496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23497 definitely overflow as x * y not x * y + z.
23498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23500 * math/libm-test.inc (fma_test): Add more tests.
23501 (fma_test_towardzero): Likewise.
23502 (fma_test_downward): Likewise.
23503 (fma_test_upward): Likewise.
23504
b830319d
TS
235052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23506
23507 [BZ #157]
23508
23509 * include/stub-tag.h: Remove file.
23510 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23511 '#include' of it.
23512 * manual/maint.texi (Porting): Don't reference it.
23513 * Makerules ($(objpfx)stubs): Likewise.
23514 * dirent/closedir.c: Don't include <stub-tag.h>.
23515 * dirent/dirfd.c: Likewise.
23516 * dirent/fdopendir.c: Likewise.
23517 * dirent/getdents.c: Likewise.
23518 * dirent/getdents64.c: Likewise.
23519 * dirent/opendir.c: Likewise.
23520 * dirent/readdir.c: Likewise.
23521 * dirent/readdir64.c: Likewise.
23522 * dirent/readdir64_r.c: Likewise.
23523 * dirent/readdir_r.c: Likewise.
23524 * dirent/rewinddir.c: Likewise.
23525 * dirent/seekdir.c: Likewise.
23526 * dirent/telldir.c: Likewise.
23527 * gmon/profil.c: Likewise.
23528 * grp/setgroups.c: Likewise.
23529 * inet/if_index.c: Likewise.
23530 * io/access.c: Likewise.
23531 * io/chdir.c: Likewise.
23532 * io/chmod.c: Likewise.
23533 * io/chown.c: Likewise.
23534 * io/close.c: Likewise.
23535 * io/dup.c: Likewise.
23536 * io/dup2.c: Likewise.
23537 * io/dup3.c: Likewise.
23538 * io/euidaccess.c: Likewise.
23539 * io/faccessat.c: Likewise.
23540 * io/fchdir.c: Likewise.
23541 * io/fchmod.c: Likewise.
23542 * io/fchmodat.c: Likewise.
23543 * io/fchown.c: Likewise.
23544 * io/fchownat.c: Likewise.
23545 * io/fcntl.c: Likewise.
23546 * io/flock.c: Likewise.
23547 * io/fstatfs.c: Likewise.
23548 * io/fstatfs64.c: Likewise.
23549 * io/fstatvfs.c: Likewise.
23550 * io/fstatvfs64.c: Likewise.
23551 * io/futimens.c: Likewise.
23552 * io/fxstat.c: Likewise.
23553 * io/fxstat64.c: Likewise.
23554 * io/fxstatat.c: Likewise.
23555 * io/fxstatat64.c: Likewise.
23556 * io/getcwd.c: Likewise.
23557 * io/isatty.c: Likewise.
23558 * io/lchmod.c: Likewise.
23559 * io/lchown.c: Likewise.
23560 * io/link.c: Likewise.
23561 * io/linkat.c: Likewise.
23562 * io/lseek.c: Likewise.
23563 * io/lseek64.c: Likewise.
23564 * io/lxstat64.c: Likewise.
23565 * io/mkdir.c: Likewise.
23566 * io/mkdirat.c: Likewise.
23567 * io/mkfifo.c: Likewise.
23568 * io/mkfifoat.c: Likewise.
23569 * io/open.c: Likewise.
23570 * io/open64.c: Likewise.
23571 * io/openat.c: Likewise.
23572 * io/openat64.c: Likewise.
23573 * io/pipe.c: Likewise.
23574 * io/pipe2.c: Likewise.
23575 * io/poll.c: Likewise.
23576 * io/posix_fadvise.c: Likewise.
23577 * io/posix_fadvise64.c: Likewise.
23578 * io/posix_fallocate.c: Likewise.
23579 * io/posix_fallocate64.c: Likewise.
23580 * io/read.c: Likewise.
23581 * io/readlink.c: Likewise.
23582 * io/readlinkat.c: Likewise.
23583 * io/rmdir.c: Likewise.
23584 * io/sendfile.c: Likewise.
23585 * io/sendfile64.c: Likewise.
23586 * io/statfs.c: Likewise.
23587 * io/statfs64.c: Likewise.
23588 * io/statvfs.c: Likewise.
23589 * io/statvfs64.c: Likewise.
23590 * io/symlink.c: Likewise.
23591 * io/symlinkat.c: Likewise.
23592 * io/ttyname.c: Likewise.
23593 * io/ttyname_r.c: Likewise.
23594 * io/umask.c: Likewise.
23595 * io/unlink.c: Likewise.
23596 * io/unlinkat.c: Likewise.
23597 * io/utime.c: Likewise.
23598 * io/utimensat.c: Likewise.
23599 * io/write.c: Likewise.
23600 * io/xmknod.c: Likewise.
23601 * io/xmknodat.c: Likewise.
23602 * io/xstat.c: Likewise.
23603 * io/xstat64.c: Likewise.
23604 * login/getpt.c: Likewise.
23605 * login/grantpt.c: Likewise.
23606 * login/unlockpt.c: Likewise.
23607 * math/e_acoshl.c: Likewise.
23608 * math/e_acosl.c: Likewise.
23609 * math/e_asinl.c: Likewise.
23610 * math/e_atan2l.c: Likewise.
23611 * math/e_atanhl.c: Likewise.
23612 * math/e_coshl.c: Likewise.
23613 * math/e_expl.c: Likewise.
23614 * math/e_fmodl.c: Likewise.
23615 * math/e_gammal_r.c: Likewise.
23616 * math/e_hypotl.c: Likewise.
23617 * math/e_j0l.c: Likewise.
23618 * math/e_j1l.c: Likewise.
23619 * math/e_jnl.c: Likewise.
23620 * math/e_lgammal_r.c: Likewise.
23621 * math/e_log10l.c: Likewise.
23622 * math/e_log2l.c: Likewise.
23623 * math/e_logl.c: Likewise.
23624 * math/e_powl.c: Likewise.
23625 * math/e_rem_pio2l.c: Likewise.
23626 * math/e_sinhl.c: Likewise.
23627 * math/e_sqrtl.c: Likewise.
23628 * math/fclrexcpt.c: Likewise.
23629 * math/fedisblxcpt.c: Likewise.
23630 * math/feenablxcpt.c: Likewise.
23631 * math/fegetenv.c: Likewise.
23632 * math/fegetexcept.c: Likewise.
23633 * math/fegetround.c: Likewise.
23634 * math/feholdexcpt.c: Likewise.
23635 * math/fesetenv.c: Likewise.
23636 * math/fesetround.c: Likewise.
23637 * math/feupdateenv.c: Likewise.
23638 * math/fgetexcptflg.c: Likewise.
23639 * math/fraiseexcpt.c: Likewise.
23640 * math/fsetexcptflg.c: Likewise.
23641 * math/ftestexcept.c: Likewise.
23642 * math/k_cosl.c: Likewise.
23643 * math/k_rem_pio2l.c: Likewise.
23644 * math/k_sinl.c: Likewise.
23645 * math/k_tanl.c: Likewise.
23646 * math/s_asinhl.c: Likewise.
23647 * math/s_atanl.c: Likewise.
23648 * math/s_cbrtl.c: Likewise.
23649 * math/s_erfl.c: Likewise.
23650 * math/s_expm1l.c: Likewise.
23651 * math/s_log1pl.c: Likewise.
23652 * math/s_tanhl.c: Likewise.
23653 * misc/acct.c: Likewise.
23654 * misc/brk.c: Likewise.
23655 * misc/chflags.c: Likewise.
23656 * misc/chroot.c: Likewise.
23657 * misc/fchflags.c: Likewise.
23658 * misc/fgetxattr.c: Likewise.
23659 * misc/flistxattr.c: Likewise.
23660 * misc/fremovexattr.c: Likewise.
23661 * misc/fsetxattr.c: Likewise.
23662 * misc/fsync.c: Likewise.
23663 * misc/ftruncate.c: Likewise.
23664 * misc/futimes.c: Likewise.
23665 * misc/futimesat.c: Likewise.
23666 * misc/getdomain.c: Likewise.
23667 * misc/getdtsz.c: Likewise.
23668 * misc/gethostid.c: Likewise.
23669 * misc/gethostname.c: Likewise.
23670 * misc/getloadavg.c: Likewise.
23671 * misc/getpagesize.c: Likewise.
23672 * misc/getsysstats.c: Likewise.
23673 * misc/getxattr.c: Likewise.
23674 * misc/gtty.c: Likewise.
23675 * misc/ioctl.c: Likewise.
23676 * misc/lgetxattr.c: Likewise.
23677 * misc/listxattr.c: Likewise.
23678 * misc/llistxattr.c: Likewise.
23679 * misc/lremovexattr.c: Likewise.
23680 * misc/lsetxattr.c: Likewise.
23681 * misc/lutimes.c: Likewise.
23682 * misc/madvise.c: Likewise.
23683 * misc/mincore.c: Likewise.
23684 * misc/mlock.c: Likewise.
23685 * misc/mlockall.c: Likewise.
23686 * misc/mmap.c: Likewise.
23687 * misc/mprotect.c: Likewise.
23688 * misc/msync.c: Likewise.
23689 * misc/munlock.c: Likewise.
23690 * misc/munlockall.c: Likewise.
23691 * misc/munmap.c: Likewise.
23692 * misc/preadv.c: Likewise.
23693 * misc/preadv64.c: Likewise.
23694 * misc/ptrace.c: Likewise.
23695 * misc/pwritev.c: Likewise.
23696 * misc/pwritev64.c: Likewise.
23697 * misc/readv.c: Likewise.
23698 * misc/reboot.c: Likewise.
23699 * misc/remap_file_pages.c: Likewise.
23700 * misc/removexattr.c: Likewise.
23701 * misc/revoke.c: Likewise.
23702 * misc/select.c: Likewise.
23703 * misc/setdomain.c: Likewise.
23704 * misc/setegid.c: Likewise.
23705 * misc/seteuid.c: Likewise.
23706 * misc/sethostid.c: Likewise.
23707 * misc/sethostname.c: Likewise.
23708 * misc/setregid.c: Likewise.
23709 * misc/setreuid.c: Likewise.
23710 * misc/setxattr.c: Likewise.
23711 * misc/sstk.c: Likewise.
23712 * misc/stty.c: Likewise.
23713 * misc/swapoff.c: Likewise.
23714 * misc/swapon.c: Likewise.
23715 * misc/sync.c: Likewise.
23716 * misc/syncfs.c: Likewise.
23717 * misc/syscall.c: Likewise.
23718 * misc/truncate.c: Likewise.
23719 * misc/ualarm.c: Likewise.
23720 * misc/usleep.c: Likewise.
23721 * misc/ustat.c: Likewise.
23722 * misc/utimes.c: Likewise.
23723 * misc/vhangup.c: Likewise.
23724 * misc/writev.c: Likewise.
23725 * posix/_exit.c: Likewise.
23726 * posix/alarm.c: Likewise.
23727 * posix/execve.c: Likewise.
23728 * posix/fexecve.c: Likewise.
23729 * posix/fork.c: Likewise.
23730 * posix/fpathconf.c: Likewise.
23731 * posix/getaddrinfo.c: Likewise.
23732 * posix/getegid.c: Likewise.
23733 * posix/geteuid.c: Likewise.
23734 * posix/getgid.c: Likewise.
23735 * posix/getgroups.c: Likewise.
23736 * posix/getlogin.c: Likewise.
23737 * posix/getlogin_r.c: Likewise.
23738 * posix/getpgid.c: Likewise.
23739 * posix/getpid.c: Likewise.
23740 * posix/getppid.c: Likewise.
23741 * posix/getresgid.c: Likewise.
23742 * posix/getresuid.c: Likewise.
23743 * posix/getsid.c: Likewise.
23744 * posix/getuid.c: Likewise.
23745 * posix/glob64.c: Likewise.
23746 * posix/nanosleep.c: Likewise.
23747 * posix/pathconf.c: Likewise.
23748 * posix/pause.c: Likewise.
23749 * posix/posix_madvise.c: Likewise.
23750 * posix/pread.c: Likewise.
23751 * posix/pread64.c: Likewise.
23752 * posix/pwrite.c: Likewise.
23753 * posix/pwrite64.c: Likewise.
23754 * posix/sched_getaffinity.c: Likewise.
23755 * posix/sched_getp.c: Likewise.
23756 * posix/sched_gets.c: Likewise.
23757 * posix/sched_primax.c: Likewise.
23758 * posix/sched_primin.c: Likewise.
23759 * posix/sched_rr_gi.c: Likewise.
23760 * posix/sched_setaffinity.c: Likewise.
23761 * posix/sched_setp.c: Likewise.
23762 * posix/sched_sets.c: Likewise.
23763 * posix/sched_yield.c: Likewise.
23764 * posix/setgid.c: Likewise.
23765 * posix/setlogin.c: Likewise.
23766 * posix/setpgid.c: Likewise.
23767 * posix/setresgid.c: Likewise.
23768 * posix/setresuid.c: Likewise.
23769 * posix/setsid.c: Likewise.
23770 * posix/setuid.c: Likewise.
23771 * posix/sleep.c: Likewise.
23772 * posix/spawni.c: Likewise.
23773 * posix/sysconf.c: Likewise.
23774 * posix/times.c: Likewise.
23775 * posix/wait.c: Likewise.
23776 * posix/wait3.c: Likewise.
23777 * posix/wait4.c: Likewise.
23778 * posix/waitpid.c: Likewise.
23779 * resolv/gai_sigqueue.c: Likewise.
23780 * resource/getpriority.c: Likewise.
23781 * resource/getrlimit.c: Likewise.
23782 * resource/getrusage.c: Likewise.
23783 * resource/nice.c: Likewise.
23784 * resource/setpriority.c: Likewise.
23785 * resource/setrlimit.c: Likewise.
23786 * resource/ulimit.c: Likewise.
23787 * rt/aio_cancel.c: Likewise.
23788 * rt/aio_fsync.c: Likewise.
23789 * rt/aio_read.c: Likewise.
23790 * rt/aio_sigqueue.c: Likewise.
23791 * rt/aio_suspend.c: Likewise.
23792 * rt/aio_write.c: Likewise.
23793 * rt/clock_getres.c: Likewise.
23794 * rt/clock_gettime.c: Likewise.
23795 * rt/clock_nanosleep.c: Likewise.
23796 * rt/clock_settime.c: Likewise.
23797 * rt/lio_listio.c: Likewise.
23798 * rt/mq_close.c: Likewise.
23799 * rt/mq_getattr.c: Likewise.
23800 * rt/mq_notify.c: Likewise.
23801 * rt/mq_open.c: Likewise.
23802 * rt/mq_receive.c: Likewise.
23803 * rt/mq_send.c: Likewise.
23804 * rt/mq_setattr.c: Likewise.
23805 * rt/mq_timedreceive.c: Likewise.
23806 * rt/mq_timedsend.c: Likewise.
23807 * rt/mq_unlink.c: Likewise.
23808 * rt/shm_open.c: Likewise.
23809 * rt/shm_unlink.c: Likewise.
23810 * rt/timer_create.c: Likewise.
23811 * rt/timer_delete.c: Likewise.
23812 * rt/timer_getoverr.c: Likewise.
23813 * rt/timer_gettime.c: Likewise.
23814 * rt/timer_settime.c: Likewise.
23815 * setjmp/__longjmp.c: Likewise.
23816 * setjmp/setjmp.c: Likewise.
23817 * signal/kill.c: Likewise.
23818 * signal/killpg.c: Likewise.
23819 * signal/raise.c: Likewise.
23820 * signal/sigaction.c: Likewise.
23821 * signal/sigaltstack.c: Likewise.
23822 * signal/sigblock.c: Likewise.
23823 * signal/sigignore.c: Likewise.
23824 * signal/sigintr.c: Likewise.
23825 * signal/signal.c: Likewise.
23826 * signal/sigpause.c: Likewise.
23827 * signal/sigpending.c: Likewise.
23828 * signal/sigqueue.c: Likewise.
23829 * signal/sigreturn.c: Likewise.
23830 * signal/sigset.c: Likewise.
23831 * signal/sigsetmask.c: Likewise.
23832 * signal/sigstack.c: Likewise.
23833 * signal/sigsuspend.c: Likewise.
23834 * signal/sigtimedwait.c: Likewise.
23835 * signal/sigvec.c: Likewise.
23836 * signal/sigwait.c: Likewise.
23837 * signal/sigwaitinfo.c: Likewise.
23838 * signal/sysv_signal.c: Likewise.
23839 * socket/accept.c: Likewise.
23840 * socket/accept4.c: Likewise.
23841 * socket/bind.c: Likewise.
23842 * socket/connect.c: Likewise.
23843 * socket/getpeername.c: Likewise.
23844 * socket/getsockname.c: Likewise.
23845 * socket/getsockopt.c: Likewise.
23846 * socket/isfdtype.c: Likewise.
23847 * socket/listen.c: Likewise.
23848 * socket/recv.c: Likewise.
23849 * socket/recvfrom.c: Likewise.
23850 * socket/recvmsg.c: Likewise.
23851 * socket/send.c: Likewise.
23852 * socket/sendmsg.c: Likewise.
23853 * socket/sendto.c: Likewise.
23854 * socket/setsockopt.c: Likewise.
23855 * socket/shutdown.c: Likewise.
23856 * socket/sockatmark.c: Likewise.
23857 * socket/socket.c: Likewise.
23858 * socket/socketpair.c: Likewise.
23859 * stdio-common/ctermid.c: Likewise.
23860 * stdio-common/cuserid.c: Likewise.
23861 * stdio-common/remove.c: Likewise.
23862 * stdio-common/rename.c: Likewise.
23863 * stdio-common/renameat.c: Likewise.
23864 * stdio-common/tempname.c: Likewise.
23865 * stdlib/getcontext.c: Likewise.
23866 * stdlib/makecontext.c: Likewise.
23867 * stdlib/setcontext.c: Likewise.
23868 * stdlib/swapcontext.c: Likewise.
23869 * stdlib/system.c: Likewise.
23870 * streams/fattach.c: Likewise.
23871 * streams/fdetach.c: Likewise.
23872 * streams/getmsg.c: Likewise.
23873 * streams/getpmsg.c: Likewise.
23874 * streams/putmsg.c: Likewise.
23875 * streams/putpmsg.c: Likewise.
23876 * sysdeps/unix/bsd/getpt.c: Likewise.
23877 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23878 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23879 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23881 Likewise.
23882 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23883 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23884 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23885 * sysvipc/msgctl.c: Likewise.
23886 * sysvipc/msgget.c: Likewise.
23887 * sysvipc/msgrcv.c: Likewise.
23888 * sysvipc/msgsnd.c: Likewise.
23889 * sysvipc/semctl.c: Likewise.
23890 * sysvipc/semget.c: Likewise.
23891 * sysvipc/semop.c: Likewise.
23892 * sysvipc/semtimedop.c: Likewise.
23893 * sysvipc/shmat.c: Likewise.
23894 * sysvipc/shmctl.c: Likewise.
23895 * sysvipc/shmdt.c: Likewise.
23896 * sysvipc/shmget.c: Likewise.
23897 * termios/tcdrain.c: Likewise.
23898 * termios/tcflow.c: Likewise.
23899 * termios/tcflush.c: Likewise.
23900 * termios/tcgetattr.c: Likewise.
23901 * termios/tcgetpgrp.c: Likewise.
23902 * termios/tcsendbrk.c: Likewise.
23903 * termios/tcsetattr.c: Likewise.
23904 * termios/tcsetpgrp.c: Likewise.
23905 * time/adjtime.c: Likewise.
23906 * time/clock.c: Likewise.
23907 * time/getitimer.c: Likewise.
23908 * time/gettimeofday.c: Likewise.
23909 * time/setitimer.c: Likewise.
23910 * time/settimeofday.c: Likewise.
23911 * time/stime.c: Likewise.
23912 * time/time.c: Likewise.
23913
239142012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23915
a20492cf
PT
23916 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23917 /usr/old/bin.
23918
72e182e3
PT
23919 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23920 instead of spaces.
23921 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23922
fbeafede
JM
239232012-11-03 Joseph Myers <joseph@codesourcery.com>
23924
5b5b04d6
JM
23925 [BZ #14796]
23926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23927 FE_TONEAREST before applying Dekker multiplication and Knuth
23928 addition. Clear inexact exceptions and check for exact zero
23929 results afterwards.
23930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23931 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23933 * math/libm-test.inc (fma_test): Add more tests.
23934 (fma_test_towardzero): Likewise.
23935 (fma_test_downward): Likewise.
23936 (fma_test_upward): Likewise.
23937 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23938 function.
23939 (libc_fesetround): New macro.
23940 (libc_fesetroundf): Likewise.
23941 (libc_fesetroundl): Likewise.
23942 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23943 function.
23944 (libc_fesetround_387): Likewise.
23945 (libc_fesetroundf): New macro.
23946 (libc_fesetround): Likewise.
23947 (libc_fesetroundl): Likewise.
23948 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23949 function.
23950 (libc_fesetroundf): New macro.
23951 (libc_fesetround): Likewise.
23952 (libc_fesetroundl): Likewise.
23953 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23954 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23955 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23956 libm_hidden_ver.
23957 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23958 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23959 libm_hidden_def.
23960 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23961 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23962 libm_hidden_ver.
23963 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23964 libm_hidden_def.
23965
fbeafede
JM
23966 [BZ #3439]
23967 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23968 integer constant usable in #if and use that to give value to enum
23969 constant.
23970 (FE_DIVBYZERO): Likewise.
23971 (FE_UNDERFLOW): Likewise.
23972 (FE_OVERFLOW): Likewise.
23973 (FE_INVALID): Likewise.
23974 (FE_INVALID_SNAN): Likewise.
23975 (FE_INVALID_ISI): Likewise.
23976 (FE_INVALID_IDI): Likewise.
23977 (FE_INVALID_ZDZ): Likewise.
23978 (FE_INVALID_IMZ): Likewise.
23979 (FE_INVALID_COMPARE): Likewise.
23980 (FE_INVALID_SOFTWARE): Likewise.
23981 (FE_INVALID_SQRT): Likewise.
23982 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23983 (FE_TONEAREST): Likewise.
23984 (FE_TOWARDZERO): Likewise.
23985 (FE_UPWARD): Likewise.
23986 (FE_DOWNWARD): Likewise.
23987 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23988 (FE_DIVBYZERO): Likewise.
23989 (FE_OVERFLOW): Likewise.
23990 (FE_UNDERFLOW): Likewise.
23991 (FE_INEXACT): Likewise.
23992 (FE_TONEAREST): Likewise.
23993 (FE_DOWNWARD): Likewise.
23994 (FE_UPWARD): Likewise.
23995 (FE_TOWARDZERO): Likewise.
23996 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23997 (FE_UNDERFLOW): Likewise.
23998 (FE_OVERFLOW): Likewise.
23999 (FE_DIVBYZERO): Likewise.
24000 (FE_INVALID): Likewise.
24001 (FE_TONEAREST): Likewise.
24002 (FE_TOWARDZERO): Likewise.
24003 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24004 (FE_OVERFLOW): Likewise.
24005 (FE_UNDERFLOW): Likewise.
24006 (FE_DIVBYZERO): Likewise.
24007 (FE_INEXACT): Likewise.
24008 (FE_TONEAREST): Likewise.
24009 (FE_TOWARDZERO): Likewise.
24010 (FE_UPWARD): Likewise.
24011 (FE_DOWNWARD): Likewise.
24012 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24013 (FE_DIVBYZERO): Likewise.
24014 (FE_OVERFLOW): Likewise.
24015 (FE_UNDERFLOW): Likewise.
24016 (FE_INEXACT): Likewise.
24017 (FE_TONEAREST): Likewise.
24018 (FE_DOWNWARD): Likewise.
24019 (FE_UPWARD): Likewise.
24020 (FE_TOWARDZERO): Likewise.
24021
105ca950
CM
240222012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24023
24024 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24025
a542b389
AS
240262012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24027
24028 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24029 commands. Quote $PWD.
24030 (blacklist_exports): Don't use remove_newlines. Replace "declare
24031 -x" by "export".
24032 (remove_newlines): Remove.
24033
f62c8abc
L
240342012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24035
24036 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24037 * stdlib/stdlib.h (atof): Moved to ...
24038 * include/bits/stdlib-float.h: Here. New file.
24039 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24040 * stdlib/bits/stdlib-float.h: New file.
24041 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24042 -mno-sse -mno-mmx.
24043 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24044 <xmmintrin.h>.
24045
0155d5b2
JM
240462012-11-02 Joseph Myers <joseph@codesourcery.com>
24047
a68d0680
JM
24048 * conform/conformtest.pl (@headers): Add fenv.h.
24049 * conform/data/fenv.h-data: New file.
24050 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24051 include of <math/fenv.h>.
24052
caf7f573
JM
24053 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24054 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24055 && !UNIX98]. Enables tests for XOPEN2K8.
24056 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24057 POSIX2008]: Likewise.
24058
6c073ad6
JM
24059 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24060 (struct rusage): Do not expect type or its members.
24061
0155d5b2
JM
24062 [BZ #3439]
24063 * math/math.h (FP_NAN): Define macro to integer constant usable in
24064 #if and use that to give value to enum constant.
24065 (FP_INFINITE): Likewise.
24066 (FP_ZERO): Likewise.
24067 (FP_SUBNORMAL): Likewise.
24068 (FP_NORMAL): Likewise.
24069
b5dcacb4
AS
240702012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24071
24072 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24073 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24074 arguments.
24075
f7934be8
RM
240762012-11-02 Roland McGrath <roland@hack.frob.com>
24077
24078 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24079 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24080 autoconf-time if not.
24081 * configure.in: Remove AC_PREREQ.
24082
d7d08bde
TMQMF
240832012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24084
24085 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24086 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24087 of the internal implementation.
24088
dcdae19a
JM
240892012-11-02 Joseph Myers <joseph@codesourcery.com>
24090
24091 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24092 except include of <misc/sys/syslog.h>.
24093
d6cffd3e
AS
240942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24095
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24097 function returns with a NULL context exit with zero.
24098
b3563932
TMQMF
240992012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24100
24101 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24102
b288a93d
L
241032012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24104
24105 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24106 (run_program_cmd): This.
24107 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24108 (tst_langinfo): New variable. Use it.
24109
a2421a68
SAS
241102012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24111
24112 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24113 floating point opcodes.
24114
6f796e1b
TS
241152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24116
7402596b
TS
24117 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24118 variable.
24119
d0d4f868
TS
24120 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24121
6f796e1b
TS
24122 * sysdeps/mach/hurd/powerpc: Remove directory.
24123 * sysdeps/mach/powerpc: Likewise.
24124
4da224a2
AS
241252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24126
24127 * scripts/check-local-headers.sh: Ignore c++ headers.
24128
341dd673
TS
241292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24130
24131 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24132 __libc_cleanup_region_start argument.
24133
473611b2
JM
241342012-11-01 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #14784]
24137 [BZ #14785]
24138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24139 x * y using scaling, not as x * y + z.
24140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24142 * math/libm-test.inc (fma_test): Add more tests.
24143 (fma_test_towardzero): Likewise.
24144 (fma_test_downward): Likewise.
24145 (fma_test_upward): Likewise.
24146
4078da3d
TS
241472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24148
24149 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24150
903252aa
JM
241512012-10-31 Joseph Myers <joseph@codesourcery.com>
24152
24153 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24154 New variable.
24155
cbc818d0
TS
241562012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24157
24158 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24159
5a03cb1e
AS
241602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24161
24162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24163 Fix sort order.
24164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24165 Likewise.
24166
90aff2ff
TMQMF
241672012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24168
24169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24170 Fix the order of the list for glibc 2.17.
24171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24172 Likewise.
24173
1818fcb7
AS
241742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24175
24176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24177
ef82f4da
JM
241782012-10-31 Joseph Myers <joseph@codesourcery.com>
24179
16a0e2ec
JM
24180 [BZ #14610]
24181 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24182 for low part of x being zero before using __atanl (y).
24183 * math/libm-test.inc (atan2_test): Add another test.
24184
0eb69512
JM
24185 * manual/install.texi (Configuring and compiling): Document
24186 general use of test-wrapper and test-wrapper-env.
24187 * INSTALL: Regenerated.
24188
ef82f4da
JM
24189 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24190 (__fma): Do not extract and scale down low bits on after-rounding
24191 systems when result rounded to normal precision would have normal
24192 exponent.
24193 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24194 (__fmal): Do not extract and scale down low bits on after-rounding
24195 systems when result rounded to normal precision would have normal
24196 exponent.
24197 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24198 (__fmal): Do not extract and scale down low bits on after-rounding
24199 systems when result rounded to normal precision would have normal
24200 exponent.
24201 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24202 macro.
24203 (fma_test): Add more tests.
24204 (fma_test_towardzero): Likewise.
24205 (fma_test_downward): Likewise.
24206 (fma_test_upward): Likewise.
24207
954ef0d9
L
242082012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24209
24210 * sysdeps/i386/tininess.h: Renamed to ...
24211 * sysdeps/x86/tininess.h: This.
24212 * sysdeps/x86_64/tininess.h: Removed.
24213
df61ffb2
JM
242142012-10-30 Joseph Myers <joseph@codesourcery.com>
24215
24216 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24217 input. Use $(build-program-cmd).
24218 ($(objpfx)tst-array1-static.out): Likewise.
24219 ($(objpfx)tst-array2.out): Likewise.
24220 ($(objpfx)tst-array3.out): Likewise.
24221 ($(objpfx)tst-array4.out): Likewise.
24222 ($(objpfx)tst-array5.out): Likewise.
24223 ($(objpfx)tst-array5-static.out): Likewise.
24224
01767843
CM
242252012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24226
47cc1490
CM
24227 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24228 if defined.
24229
01767843
CM
24230 * nss/nsswitch.h (nss_interface_function): Provide new
24231 macro for use with NSS functions.
24232 * grp/initgroups.c: Use new macro.
24233 * nss/getXXbyYY.c: Likewise.
24234 * nss/getXXbyYY_r.c: Likewise.
24235 * nss/getXXent.c: Likewise.
24236 * nss/getXXent_r.c: Likewise.
24237 * sysdeps/posix/getaddrinfo.c: Likewise.
24238
8321aa97
AJ
242392012-10-30 Andreas Jaeger <aj@suse.de>
24240
24241 * po/ru.po: Update Russion translation from translation project.
24242
2a27fd6d
JM
242432012-10-30 Joseph Myers <joseph@codesourcery.com>
24244
8627a232
JM
24245 [BZ #14152]
24246 [BZ #14783]
24247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24248 result and shift together with sticky bit instead of replicating
24249 round-to-nearest rounding.
24250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24252 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24253 missing underflow exceptions.
24254 (fma_test_towardzero): Add more tests.
24255 (fma_test_downward): Likewise.
24256 (fma_test_upward): Likewise.
24257
2a27fd6d
JM
24258 [BZ #14047]
24259 * sysdeps/generic/tininess.h: New file.
24260 * sysdeps/i386/tininess.h: Likewise.
24261 * sysdeps/sh/tininess.h: Likewise.
24262 * sysdeps/x86_64/tininess.h: Likewise.
24263 * stdlib/tst-strtod-underflow.c: Likewise.
24264 * stdlib/tst-tininess.c: Likewise.
24265 * stdlib/strtod_l.c: Include <tininess.h>.
24266 (round_and_return): Do not set errno for exact underflow cases.
24267 Force an underflow exception when setting errno for underflow.
24268 Determine underflow based on rounding to normal precision if
24269 TININESS_AFTER_ROUNDING.
24270 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24271 ERANGE for exact underflow cases.
24272 * stdlib/Makefile (tests): Add tst-tininess and
24273 tst-strtod-underflow.
24274 ($(objpfx)tst-tininess): Use $(link-libm).
24275 ($(objpfx)tst-strtod-underflow): Likewise.
24276
e7170363
AJ
242772012-10-30 Andreas Jaeger <aj@suse.de>
24278
e5088dc6
AJ
24279 [BZ#14767]
24280 * elf/Makefile (tests): Remove conditional for have-initfini-array
24281 since this is now always required and the variable does not exist
24282 anymore.
24283 (tests-static): Likewise.
24284 (modules-names): Likewise.
24285
e7170363 24286 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24287
24288 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24289 merged with constructor/destructor.
24290 (init_array): Likewise.
24291 * elf/tst-array2dep.c (fini_array): Likewise.
24292 (init_array): Likewise.
24293
60457d8a
MF
242942012-10-29 Mike Frysinger <vapier@gentoo.org>
24295
24296 * manual/message.texi: Delete @cartouche tags.
24297
8bece752
PT
242982012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24299
94ce799f
PT
24300 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24301 EOPNOTSUPP.
24302 * sysdeps/mach/hurd/fsync.c: Likewise.
24303
8bece752
PT
24304 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24305 [_POSIX_REALTIME_SIGNALS]: Change condition to
24306 [_POSIX_REALTIME_SIGNALS > 0].
24307
86ebe6b1
AJ
243082012-10-27 Andreas Jaeger <aj@suse.de>
24309
24310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24311 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24313 [__WORDSIZE != 64]: Likewise.
24314
54399c08
L
243152012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 * iconvdata/tst-table.sh: Remove ${SHELL}.
24318 * iconvdata/tst-tables.sh: Likewise.
24319
e2211bed
DM
243202012-10-25 David S. Miller <davem@davemloft.net>
24321
24322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24323 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24324 of strtoull.
24325
f303f97c
DM
24326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24327 ifunc-impl-list.c
24328 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24329 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24330 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24331 file.
24332
1e9d84cd
RM
243332012-10-25 Roland McGrath <roland@hack.frob.com>
24334
24335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24336 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24337 __getdirentries.
24338
df381762
JM
243392012-10-25 Joseph Myers <joseph@codesourcery.com>
24340 Jim Blandy <jimb@codesourcery.com>
24341
24342 * scripts/cross-test-ssh.sh: New file.
24343 * manual/install.texi (Configuring and compiling): Document use of
24344 cross-test-ssh.sh.
24345 * INSTALL: Regenerated.
24346
bff64913
PT
243472012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24348
24349 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24350 EOPNOTSUPP.
24351
25fe8932
JM
243522012-10-25 Joseph Myers <joseph@codesourcery.com>
24353
24354 * Makeconfig (run-program-prefix): Fix comment.
24355
cc1290d0
JM
243562012-10-24 Joseph Myers <joseph@codesourcery.com>
24357 Jim Blandy <jimb@codesourcery.com>
24358
24359 * Makeconfig (test-wrapper): New variable,
24360 (test-wrapper-env): Likewise.
24361 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24362 (run-built-tests): Define to yes.
24363 (run-program-prefix): Use $(test-wrapper).
24364 (built-program-cmd): Likewise.
24365 * Rules (make-test-out): Use $(test-wrapper-env) and
24366 $(host-built-program-cmd).
24367 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24368 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24369 tst-pathopt.sh.
24370 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24371 $(test-wrapper-env) to tst-rtld-load-self.sh.
24372 ($(objpfx)order2.out): Use $(test-wrapper).
24373 ($(objpfx)tst-initorder.out): Likewise.
24374 ($(objpfx)tst-initorder2.out): Likewise.
24375 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24376 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24377 (test_wrapper_env): New variable. Use it to run ld.so.
24378 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24379 Use it to run ld.so.
24380 (test_wrapper_env): Likewise.
24381 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24382 $(test-wrapper) to run-iconv-test.sh.
24383 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24384 (ICONV): Use $test_wrapper.
24385 * posix/Makefile ($(objpfx)globtest.out): Pass
24386 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24387 globtest.sh, not $(run-program-prefix).
24388 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24389 (test_wrapper): Likewise.
24390 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24391 set together with run_via_rtld_prefix.
24392 (run_program_prefix): Define in terms of test_wrapper and
24393 run_via_rtld_prefix.
24394
6e6249d0
RM
243952012-10-24 Roland McGrath <roland@hack.frob.com>
24396
24397 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24398 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24399 Targets removed.
24400
24401 [BZ #14743]
24402 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24403 Declare __clock_getres, __clock_gettime, __clock_settime,
24404 __clock_nanosleep, and __clock_getcpuclockid.
24405 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24406 Remove librt_hidden_def (clock_gettime).
24407 * sysdeps/unix/clock_gettime.c: Likewise.
24408 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24409 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24410 * rt/clock_getres.c: Define __clock_getres as an alias.
24411 * sysdeps/posix/clock_getres.c: Likewise.
24412 * rt/clock_settime.c: Define __clock_settime as an alias.
24413 * sysdeps/unix/clock_settime.c: Likewise.
24414 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24415 * sysdeps/unix/clock_nanosleep.c: Likewise.
24416 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24417 * rt/clock-compat.c: New file.
24418 * rt/Makefile (librt-routines): Add clock-compat and move
24419 $(clock-routines) to ...
24420 (routines): ... here, new variable.
24421 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24422 Don't add get_clockfreq here.
24423 * rt/Versions (libc: GLIBC_2.17): New version set.
24424 Add clock_* symbols here.
24425 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24427 (GLIBC_2.17): Add clock_* symbols.
24428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24432 Likewise.
24433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24434 Likewise.
24435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24439 * NEWS: Mention the move.
24440
24441 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24442 Use __open, __read, __close rather than their public counterparts.
24443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24444 (__get_clockfreq_via_cpuinfo): Likewise.
24445 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24446 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24447
24448 * config.h.in (HAVE_IFUNC): New #undef.
24449 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24450 was successful.
24451 * configure: Regenerated.
24452
0cae3f4b
MF
244532012-10-24 Mike Frysinger <vapier@gentoo.org>
24454
24455 * configure.in: Move READELF check to start of file.
24456 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24457 libc_cv_asm_gnu_indirect_function in the process.
24458 * configure: Regenerated.
24459
8175a253
MF
244602012-10-24 Mike Frysinger <vapier@gentoo.org>
24461
24462 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24463 send the output to /dev/null.
24464 (libc_cv_cc_with_libunwind): Likewise.
24465 (libc_cv_as_noexecstack): Likewise.
24466 * configure: Regenerate.
24467
0708a7d1
JM
244682012-10-24 Joseph Myers <joseph@codesourcery.com>
24469
10b40d85
JM
24470 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24471
0708a7d1
JM
24472 * posix/globtest.sh (TMPDIR): Do not set.
24473 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24474 (testout): Likewise.
24475
9fddec1a
AJ
244762012-10-24 Andreas Jaeger <aj@suse.de>
24477
3a8db22f
AJ
24478 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24479 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24480 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24481 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24482 posix_fadvise64, posix_fallocate64.
24483
9fddec1a
AJ
24484 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24485 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24486 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24487 Likewise.
24488 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24489 Likewise.
24490 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24491
24492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24493 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24494 <bits/fcntl-linux.h>.
24495 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24496
24497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24498 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24499 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24500 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24501 [__WORDSIZE != 64]: Likewise.
24502
ebfd1bbd
JM
245032012-10-23 Joseph Myers <joseph@codesourcery.com>
24504
03ac099f
JM
24505 * Makeconfig (run-built-tests): New variable.
24506 * Rules [$(cross-compiling) = yes]: Change condition to
24507 [$(run-built-tests) = no].
24508 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24509 to [$(run-built-tests) = yes].
24510 * elf/Makefile [$(cross-compiling) = no]: Likewise
24511 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24512 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24513 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24514 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24515 * io/Makefile [$(cross-compiling) = no]: Likewise.
24516 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24517 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24518 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24519 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24520 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24521 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24522 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24523 * string/Makefile [$(cross-compiling) = no]: Likewise.
24524
ebfd1bbd
JM
24525 * posix/Makefile ($(objpfx)globtest.out): Pass
24526 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24527 $(rtld-installed-name).
24528 * posix/globtest.sh (elf_objpfx): Remove variable.
24529 (rtld_installed_name): Likewise.
24530 (library_path): Likewise.
24531 (run_program_prefix): New variable. Use for running globtest
24532 binary.
24533
166bca24
JB
245342012-10-23 Jim Blandy <jimb@codesourcery.com>
24535 Joseph Myers <joseph@codesourcery.com>
24536
24537 * Makeconfig (host-built-program-cmd): New variable.
24538 * elf/Makefile (tst-stackguard1-ARGS): Use
24539 $(host-built-program-cmd).
24540 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24541 (tst-spawn-ARGS): Likewise.
24542 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24543
88866099
JM
245442012-10-23 Joseph Myers <joseph@codesourcery.com>
24545 Jim Blandy <jimb@codesourcery.com>
24546
24547 * Makeconfig (run-via-rtld-prefix): New variable.
24548 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24549 (built-program-cmd): Likewise.
24550
b4b4c296
AJ
245512012-10-22 Andreas Jaeger <aj@suse.de>
24552
24553 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24554 __O_RSYNC if it exists, otherwise to O_SYNC.
24555
6fb54a22
JB
245562012-10-22 Jim Blandy <jimb@codesourcery.com>
24557 Joseph Myers <joseph@codesourcery.com>
24558
24559 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24560 /dev/null.
24561 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24562 from /dev/null
24563 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24564 /dev/null.
24565
481b90b9
AJ
245662012-10-22 Andreas Jaeger <aj@suse.de>
24567
2a0e2669
AJ
24568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24569 Define always.
24570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24571
76e38f9a
AJ
24572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24573 bits/fcntl-linux.h.
24574
7cd37b43
AJ
24575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24576 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24577
481b90b9
AJ
24578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24579 to __O_LARGEFILE.
24580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24581 to __O_LARGEFILE.
24582
aba75984
JB
245832012-10-21 Jim Blandy <jimb@codesourcery.com>
24584 Joseph Myers <joseph@codesourcery.com>
24585
24586 * config.make.in (NM): New variable.
24587
88d4247f
AJ
245882012-10-21 Andreas Jaeger <aj@suse.de>
24589
24590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24591 definitions and declarations that are provided by
24592 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24593
f2eed205
L
245942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24595
24596 [BZ #14683]
24597 * elf/Makefile (tests-static): Add tst-leaks1-static.
24598 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24599 ($(objpfx)tst-leaks1-static): New rule.
24600 ($(objpfx)tst-leaks1-static-mem): Likewise.
24601 (tst-leaks1-static-ENV): New macro.
24602 * elf/dl-open.c (dl_open_worker): Check the main application
24603 only if SHARED is defined.
24604 * elf/tst-leaks1-static.c: New file.
24605
335e6931
AJ
246062012-10-20 Andreas Jaeger <aj@suse.de>
24607
24608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24609 generic values for Linux.
24610 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24611 and declarations that are provided by <bits/fcntl-linux.h> and
24612 include <bits/fcntl-linux.h>.
24613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24615
ac5c94d3
RM
246162012-10-20 Roland McGrath <roland@hack.frob.com>
24617
24618 * io/fcntl.h: Move include of <bits/types.h> to the top and
24619 include it unconditionally.
24620
de54b33a
L
246212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24622
228cfb01
L
24623 * wcsmbs/Makefile (tests-ifunc): New variable.
24624 (tests): Add $(tests-ifunc).
24625 * wcsmbs/test-wcschr-ifunc.c: New file.
24626 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24627 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24628 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24629 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24630 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24631
69f07e5f
L
24632 * string/Makefile (tests-ifunc): New variable.
24633 (tests): Add $(tests-ifunc).
24634 * string/test-memccpy.c (TEST_NAME): New macro.
24635 * string/test-memchr.c (TEST_NAME): Likewise.
24636 * string/test-memcmp.c (TEST_NAME): Likewise.
24637 * string/test-memcpy.c (TEST_NAME): Likewise.
24638 * string/test-memmem.c (TEST_NAME): Likewise.
24639 * string/test-memmove.c (TEST_NAME): Likewise.
24640 * string/test-memset.c (TEST_NAME): Likewise.
24641 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24642 * string/test-stpcpy.c (TEST_NAME): Likewise.
24643 * string/test-stpncpy.c (TEST_NAME): Likewise.
24644 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24645 * string/test-strcasestr.c (TEST_NAME): Likewise.
24646 * string/test-strcat.c (TEST_NAME): Likewise.
24647 * string/test-strchr.c (TEST_NAME): Likewise.
24648 * string/test-strcmp.c(TEST_NAME): Likewise.
24649 * string/test-strcpy.c (TEST_NAME): Likewise.
24650 * string/test-strcspn.c (TEST_NAME): Likewise.
24651 * string/test-strlen.c (TEST_NAME): Likewise.
24652 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24653 * string/test-strncmp.c (TEST_NAME): Likewise.
24654 * string/test-strncpy.c (TEST_NAME): Likewise.
24655 * string/test-strnlen.c (TEST_NAME): Likewise.
24656 * string/test-strpbrk.c (TEST_NAME): Likewise.
24657 * string/test-strrchr.c (TEST_NAME): Likewise.
24658 * string/test-strspn.c (TEST_NAME): Likewise.
24659 * string/test-strstr.c (TEST_NAME): Likewise.
24660 * string/test-bcopy-ifunc.c: New file.
24661 * string/test-bzero-ifunc.c: Likewise.
24662 * string/test-memccpy-ifunc.c: Likewise.
24663 * string/test-memchr-ifunc.c: Likewise.
24664 * string/test-memcmp-ifunc.c: Likewise.
24665 * string/test-memcpy-ifunc.c: Likewise.
24666 * string/test-memmem-ifunc.c: Likewise.
24667 * string/test-memmove-ifunc.c: Likewise.
24668 * string/test-mempcpy-ifunc.c: Likewise.
24669 * string/test-memset-ifunc.c: Likewise.
24670 * string/test-rawmemchr-ifunc.c: Likewise.
24671 * string/test-stpcpy-ifunc.c: Likewise.
24672 * string/test-stpncpy-ifunc.c: Likewise.
24673 * string/test-strcasecmp-ifunc.c: Likewise.
24674 * string/test-strcasestr-ifunc.c: Likewise.
24675 * string/test-strcat-ifunc.c: Likewise.
24676 * string/test-strchr-ifunc.c: Likewise.
24677 * string/test-strchrnul-ifunc.c: Likewise.
24678 * string/test-strcmp-ifunc.c: Likewise.
24679 * string/test-strcpy-ifunc.c: Likewise.
24680 * string/test-strcspn-ifunc.c: Likewise.
24681 * string/test-strlen-ifunc.c: Likewise.
24682 * string/test-strncasecmp-ifunc.c: Likewise.
24683 * string/test-strncat-ifunc.c: Likewise.
24684 * string/test-strncmp-ifunc.c: Likewise.
24685 * string/test-strncpy-ifunc.c: Likewise.
24686 * string/test-strnlen-ifunc.c: Likewise.
24687 * string/test-strpbrk-ifunc.c: Likewise.
24688 * string/test-strrchr-ifunc.c: Likewise.
24689 * string/test-strspn-ifunc.c: Likewise.
24690 * string/test-strstr-ifunc.c: Likewise.
24691
de54b33a
L
24692 * debug/Makefile (tests-ifunc): New variable.
24693 (tests): Add $(tests-ifunc).
24694 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24695 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24696 * debug/test-stpcpy_chk-ifunc.c: New file.
24697 * debug/test-strcpy_chk-ifunc.c: Likewise.
24698
88481c16
SP
246992012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24700
24701 [BZ #13601]
24702 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24703 header is not read in.
24704
135948bd
JM
247052012-10-19 Joseph Myers <joseph@codesourcery.com>
24706
89f1c388
JM
24707 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24708 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24709 directly. Pass built executable to script as
24710 $(built-program-cmd).
24711 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24712 $testprogram without using LD_LIBRARY_PATH and $ldso.
24713
e40a0d21
JM
24714 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24715 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24716 $(rtld-installed-name).
24717 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24718 (rtld_installed_name): Likewise.
24719 (library_path): Likewise.
24720 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24721 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24722 $(run-program-prefix) to tst-tables.sh.
24723 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24724 it to run tst-table-from and tst-table-to.
24725 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24726 Pass it to tst-table.sh.
24727 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24728 $(run-program-prefix) to tst-gettext.sh.
24729 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24730 tst-translit.sh.
24731 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24732 tst-gettext2.sh.
24733 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24734 to run tst-gettext.
24735 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24736 to run tst-gettext2.
24737 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24738 to run tst-translit.
24739 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24740 $(run-program-prefix) to tst-mtrace.sh.
24741 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24742 to run tst-mtrace.
24743 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24744 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24745 $(rtld-installed-name).
24746 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24747 (rtld_installed_name): Likewise.
24748 (run_program_prefix): New variable. Use it to run wordexp-test.
24749
728e272a
JM
24750 * Makeconfig (ARCH): Remove all definitions.
24751 (machine): Likewise.
24752 [ARCH]: Remove conditional code.
24753 [!objdir]: Give error.
24754 [!objdir] (objpfx): Remove.
24755 [!objdir] (common-objpfx): Likewise.
24756 [!objdir] (common-objdir): Likewise.
24757 * configure.in (config_makefile): Remove. Hardcode Makefile in
24758 AC_CONFIG_FILES call.
24759 * configure: Regenerated.
24760
d528cdcf
JM
24761 [BZ #13888]
24762 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24763 or TMPDIR.
24764 (testout): Likewise.
24765
135948bd
JM
24766 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24767 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24768 $(rtld-installed-name).
24769 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24770 (rtld_installed_name): Likwise.
24771 (runit): Remove function.
24772 (run_getconf): New variable, Use it for running getconf binary.
24773
38c78296
L
247742012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24775
24776 [BZ #14716]
24777 * string/test-memmem.c (check_result): New function.
24778 (do_one_test): Use it.
24779 (check1): New function.
24780 (test_main): Use it.
24781
d077f65f
MT
247822012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24783
24784 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24785
ced52c71
JM
247862012-10-18 Joseph Myers <joseph@codesourcery.com>
24787
24788 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24789 (_G_LSEEK64): Likewise.
24790 (_G_MMAP64): Likewise.
24791 (_G_FSTAT64): Likewise.
24792 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24793 (_G_LSEEK64): Likewise.
24794 (_G_MMAP64): Likewise.
24795 (_G_FSTAT64): Likewise.
24796 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24797 unconditional. Call __mmap64 directly.
24798 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24799 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24800 __lseek64 directly.
24801 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24802 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24803 __mmap64 directly.
24804 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24805 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24806 __lseek64 directly.
24807 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24808 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24809 __lseek64 directly.
24810 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24811 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24812 __lseek64 directly.
24813 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24814 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24815 __fxstat64 directly.
24816 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24817 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24818 unconditional.
24819 (freopen64) [!_G_OPEN64]: Remove conditional code.
24820 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24821 unconditional.
24822 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24823 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24824 unconditional.
24825 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24826 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24827 unconditional.
24828 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24829 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24830 unconditional.
24831 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24832 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24833 unconditional.
24834 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24835 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24836 unconditional.
24837 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24838 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24839 unconditional.
24840 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24841
b741de23
SP
248422012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24843
24844 [BZ #12140]
24845 * manual/memory.texi (Malloc Tunable Parameters): Add note
24846 about free list pointers overwriting some perturb bytes.
24847 Wording suggested by Roland McGrath.
24848
f9b9d9c9
JM
248492012-10-17 Joseph Myers <joseph@codesourcery.com>
24850
24851 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24852 (lgamma_test): Likewise.
24853 (tgamma_test): Likewise.
24854
172a631a
FW
248552012-10-16 Florian Weimer <fweimer@redhat.com>
24856
24857 [BZ #14700]
24858 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24859 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24860
e9f37252
MK
248612012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24862
24863 * NEWS: Mention BZ #14716.
24864 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24865 when removing AVAILABLE1_USES_J macro.
24866
d394eb74
L
248672012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24868
24869 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24870 (__bswap_64): __uint64_t for unsigned 64-bit int.
24871
ca38dc17
AS
248722012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24873
24874 * include/string.h (memmem): Declare libc hidden alias.
24875 * string/memmem.c (memmem): Define libc hidden alias.
24876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24877 __read, __close instead of open, read, close.
24878
9a387d1f
L
248792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24880
ac49ecaf
L
24881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24882 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24883 global and hidden.
24884 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24885 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24886 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24887 Likewise.
24888 (__rawmemchr_sse2): Likewise.
24889 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24890 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24891 (__strchr_sse2): Likewise.
24892 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24893 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24894 (__strcasecmp_sse2): Likewise.
24895 (__strncasecmp_sse2): Likewise.
24896 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24897 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24898 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24899 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24900 (__strrchr_sse2): Likewise.
24901 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24902 ifunc-impl-list.c.
24903 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24904 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24905 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24906 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24907 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24908 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24909 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24910 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24911 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24912 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24913 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24914 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24915 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24916 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24917 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24918 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24919 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24920 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24921 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24922 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24923 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24924 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24925 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24926 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24927 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24928 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24929 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24930 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24931 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24932 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24933
b090e8ea
L
24934 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24935 global and hidden.
24936 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24937 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24938 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24939 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24940 Likewise.
24941 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24942 Likewise.
24943 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24944 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24945 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24946 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24947 ifunc-impl-list.c.
24948 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24949 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24951 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24952 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24953 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24954 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24955 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24956 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24957 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24958 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24959 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24960 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24961 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24962 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24963 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24964 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24965 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24966 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24967 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24969 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24970 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24971 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24973 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24975 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24976 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24978 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24979 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24980 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24981 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24982 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24983 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24984 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24985 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24986 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24987 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24988 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24989
11dd4af6
L
24990 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24991 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24992 * include/ifunc-impl-list.h: New file.
24993 * misc/ifunc-impl-list.c: Likewise.
24994 * misc/Makefile (routines): Add ifunc-impl-list.
24995 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24996 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24997 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24998 TEST_NAME]: New variables.
11dd4af6
L
24999 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25000 are defined.
25001 (test_init): Call __libc_ifunc_impl_list to initialize
25002 func_list if TEST_IFUNC and TEST_NAME are defined.
25003
9a387d1f
L
25004 * string/Makefile (strop-tests): Add bcopy and bzero.
25005 * string/test-bcopy.c: New file.
25006 * string/test-bzero.c: Likewise.
25007 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25008 defined.
25009 * string/test-memset.c: Support bzero test if TEST_BZERO is
25010 defined.
25011 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25012 __libc_memmove.
25013 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25014 __libc_memset.
25015 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25016 of memset.
25017
472371b9
JM
250182012-10-10 Joseph Myers <joseph@codesourcery.com>
25019
1e4a9536
JM
25020 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25021 * configure: Regenerated.
25022
d173d12e
JM
25023 * Makeconfig (+link-static-before-libc): Don't include
25024 $(link-static-libc).
25025
472371b9
JM
25026 * libio/libio.h (_IO_pos_t): Remove.
25027
89a3ad0b
AO
250282012-10-10 Alexandre Oliva <aoliva@redhat.com>
25029
25030 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25031 McGrath.
25032
e7451425
AO
250332012-10-10 Alexandre Oliva <aoliva@redhat.com>
25034
25035 * crypt/crypt-entry.c: Include fips-private.h.
25036 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25037 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25038 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25039 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25040
4ba74a35
AO
250412012-10-10 Alexandre Oliva <aoliva@redhat.com>
25042
25043 * crypt/crypt-private.h: Include stdbool.h.
25044 (_ufc_setup_salt_r): Return bool.
25045 * crypt/crypt-entry.c: Include errno.h.
25046 (__crypt_r): Return NULL with EINVAL for bad salt.
25047 * crypt/crypt_util.c (bad_for_salt): New.
25048 (_ufc_setup_salt_r): Check that salt is long enough and within
25049 the specified alphabet.
25050 * crypt/badsalttest.c: New file.
25051 * crypt/Makefile (tests): Add it.
25052 ($(objpfx)badsalttest): New.
25053
f96f1242
MK
250542012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25055
25056 * NEWS: Add entry for BZ #14602.
25057
0e8e0c1c
JM
250582012-10-09 Joseph Myers <joseph@codesourcery.com>
25059
25060 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25061 type-generic.
25062 * math/libm-test.inc: Update comment listing what functions and
25063 macros are tested.
25064 (isgreater_test): New function.
25065 (isgreaterequal_test): Likewise.
25066 (isless_test): Likewise.
25067 (islessequal_test): Likewise.
25068 (islessgreater_test): Likewise.
25069 (isunordered_test): Likewise.
25070 (main): Call the new functions.
25071
273edc5e
RM
250722012-10-09 Roland McGrath <roland@hack.frob.com>
25073
b8493de0
RM
25074 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25075 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25076 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25077 * sysdeps/i386/configure: Regenerated.
25078 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25079 * sysdeps/mach/configure: Regenerated.
25080 * sysdeps/mach/hurd/configure: Regenerated.
25081 * sysdeps/powerpc/configure: Regenerated.
25082 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25083 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25084 * sysdeps/s390/s390-32/configure: Regenerated.
25085 * sysdeps/s390/s390-64/configure: Regenerated.
25086 * sysdeps/sh/configure: Regenerated.
25087 * sysdeps/sparc/configure: Regenerated.
25088 * sysdeps/unix/sysv/linux/configure: Regenerated.
25089 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25090 * sysdeps/x86_64/configure: Regenerated.
25091
273edc5e
RM
25092 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25093 defined. Don't check if MAP is NULL.
25094
c8450f70
JM
250952012-10-09 Joseph Myers <joseph@codesourcery.com>
25096
25097 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25098 (_G_stat64): Likewise.
25099 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25100 (_G_stat64): Likewise.
25101 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25102 instead of struct _G_stat64.
25103 * libio/fileops.c (mmap_remap_check): Likewise.
25104 (decide_maybe_mmap): Likewise.
25105 (_IO_new_file_seekoff): Likewise.
25106 (_IO_file_stat): Likewise.
25107 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25108 _G_off64_t.
25109 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25110 instead of struct _G_stat64.
25111 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25112
57e605ba
MK
251132012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25114
25115 [BZ #14602]
25116 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25117 Replace with ...
25118 (CHECK_EOL): New macro.
25119 (two_way_short_needle): Check beginning of haystack for EOL. Use
25120 CHECK_EOL.
25121 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25122 Replace with CHECK_EOL.
25123 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25124 Replace with CHECK_EOL.
25125
ef1bb361
JM
251262012-10-08 Joseph Myers <joseph@codesourcery.com>
25127
25128 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25129 type-generic.
25130 * math/libm-test.inc: Update comment listing what functions and
25131 macros are tested.
25132 (finite_test): New function.
25133 (isinf_test): Likewise.
25134 (isnan_test): Likewise.
25135 (fpclassify_test): Test subnormal input.
25136 (isfinite_test): Likewise.
25137 (isnormal_test): Likewise.
25138 (main): Call the new functions.
25139
55f11534
JN
251402012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25141
25142 [BZ #14660]
25143 * Makerules (%.dynsym): Force C locale when running
25144 $(OBJDUMP) --dynamic-syms.
25145
1ab29350
AS
251462012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25147
25148 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25149 <stdint.h>.
25150
f1ecb7ef
DM
251512012-10-06 David S. Miller <davem@davemloft.net>
25152
25153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25154 upper 32-bits of the length value in %o2 since we use branch-on-register
25155 tests which consider the entire 64-bit register.
25156
5d41d91a
L
251572012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25158
25159 * string/test-strstr.c (check2): Add a test for page boundary.
25160
3baddb72
DM
251612012-10-05 David S. Miller <davem@davemloft.net>
25162
25163 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25164 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25165 file.
25166 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25167 sysdep_routines.
25168 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25169 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25170 and bzero when HWCAP_SPARC_CRYPTO is present.
25171
9cee5585
L
251722012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25173
d7e0dab9
L
25174 [BZ #14602]
25175 * string/test-strstr.c (check2): New function.
25176 (test_main): Call check2.
25177
03759f47
L
25178 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25179 and bug-strchr1.
25180 * string/bug-strcasestr1.c (do_test): Moved to ...
25181 * string/test-strcasestr.c (check1): Here. New function.
25182 (do_one_test): Break out result checking code into ...
25183 (check_result): This. New function.
25184 (do_one_test): Call check_result.
25185 (test_main): Call check1.
25186 * string/bug-strchr1.c (do_test): Moved to ...
25187 * string/test-strchr.c (check1): Here. New function.
25188 (do_one_test): Break out result checking code into ...
25189 (check_result): This. New function.
25190 (do_one_test): Call check_result.
25191 (test_main): Call check1.
25192 * string/bug-strstr1.c (main): Moved to ...
046f153e 25193 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25194 (do_one_test): Break out result checking code into ...
25195 (check_result): This. New function.
25196 (do_one_test): Call check_result.
25197 (test_main): Call check1.
25198 * string/bug-strcasestr1.c: Removed.
25199 * string/bug-strchr1.c: Likewise.
25200 * string/bug-strstr1.c: Likewise.
25201
53cea63e
L
25202 * elf/Makefile (dl-routines): Add hwcaps.
25203 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25204 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25205 (_dl_important_hwcaps): Moved to ...
25206 * elf/dl-hwcaps.c: Here. New file.
25207 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25208
9cee5585 25209 [BZ #14557]
bb859b06
L
25210 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25211 if IS_IN_rtld isn't defined.
25212
9cee5585
L
25213 * elf/dl-support.c (_dl_sysinfo_map): New.
25214 Include "get-dynamic-info.h" and "setup-vdso.h".
25215 (_dl_non_dynamic_init): Call setup_vdso.
25216 * elf/dynamic-link.h: Don't include <assert.h>.
25217 (elf_get_dynamic_info): Moved to ...
25218 * elf/get-dynamic-info.h: Here. New file.
25219 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25220 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25221 * elf/setup-vdso.h: Here. New file.
25222 * elf/rtld.c: Include "setup-vdso.h".
25223 (dl_main): Call setup_vdso.
25224
23c31b76
JM
252252012-10-05 Joseph Myers <joseph@codesourcery.com>
25226
28234b07
JM
25227 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25228 creal in comment listing functions tested. List finite, isinf,
25229 isnan, isless, islessequal, isgreater, isgreaterequal,
25230 islessgreater, isunordered, lgamma_r and pow10 as functions and
25231 macros not tested. Mention which functions not tested are aliases
25232 for other functions. Fix typo. Note that signs of NaNs are not
25233 tested.
25234
23c31b76
JM
25235 * scripts/config.guess: Update from config.git.
25236 * scripts/config.sub: Likewise.
25237
9043e228
RM
252382012-10-04 Roland McGrath <roland@hack.frob.com>
25239
25240 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25241 * misc/madvise.c (madvise): Renamed to __madvise.
25242 Make madvise a weak alias.
25243 * include/sys/mman.h: Declare __madvise.
25244 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25245 * sysdeps/unix/syscalls.list
25246 (madvise): Make __madvise the strong name, and madvise a weak alias.
25247 * sysdeps/unix/sysv/linux/syscalls.list
25248 (madvise, mmap): Remove redundant entries.
25249 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25250 * malloc/malloc.c (mtrim): Likewise.
25251 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25252
f57f8055
RM
252532012-10-03 Roland McGrath <roland@hack.frob.com>
25254
25255 * sysdeps/mach/hurd/dl-cache.c: File removed.
25256 * config.h.in (USE_LDCONFIG): New #undef.
25257 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25258 * configure: Regenerated.
25259 * elf/Makefile (dl-routines): Add dl-cache only under
25260 [$(use-ldconfig) = yes].
25261 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25262 cache on [USE_LDCONFIG].
25263 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25264 [USE_LDCONFIG].
25265 * elf/rtld.c (dl_main): Likewise.
25266
5bb0c10a
PT
252672012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25268
25269 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25270 _SC_LEVEL4_CACHE_LINESIZE.
25271
010188c6
RM
252722012-10-03 Roland McGrath <roland@hack.frob.com>
25273
25274 * sysdeps/unix/bsd/confstr.h: File removed.
25275
b6c5ec07
AO
252762012-10-02 Alexandre Oliva <aoliva@redhat.com>
25277
25278 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25279 sys/sdt-config.h.
25280
408223d4
RM
252812012-10-02 Roland McGrath <roland@hack.frob.com>
25282
25283 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25284 Make 'mapoff' field ElfW(Off) rather than off_t.
25285
bb9510dc
DL
252862012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25287
fc997c6e
DL
25288 * nscd/Makefile: Remove nscd-cflags and all its users.
25289 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25290 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25291
bb9510dc
DL
25292 [BZ #10631]
25293 * malloc.c (malloc_printerr): Clarify error message.
25294
05699367
L
252952012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25296
25297 [BZ #14648]
25298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25299 Set bit_FMA_Usable if FMA is supported.
25300 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25301 macro.
25302 (bit_FMA4_Usable): Updated.
25303 (index_FMA_Usable): New macro.
25304 (CPUID_FMA): Likewise
25305 (HAS_FMA): Defined with bit_FMA_Usable.
25306
51367701
RM
253072012-10-01 Roland McGrath <roland@hack.frob.com>
25308
25309 * bits/types.h (__swblk_t): Type removed.
25310 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25311 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25313 (__SWBLK_T_TYPE): Likewise.
25314 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25315 (__SWBLK_T_TYPE): Likewise.
25316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25317 (__SWBLK_T_TYPE): Likewise.
25318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25319 (__SWBLK_T_TYPE): Likewise.
25320
4d57bf63 253212012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25322 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25323
25324 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25325 (xdr_mapname): Use YPMAXMAP as maxsize.
25326 (xdr_peername): Use YPMAXPEER as maxsize.
25327 (xdr_keydat): Use YPAXRECORD as maxsize.
25328 (xdr_valdat): Use YPMAXRECORD as maxsize.
25329
93c65d43
RM
253302012-10-01 Roland McGrath <roland@hack.frob.com>
25331
497a03d6
RM
25332 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25333
93c65d43
RM
25334 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25335 * csu/init-first.c: ... here.
25336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25337 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25338 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25339 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25340 * sysdeps/i386/init-first.c: File removed.
25341 * sysdeps/sh/init-first.c: File removed.
25342
bec749fd
JM
253432012-10-01 Joseph Myers <joseph@codesourcery.com>
25344
25345 [BZ #14645]
25346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25347 if x * y might underflow to zero and z is zero.
25348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25350 * math/libm-test.inc (min_subnorm_value): New variable.
25351 (fma_test): Add more tests.
25352 (fma_test_towardzero): Likewise.
25353 (fma_test_downward): Likewise
25354 (fma_test_upward): Likewise.
25355 (initialize): Set min_subnorm_value.
25356
8ec5b013
JM
253572012-09-29 Joseph Myers <joseph@codesourcery.com>
25358
25359 [BZ #14638]
25360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25361 0 + 0.
25362 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25363 mode for addition resulting in exact zero.
25364 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25366 exact 0 + 0.
25367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25369 * math/libm-test.inc (fma_test): Add more tests.
25370 (fma_test_towardzero): New function.
25371 (fma_test_downward): Likewise.
25372 (fma_test_upward): Likewise.
25373 (main): Call the new functions.
25374
b1fa802e
DM
253752012-09-28 David S. Miller <davem@davemloft.net>
25376
25377 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25378
d3b9fd9e
RM
253792012-09-28 Roland McGrath <roland@hack.frob.com>
25380
ea4d37b3
RM
25381 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25382 instead of SIGALRM.
25383
ac51c949
RM
25384 * sysdeps/gnu/_G_config.h: Moved to ...
25385 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25386 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25387 * sysdeps/generic/_G_config.h: ... here.
25388
28c195f7
RM
25389 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25390
848917f9
RM
25391 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25392
6bacf05b
RM
25393 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25394 Conditionalize target on [libnss_test1.so-version].
25395
91363dbb
RM
25396 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25397
cc87f7d8
RM
25398 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25399 (elfobjdir): Move out of conditionals.
25400
b1c608fe
RM
25401 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25402 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25403 (__nss_lookup_function): Conditionalize label remove_from_tree on
25404 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25405
1d9a6d96
DM
254062012-09-28 David S. Miller <davem@davemloft.net>
25407
25408 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25409 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25410 file.
25411 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25412 sysdep_routines.
25413 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25415 when HWCAP_SPARC_CRYPTO is present.
25416
72581615
PT
254172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25418
25419 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25420
715a900c
JL
254212012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25422
25423 [BZ #6530]
25424 * stdio-common/vfprintf.c (process_string_arg): Revert
25425 2000-07-22 change.
25426
254272011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25428
25429 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25430 for testcase.
25431 * stdio-common/tst-sprintf.c: Include <locale.h>
25432 (main): Test sprintf's handling of incomplete multibyte
25433 characters.
25434
9bac1d86
L
254352012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25436
25437 * elf/dl-runtime.c (VERSYMIDX): Removed.
25438 * elf/dl-version.c (VERSYMIDX): Likewise.
25439 * elf/do-rel.h (VERSYMIDX): Likewise.
25440 (VALIDX): Likewise.
25441 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25442 * elf/rtld.c (VALIDX): Likewise.
25443 (ADDRIDX): Likewise.
9bac1d86
L
25444 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25445 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25446 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25447 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25448 (VALIDX): Likewise.
25449 (ADDRIDX): Likewise.
9bac1d86 25450
b31606c0
PT
254512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25452
25453 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25454
11541177
JL
254552012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25456
25457 [BZ #11438]
25458 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25459 to global scope.
25460 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25461 addresses are in the same scope as 192.0.2/24.
25462 * posix/gai.conf: Document new scope table defaults.
25463
adb26fae
SP
254642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25465
25466 [BZ #5298]
25467 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25468 for ftell. Compute offsets from write pointers instead.
25469 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25470
4573c6b0
SP
254712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25472
25473 [BZ #14543]
25474 * libio/Makefile (tests): New test case tst-fseek.
25475 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25476 combination works in wide mode.
25477 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25478 state when the external buffer state changes.
25479
aa9bbfe6
DM
254802012-09-27 David S. Miller <davem@davemloft.net>
25481
25482 [BZ #14376]
25483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25484 pass reloc->r_addend in as the 'high' argument to
25485 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25486
784421e7
DM
25487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25488
c39bc8b8
PT
254892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25490
25491 * rt/tst-aio2.c: Include <pthread.h>.
25492 * rt/tst-aio3.c: Likewise.
25493
1ccc2399
SE
254942012-09-27 Steve Ellcey <sellcey@mips.com>
25495
25496 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25497
31ed4153
L
254982012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25499
25f5f885
L
25500 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25501 contents on [SHARED].
31ed4153 25502
b7bfe116
MP
255032012-09-26 Marek Polacek <polacek@redhat.com>
25504
25505 [BZ #14530]
25506 [BZ #13741]
25507 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25508 for C++ and GCC <4.3 as well as for non GCC compilers.
25509
43c4edba
MT
255102012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25511
25512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25513
6a1bf82f
RM
255142012-09-25 Roland McGrath <roland@hack.frob.com>
25515
25516 * Makefile.in (all, install): Declare with .PHONY.
25517 Reported by Michael Hope <michael.hope@linaro.org>.
25518
8ad11b9a
TMQMF
255192012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25520
25521 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25522 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25523 system header.
25524 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25525 Likewise.
25526 (sydep_routines): Add the new and the internal functions.
25527 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25528 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25530 (GLIBC_2.17): Add the new function.
25531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25532 (GLIBC_2.17): Likewise.
25533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25534 (GLIBC_2.17): Likewise.
25535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25536 (GLIBC_2.17): Likewise.
25537 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25538
7e2fca8d
AM
255392012-09-25 Alan Modra <amodra@gmail.com>
25540
25541 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25542 Add release barrier before setting once_control to say
25543 initialisation is done. Add hints on lwarx. Use macro in
25544 place of isync.
25545 (clear_once_control): Add release barrier.
25546
b87c4b24
JM
255472012-09-25 Joseph Myers <joseph@codesourcery.com>
25548
d032e0d2
JM
25549 [BZ #13629]
25550 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25551 specially.
25552 * math/s_clog10.c (__clog10): Likewise.
25553 * math/s_clog10f.c (__clog10f): Likewise.
25554 * math/s_clog10l.c (__clog10l): Likewise.
25555 * math/s_clogf.c (__clogf): Likewise.
25556 * math/s_clogl.c (__clogl): Likewise.
25557 * math/Makefile (libm-calls): Add x2y2m1.
25558 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25559 (__x2y2m1): Likewise.
25560 (__x2y2m1l): Likewise.
25561 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25562 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25567 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25568 * sysdeps/i386/fpu/libm-test-ulps: Update.
25569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25570
b87c4b24
JM
25571 [BZ #14621]
25572 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25573 int as type of variable DEPTH.
25574 (glob): Use size_t instead of int as type of variables NEWCOUNT
25575 and OLD_PATHC.
25576
6d3bf199
LD
255772012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25578
22bf5c17
LD
25579 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25580 Add s_sincosf-sse2.
25581 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25582 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25583 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25584 macros for using routine as __sincosf_ia32.
25585 Use macro for function declaration and weak_alias.
25586 * sysdeps/i386/fpu/libm-test-ulps: Update.
25587
25588 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25590
25591 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25592 subnormal argument.
25593 * math/s_cexpf.c (__cexpf): Likewise.
25594 * math/s_csinf.c (__csinf): Likewise.
25595 * math/s_csinhf.c (__csinhf): Likewise.
25596 * math/s_ctanf.c (__ctanf): Likewise.
25597 * math/s_ctanhf.c (__ctanhf): Likewise.
25598 * math/s_ccosh.c (__ccoshf): Likewise.
25599 * math/s_cexp.c (__cexpl): Likewise.
25600 * math/s_csin.c (__csin): Likewise.
25601 * math/s_csinh.c (__csinh): Likewise.
25602 * math/s_ctan.c (__ctan): Likewise.
25603 * math/s_ctanh.c (ctanh): Likewise.
25604 * math/s_ccoshl.c (__ccoshl): Likewise.
25605 * math/s_cexpl.c (__cexpl): Likewise.
25606 * math/s_csinl.c (__csinl): Likewise.
25607 * math/s_csinhl.c (__csinhl): Likewise.
25608 * math/s_ctanl.c (__ctanl): Likewise.
25609 * math/s_ctanhl.c (__ctanhl): Likewise.
25610
203e5603
JM
256112012-09-25 Joseph Myers <joseph@codesourcery.com>
25612
25613 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25614 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25615 (_IO_off_t): Define to __off_t, not _G_off_t.
25616 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25617 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25618 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25619 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25620 type of __dummy and __dummy2 fields.
25621 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25622 (_G_ssize_t): Likewise.
25623 (_G_off_t): Likewise.
25624 (_G_pid_t): Likewise.
25625 (_G_uid_t): Likewise.
25626 (_G_wchar_t): Likewise.
25627 (_G_wint_t): Likewise.
25628 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25629 (_G_ssize_t): Likewise.
25630 (_G_off_t): Likewise.
25631 (_G_pid_t): Likewise.
25632 (_G_uid_t): Likewise.
25633 (_G_wchar_t): Likewise.
25634 (_G_wint_t): Likewise.
25635 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25636 (_G_ssize_t): Likewise.
25637 (_G_off_t): Likewise.
25638 (_G_pid_t): Likewise.
25639 (_G_uid_t): Likewise.
25640 (_G_wchar_t): Likewise.
25641 (_G_wint_t): Likewise.
25642
9fab36eb
SP
256432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25644
25645 * malloc/arena.c: Include malloc-sysdep.h.
25646 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25647 is sufficient to shrink the heap or an unmap is needed.
25648 * sysdeps/generic/malloc-sysdep.h: New file. Define
25649 new function check_may_shrink_heap.
25650 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25651 new function check_may_shrink_heap.
25652
2b4f00d1
SP
256532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25654
25655 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25656 comments.
25657
9a9028b1
DL
256582012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25659
57c69bef
DL
25660 * catgets/test-gencat.sh: Add "set -e".
25661 * elf/tst-pathopt.sh: Likewise.
25662 * grp/tst_fgetgrent.sh: Likewise.
25663 * iconvdata/run-iconv-test.sh: Likewise.
25664 * intl/tst-gettext.sh: Likewise.
25665 * intl/tst-gettext2.sh: Likewise.
25666 * intl/tst-gettext4.sh: Likewise.
25667 * intl/tst-gettext6.sh: Likewise.
25668 * intl/tst-translit.sh: Likewise.
25669 * io/ftwtest-sh: Likewise.
25670 * libio/test-freopen.sh: Likewise.
25671 * malloc/tst-mtrace.sh: Likewise.
25672 * posix/globtest.sh: Likewise.
25673 * posix/tst-getconf.sh: Likewise.
25674 * posix/wordexp-tst.sh: Likewise.
25675 * stdio-common/tst-printf.sh: Likewise.
25676 * stdio-common/tst-unbputc.sh: Likewise.
25677 * stdlib/tst-fmtmsg.sh: Likewise.
25678 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25679 * catgets/Makefile: Do not specify -e option when running
25680 testsuite shell scripts.
25681 * elf/Makefile: Likewise.
25682 * grp/Makefile: Likewise.
25683 * iconvdata/Makefile: Likewise.
25684 * intl/Makefile: Likewise.
25685 * io/Makefile: Likewise.
25686 * libio/Makefile: Likewise.
25687 * malloc/Makefile: Likewise.
25688 * posix/Makefile: Likewise.
25689 * stdio-common/Makefile: Likewise.
25690 * stdlib/Makefile: Likewise.
25691 * sysdeps/x86_64/Makefile: Likewise.
25692
9a9028b1
DL
25693 * io/ftwtest-sh: Add copyright header.
25694 * posix/globtest.sh: Likewise.
25695 * posix/tst-getconf.sh: Likewise.
25696 * posix/wordexp-tst.sh: Likewise.
25697 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25698
ced6f16e
L
256992012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25700
94b32c39
L
25701 [BZ #13679]
25702 * Makeconfig (+link): Defined as $(+link-static) if
25703 $(build-shared) isn't yes.
25704 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25705 isn't yes.
25706 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25707
189e935b
L
25708 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25709
ced6f16e
L
25710 [BZ #14562]
25711 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25712 new chunk size with MALLOC_ALIGN_MASK.
25713
a9f8e53a
JM
257142012-09-24 Joseph Myers <joseph@codesourcery.com>
25715
25716 [BZ #5044]
25717 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25718 <rounding-mode.h>.
25719 (__printf_fphex): Determine rounding using get_rounding_mode and
25720 round_away.
25721 * stdio-common/tst-printf-round.c (struct hex_test): New
25722 structure.
25723 (hex_tests): New variable.
25724 (test_hex_in_one_mode): New function.
25725 (do_test): Also run tests for hex float output.
25726
43153109
JM
257272012-09-21 Joseph Myers <joseph@codesourcery.com>
25728
25729 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25730 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25731 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25732 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25733 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25734 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25735 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25736 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25737
8a26625d
JM
257382012-09-20 Joseph Myers <joseph@codesourcery.com>
25739
25740 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25741 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25742 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25743 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25744
f3fd569c
DL
257452012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25746
25747 [BZ #14579]
25748 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25749 mode only.
25750 * elf/tst-rtld-load-self.sh: New test.
25751 * elf/Makefile: Run it.
25752
63bbedd4
JM
257532012-09-18 Joseph Myers <joseph@codesourcery.com>
25754
25755 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25756 (tst-writev-ENV): Remove.
25757 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25758
626f8b6a
CM
257592012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25760
25761 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25762
b7aaa4d6
JM
257632012-09-17 Joseph Myers <joseph@codesourcery.com>
25764
25765 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25766 unconditional.
25767 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25768 Likewise.
25769 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25770 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25771 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25772 Likewise.
25773
65513990
L
257742012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25775
25776 [BZ #14587]
25777 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25778 * config.make.in (have-cpp-asm-debuginfo): Removed.
25779 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25780 * configure: Regenerated.
25781
784761be
JM
257822012-09-14 Joseph Myers <joseph@codesourcery.com>
25783
25784 [BZ #5044]
25785 * stdio-common/printf_fp.c: Include <stdbool.h> and
25786 <rounding-mode.h>.
25787 (___printf_fp): Determine rounding using get_rounding_mode and
25788 round_away.
25789 * stdio-common/tst-printf-round.c: New file.
25790 * stdio-common/Makefile (tests): Add tst-printf-round.
25791 (link-libm): New variable.
25792 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25793
9503345f
L
257942012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25795
25796 [BZ #14576]
25797 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25798 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25799 Likewise.
25800 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25801 Likewise.
25802
ad35fc00
JM
258032012-09-13 Joseph Myers <joseph@codesourcery.com>
25804
25805 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25806 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25807 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25809
6c9b0f68
JM
258102012-09-12 Joseph Myers <joseph@codesourcery.com>
25811
25812 [BZ #14518]
25813 * include/rounding-mode.h: New file.
25814 * sysdeps/generic/get-rounding-mode.h: Likewise.
25815 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25816 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25817 (MAX_VALUE): New macro.
25818 (MIN_VALUE): Likewise.
25819 (overflow_value): New function.
25820 (underflow_value): Likewise.
25821 (round_and_return): Use overflow_value and underflow_value to
25822 determine return values in overflow and underflow cases. Use
25823 round_away to determine rounding depending on rounding mode.
25824 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25825 determine return values in overflow and underflow cases.
25826 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25827 (struct test_results): New structure.
25828 (struct test): Use struct test_results to store expected results
25829 for all rounding modes.
25830 (TEST): Include expected results for all rounding modes.
25831 (test_in_one_mode): New function.
25832 (do_test): Use test_in_one_mode to compute and check results.
25833 Check results for all rounding modes.
25834 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25835 $(link-libm).
25836
19fcedd5
AM
258372012-12-09 Allan McRae <allan@archlinux.org>
25838
1e9d84cd 25839 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25840
8bbfd2f1
JM
258412012-09-11 Joseph Myers <joseph@codesourcery.com>
25842
25843 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25844 (_G_int32_t): Likewise.
25845 (_G_uint16_t): Likewise.
25846 (_G_uint32_t): Likewise.
25847 (_G_HAVE_BOOL): Likewise.
25848 (_G_HAVE_ATEXIT): Likewise.
25849 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25850 (_G_HAVE_IO_FILE_OPEN): Likewise.
25851 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25852 (_G_int32_t): Likewise.
25853 (_G_uint16_t): Likewise.
25854 (_G_uint32_t): Likewise.
25855 (_G_HAVE_BOOL): Likewise.
25856 (_G_HAVE_ATEXIT): Likewise.
25857 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25858 (_G_HAVE_IO_FILE_OPEN): Likewise.
25859 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25860 (_G_int32_t): Likewise.
25861 (_G_uint16_t): Likewise.
25862 (_G_uint32_t): Likewise.
25863 (_G_HAVE_BOOL): Likewise.
25864 (_G_HAVE_ATEXIT): Likewise.
25865 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25866 (_G_HAVE_IO_FILE_OPEN): Likewise.
25867
b1dc5912
L
258682012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25869
25870 * csu/libc-tls.c: Update copyright years.
25871
0e886ef9
JM
258722012-09-10 Joseph Myers <joseph@codesourcery.com>
25873
28361c5e
JM
25874 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25875 [!_G_USING_THUNKS]: Remove conditional code.
25876 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25877 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25878
0e886ef9
JM
25879 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25880 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25881 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25882 (_G_VTABLE_LABEL_PREFIX): Likewise.
25883 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25884 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25885 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25886 (_G_VTABLE_LABEL_PREFIX): Likewise.
25887 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25888 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25889 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25890 (_G_VTABLE_LABEL_PREFIX): Likewise.
25891 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25892
bcba7aa2
L
258932012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25894
25895 * libio/Makefile: Include ../Makeconfig before tests.
25896 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25897 only if $(build-shared) is yes.
25898
06585ee8
L
25899 * iconv/gconv_db.c: Update copyright years.
25900
80ccd52c
LD
259012012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25902
25903 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25904 unwind info if defined PIC. Fix special cases description.
25905 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25906
25907 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25908 DP_HI_MASK entry.
25909 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25910
691bc9c1
L
259112012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25912
3d9b46b3
L
25913 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25914
de2139a9
L
25915 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25916 is NULL.
25917
5ca78dd0
L
25918 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25919 (LDLIBS-tst-chk4): This.
25920 (LDFLAGS-tst-chk5): Renamed to ...
25921 (LDLIBS-tst-chk5): This.
25922 (LDFLAGS-tst-chk6): Renamed to ...
25923 (LDLIBS-tst-chk6): This.
25924 (LDFLAGS-tst-lfschk4): Renamed to ...
25925 (LDLIBS-tst-lfschk4): This.
25926 (LDFLAGS-tst-lfschk5): Renamed to ...
25927 (LDLIBS-tst-lfschk5): This.
25928 (LDFLAGS-tst-lfschk6): Renamed to ...
25929 (LDLIBS-tst-lfschk6): This.
25930
691bc9c1
L
25931 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25932 on $(common-objpfx)soversions.mk.
25933
65cafb1c
JM
259342012-09-07 Joseph Myers <joseph@codesourcery.com>
25935
25936 [BZ #10014]
25937 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25938 example host name.
25939
c78ab094
SP
259402012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25941
25942 * malloc/arena.c (arena_get_retry): New function that gets
25943 another arena for the caller to try its request on.
25944 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25945 current arena cannot fulfill the request.
25946 (__libc_memalign): Likewise.
25947 (__libc_memalign): Likewise.
25948 (__libc_pvalloc): Likewise.
25949 (__libc_calloc): Likewise.
25950
01f49f59
JT
259512012-09-05 John Tobey <john.tobey@gmail.com>
25952
25953 [BZ #13542]
25954 * manual/arith.texi (Operations on Complex): Fix description
25955 of carg branch cut.
25956
4c23fed5
JM
259572012-09-06 Joseph Myers <joseph@codesourcery.com>
25958
1d3c8572
JM
25959 [BZ #10014]
25960 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25961 host name.
25962
4c23fed5
JM
25963 [BZ #10038]
25964 * manual/memory.texi (Memory): Make order of menu items match
25965 order of sections.
25966
04570aaa
L
259672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25968
25969 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25970 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25971 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25972
b80af2f4
L
259732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25974
25975 * csu/libc-tls.c (static_dtv): Renamed to ...
25976 (_dl_static_dtv): This. Make it global.
25977 (_dl_initial_dtv): Removed.
25978 (__libc_setup_tls): Updated.
25979 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25980 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25981 DL_INITIAL_DTV.
25982
2abe9f15
PM
259832012-09-06 Petr Machata <pmachata@redhat.com>
25984
25985 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25986 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25987 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25988 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25989
0948c3af
L
259902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25991
25992 [BZ #14545]
25993 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25994 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25995 freeing dtv[-1].
25996
a5055ad1
L
259972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25998
25999 [BZ #14544]
26000 * Makeconfig (link-static-before-libc): Replace $(+prector)
26001 with $(+prectorT).
26002 (link-static-after-libc): Replace $(+postctor) with
26003 $(+postctorT).
26004 (link-bounded): Replace $(+prector)/$(+postctor) with
26005 $(+prectorT)/$(+postctorT).
26006 (+prectorT): New macro.
26007 (+postctorT): Likewise.
26008
ed8c2ecd
JM
260092012-09-06 Joseph Myers <joseph@codesourcery.com>
26010
26011 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26012 (round_str): Handle values above the maximum for IBM long double
26013 as inexact.
26014 * stdlib/tst-strtod-round.c (tests): Regenerated.
26015
14c996c8
AK
260162012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26017
26018 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26019 assembler flag.
26020 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26021 zarch_nohighgprs around the zarch optimized routines.
26022 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26023 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26024 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26025 for zarch.
26026
430d6ce6
DM
260272012-09-05 David S. Miller <davem@davemloft.net>
26028
26029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26030
57f41c40
AS
26031 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26032 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26033 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26034 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26035 entries.
26036
24d4e01b
AO
260372012-09-05 Alexandre Oliva <aoliva@redhat.com>
26038
26039 * malloc/arena.c: Fold copyright years.
26040 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26041
61d58174
AO
260422012-09-05 Alexandre Oliva <aoliva@redhat.com>
26043
26044 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26045
20196a5e
AO
260462012-09-05 Alexandre Oliva <aoliva@redhat.com>
26047
26048 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26049
5c447383
AO
260502012-09-05 Alexandre Oliva <aoliva@redhat.com>
26051
26052 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26053 change internal state upon failure.
26054
fad64255
AO
260552012-09-05 Alexandre Oliva <aoliva@redhat.com>
26056
26057 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26058 * malloc/memusage.c (mmap): Likewise.
26059 (mmap64, mremap): Likewise. Adjust name in comment.
26060
1ffb8c90
SP
260612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26062
26063 * libio/fileops.c: Fix typos in comments.
26064 * libio/oldfileops.c: Likewise.
26065 * libio/wfileops.c: Likewise.
26066
6ef9cc37
SP
260672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26068
26069 [BZ #1349]
26070 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26071 (tst-malloc-usable-ENV): Set environment for test case.
26072 * malloc/hooks.c (malloc_check_get_size): New function to get
26073 requested size.
26074 * malloc/malloc.c (musable): Use malloc_check_get_size.
26075 * malloc/tst-malloc-usable.c: New test case.
26076
4d038ae3
AS
260772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26078
26079 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26080
c4e85184
AM
260812012-09-05 Allan McRae <allan@archlinux.org>
26082
b9dafc56 26083 [BZ #13966]
c4e85184
AM
26084 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26085 determine header location.
26086 * configure: Regenerated.
26087
e1343020
AS
260882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26089
26090 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26091 float format.
26092 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26093 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26094 format.
e1343020
AS
26095 (test): Regenerate.
26096
0a9f1987
DM
260972012-09-04 David S. Miller <davem@davemloft.net>
26098
26099 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26100 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26102
29237804
FW
261032012-09-04 Florian Weimer <fweimer@redhat.com>
26104
26105 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26106 failures.
26107
edb3cb88
FW
26108 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26109
60160d83
JM
261102012-09-04 Joseph Myers <joseph@codesourcery.com>
26111
26112 [BZ #9914]
26113 * libio/iogetdelim.c: Include <limits.h>.
26114 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26115 + len + 1 would overflow.
26116
bcd6c8dc
AJ
261172012-09-03 Andreas Jaeger <aj@suse.de>
26118
26119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26120 * sysdeps/i386/fpu/libm-test-ulps: Update.
26121
4ffffbd2
LD
261222012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26123
26124 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26125 Add s_sinf-sse2, s_conf-sse2.
26126
26127 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26128 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26129 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26130 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26131
26132 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26133 for using routine as __sinf_ia32.
26134 Use macro for function declaration and weak_alias.
26135 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26136 for using routine as __cosf_ia32.
26137 Use macro for function declaration and weak_alias.
26138
26139 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26140 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26141
26142 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26143 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26145
26146 * math/libm-test.inc (cos_test): Add more test cases.
26147 (sin_test): Likewise.
26148 (sincos_test): Likewise.
26149
511fa286
AK
261502012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26151
26152 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26153 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26154 hidden.
26155 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26156
5f30cfec
L
261572012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26158
26159 [BZ #14538]
26160 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26161 first element of the GOT.
26162 (elf_machine_load_address): Return the difference between
26163 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26164
0786794f
AM
261652012-09-01 Allan McRae <allan@archlinux.org>
26166
5f30cfec
L
26167 [BZ #13412]
26168 * configure.in (AWK): Require gawk version 3.0 or later.
26169 * configure: Regenerated.
0786794f 26170
26889eac
JM
261712012-09-01 Joseph Myers <joseph@codesourcery.com>
26172
26173 * sysdeps/unix/sysv/linux/kernel-features.h
26174 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26175 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26176 [__NR_clock_getres]: Make code unconditional.
26177 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26178 (clock_getcpuclockid): Remove code left unreachable by removal of
26179 conditionals.
26180 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26181 code unconditional.
26182 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26183 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26184 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26185 Make code unconditional.
26186 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26187 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26188 * sysdeps/unix/sysv/linux/clock_settime.c
26189 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26190 conditional code.
26191 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26192 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26193
d22e28b0
L
261942012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26195
26196 [BZ #14476]
26197 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26198 scripts/test-installation.pl.
26199
26200 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26201 and $ld_so_version if it is set.
26202
050af9c4
SP
262032012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26204
26205 [BZ #14516]
26206 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26207 failure if reading from procfs failed.
26208 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26209
ad845c0b
JM
262102012-08-27 Joseph Myers <joseph@codesourcery.com>
26211
26212 * sysdeps/unix/sysv/linux/kernel-features.h
26213 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26214 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26215 Remove conditional code.
26216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26217 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26218 Remove conditional code.
26219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26220 * sysdeps/unix/sysv/linux/i386/fxstat.c
26221 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26223 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26224 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26226 * sysdeps/unix/sysv/linux/i386/lxstat.c
26227 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26228 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26229 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26230 Remove conditional code.
26231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26232 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26233 Remove conditional code.
26234 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26235 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26236 <kernel-features.h>.
26237 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26238 Remove.
26239 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26240 Remove conditional code.
26241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26243 Remove conditional.
26244
5dbf56af
MF
262452012-08-27 Mike Frysinger <vapier@gentoo.org>
26246
26247 [BZ #5400]
26248 * NEWS: Add fixed bug number.
26249
d6e70f43
JM
262502012-08-27 Joseph Myers <joseph@codesourcery.com>
26251
7efb4737
JM
26252 [BZ #14519]
26253 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26254 underflowing exponent in case of negative sign.
26255 * stdlib/tst-strtod-round-data: Add more tests.
26256 * stdlib/tst-strtod-round.c (tests): Regenerated.
26257
af92131a
JM
26258 [BZ #3479]
26259 * stdlib/strtod_l.c (NDIG): Remove.
26260 (HEXNDIG): Likewise.
26261 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26262 smallest representable value.
26263 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26264 lie within an exact representation of 1/2 ulp of the result.
26265 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26266 unconditionally.
26267 (TENS_P9_IDX): Define unconditionally.
26268 (TENS_P9_SIZE): Likewise.
26269 (TENS_P10_IDX): Likewise.
26270 (TENS_P10_SIZE): Likewise.
26271 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26272 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26273 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26274 entries for 10^2^13 and 10^2^14.
26275 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26276 (TENS_P13_IDX): Define.
26277 (TENS_P13_SIZE): Likewise.
26278 (TENS_P14_IDX): Likewise.
26279 (TENS_P14_SIZE): Likewise.
26280 (_fpioconst_pow10): Change array size to
26281 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26282 unconditional.
26283 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26284 1024]: Add entries for 10^2^13 and 10^2^14.
26285 [LAST_POW10 > _LAST_POW10]: Remove #error.
26286 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26287 (_fpioconst_pow10): Change array size to
26288 FPIOCONST_POW10_ARRAY_SIZE.
26289 * stdlib/gen-fpioconst.c: New file.
26290 * stdlib/gen-tst-strtod-round.c: Likewise.
26291 * stdlib/tst-strtod-round-data: Likewise.
26292 * stdlib/tst-strtod-round.c: Likewise.
26293 * stdlib/Makefile (tests): Add tst-strtod-round.
26294
d6e70f43
JM
26295 [BZ #14459]
26296 * stdlib/strtod_l.c: Include <stdint.h>.
26297 (NDEBUG): Do not define.
26298 (round_and_return): Change EXPONENT parameter to type intmax_t.
26299 Rearrange calculations to avoid internal overflow possibilities.
26300 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26301 Rearrange calculations to avoid internal overflow possibilities.
26302 Assert that number fits inside MPNSIZE limbs.
26303 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26304 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26305 calculations and add assertions to avoid internal overflow
26306 possibilities. Add casts to avoid signed/unsigned operations.
26307 * stdlib/tst-strtod-overflow.c: New file.
26308 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26309
1f529f7d
MP
263102012-08-25 Marek Polacek <polacek@redhat.com>
26311
26312 * time/time.h: Fix some typos in comments.
26313
59a629f1
RM
263142012-08-23 Roland McGrath <roland@hack.frob.com>
26315
26316 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26317 * posix/tst-rfc3484-2.c: Likewise.
26318 * posix/tst-rfc3484-3.c: Likewise.
26319
d3bafbc9
SM
263202012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26321
26322 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26323 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26324
4efcc022
JM
263252012-08-23 Joseph Myers <joseph@codesourcery.com>
26326
26327 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26328 #include of fxstatat64.c.
26329
3cc3ef96
RM
263302012-08-22 Roland McGrath <roland@hack.frob.com>
26331
f04e2132
RM
26332 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26333 * shadow/getspent_r.c: Likewise.
26334 * shadow/getspnam.c: Likewise.
26335 * shadow/getspnam_r.c: Likewise.
26336 * gshadow/getsgent.c: Likewise.
26337 * gshadow/getsgent_r.c: Likewise.
26338 * gshadow/getsgnam.c: Likewise.
26339 * gshadow/getsgnam_r.c: Likewise.
26340 * inet/getnetbyad.c: Likewise.
26341 * inet/getnetbyad_r.c: Likewise.
26342 * inet/getnetbynm.c: Likewise.
26343 * inet/getnetbynm_r.c: Likewise.
26344 * inet/getnetent.c: Likewise.
26345 * inet/getnetent_r.c: Likewise.
26346 * inet/getproto.c: Likewise.
26347 * inet/getproto_r.c: Likewise.
26348 * inet/getprtent.c: Likewise.
26349 * inet/getprtent_r.c: Likewise.
26350 * inet/getprtname.c: Likewise.
26351 * inet/getprtname_r.c: Likewise.
26352 * inet/getrpcbyname.c: Likewise.
26353 * inet/getrpcbyname_r.c: Likewise.
26354 * inet/getrpcbynumber.c: Likewise.
26355 * inet/getrpcbynumber_r.c: Likewise.
26356 * inet/getrpcent.c: Likewise.
26357 * inet/getrpcent_r.c: Likewise.
26358 * inet/getaliasent.c: Likewise.
26359 * inet/getaliasent_r.c: Likewise.
26360 * inet/getaliasname.c: Likewise.
26361 * inet/getaliasname_r.c: Likewise.
26362 * nscd/getgrgid_r.c: Likewise.
26363 * nscd/getgrnam_r.c: Likewise.
26364 * nscd/gethstbyad_r.c: Likewise.
26365 * nscd/gethstbynm3_r.c: Likewise.
26366 * nscd/getpwnam_r.c: Likewise.
26367 * nscd/getpwuid_r.c: Likewise.
26368 * nscd/getsrvbynm_r.c: Likewise.
26369 * nscd/getsrvbypt_r.c: Likewise.
26370 * nscd/gai.c: Likewise.
26371
c53d909c
RM
26372 * configure.in (build_nscd): New substituted variable, set
26373 by --disable-build-nscd and defaults to $use_nscd.
26374 * configure: Regenerated.
26375 * config.make.in (build-nscd): New substituted variable.
26376 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26377 Change conditional to require [$(build-nscd) = yes] as well.
26378 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26379
3cc3ef96
RM
26380 [BZ# 13696]
26381 * configure.in (use_nscd): New substituted variable, set by
26382 --disable-nscd. If enabled, define USE_NSCD.
26383 * configure: Regenerated.
26384 * config.h.in: Add USE_NSCD.
26385 * config.make.in (use-nscd): New substituted variable.
26386 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26387 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26388 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26389 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26390 (CFLAGS-getgrnam_r.c): Likewise.
26391 (CFLAGS-initgroups.c): Likewise.
26392 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26393 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26394 Variables removed.
26395 * inet/getnetgrent_r.c
26396 (nscd_setnetgrent): New function, broken out of ...
26397 (setnetgrent): ... here. Call it.
26398 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26399 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26400 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26401 * nscd/Makefile (routines, aux): Move definitions after include of
26402 Makeconfig. Conditionalize on [$(use-nscd) != no].
26403 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26404 Conditionalize on [USE_NSCD].
26405 (is_nscd, nscd_init_cb): Likewise.
26406 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26407 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26408 * nss/nss_db/db-init.c: Likewise.
26409 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26410 [USE_NSCD].
26411 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26412 (make_request): Use it.
26413 (cache_valid_p): New function.
26414 (__check_pf): Use it.
26415 * NEWS: Add item for --disable-nscd.
26416
07e51550
DL
264172012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26418
26419 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26420 to support sed >= 4.2.1-20-ga9bf076.
26421 * configure: Regenerated.
26422
35a5b08b
RM
264232012-08-22 Roland McGrath <roland@hack.frob.com>
26424
26425 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26426 Conditionalize whole body on [IREL].
26427
8479f23a
JL
264282012-08-22 Jeff Law <law@redhat.com>
26429
26430 [BZ #14505]
26431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26432 if the family is PF_UNSPEC.
26433
48da0b21
MF
264342012-08-22 Mike Frysinger <vapier@gentoo.org>
26435
26436 * Makerules (lib-version): Rename from V.
26437 (install-lib-nosubdir): Change V to lib-version.
26438
15d0da8c
WS
264392012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26440
26441 [BZ #14252]
26442 * powerpc32/power6/wcschr.c: New file.
26443 * powerpc32/power6/wcscpy.c: New file.
26444 * powerpc32/power6/wcsrchr.c: New file.
26445 * powerpc64/power6/wcschr.c: New file.
26446 * powerpc64/power6/wcscpy.c: New file.
26447 * powerpc64/power6/wcsrchr.c: New file.
26448
bcca0895
MK
264492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26450
26451 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26452 (two_way_short_needle): Use it.
5a4aaa33
RM
26453 * string/strstr.c (AVAILABLE1_USES_J): Define.
26454 * string/strcasestr.c: Likewise.
99677e57
MK
26455
26456 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26457 array references.
26458 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26459
400726de
MK
26460 [BZ #11607]
26461 * NEWS: Add an entry.
26462 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26463 define their defaults.
26464 (two_way_short_needle): Detect end-of-string on-the-fly.
26465 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26466 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26467 * string/bug-strcasestr1.c: New test.
26468 * string/Makefile: Run it.
26469
20a71f2c
MK
264702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26471
26472 [BZ #11607]
26473 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26474 the first character.
26475
21ad0558
RM
264762012-08-21 Roland McGrath <roland@hack.frob.com>
26477
26478 * csu/elf-init.c (__libc_csu_irel): Function removed.
26479 * csu/libc-start.c (apply_irel): New function.
26480 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26481
0e1d9911
JM
264822012-08-21 Joseph Myers <joseph@codesourcery.com>
26483
26484 * sysdeps/unix/sysv/linux/kernel-features.h
26485 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26486 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26487 <kernel-features.h>.
26488 [__NR_fadvise64_64]: Make code unconditional.
26489 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26490 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26491 !__NR_fadvise64_64)]: Likewise.
26492 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26493 !__NR_fadvise64_64))]: Likewise.
26494 [__NR_fadvise64]: Make code unconditional.
26495 [!__NR_fadvise64]: Remove conditional code.
26496 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26497 <kernel-features.h>.
26498 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26499 unconditional.
26500 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26501 conditional code.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26503 not include <kernel-features.h>.
26504 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26505 unconditional.
26506 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26507 conditional code.
26508 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26509 include <kernel-features.h>.
26510 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26511 unconditional.
26512 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26513 conditional code.
26514
14a50c9d
WS
265152012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26516
26517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26518 slight instruction rearrangements per scrollpipe analysis.
26519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26520
c0f4faf0
RM
265212012-08-20 Roland McGrath <roland@hack.frob.com>
26522
696da859
RM
26523 * manual/syslog.texi (syslog; vsyslog, closelog):
26524 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26525 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26526
c0f4faf0
RM
26527 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26528 DSOCAPS to match condition on defining it.
26529
348363b2
JM
265302012-08-20 Joseph Myers <joseph@codesourcery.com>
26531
a35cbf28
JM
26532 * sysdeps/unix/sysv/linux/kernel-features.h
26533 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26535 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26536 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26538 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26539 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26541 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26542 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26543
445f7ecd
JM
26544 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26545 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26546
348363b2
JM
26547 * sysdeps/unix/sysv/linux/kernel-features.h
26548 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26549 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26550 unconditional.
26551 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26552 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26553 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26554 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26555 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26556 Make code unconditional.
26557 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26558 (__mmap64) [!__NR_mmap2]: Likewise.
26559 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26560 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26561 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26562 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26563 [__NR_mmap2]: Make code unconditional.
26564 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26565 (__mmap64) [!__NR_mmap2]: Likewise.
26566
bc5bc0e5
AK
265672012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26568
26569 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26570
88d506de
AJ
265712012-08-18 Andreas Jaeger <aj@suse.de>
26572
26573 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26574
493387d2
MF
265752012-08-18 Mike Frysinger <vapier@gentoo.org>
26576
26577 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26578 * include/unistd.h (__have_sock_cloexec): Likewise.
26579 (__have_pipe2): Likewise.
26580 (__have_dup3): Likewise.
26581
a277af22
MF
265822012-08-18 Mike Frysinger <vapier@gentoo.org>
26583
26584 [BZ #9685]
26585 * include/unistd.h (__have_pipe2): Change define into an extern int.
26586 (__have_dup3): Likewise.
26587 * socket/have_sock_cloexec.c: Include fcntl.h.
26588 (__have_pipe2): New variable.
26589 (__have_dup3): Likewise.
26590
fdab8fd3
MF
265912012-08-17 Mike Frysinger <vapier@gentoo.org>
26592
26593 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26594
31035e80
MP
265952012-08-17 Marek Polacek <polacek@redhat.com>
26596
26597 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26598 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26599
3bd9e993
RM
266002012-08-17 Roland McGrath <roland@hack.frob.com>
26601
c91c505f
RM
26602 * configure.in: Add AC_SUBST for sysheaders.
26603 * configure: Regenerated.
26604 * config.make.in (sysheaders): New substituted variable.
26605
7c6f9d53
RM
26606 * sysdeps/unix/mkfifo.c: Moved ...
26607 * sysdeps/posix/mkfifo.c: ... here.
26608 * sysdeps/unix/mkfifoat.c: Moved ...
26609 * sysdeps/posix/mkfifoat.c: ... here.
26610
26611 * sysdeps/unix/utime.c: Moved ...
26612 * sysdeps/posix/utime.c: ... here.
26613
26614 * sysdeps/unix/time.c: Moved ...
26615 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26616 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26617 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26618
26619 * sysdeps/unix/nice.c: Moved ...
26620 * sysdeps/posix/nice.c: ... here.
26621
26622 * sysdeps/unix/alarm.c: Moved ...
26623 * sysdeps/posix/alarm.c: ... here.
26624
3bd9e993
RM
26625 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26626
d1f09384
JL
266272012-08-17 Jeff Law <law@redhat.com>
26628
26629 * intl/Makefile (codeset_mo): New variable.
26630 ($(codeset_mo)): New target.
26631 (tst-codeset.out): Depend on that. Remove explicit rule.
26632 (tst-gettext3.out, tst-gettext5.out): Likewise.
26633 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26634 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26635 * intl/tst-codeset.sh: Remove.
26636 * intl/tst-gettext3.sh: Likewise.
26637 * intl/tst-gettext5.sh: Likewise.
26638
2ae1ae5c
RM
266392012-08-17 Roland McGrath <roland@hack.frob.com>
26640
c31fdb83
RM
26641 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26642 * sysdeps/unix/syscalls.list: ... here.
26643
a0844057
RM
26644 * sysdeps/posix/getaddrinfo.c
26645 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26646 (gaiconf_init, gaiconf_reload): Use them.
26647 [!_STATBUF_ST_NSEC]
26648 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26649 Define using time_t rather than struct timespec.
26650
750c1f2a
RM
26651 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26652 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26653 Macros removed.
26654 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26655 [!NO_THREADS].
26656 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26657 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26658 Likewise.
26659
2ae1ae5c
RM
26660 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26661 __libc_cleanup_push argument.
26662
e66a42f5
RM
26663 * bits/param.h: New file.
26664 * misc/sys/param.h: New file.
26665 * include/sys/param.h: New file.
26666 * misc/Makefile (headers): Add bits/param.h.
26667 * sysdeps/generic/sys/param.h: File removed.
26668 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26669 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26670 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26671 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26672
b7c08a66
RM
26673 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26674 last change.
26675
b2e1c562
RM
26676 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26677 [_IO_MTSAFE_IO].
26678 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26679 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26680 New macros.
26681
c75ccd4c
RM
26682 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26683 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26684 rather than -D_IO_MTSAFE_IO conditionally.
26685 * stdio-common/Makefile (CPPFLAGS): Likewise.
26686 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26687 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26688 Use $(libio-mtsafe).
26689 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26690 of -D_IO_MTSAFE_IO.
26691 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26692 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26693 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26694 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26695 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26696 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26697 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26698 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26699 (CFLAGS-fread_u_chk.c): Likewise.
26700 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26701 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26702 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26703 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26704 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26705 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26706 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26707 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26708 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26709
26710 * libio/Makefile: Test [$(libc-reentrant) = yes]
26711 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26712
26713 * Makeconfig
26714 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26715 * sysdeps/pthread/configure: File removed.
26716 * sysdeps/pthread/Makeconfig: New file.
26717 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26718 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26719
d9195db8
GB
267202012-08-16 Gary Benson <gbenson@redhat.com>
26721
26722 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26723 unmapping the first object in a namespace.
26724
86466cd9
RM
267252012-08-16 Roland McGrath <roland@hack.frob.com>
26726
26727 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26728 (__internal_setnetgrent): ... this. Add internal_function to
26729 definition. Add libc_hidden_def.
26730 (setnetgrent): Update caller.
26731 (internal_endnetgrent): Renamed to ...
26732 (__internal_endnetgrent): ... this. Add internal_function to
26733 definition. Add libc_hidden_def.
26734 (endnetgrent): Update caller.
26735 (internal_getnetgrent_r): Renamed to ...
26736 (__internal_getnetgrent_r): ... this. Add internal_function to
26737 definition. Add libc_hidden_def.
26738 (__getnetgrent_r): Update caller.
26739 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26740
c3c8283c
JM
267412012-08-16 Joseph Myers <joseph@codesourcery.com>
26742
26743 * stdlib/longlong.h: Update from GCC.
26744
db1ee0a8
RM
267452012-08-16 Roland McGrath <roland@hack.frob.com>
26746
26747 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26748 on _QL, which is set by umul_ppmm but never used.
26749 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26750 variables, which are set by GMP macros but never used.
26751 * stdio-common/_itowa.c (_itowa): Likewise.
26752 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26753 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26754
30f69637
CD
267552012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26756
26757 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26758 struct La_sh_regs is not constant.
26759 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26760 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26761 and struct La_sparc64_regs are not constant.
26762
93a78ac4
JM
267632012-08-16 Joseph Myers <joseph@codesourcery.com>
26764
26765 * sysdeps/unix/sysv/linux/kernel-features.h
26766 (__ASSUME_POSIX_TIMERS): Remove.
26767 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26768 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26769 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26770 Make code unconditional.
26771 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26772 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26773 Make code unconditional.
26774 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26775 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26776 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26777 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26778 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26779 Make code unconditional.
26780 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26781 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26782 (__libc_missing_posix_timers): Remove.
26783
dd924cd7
RM
267842012-08-15 Roland McGrath <roland@hack.frob.com>
26785
4b4f2771
RM
26786 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26787 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26788
601c888b
RM
26789 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26790
176790a7
RM
26791 * elf/dl-sym.c: Include <stdlib.h>.
26792
329bc018
RM
26793 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26794 constants, which avoids warnings in 32-bit builds.
26795
e04e272d
RM
26796 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26797 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26798
952bf94a
RM
26799 * misc/lseek.c: File moved to ...
26800 * io/lseek.c: ... here.
26801
7c99b50a
RM
26802 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26803
dd924cd7
RM
26804 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26805 shifting LEN more than 31 bits at once.
26806
b3f479a8
LD
268072012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26808
26809 [BZ #14195]
8c4ae0d4
RM
26810 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26811 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26812 * string/test-strncasecmp.c (check1): Renamed to...
26813 (bz12205): ...this.
26814 (bz14195): Add new testcase for two empty input strings and N > 0.
26815 (test_main): Call new testcase, adapt for renamed function.
26816
9c55864e
AJ
268172012-08-15 Andreas Jaeger <aj@suse.de>
26818
26819 [BZ #14090]
26820 * crypt/md5test2.c: New test, based on test supplied by Serge
26821 Belyshev <belyshev@depni.sinp.msu.ru>.
26822 * crypt/Makefile (xtests): Add md5test-giant..
26823 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26824
02dcb6c5
PE
268252012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26826
26827 [BZ #14090]
26828 * crypt/md5.c (md5_process_block): Don't assume the buffer
26829 length is less than 2**32.
26830 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26831 length is less than 2**64.
26832
a3f95dcc
RM
268332012-08-15 Roland McGrath <roland@hack.frob.com>
26834
be75d758
RM
26835 * string/str-two-way.h: Include <sys/param.h>.
26836 (MAX): Macro removed.
26837
7312ca90
RM
26838 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26839 Move #define and #undef of memmove to just before and after
26840 including <string.h>.
26841
9a0a5486
RM
26842 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26843 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26844 and after including <string.h>. Move declarations of
26845 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26846 to before #include "string/memmove.c".
26847
67cc348d
RM
26848 * include/dirent.h: Declare __getdirentries.
26849
a3f95dcc
RM
26850 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26851 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26852
ca98e171
MF
268532012-08-14 Mike Frysinger <vapier@gentoo.org>
26854
26855 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26856 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26857 * sysdeps/i386/configure: Regenerated.
26858 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26859 STABS_CURRENT_FILE, and STABS_FUN.
26860 (END): Remove call to STABS_FUN_END.
26861 (STABS_CURRENT_FILE1): Delete.
26862 (STABS_CURRENT_FILE): Likewise.
26863 (STABS_FUN): Likewise.
26864 (STABS_FUN_END): Likewise.
26865 (STABS_FUN2): Likewise.
26866 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26867 * sysdeps/x86_64/configure: Regenerated.
26868
5908bf46
RM
268692012-08-14 Roland McGrath <roland@hack.frob.com>
26870
26871 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26872 * elf/dl-lookup.c: Likewise.
5908bf46 26873
f2c05b9e
JM
268742012-08-14 Joseph Myers <joseph@codesourcery.com>
26875
26876 * sysdeps/unix/sysv/linux/kernel-features.h
26877 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26878 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26879 unconditionally.
26880 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26881 unconditionally.
26882 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26883 condition on __ASSUME_CLONE_THREAD_FLAGS.
26884
e11f5155
AJ
268852012-08-14 Andreas Jaeger <aj@suse.de>
26886
26887 * sysdeps/i386/fpu/libm-test-ulps: Update.
26888
51a9ba86
MK
268892012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26890
2fdd4f78
AJ
26891 * include/atomic.h (atomic_exchange_and_add): Split into ...
26892 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26893 New atomic macros.
51a9ba86 26894
ba6cba9e
MT
268952012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26896
26897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26898
42443a47
JL
268992012-08-13 Jeff Law <law@redhat.com>
26900
26901 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26902 null byte in the output string.
26903
121dce05
JM
269042012-08-10 Joseph Myers <joseph@codesourcery.com>
26905
26906 * sysdeps/unix/sysv/linux/kernel-features.h
26907 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26908 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26909 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26911 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26912 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26913 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26914
bf51f568
JL
269152012-08-09 Jeff Law <law@redhat.com>
26916
26917 [BZ #13939]
26918 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26919 When avoid_arena is set, don't retry in the that arena. Pick the
26920 next one, whatever it might be.
26921 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26922 (arena_lock): Pass in new parameter to arena_get2.
26923 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26924 arena_get2.
26925 (__libc_malloc): Unify retrying after main arena failure with
26926 __libc_memalign version.
26927 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26928
f85fa270
L
269292012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 [BZ #14166]
26932 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26933 to __redirect_strstr.
26934 (__strstr_sse42): Use typeof __redirect_strstr.
26935 (__strstr_ia32): Likewise.
26936 (__libc_strstr): New prototype.
26937 (strstr): Renamed to ...
26938 (__libc_strstr): This.
26939 (strstr): New strong alias of __libc_strstr.
26940 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26941 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26942 __redirect_time.
26943 Include <time.h>.
26944 (__libc_time): New prototype.
26945 (time_ifunc): Replace time with __libc_time.
26946 (time): New strong alias and hidden definition of __libc_time.
26947 (__GI_time): Remove strong alias.
26948 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26949 Include <stddef.h>.
26950 (memmove): Redefined to __redirect_memmove.
26951 (__memmove_sse2): Use typeof __redirect_memmove.
26952 (__memmove_ssse3): Likewise.
26953 (__memmove_ssse3_back): Likewise.
26954 (__libc_memmove): New prototype.
26955 (memmove): Renamed to ...
26956 (__libc_memmove): This.
26957 (memmove): New strong alias of __libc_memmove.
26958
33b4a91e
MS
269592012-08-08 Mark Salter <msalter@redhat.com>
26960
26961 * elf/elf.h
26962 (R_MN10300_TLS_GD): Define.
26963 (R_MN10300_TLS_LD): Likewise.
26964 (R_MN10300_TLS_LDO): Likewise.
26965 (R_MN10300_TLS_GOTIE): Likewise.
26966 (R_MN10300_TLS_IE): Likewise.
26967 (R_MN10300_TLS_LE): Likewise.
26968 (R_MN10300_TLS_DTPMOD): Likewise.
26969 (R_MN10300_TLS_DTPOFF): Likewise.
26970 (R_MN10300_TLS_TPOFF): Likewise.
26971 (R_MN10300_SYM_DIFF): Likewise.
26972 (R_MN10300_ALIGN): Likewise.
26973 (R_MN10300_NUM): Update.
26974
b36137f1
JM
269752012-08-08 Joseph Myers <joseph@codesourcery.com>
26976
26977 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26978 Remove.
26979
cdd915fd
RM
269802012-08-08 Roland McGrath <roland@hack.frob.com>
26981
a2433aac
RM
26982 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26983
cdd915fd
RM
26984 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26985 sysdeps/unix -> sysdeps/posix move.
26986 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26987
bf9b740a
AM
269882012-08-07 Allan McRae <allan@archlinux.org>
26989
26990 [BZ #14303]
26991 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26992 (SUNOS_CPP): Likewise.
26993 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26994 not found.
26995 (open_input): Call CPP using execvp.
26996
93df14ee
JM
269972012-08-07 Joseph Myers <joseph@codesourcery.com>
26998
26999 * sysdeps/unix/sysv/linux/kernel-features.h
27000 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27001 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27002 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27003 (__ASSUME_WAITID_SYSCALL): Likewise.
27004 * sysdeps/unix/sysv/linux/dl-execstack.c
27005 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27006 code unconditional.
27007 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27008 conditional code.
27009 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27010 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27011 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27012 code.
27013 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27014 unconditional.
27015 [__ASSUME_WAITID_SYSCALL]: Likewise.
27016 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27017
d34689de
RM
270182012-08-07 Roland McGrath <roland@hack.frob.com>
27019
a281decc
RM
27020 * sysdeps/unix/closedir.c: Renamed to ...
27021 * sysdeps/posix/closedir.c: ... here.
27022 * sysdeps/unix/dirfd.c: Renamed to ...
27023 * sysdeps/posix/dirfd.c: ... here.
27024 * sysdeps/unix/dirstream.h: Renamed to ...
27025 * sysdeps/posix/dirstream.h: ... here.
27026 * sysdeps/unix/fdopendir.c: Renamed to ...
27027 * sysdeps/posix/fdopendir.c: ... here.
27028 * sysdeps/unix/opendir.c: Renamed to ...
27029 * sysdeps/posix/opendir.c: ... here.
27030 * sysdeps/unix/readdir.c: Renamed to ...
27031 * sysdeps/posix/readdir.c: ... here.
27032 * sysdeps/unix/readdir_r.c: Renamed to ...
27033 * sysdeps/posix/readdir_r.c: ... here.
27034 * sysdeps/unix/rewinddir.c: Renamed to ...
27035 * sysdeps/posix/rewinddir.c: ... here.
27036 * sysdeps/unix/seekdir.c: Renamed to ...
27037 * sysdeps/posix/seekdir.c: ... here.
27038 * sysdeps/unix/telldir.c: Renamed to ...
27039 * sysdeps/posix/telldir.c: ... here.
27040 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27041 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27042 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27043 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27044
22895b47
RM
27045 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27046 * bits/fcntl.h: ... here.
27047
707a53b6
RM
27048 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27049 not 0.
27050 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27051 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27052 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27053 (struct flock): Move l_start, l_len to the beginning.
27054 Use __pid_t for l_pid.
27055 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27056 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27057 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27058 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27059 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27060 [__USE_LARGEFILE64] (struct flock64): New type.
27061 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27062
f0bd3e25
RM
27063 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27064 * bits/dirent.h: ... here.
27065
d34689de
RM
27066 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27067 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27068
6dad2c06
JM
270692012-08-07 Joseph Myers <joseph@codesourcery.com>
27070
27071 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27072 Change from 2.6.0 to 2.6.16.
27073 * sysdeps/unix/sysv/linux/configure: Regenerated.
27074 * sysdeps/unix/sysv/linux/kernel-features.h
27075 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27076 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27077 version.
27078 (__ASSUME_UTIMES): Likewise.
27079 (__ASSUME_CLONE_STOPPED): Remove.
27080 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27081 architectures, not kernel version.
27082 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27083 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27084 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27085 (__ASSUME_WAITID_SYSCALL): Likewise.
27086 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27087 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27088 * README: State 2.6.16 as minimum Linux kernel version. Do not
27089 refer to older versions.
27090
03af9520
RM
270912012-08-06 Roland McGrath <roland@hack.frob.com>
27092
8e49df1d
RM
27093 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27094 Define alphasort64 as an alias.
27095 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27096 Define versionsort64 as an alias.
27097 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27098 Define scandir64 as an alias.
27099 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27100 Define scandirat64 as an alias.
27101 * dirent/alphasort64.c (alphasort64):
27102 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27103 * dirent/versionsort64.c: Likewise.
27104 * dirent/scandir64.c: Likewise.
27105 * dirent/scandirat64.c: Likewise.
27106 * sysdeps/wordsize-64/alphasort.c: File removed.
27107 * sysdeps/wordsize-64/alphasort64.c: File removed.
27108 * sysdeps/wordsize-64/scandir.c: File removed.
27109 * sysdeps/wordsize-64/scandir64.c: File removed.
27110 * sysdeps/wordsize-64/scandirat.c: File removed.
27111 * sysdeps/wordsize-64/scandirat64.c: File removed.
27112 * sysdeps/wordsize-64/versionsort.c: File removed.
27113 * sysdeps/wordsize-64/versionsort64.c: File removed.
27114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27115 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27117 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27119 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27121 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27122
27123 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27125 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27127 [defined __arch64__ || defined __sparcv9]
27128 (__INO_T_MATCHES_INO64_T): New macro.
27129 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27130 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27131 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27132 * sysdeps/unix/sysv/linux/bits/dirent.h
27133 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27134 (_DIRENT_MATCHES_DIRENT64): New macro.
27135
03af9520
RM
27136 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27137 Define lockf64 as an alias.
27138 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27139 Define fseeko64 as an alias.
27140 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27141 Define ftello64 as an alias.
27142 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27143 Define _IO_fgetpos64 and fgetpos64 as aliases.
27144 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27145 Define _IO_fsetpos64 and fsetpos64 as aliases.
27146 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27147 Conditionalize body on this.
27148 * libio/fseeko64.c: Likewise.
27149 * libio/ftello64.c: Likewise.
27150 * libio/iofgetpos64.c: Likewise.
27151 * libio/iofsetpos64.c: Likewise.
27152 * sysdeps/wordsize-64/lockf.c: File removed.
27153 * sysdeps/wordsize-64/lockf64.c: File removed.
27154 * sysdeps/wordsize-64/fseeko.c: File removed.
27155 * sysdeps/wordsize-64/fseeko64.c: File removed.
27156 * sysdeps/wordsize-64/ftello.c: File removed.
27157 * sysdeps/wordsize-64/ftello64.c: File removed.
27158 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27159 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27160 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27161 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27163 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27165 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27167 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27169 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27171 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27172
27173 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27175 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27177 [defined __arch64__ || defined __sparcv9]
27178 (__OFF_T_MATCHES_OFF64_T): New macro.
27179 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27180 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27182 (__OFF_T_MATCHES_OFF64_T): New macro.
27183
c5757acd
L
271842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27185
27186 * stdlib/secure-getenv.c (__secure_getenv): Replace
27187 GLIBC_2_16 with GLIBC_2_17.
27188
3a31811e
L
271892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27190
27191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27192 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27193
faa2bccb
DM
271942012-08-03 David S. Miller <davem@davemloft.net>
27195
27196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27197
85fe1997
JM
271982012-08-03 Joseph Myers <joseph@codesourcery.com>
27199
27200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27201 Remove.
27202 (__ASSUME_CORRECT_SI_PID): Likewise.
27203 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27204 (__ASSUME_TMPFS_NAME): Likewise.
27205 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27206 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27207 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27208 (HAVE_AUX_SECURE): Make definition unconditional.
27209 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27210 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27211
4f75b7a0
RM
272122012-08-03 Roland McGrath <roland@hack.frob.com>
27213
27214 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27215 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27216 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27217 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27218 __eloop_threshold instead of SYMLOOP_MAX.
27219
27220 * sysdeps/generic/eloop-threshold.h: New file.
27221 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27222 of MAXSYMLINKS.
27223 * elf/chroot_canon.c (chroot_canon): Likewise.
27224
7aab07e4
JM
272252012-08-03 Joseph Myers <joseph@codesourcery.com>
27226
27227 [BZ #13717]
27228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27229 Change to 2.6.0 everywhere.
27230 * sysdeps/unix/sysv/linux/configure: Regenerated.
27231 * sysdeps/unix/sysv/linux/kernel-features.h
27232 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27233 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27234 kernel versions.
27235 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27236 (__ASSUME_FUTEX_REQUEUE): Remove.
27237 (__ASSUME_STATFS64): Define unconditionally.
27238 (__ASSUME_AT_SECURE): Likewise.
27239 (__ASSUME_CORRECT_SI_PID): Likewise.
27240 (__ASSUME_TGKILL): Define without depending on kernel version for
27241 i386.
27242 (__ASSUME_UTIMES): Likewise.
27243 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27244 kernel version.
27245 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27246 (__ASSUME_TMPFS_NAME): Likewise.
27247 * README: Update reference to Linux kernel versions.
27248
b67e9372
MP
272492012-08-02 Marek Polacek <polacek@redhat.com>
27250
1f529f7d 27251 [BZ# 14150]
b67e9372
MP
27252 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27253 libc_cv_asm_type_prefix with %.
27254 * configure: Regenerated.
d2441631
RM
27255 * include/libc-symbols.h: Remove comment about
27256 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27257 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27258 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27259 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27260 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27261 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27262 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27263 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27264 * elf/tst-unique2mod1.c: Likewise.
27265 * elf/tst-unique1mod2.c: Likewise.
27266 * elf/tst-unique1mod1.c: Likewise.
27267 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27268 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27269 Replace ASM_TYPE_DIRECTIVE with .type.
27270 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27271 * sysdeps/i386/sysdep.h: Likewise.
27272 * sysdeps/x86_64/sysdep.h: Likewise.
27273 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27275 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27276 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27277 * sysdeps/powerpc/powerpc32/sysdep.h:
27278 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27279 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27281 * sysdeps/i386/fpu/e_powf.S: Likewise.
27282 * sysdeps/i386/fpu/e_expl.S: Likewise.
27283 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27284 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27285 * sysdeps/i386/fpu/e_pow.S: Likewise.
27286 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27287 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27288 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27289 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27290 * sysdeps/i386/fpu/e_log2.S: Likewise.
27291 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27292 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27293 * sysdeps/i386/fpu/e_powl.S: Likewise.
27294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27295 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27296 * sysdeps/i386/fpu/e_logl.S: Likewise.
27297 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27298 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27299 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27300 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27301 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27302 * sysdeps/i386/fpu/e_log.S: Likewise.
27303 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27304 * sysdeps/i386/fpu/e_logf.S: Likewise.
27305 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27306 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27307 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27308 * sysdeps/i386/fpu/e_log10.S: Likewise.
27309 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27310 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27311 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27312 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27313 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27314 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27315 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27316 * sysdeps/i386/i686/strtok.S: Likewise.
27317 * sysdeps/i386/i386-mcount.S: Likewise.
27318 * sysdeps/i386/strtok.S: Likewise.
27319 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27320 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27321 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27322 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27323 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27324 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27325 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27326 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27327 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27328 * sysdeps/x86_64/_mcount.S: Likewise.
27329 * sysdeps/x86_64/strtok.S: Likewise.
27330 * sysdeps/sh/_mcount.S: Likewise.
27331
2747bf9a
RM
273322012-08-01 Roland McGrath <roland@hack.frob.com>
27333
27334 * libio/iofopen.c: Include <fcntl.h>.
27335 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27336 (_IO_fopen64, fopen64): Define as aliases.
27337 * libio/iofopen64.c: Include <fcntl.h>.
27338 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27339 Conditionalize body on this.
27340 * sysdeps/wordsize-64/iofopen.c: File removed.
27341 * sysdeps/wordsize-64/iofopen64.c: File removed.
27342
3fb791b8
MP
273432012-08-01 Marek Polacek <polacek@redhat.com>
27344
27345 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27346 Use dlfcn directly instead of a variable.
27347 (binfmt-subdir): Do not define.
27348 (dlfcn): Likewise.
27349
a9f1039f
JM
273502012-08-01 Joseph Myers <joseph@codesourcery.com>
27351
23bddc06
JM
27352 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27353 Remove all definitions.
27354 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27355 <kernel-features.h>.
27356 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27357 (miss_F_GETOWN_EX): Remove all definitions.
27358 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27359 macro definition.
27360 [!__ASSUME_FCNTL64]: Remove conditional code.
27361 [__ASSUME_FCNTL64]: Make code unconditional.
27362 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27363 <kernel-features.h>.
27364 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27365 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27366 (lockf64) [__NR_fcntl64]: Make code unconditional.
27367 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27368
a9f1039f
JM
27369 * sysdeps/unix/sysv/linux/kernel-features.h
27370 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27371 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27372 Make code unconditional.
27373 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27374 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27376 [__NR_vfork]: Make code unconditional.
27377 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27378 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27380 [__NR_vfork]: Make code unconditional.
27381 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27382 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27383
09c0ee5f
RM
273842012-08-01 Roland McGrath <roland@hack.frob.com>
27385
48aec5b9
RM
27386 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27387 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27388
cd97c966
RM
27389 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27390 Define mkstemp64 as an alias.
3f55550c
RM
27391 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27392 Define mkstemps64 as an alias.
cd97c966
RM
27393 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27394 Define mkostemp64 as an alias.
b8625cfc
RM
27395 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27396 Define mkostemps64 as an alias.
cd97c966
RM
27397 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27398 Conditionalize body on this.
27399 * misc/mkostemp64.c: Likewise.
b8625cfc 27400 * misc/mkostemps64.c: Likewise.
3f55550c 27401 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27402 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27403 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27404 * sysdeps/wordsize-64/mkostemp.c: File removed.
27405 * sysdeps/wordsize-64/mkstemp.c: File removed.
27406 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27408 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27409 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27410
09c0ee5f
RM
27411 [BZ #14138]
27412 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27413 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27414 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27415 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27416
27417 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27418 compat_symbol macros from <shlib-compat.h> rather than the underlying
27419 default_symbol_version and symbol_version macros, so that DEFAULT
27420 lines in shlib-versions are respected.
27421 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27422
7e66ee51
FW
274232012-08-01 Florian Weimer <fweimer@redhat.com>
27424
27425 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27426 Declare with warn_unused_result.
27427 (setgid, setregid, setegid, setresgid): Likewise.
27428 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27429 Likewise.
27430 * WUR-REPORT: Remove set*id functions.
27431
d2a54255
PT
274322012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27433
27434 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27435
7ecdb005
RM
274362012-07-31 Roland McGrath <roland@hack.frob.com>
27437
b4180a5e 27438 [BZ #10191]
789bd351
RM
27439 * include/sys/socket.h (__libc_accept, __libc_accept4):
27440 Add attribute_hidden.
27441 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27442
40ce302d
RM
27443 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27444 use of PTR_MANGLE.
27445 * inet/getnetgrent_r.c (setup): Likewise.
27446
7ecdb005
RM
27447 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27448
e2eabb2c
DM
274492012-07-31 David S. Miller <davem@davemloft.net>
27450
27451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27452
d0419dbf
JM
274532012-07-31 Joseph Myers <joseph@codesourcery.com>
27454
27455 [BZ #13629]
27456 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27457 value between 1.0 and 2.0 and smaller part has absolute value less
27458 than 1.0.
27459 * math/s_clog10.c (__clog10): Likewise.
27460 * math/s_clog10f.c (__clog10f): Likewise.
27461 * math/s_clog10l.c (__clog10l): Likewise.
27462 * math/s_clogf.c (__clogf): Likewise.
27463 * math/s_clogl.c (__clogl): Likewise.
27464 * math/libm-test.inc (clog_test): Add more tests.
27465 (clog10_test): Likewise.
27466 * sysdeps/i386/fpu/libm-test-ulps: Update.
27467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27468
2bc13872
FW
274692012-07-31 Florian Weimer <fweimer@redhat.com>
27470
27471 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27472 Exit with zero in case no suitable GID is found, and write a
27473 message to standard error.
27474
bea9b193
RM
274752012-07-30 Roland McGrath <roland@hack.frob.com>
27476
27477 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27478 rather than to 1.
27479 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27480 (MAXPATHLEN): Removed.
27481 (NOGROUP, NODEV): New macros.
27482 (setbit, clrbit, isset, isclr): New macros.
27483 (howmany, roundup, powerof2): New macros.
27484 (DEV_BSIZE): New macro.
27485
27486 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27487 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27488
27489 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27490 definition on [!__NO_LONG_DOUBLE_MATH].
27491
27492 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27493 PTR_MANGLE and PTR_DEMANGLE.
27494
27495 * socket/accept4.c (accept4): Rename to __libc_accept4.
27496 Define accept4 as a weak alias.
27497
27498 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27499 on [_DIRENT_HAVE_D_TYPE].
27500 * io/ftw.c (ftw_dir): Likewise.
27501
27502 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27503
27504 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27505
27506 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27507 Use the BSD numbers rather than the arbitrary ones we had.
27508 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27509 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27510 (SIGXCPU, SIGXFSZ): New macros.
27511 (_NSIG): Now 32.
27512
27513 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27514 initializer on [_LIBC_REENTRANT].
27515
27516 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27517 definitions inside [_POSIX_MAPPED_FILES].
27518
27519 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27520
27521 * dirent/opendir.c: Include <fcntl.h>.
27522
27523 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27524 (__libc_getspecific): Likewise.
27525 (__libc_key_create): Likewise.
27526
27527 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27528 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27529 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27530 (tmpfile64): Define as alias.
27531 * sysdeps/wordsize-64/tmpfile.c: File removed.
27532 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27534 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27535
27536 * stdio-common/vfscanf.c: Include <stdbool.h>.
27537 * nss/makedb.c: Likewise.
27538 * stdio-common/_i18n_number.h: Likewise.
27539 * argp/argp-help.c: Likewise.
27540 * posix/wordexp.c: Likewise.
27541 * sysdeps/posix/spawni.c: Likewise.
27542 * nss/nss_files/files-initgroups.c: Likewise.
27543 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27544 * nss/nss_files/files-initgroups.c: Likewise.
27545 * nss/nss_db/db-netgrp.c: Likewise.
27546 * nss/nss_db/db-initgroups.c: Likewise.
27547 * io/fchmodat.c: Include <sys/stat.h>.
27548
27549 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27550 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27551
27552 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27553 [HAVE_MMAP].
27554
27555 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27556 Add multiple inclusion protection.
27557
e5abc686
DM
275582012-07-27 David S. Miller <davem@davemloft.net>
27559
27560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27561
815e6fa3
GB
275622012-07-27 Gary Benson <gbenson@redhat.com>
27563
27564 [BZ #14298]
27565 * elf/rtld.c: Include <stap-probe.h>.
27566 (dl_main): Added static probes "init_start" and "init_complete".
27567 * elf/dl-load.c: Include <stap-probe.h>.
27568 (lose): Take new parameter "nsid".
27569 Added static probe "map_failed".
27570 (_dl_map_object_from_fd): Pass namespace id to lose.
27571 Added static probe "map_start".
27572 (open_verify): Pass namespace id to lose.
27573 * elf/dl-open.c: Include <stap-probe.h>.
27574 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27575 and "reloc_complete".
27576 * elf/dl-close.c: Include <stap-probe.h>.
27577 (_dl_close_worker): Added static probes "unmap_start" and
27578 "unmap_complete".
27579 * elf/rtld-debugger-interface.txt: New file documenting the above.
27580
9f98c16c
RM
275812012-07-26 Roland McGrath <roland@hack.frob.com>
27582
27583 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27584 rather than a string variable.
27585 * sunrpc/rpc_main.c (h_output): Likewise.
27586 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27587
f3c22df3
PT
275882012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27589
27590 * inet/check_native.c: New file.
27591
3129cfc6
JM
275922012-07-26 Joseph Myers <joseph@codesourcery.com>
27593
da865e95
JM
27594 [BZ #13629]
27595 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27596 if larger part has absolute value 1.0.
27597 * math/s_clog10.c (__clog10): Likewise.
27598 * math/s_clog10f.c (__clog10f): Likewise.
27599 * math/s_clog10l.c (__clog10l): Likewise.
27600 * math/s_clogf.c (__clogf): Likewise.
27601 * math/s_clogl.c (__clogl): Likewise.
27602 * math/libm-test.inc (clog_test): Add more tests.
27603 (clog10_test): Likewise.
27604 * sysdeps/i386/fpu/libm-test-ulps: Update.
27605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27606
3129cfc6
JM
27607 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27608 (pltexit): Likewise.
27609 (La_regs): Likewise.
27610 (La_retval): Likewise.
27611 (int_retval): Likewise.
27612 Update #error for removed macros to refer only to definitions in
27613 tst-audit.h.
27614 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27615 macro.
27616 (pltexit): Likewise.
27617 (La_regs): Likewise.
27618 (La_retval): Likewise.
27619 (int_retval): Likewise.
27620 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27621 macro.
27622 (pltexit): Likewise.
27623 (La_regs): Likewise.
27624 (La_retval): Likewise.
27625 (int_retval): Likewise.
27626 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27627 macro.
27628 (pltexit): Likewise.
27629 (La_regs): Likewise.
27630 (La_retval): Likewise.
27631 (int_retval): Likewise.
27632 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27633 macro.
27634 (pltexit): Likewise.
27635 (La_regs): Likewise.
27636 (La_retval): Likewise.
27637 (int_retval): Likewise.
27638 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27639 macro.
27640 (pltexit): Likewise.
27641 (La_regs): Likewise.
27642 (La_retval): Likewise.
27643 (int_retval): Likewise.
27644 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27645 macro.
27646 (pltexit): Likewise.
27647 (La_regs): Likewise.
27648 (La_retval): Likewise.
27649 (int_retval): Likewise.
27650 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27651 macro definitions in tst-audit.h.
27652 * sysdeps/i386/tst-audit.h: New file.
27653 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27654 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27655 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27656 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27657 * sysdeps/sh/tst-audit.h: Likewise.
27658 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27659 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27660 * sysdeps/x86_64/tst-audit.h: Likewise.
27661
bfc07087
AJ
276622012-07-26 Andreas Jaeger <aj@suse.de>
27663
b1b2aaf8
AJ
27664 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27665 ptrace.
27666
27667 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27668 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27669 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27670 PTRACE_O_MASK.
27671 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27673 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27674
bfc07087
AJ
27675 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27676 value.
27677
27678 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27679 _sigsys.
27680 (si_call_addr, si_syscall, si_arch): Define new macro.
27681 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27682 _sigsys.
27683 (si_call_addr, si_syscall, si_arch): Define new marcro.
27684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27685 _sigsys.
27686 (si_call_addr, si_syscall, si_arch): Define new macro.
27687 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27688 _sigsys.
27689 (si_call_addr, si_syscall, si_arch): Define new macro.
27690
89b4b02f
JM
276912012-07-25 Joseph Myers <joseph@codesourcery.com>
27692
27693 [BZ #13717]
27694 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27695 Change to 2.4.21 where previously 2.4.1.
27696 * sysdeps/unix/sysv/linux/configure: Regenerated.
27697 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27698 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27699 Linux kernel version.
27700 (__ASSUME_STD_AUXV): Remove.
27701 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27702 kernel version.
27703 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27704 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27705 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27706 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27707 (__ASSUME_NETLINK_SUPPORT): Likewise.
27708 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27709 (__no_netlink_support): Remove conditional definition.
27710 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27711 Remove.
27712 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27713 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27714 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27715 (if_nameindex_ioctl): Remove.
27716 (if_nameindex_netlink): Do not handle __no_netlink_support.
27717 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27718 code.
27719 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27720 Remove conditional code.
27721 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27722 code.
27723 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27724 unconditional.
27725 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27726 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27727 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27728 Remove.
27729 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27730 [!__ASSUME_STD_AUXV]: Remove conditional code.
27731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27732 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27733 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27735 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27736 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27737 code.
27738 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27740 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27741 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27742 conditional code.
27743 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27745 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27746 code.
27747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27748 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27749 conditional code.
27750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27751 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27752 code unconditional.
27753 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27754 conditional code.
27755 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27756 unconditional.
27757 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27758 conditional code.
27759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27760 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27761 unconditional.
27762 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27763 conditional code.
27764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27765 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27766 code unconditional.
27767 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27768 conditional code.
27769 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27770 unconditional.
27771 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27772 conditional code.
27773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27774 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27775 code unconditional.
27776 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27777 conditional code.
27778 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27779 unconditional.
27780 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27781 conditional code.
27782
842a39cd
AS
277832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27784
27785 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27786 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27787 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27788 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27789 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27790 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27791 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27792 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27793 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27794 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27795 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27796 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27797 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27798 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27799 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27800 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27801 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27803 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27805 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27806 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27807 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27808
84b3fd84
FW
278092012-07-25 Florian Weimer <fweimer@redhat.com>
27810
27811 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27812 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27813 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27814 Introduce __libc_secure_getenv.
0c7936d5
FW
27815 * stdlib/Versions (2.17): Add secure_getenv
27816 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27817 * stdlib/secure-getenv.c: Rename __secure_getenv to
27818 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27819 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27820 * stdlib/tst-secure-getenv.c: New.
27821 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27822 * manual/startup.texi (Environment Access): Document
27823 secure_getenv.
84b3fd84
FW
27824 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27825 __libc_secure_getenv.
27826 * inet/ruserpass.c (ruserpass): Likewise.
27827 * malloc/mtrace.c (mtrace): Likewise.
27828 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27829 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27830 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27831 * sysdeps/posix/tempname.c: Likewise. Evaluate
27832 HAVE_SECURE_GETENV.
27833 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27834 __secure_getenv to __libc_secure_getenv.
84b3fd84 27835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27837 Likewise.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27839 Likewise.
27840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27847
56e49b71
JM
278482012-07-25 Joseph Myers <joseph@codesourcery.com>
27849
27850 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27851 (struct La_i86_retval): Likewise.
27852 (struct La_x86_64_regs): Likewise.
27853 (struct La_x86_64_retval): Likewise.
27854 (struct La_x32_regs): Likewise.
27855 (struct La_x32_retval): Likewise.
27856 (struct La_ppc32_regs): Likewise.
27857 (struct La_ppc32_retval): Likewise.
27858 (struct La_ppc64_regs): Likewise.
27859 (struct La_ppc64_retval): Likewise.
27860 (struct La_sh_regs): Likewise.
27861 (struct La_sh_retval): Likewise.
27862 (struct La_s390_32_regs): Likewise.
27863 (struct La_s390_32_retval): Likewise.
27864 (struct La_s390_64_regs): Likewise.
27865 (struct La_s390_64_retval): Likewise.
27866 (struct La_sparc32_regs): Likewise.
27867 (struct La_sparc32_retval): Likewise.
27868 (struct La_sparc64_regs): Likewise.
27869 (struct La_sparc64_retval): Likewise.
27870 (struct audit_ifaces): Remove architecture-specific pltenter and
27871 pltexit members.
27872 * sysdeps/i386/ldsodefs.h: New file.
27873 * sysdeps/powerpc/ldsodefs.h: Likewise.
27874 * sysdeps/s390/ldsodefs.h: Likewise.
27875 * sysdeps/sh/ldsodefs.h: Likewise.
27876 * sysdeps/sparc/ldsodefs.h: Likewise.
27877 * sysdeps/x86_64/ldsodefs.h: Likewise.
27878
354691b7
MP
278792012-07-25 Marek Polacek <polacek@redhat.com>
27880
27881 [BZ #6808]
27882 * math/libm-test.inc (yn_test): Add another test.
27883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27884 to ERANGE when the result is +-Inf.
27885 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27886 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27887 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27888 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27889
bf9e2071
JM
278902012-07-24 Joseph Myers <joseph@codesourcery.com>
27891
27892 * conform/data/time.h-data (NULL): Use macro-constant. Require
27893 equal to 0.
27894 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27895 clock_t.
27896 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27897
57633811
TS
278982012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27899
27900 * configure.in <sysdeps resolving>: Correct printing
27901 Implies_before.
27902 * configure: Regenerate.
27903
c23c33b0
TS
279042012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27905
27906 * math/w_ilogb.c: Include <limits.h>.
27907 * math/w_ilogbl.c: Likewise.
27908
b5982523
JM
279092012-07-20 Joseph Myers <joseph@codesourcery.com>
27910
27911 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27912 va_copy. Document allowing for unavailable va_copy only as
27913 pre-C99 compatibility.
27914 * manual/string.texi (Copying and Concatenation): Use va_copy
27915 instead of __va_copy in concat example.
27916
ac4ea442
PT
279172012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27918
27919 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27920 (__sendto): Use create_address_port. Initialize APORT and deallocate
27921 it if not null.
27922
f98eafbd
PT
27923 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27924 with O_NOLINK passed to __file_name_lookup.
27925
898c7aab
PT
27926 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27927 with O_NOLINK passed to __file_name_lookup.
27928
0ced335a
PT
27929 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27930 negative N or less than NGIDS.
27931
b3404dbd
PT
27932 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27933 type to string_t. Set ERANGE as errno and return it if NAME is not big
27934 enough. Use memcpy instead of strncpy.
27935
0f48659e
JM
279362012-07-20 Joseph Myers <joseph@codesourcery.com>
27937
27938 * elf/Makefile (check-data): Remove.
27939 (localplt.data): New vpath directive.
27940 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27941 instead of $(check-data).
27942 * scripts/data/localplt-generic.data: Move to ...
27943 * sysdeps/generic/localplt.data: ... here.
27944 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27945 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27946 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27948 ... here.
27949 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27951 ... here.
27952 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27954 ... here.
27955 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27957 ... here.
27958 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27960 ... here.
27961 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27963 ... here.
27964
d37cbdaa
AZ
279652012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27966
27967 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27968 PPC32 and PPC64 files.
27969 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27970 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27971
46f85fc2
AK
279722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27973
27974 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27975 __makecontext_ret to ...
27976 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27977 ... here and call exit if uc_link is NULL. New file.
27978 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27979 __makecontext_ret.S.
27980 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27981 __makecontext_ret to ...
27982 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27983 ... here and call exit if uc_link is NULL. New file.
27984 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27985 __makecontext_ret.S.
27986
08f43f9b
AK
279872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27988
27989 * elf/elf.h (R_390_IRELATIVE): New definition.
27990 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27991 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27992 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27994 (elf_machine_lazy_rel): Likewise.
27995 * sysdeps/s390/dl-irel.h: New file.
27996 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27997 * sysdeps/s390/s390-64/memset.S: New asm code.
27998 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27999 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28000 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28001 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28002 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28003 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28004 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28005 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28006 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28007 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28008 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28009 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28010 * sysdeps/s390/s390-32/memset.S: New asm code.
28011 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28012
3b05db33
MP
280132012-07-17 Marek Polacek <polacek@redhat.com>
28014
28015 [BZ #14349]
28016 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28017 * sysdeps/s390/s390-64/configure.in: Likewise.
28018 * sysdeps/sparc/configure.in: Likewise.
28019 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28020 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28021 * sysdeps/i386/configure.in: Likewise.
28022 * sysdeps/x86_64/configure.in: Likewise.
28023 * sysdeps/sh/configure.in: Likewise.
28024 * sysdeps/s390/s390-32/configure: Regenerated.
28025 * sysdeps/s390/s390-64/configure: Likewise.
28026 * sysdeps/x86_64/configure: Likewise.
28027 * sysdeps/sh/configure: Likewise.
28028 * sysdeps/powerpc/powerpc64/configure: Likewise.
28029 * sysdeps/powerpc/powerpc32/configure: Likewise.
28030 * sysdeps/sparc/configure: Likwise.
28031 * sysdeps/i386/configure: Likewise.
28032
a66877c6
MP
28033 * elf/dl-open.c: Comment fixes.
28034
cfc82fd8
JM
280352012-07-17 Joseph Myers <joseph@codesourcery.com>
28036
bd29910a
JM
28037 * Makefile [CXX] (check-data): Remove.
28038 [CXX] (c++-types.data): New vpath directive.
28039 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28040 vpath. Do not allow for C++ type data being missing.
28041 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28042 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28043 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28044 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28045 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28046 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28047 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28049 ... here.
28050 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28052 ... here.
28053 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28055 ... here.
28056 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28058 ... here.
28059 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28061 ... here.
28062 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28064 ... here.
28065 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28067 ... here.
28068 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28070
cfc82fd8
JM
28071 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28072 definitions to architecture-specific files.
28073 (TLS_IE): Likewise.
28074 (TLS_LD): Likewise.
28075 (TLS_GD): Likewise.
28076 * sysdeps/i386/tls-macros.h: New file.
28077 * sysdeps/powerpc/tls-macros.h: Likewise.
28078 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28079 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28080 * sysdeps/sh/tls-macros.h: Likewise.
28081 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28082 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28083 * sysdeps/x86_64/tls-macros.h: Likewise.
28084
f7db3170
TS
280852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28086
07cbfc23
TS
28087 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28088 zero value for regular exit case.
28089
f7db3170
TS
28090 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28091 (__start_context): Preserve zero value for regular exit case.
28092
dc97c227
TS
280932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28094 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28095
28096 * manual/setjmp.texi (setcontext): Clarify normal process
28097 termination when uc_link is the null pointer.
28098 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28099 exit call.
28100
d0cd7d02
AS
281012012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28102
28103 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28104 preprocessor. Test for each exception mask separately.
28105
dd318934
AJ
281062012-07-16 Andreas Jaeger <aj@suse.de>
28107
28108 * po/ru.po: Update from translation team.
28109
8048311a
JM
281102012-07-15 Joseph Myers <joseph@codesourcery.com>
28111
28112 * conform/data/string.h-data (NULL): Use macro-constant. Require
28113 equal to 0.
28114 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28115 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28116 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28117 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28119
b637d46e
AJ
281202012-07-13 Andreas Jaeger <aj@suse.de>
28121
28122 * po/fr.po: Update from translation team.
28123
541428fe
MP
281242012-07-12 Marek Polacek <polacek@redhat.com>
28125
28126 [BZ #14173]
28127 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28129 loop condition.
28130
ec332e94
JM
281312012-07-12 Joseph Myers <joseph@codesourcery.com>
28132
28133 [BZ #13717]
28134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28135 Change to 2.4.1 where previously 2.4.0.
28136 * sysdeps/unix/sysv/linux/configure: Regenerated.
28137 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28138 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28139 version.
28140 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28141 (__ASSUME_AT_CLKTCK): Remove.
28142 (__ASSUME_AT_PAGESIZE): Likewise.
28143 (__ASSUME_AT_XID): Likewise.
28144 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28145 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28146 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28147 unconditionally.
28148 (HAVE_AUX_PAGESIZE): Likewise.
28149 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28150 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28151 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28152
7b6e99be
JB
281532012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28154
28155 [BZ #14307]
28156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28157 the temporary buffer used to invoke __gethostbyname2_r,
28158 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28159 host_data / struct gaih_addrtuple.
28160 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28161 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28162 header file nss/nsswitch.h.
28163 * nss/nsswitch.h (global scope): Add definition of implementation
28164 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28165 resolv/nss_dns/dns-host.c).
28166
608404eb
AJ
281672012-07-11 Andreas Jaeger <aj@suse.de>
28168
28169 * po/fr.po: Update from translation team.
28170
71220aca
AJ
28171 * po/sv.po: Update from translation team
28172 * po/fr.po: Another update from translation team.
28173
28cfe843
AZ
281742012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28175
28176 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28177 for subnormals or multiply small sinh result by itself.
28178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28180
6b90f981
DM
281812012-07-11 David S. Miller <davem@davemloft.net>
28182
28183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28184
c6825772
AS
281852012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28186
28187 [BZ #14347]
28188 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28189 (INTERNAL_MARK): Shift it here.
28190
7b8e0d49
MP
281912012-07-10 Marek Polacek <polacek@redhat.com>
28192
28193 [BZ #14151]
28194 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28195 libc_cv_asm_global_directive with .globl.
28196 * configure: Regenerated.
28197 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28198 with .globl.
28199 * sysdeps/i386/configure: Regenerated.
28200 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28201 with .globl.
28202 * sysdeps/x86_64/configure: Regenerated.
28203 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28204 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28205 * elf/tst-unique2mod2.c: Likewise.
28206 * elf/tst-unique2mod1.c: Likewise.
28207 * elf/tst-unique1mod2.c: Likewise.
28208 * elf/tst-unique1mod1.c: Likewise.
28209 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28210 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28211 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28212 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28213 * sysdeps/mach/sysdep.h: Likewise.
28214 * sysdeps/i386/sysdep.h: Likewise.
28215 * sysdeps/i386/i386-mcount.S: Likewise.
28216 * sysdeps/x86_64/_mcount.S: Likewise.
28217 * sysdeps/x86_64/sysdep.h: Likewise.
28218 * sysdeps/sh/_mcount.S: Likewise.
28219 * sysdeps/sh/sysdep.h: Likewise.
28220 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28221 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28222 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28223 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28224 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28225 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28226 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28227 * locale/localeinfo.h: Likewise.
28228 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28229 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28230
6c55cda3
RM
282312012-07-09 Roland McGrath <roland@hack.frob.com>
28232
28233 [BZ #14336]
28234 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28235 system".
28236 * manual/message.texi (The Uniforum approach): Likewise.
28237 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28238 (glibc iconv Implementation): Likewise.
28239
638a572e
JM
282402012-07-09 Joseph Myers <joseph@codesourcery.com>
28241
28242 [BZ #14337]
28243 * math/s_clog.c (__clog): Avoid scaling a value down where that
28244 could result in underflow.
28245 * math/s_clog10.c (__clog10): Likewise.
28246 * math/s_clog10f.c (__clog10f): Likewise.
28247 * math/s_clog10l.c (__clog10l): Likewise.
28248 * math/s_clogf.c (__clogf): Likewise.
28249 * math/s_clogl.c (__clogl): Likewise.
28250 * math/libm-test.inc (clog_test): Add more tests.
28251 (clog10_test): Likewise.
28252 * sysdeps/i386/fpu/libm-test-ulps: Update.
28253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28254
261f4859
AS
282552012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28256
0abaf3e4
AS
28257 [BZ #14283]
28258 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28259 by 7 not 8 to examine high bit of fractional part.
28260
261f4859
AS
28261 [BZ #14042]
28262 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28263 for call to __mcount_internal.
28264 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28265 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28266 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28267
f17ac40d
JM
282682012-07-06 Joseph Myers <joseph@codesourcery.com>
28269
9ad63c23
JM
28270 [BZ #14154]
28271 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28272 approximation for values within 0x1p-13f of an odd multiple of
28273 pi/4.
28274 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28275 exception. Add more tests.
28276 * sysdeps/i386/fpu/libm-test-ulps: Update.
28277
f17ac40d
JM
28278 [BZ #6778]
28279 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28280 inputs and return -1 for them. Do not check for +Inf in case not
28281 reachable for +Inf.
28282 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28283 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28284 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28285 and return -1 for them. Do not check for +Inf in case not
28286 reachable for +Inf.
28287 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28288 define.
28289 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28290 and return -1 for them. Do not check for +Inf in case not
28291 reachable for +Inf.
28292 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28293 spurious underflow.
28294 * sysdeps/i386/fpu/libm-test-ulps: Update.
28295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28296
fb21f89b
MF
282972012-07-06 Mike Frysinger <vapier@gentoo.org>
28298
28299 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28300
cdfe2c5e
JM
283012012-07-05 Joseph Myers <joseph@codesourcery.com>
28302
28303 [BZ #14157]
28304 [BZ #14331]
28305 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28306 could result in spurious underflow. Scale down values above
28307 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28308 * math/s_csqrtf.c (__csqrtf): Likewise.
28309 * math/s_csqrtl.c (__csqrtl): Likewise.
28310 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28311 spurious underflow.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28314
70d35b67
AS
283152012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28316
704bc459
AS
28317 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28318 xopen-msg.sed.
28319 * catgets/xopen-msg.awk: New file.
28320 * catgets/xopen-msg.sed: Removed.
28321
70d35b67
AS
28322 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28323 po2text.sed.
28324 * intl/po2test.awk: New file.
28325 * intl/po2test.sed: Removed.
28326
ca61cf32
JM
283272012-07-04 Joseph Myers <joseph@codesourcery.com>
28328
28329 [BZ #14328]
28330 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28331 or multiply small sinh result by itself.
28332 * math/s_ctanf.c (__ctanf): Likewise.
28333 * math/s_ctanh.c (__ctanh): Likewise.
28334 * math/s_ctanhf.c (__ctanhf): Likewise.
28335 * math/s_ctanhl.c (__ctanhl): Likewise.
28336 * math/s_ctanl.c (__ctanl): Likewise.
28337 * math/libm-test.inc (ctan_test_tonearest): New function.
28338 (ctan_test_towardzero): Likewise.
28339 (ctan_test_downward): Likewise.
28340 (ctan_test_upward): Likewise.
28341 (ctanh_test_tonearest): Likewise.
28342 (ctanh_test_towardzero): Likewise.
28343 (ctanh_test_downward): Likewise.
28344 (ctanh_test_upward): Likewise.
28345 (main): Call these new functions.
28346 * sysdeps/i386/fpu/libm-test-ulps: Update.
28347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28348
ca48a46a
MF
283492012-07-03 Mike Frysinger <vapier@gentoo.org>
28350
28351 * .gitignore: Delete /ports entry.
28352
9d63d37d
AJ
283532012-07-03 Andreas Jaeger <aj@suse.de>
28354
28355 * po/bg.po: Update from translation team.
28356 * po/cs.po: Likewise.
28357 * po/de.po: Likewise.
28358 * po/hr.po: Likewise.
28359 * po/nl.pl: Likewise.
28360 * po/pl.po: Likewise.
28361 * po/vi.po: Likewise.
28362
370ca3d2
JM
283632012-07-03 Joseph Myers <joseph@codesourcery.com>
28364
95f5a9a8
JM
28365 * Makeconfig [!+link] (+link-before-libc): New variable.
28366 [!+link] (+link-after-libc): Likewise.
28367 [!+link] (+link-tests): Likewise.
28368 [!+link] (+link): Define in terms of $(+link-before-libc) and
28369 $(+link-after-libc).
28370 [!+link-static] (+link-static-before-libc): New variable.
28371 [!+link-static] (+link-static-after-libc): Likewise.
28372 [!+link-static] (+link-static-tests): Likewise.
28373 [!+link-static] (+link-static): Define in terms of
28374 $(+link-static-before-libc) and $(+link-static-after-libc).
28375 [build-shared] (link-libc-before-gnulib): New variable.
28376 [build-shared] (link-libc-tests): Likewise.
28377 [build-shared] (link-libc): Define in terms of
28378 $(link-libc-before-gnulib).
28379 [!build-shared] (link-libc-tests): New variable.
28380 (link-libc-static-tests): New variable.
28381 [!gnulib] (gnulib-arch): New variable.
28382 [!gnulib] (gnulib-tests): Likewise.
28383 [!gnulib] (static-gnulib-arch): Likewise.
28384 [!gnulib] (static-gnulib-tests): Likewise.
28385 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28386 Define with "=" instead of ":=".
28387 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28388 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28389 * Rules (binaries-all-notests): New variable.
28390 (binaries-all-tests): Likewise.
28391 (binaries-static-notests): Likewise.
28392 (binaries-static-tests): Likewise.
28393 (binaries-all): Define using $(binaries-all-notests) and
28394 $(binaries-all-tests).
28395 (binaries-static): Define using $(binaries-static-notests) and
28396 $(binaries-static-tests).
28397 (binaries-shared-tests): New variable.
28398 (binaries-shared-notests): Likewise.
28399 (binaries-shared): Remove variable.
28400 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28401 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28402 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28403 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28404 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28405 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28406 * elf/Makefile (sln-modules): New variable.
28407 (extra-objs): Add $(sln-modules:=.o).
28408 (ldconfig-modules): Add static-stubs.
28409 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28410 * elf/static-stubs.c: New file.
28411
7a845b2c
JM
28412 [BZ #14283]
28413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28414 by 7 not 8 to examine high bit of fractional part. Use volatile
28415 variables when splitting into final array of floats if
28416 __FLT_EVAL_METHOD__ != 0.
28417 * math/libm-test.inc (cos_test): Add another test.
28418 (sin_test): Likewise.
28419 * sysdeps/i386/fpu/libm-test-ulps: Update.
28420
e2283f38
JM
28421 [BZ #14273]
28422 * math/libm-test.inc (cosh_test): Add more tests.
28423
370ca3d2
JM
28424 * version.h (RELEASE): Set to "development".
28425 (VERSION): Set to "2.16.90".
28426
ee9247c3
CD
284272012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28428
28429 * NEWS: Update copyright. Remove last-updated date.
28430 Mention math library bug fixes and timezone data changes.
28431 * README: Mention GNU/Hurd, x32, and HPPA support status.
28432
4648c381
TS
284332012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28434
28435 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28436
aac78a43
AJ
284372012-06-27 Andreas Jaeger <aj@suse.de>
28438
28439 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28440
ed3dbfad
AJ
284412012-06-25 Andreas Jaeger <aj@suse.de>
28442
28443 * sysdeps/s390/fpu/libm-test-ulps: Update.
28444
4d0ee855
AS
284452012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28446 Thomas Schwinge <thomas@codesourcery.com>
28447
28448 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28449 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28451 fanotify_mark.
28452
af1bce34
TS
284532012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28454
a9fa33ba
TS
28455 * sysdeps/mach/start.c: Remove file.
28456 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28457 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28458 * sysdeps/sh/init-first.c: Likewise.
28459
58f902b8
TS
28460 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28461 registers for frame unwinding purposes, add CFI directives.
28462 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28463 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28464 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28465 Likewise.
28466
1518f58b
TS
28467 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28468 __fortify_fail returning.
28469 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28470
db9b5059
TS
28471 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28472 sysdeps/sh/____longjmp_chk.S.
28473 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28474 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28475 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28476 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28477
967705fe
TS
28478 * sysdeps/sh/abort-instr.h: New file.
28479 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28480 process in case exit returns.
28481
a9def8c4
TS
28482 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28483 initialize the GOT register before use.
28484
2a649725
TS
28485 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28486 calculation of ARGC > 4.
28487
af1bce34
TS
28488 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28489 meaningful names to some local labels.
28490
d230f50a
KK
284912012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28492 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28493
28494 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28495 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28496 (__arch_compare_and_exchange_val_16_acq): Likewise.
28497 (__arch_compare_and_exchange_val_32_acq): Likewise.
28498 (atomic_exchange_and_add): Fix gUSA sequence.
28499 (atomic_add): Likewise.
28500 (atomic_add_negative): Likewise.
28501 (atomic_add_zero): Likewise.
28502 (atomic_bit_test_set): Likewise.
28503
0479b305
AS
285042012-06-22 Andreas Schwab <schwab@redhat.com>
28505
28506 [BZ #13579]
28507 * include/link.h (struct link_map): Add l_free_initfini.
28508 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28509 l_initfini.
28510 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28511 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28512 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28513 set.
28514
0e3933b9
CD
285152012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28516
28517 * configure.in: Use AC_LANG_SOURCE.
28518 * configure: Regenerate.
28519
4248b1b1
RM
285202012-06-22 Roland McGrath <roland@hack.frob.com>
28521
28522 * configure.in (libc_cv_localstatedir): New substituted variable.
28523 * configure: Regenerated.
28524 * config.make.in (localstatedir): New variable, substituted from
28525 libc_cv_localstatedir.
28526 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28527 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28528 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28529 * sysdeps/gnu/configure: Regenerated.
28530
006dd861
JL
285312012-06-21 Jeff Law <law@redhat.com>
28532
28533 [BZ #14277]
28534 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28535 free. Simplify list management for _LIBC case.
28536
79662d42
JM
285372012-06-21 Joseph Myers <joseph@codesourcery.com>
28538
b7abb4bf
JM
28539 [BZ #14273]
28540 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28541 Clear sign bit of 64-bit integer value before comparing against
28542 overflow value.
28543
79662d42
JM
28544 * sysdeps/mach/configure: Regenerated.
28545
1f150908
L
285462012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28547
28548 [BZ #14278]
28549 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28550
28363bbf
JL
285512012-06-21 Jeff Law <law@redhat.com>
28552
28553 [BZ #13882]
28554 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28555 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28556 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28557 * elf/dl-open.c (dl_open_worker): Likewise.
28558
09615db4
CD
285592012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28560
28561 * scripts/list-sources.sh: Scan PORTS for translations.
28562 * po/libc.pot: Regenerated.
28563
2174c6dd
AJ
285642012-06-21 Andreas Jaeger <aj@suse.de>
28565
28566 [BZ #12194]
28567 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28568 warning.
28569 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28570 * bits/byteswap-16.h (__bswap_16): Likewise.
28571 * bits/byteswap.h (__bswap_constant_16): Likewise.
28572
3ee947b1
L
285732012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28574
28575 [BZ #14117]
a2f34833
L
28576 * sysdeps/i386/fpu_control.h: Removed.
28577 * sysdeps/x86_64/fpu_control.h: Moved to ...
28578 * sysdeps/x86/fpu_control.h: Here.
28579
3ee947b1
L
28580 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28581 (_FPU_SETCW): Likewise.
28582
ed1825f8
L
285832012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28584
25f1282a
L
28585 [BZ #14117]
28586 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28587 * sysdeps/x86/fpu/bits/mathinline.h: This.
28588 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28589
ed1825f8
L
28590 [BZ #14050]
28591 [BZ #14117]
28592 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28593 functions if __x86_64__ is defined.
28594
36d54b74
CLT
285952012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28596
28597 * string/endian.h: Add !__ASSEMBLER__ condition for including
28598 conversion interfaces.
28599
10285c21
JM
286002012-06-15 Joseph Myers <joseph@codesourcery.com>
28601
28602 [BZ #14241]
28603 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28604 of ABS(x) in calculating zero to negative powers other than odd
28605 integers.
28606 * math/libm-test.inc (pow_test): Add more tests.
28607
06c5abbd
AJ
286082012-06-15 Andreas Jaeger <aj@suse.de>
28609
28610 * manual/contrib.texi (Contributors): Update entry of Liubov
28611 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28612 Machado Filho.
28613
a3aeac40
CH
286142012-06-15 Cyril Hrubis <metan@ucw.cz>
28615
28616 * string/string.h: Add __wur to GNU version of strerror_r.
28617
49bdf4c1
L
286182012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28619
28620 [BZ #14229]
28621 * string/Makefile (tests): Add tst-strtok_r.
28622 * string/tst-strtok_r.c: New file.
28623 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28624 RAX_LP/RDX_LP on SAVE_PTR.
28625
834f9b8d
RM
286262012-06-14 Roland McGrath <roland@hack.frob.com>
28627
28628 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28629
75fa1921
JM
286302012-06-14 Joseph Myers <joseph@codesourcery.com>
28631
28632 * libm_test.inc (csqrt_test): Allow more spurious underflow
28633 exceptions.
28634 (j0_test): Likewise.
28635 (j1_test): Likewise.
28636 (y0_test): Likewise.
28637 (y1_test): Likewise.
28638
771766df
CD
286392012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28640
28641 * po/Makefile (libc.pot): Use UTF-8 charset.
28642
ceb9e56b
PP
286432012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28644
28645 [BZ #14210]
28646 Suppress sign-conversion warning from FD_SET.
28647 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28648 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28649 not unsigned long int.
28650 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28651
ddb28975
L
286522012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28653
28654 [BZ #14050]
28655 [BZ #14117]
28656 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28657 __extern_always_inline instead of __extern_inline.
28658 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28659 (__signbit): Likewise.
28660 (__signbitl): Support C++ namespace.
28661 (lrintf): New inline function.
28662 (lrint): Likewise.
28663 (llrintf): Likewise.
28664 (llrint): Likewise.
28665 (fmaxf): Likewise.
28666 (fmax): Likewise.
28667 (fminf): Likewise.
28668 (fmin): Likewise.
28669 (rint): Likewise.
28670 (rintf): Likewise.
28671 (ceil): Likewise.
28672 (ceilf): Likewise.
28673 (floor): Likewise.
28674 (floorf): Likewise.
28675 (nearbyint): Likewise.
28676 (nearbyintf): Likewise.
28677
d7b4fb26
TS
286782012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28679
28680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28681 non-default versions.
28682
eb55f5c2
RM
286832012-06-11 Roland McGrath <roland@hack.frob.com>
28684
28685 [BZ #14218]
28686 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28687
366af02c
TS
286882012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28689
99ff6e5c
TS
28690 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28691 (FE_UPWARD, FE_DOWNWARD): Don't define.
28692 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28693 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28694
366af02c
TS
28695 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28696 reading it.
28697 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28699
793ea851
KK
287002012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28701
28702 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28704 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28705 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28706
a728a38f
L
287072012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28708
28709 [BZ #14117]
c08010c7
L
28710 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28711 * sysdeps/i386/fpu/Implies: New file.
28712 * sysdeps/x86_64/fpu/Implies: Likewise.
28713 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28714 * sysdeps/x86/fpu/bits/fenv.h: This.
28715
a728a38f
L
28716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28717 __SSE_MATH__.
28718
6e230d11
SP
287192012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28720
28721 [BZ #14134]
28722 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28723 character 0xffff that matches the last element of the
28724 conversion table.
28725
1b671feb
AZ
287262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28727
28728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28729 fmodl commit.
28730
6043738b
AZ
287312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28732
28733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28734 values higher than 25.6283.
28735
34ae0b32
AZ
287362012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28737
28738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28739 subnormal exponent extraction and add some __builtin_expect.
28740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28741 Fix for subnormal mantissa calculation.
28742
1214ec8f
MF
287432012-06-04 Mike Frysinger <vapier@gentoo.org>
28744
28745 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28746 cpu2 is -1 and errno is not ENOSYS.
28747
f3d1f93c
L
287482012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 [BZ #14117]
0e4a3cd7
L
28751 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28752 * sysdeps/x86/bits/string.h: This.
28753 * sysdeps/x86_64/bits/string.h: Removed.
28754
6704c645
L
28755 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28756 if not compiling for x86-64, but compiling for >= i486.
28757
48495318
L
28758 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28759 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28760
14adcbfc
L
28761 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28762 New macro from Linux kernel 3.4.0.
28763 (FP_XSTATE_MAGIC2): Likewise.
28764 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28765 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28766 (struct _fpx_sw_bytes): New struct.
28767 (struct _xsave_hdr): Likewise.
28768 (struct _ymmh_state): Likewise.
28769 (struct _xstate): Likewise.
28770
68e408ab
L
28771 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28772 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28774 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28776 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28777
f3d1f93c
L
28778 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28779 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28780 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28781 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28782 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28783 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28784
d9dc34cd
TMQMF
287852012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28786
28787 [BZ #13743]
28788 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28789 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28790 (sysdep_headers): Include sys/platform/ppc.h.
28791 * sysdeps/powerpc/test-gettimebase.c: Test for
28792 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28793 * manual/Makefile (appendices): Include platform.texi.
28794 * manual/contrib.texi (Contributors): Update @node pointers.
28795 * manual/maint.texi (Maintenance): Likewise.
28796 (Platform): New node.
28797 * manual/platform.texi: New file. Document the new features.
28798
4af3879c
SP
287992012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28800 Jakub Jelinek <jakub@redhat.com>
28801
28802 [BZ #14188]
28803 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28804 where __builtin_expect is unavailable.
28805
2fd6ff13
DM
288062012-06-03 David S. Miller <davem@davemloft.net>
28807
28808 * stdlib/longlong.h: Updated from GCC.
28809
173f7220
AS
288102012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28811
28812 [BZ #14042]
28813 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28814 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28815 __mcount_internal.
28816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28817 (GLIBC_2.16): Likewise.
28818
f34a1c6f
L
288192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28822
88a4576f
JM
288232012-06-01 Joseph Myers <joseph@codesourcery.com>
28824
ea32bcdd
JM
28825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28826 (default-abi): New variable.
28827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28828 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28829 variable.
28830 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28831 Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28833 Likewise.
28834 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28835 Likewise.
28836
88a4576f
JM
28837 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28838 definition. Document in comment.
28839
402fe938
DM
288402012-06-01 David S. Miller <davem@davemloft.net>
28841
28842 * stdlib/longlong.h: Updated from GCC.
28843
3553723f
L
288442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 [BZ #14117]
3bd872c4
L
28847 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28848 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28849 sys/debugreg.h sys/io.h here.
28850 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28851 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28852 sys/io.h.
28853 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28854 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28855 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28856 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28857 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28858 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28859
3553723f
L
28860 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28861 Define only if __x86_64__ is defined.
28862
4842e4fe
JM
288632012-06-01 Joseph Myers <joseph@codesourcery.com>
28864
c5bfe3d5
JM
28865 [BZ #14048]
28866 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28867 Use int64_t for variable i.
28868 * math/libm-test.inc (fmod_test): Add more tests.
28869
4842e4fe
JM
28870 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28871 z computation is not scheduled after fetestexcept.
28872 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28873 Use math_force_eval instead of asm to ensure calculation scheduled
28874 before exception test.
28875 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28876 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28877
efb73488
AJ
288782012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28879
28880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28881 computation is not scheduled after fetestexcept.
28882
29bcce7c
L
288832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 [BZ #14117]
28886 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28887 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28888
73a68f94
AZ
288892012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28890
28891 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28892 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28893
67b6df78
L
288942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28895
edf2933a 28896 [BZ #14117]
ebc64a18
L
28897 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28898 <bits/wordsize.h>.
28899 (__WCHAR_MIN): Support __WORDSIZE == 64.
28900 (__WCHAR_MAX): Likewise.
28901
edf2933a
L
28902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28903 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28904
57c6cf40
L
28905 [BZ #14183]
28906 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28907 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28908
67b6df78 28909 [BZ #14117]
8eb6281e
L
28910 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28911 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28912
aac639f4
L
28913 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28914 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28915
67b6df78
L
28916 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28917 Defined to 1 if __x86_64__ isn't defined.
28918 (_STAT_VER_LINUX_OLD): New.
28919 (st_atime): Remove duplicate.
28920 (st_mtime): Likewise.
28921 (st_ctime): Likewise.
28922
1c2cfe81
DM
289232012-05-31 David S. Miller <davem@davemloft.net>
28924
28925 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28926 entries.
28927
5be8418c
AS
289282012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28929
e7725326
AS
28930 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28931 gen-libm-test.pl.
28932
5be8418c
AS
28933 [BZ #14132]
28934 * elf/dl-reloc.c: Include <_itoa.h>.
28935 (_dl_reloc_bad_type): Remove use of INTUSE.
28936 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28937 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28938 * stdio-common/psiginfo.c (psiginfo): Likewise.
28939 * stdio-common/psignal.c (psignal): Likewise.
28940 * string/strsignal.c (strsignal): Likewise.
28941 * include/signal.h (_sys_siglist): Declare hidden proto.
28942 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28943 INTVARDEF with libc_hidden_data_def.
28944 * stdio-common/itoa-udigits.c: Likewise.
28945 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28946 (_itoa_lower_digits_internal): Remove declaration.
28947 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28948 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28949 (_sys_sigabbrev_internal): Remove aliases.
28950 (_sys_siglist): Define hidden alias.
28951
507352f1
MT
289522012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28953
28954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28955 bits/sysctl.h.
28956
42bbb1c3
L
289572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28958
28959 [BZ #14117]
6bd784b6
L
28960 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28961 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28962
8bca20f0
L
28963 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28964 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28965 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28966 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28968 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28969
f9e890a9
L
28970 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28971 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28972 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28973
471101a1
L
28974 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28975 with __addr.
28976 (insw): Likewise.
28977 (insl): Likewise.
28978 (outsb): Likewise.
28979 (outsw): Likewise.
28980 (outsl): Likewise.
28981
6451c862
L
28982 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28983 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28985
a254b8c9
L
28986 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28987 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28988 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28989 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28990 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28991 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28992
b8dfdd92
L
28993 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28994 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28995
578cd270
L
28996 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28997 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28998
de662f5f
L
28999 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29001 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29002
25653439
L
29003 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29004 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29005 to ...
29006 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29007
6bad24a0
L
29008 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29009 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29010 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29011
42bbb1c3
L
29012 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29013 for x86-64.
29014 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29015
2d10d547
JM
290162012-05-31 Joseph Myers <joseph@codesourcery.com>
29017
29018 * math/math.h (M_El): Use two more decimal places.
29019 (M_LOG2El): Likewise.
29020 (M_LOG10El): Likewise.
29021 (M_LN2l): Likewise.
29022 (M_LN10l): Likewise.
29023 (M_PIl): Likewise.
29024 (M_PI_2l): Likewise.
29025 (M_PI_4l): Likewise.
29026 (M_1_PIl): Likewise.
29027 (M_2_PIl): Likewise.
29028 (M_2_SQRTPIl): Likewise.
29029 (M_SQRT2l): Likewise.
29030 (M_SQRT1_2l): Likewise.
29031
f230c29b
DM
290322012-05-31 David S. Miller <davem@davemloft.net>
29033
29034 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29035 values between float registers.
29036 * sysdeps/sparc/sparc64/memset.S: Likewise.
29037 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29038
fed806c3
MF
290392012-05-31 Mike Frysinger <vapier@gentoo.org>
29040
29041 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29042 -D_FORTIFY_SOURCE=1.
29043 (CPPFLAGS-tst-longjmp_chk.c): Define.
29044 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29045 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29046 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29047 CFLAGS-tst-wchar-h.c.
29048
30917259
MP
290492012-05-31 Marek Polacek <polacek@redhat.com>
29050
29051 [BZ #14132]
29052 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29053 __endmntent_internal): Remove declaration.
29054 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29055 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29056 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29057
1c58d5dc
DM
290582012-05-30 David S. Miller <davem@davemloft.net>
29059
29060 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29061 (___Q_simulate_exceptions): Use real FP ops rather than writing
29062 into the %fsr.
29063 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29064 Likewise.
29065
7dc00e0d
L
290662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29067
29068 [BZ #14117]
0bd53985
L
29069 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29070 * sysdeps/x86/bits/xtitypes.h: This.
29071
3a257e66
L
29072 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29073 * sysdeps/x86/bits/wordsize.h: This.
29074
62f62904
L
29075 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29076 * sysdeps/x86/bits/huge_vall.h: This.
29077
404fe9d9
L
29078 * sysdeps/i386/bits/select.h: Removed.
29079 * sysdeps/x86_64/bits/select.h: Renamed to ...
29080 * sysdeps/x86/bits/select.h: This.
29081
d48d0446
L
29082 * sysdeps/i386/bits/setjmp.h: Removed.
29083 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29084 * sysdeps/x86/bits/setjmp.h: This.
29085
7dc00e0d
L
29086 * sysdeps/i386/bits/mathdef.h: Removed.
29087 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29088 * sysdeps/x86/bits/mathdef.h: This.
29089
03277f8f
AS
290902012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29091
29092 [BZ #14132]
29093 * include/sys/socket.h (__connect_internal)
29094 (__libc_sa_len_internal): Remove declaration.
29095 (__connect, __libc_sa_len): Declare hidden_proto.
29096 (SA_LEN): Remove use of INTUSE.
29097 * socket/connect.c: Add libc_hidden_def.
29098 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29099 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29100 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29101 alias.
29102 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29104 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29105 of adding _internal alias.
29106
13764867
L
291072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29108
29109 [BZ #14117]
6bd97696
L
29110 * sysdeps/i386/bits/link.h: Removed.
29111 * sysdeps/i386/bits/linkmap.h: Likewise.
29112 * sysdeps/x86_64/bits/link.h: Renamed to ...
29113 * sysdeps/x86/bits/link.h: This.
29114 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29115 * sysdeps/x86/bits/linkmap.h: This.
29116
f726f0bb
L
29117 * sysdeps/i386/bits/endian.h: Removed.
29118 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29119 * sysdeps/x86/bits/endian.h: This.
29120
13764867
L
29121 * sysdeps/i386/bits/byteswap.h: Removed.
29122 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29123 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29124 * sysdeps/x86/bits/byteswap.h: This.
29125 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29126 * sysdeps/x86/bits/byteswap-16.h: This.
29127 * sysdeps/i386/Implies: Add x86.
29128 * sysdeps/x86_64/Implies: Likewise.
29129
ae251b0b
DM
291302012-05-30 David S. Miller <davem@davemloft.net>
29131
29132 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29133 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29134 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29135 (FP_TRAPPING_EXCEPTIONS): Define.
29136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29137 (FP_TRAPPING_EXCEPTIONS): Define.
29138 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29139 subnormals only when inexact has been signalled or underflow
29140 exceptions are enabled.
29141 (_FP_PACK_CANONICAL): Likewise.
29142
d5c90867
L
291432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 [BZ #14183]
29146 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29147 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29148
63f1549e
RH
291492012-05-30 Richard Henderson <rth@twiddle.net>
29150
8d8f2279
RH
29151 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29152 with #ifndef NOT_IN_libc.
29153
63f1549e
RH
29154 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29155 marked to avoid plt entry.
29156
0ab0291b
L
291572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 [BZ #14112]
29160 * Makeconfig (default-abi): New macro.
29161 (abi-includes): Likewise.
29162 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29163 $(abi-$(default-abi)-lib-soname) for soname if defined.
29164 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29165 abi-variants.
29166 * Makefile (installed-stubs): Likewise.
29167 * include/stubs-biarch.h: Removed.
29168 * scripts/lib-names.awk: Only handle one library at a time.
29169 * scripts/soversions.awk: Remove WORDSIZE support.
29170 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29171 entries.
29172 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29173 Removed.
29174 (syscall-list-default-condition): Likewise.
29175 (syscall-list-default-condition): Likewise.
29176 (syscall-list-includes): Likewise.
29177 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29178 syscall-list-* with abi-*. Handle undefined abi-variants.
29179 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29180 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29181 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29182 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29183 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29184 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29185 Removed.
29186 (syscall-list-32-options): Likewise.
29187 (syscall-list-32-condition): Likewise.
29188 (syscall-list-64-options): Likewise.
29189 (syscall-list-64-condition): Likewise.
29190 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29191 macro.
29192 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29193 Renamed to ...
29194 (abi-*): This.
29195 (abi-64-ld-soname): New macro.
29196 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29197 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29198 Renamed to ...
29199 (abi-*): This.
29200 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29201 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29202
4da0431d
JM
292032012-05-30 Joseph Myers <joseph@codesourcery.com>
29204
3a85279c
JM
29205 * sysdeps/unix/sysv/linux/kernel-features.h
29206 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29207 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29208 include <kernel-features.h>.
29209 [!__NR_ftruncate64]: Remove conditional code.
29210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29211 [__NR_ftruncate64]: Make code unconditional.
29212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29213 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29214 include <kernel-features.h>.
29215 [!__NR_ftruncate64]: Remove conditional code.
29216 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29217 [__NR_ftruncate64]: Make code unconditional.
29218 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29220 include <kernel-features.h>.
29221 [!__NR_ftruncate64]: Remove conditional code.
29222 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29223 [__NR_ftruncate64]: Make code unconditional.
29224 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29226 include <kernel-features.h>.
29227 [!__NR_ftruncate64]: Remove conditional code.
29228 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29229 [__NR_ftruncate64]: Make code unconditional.
29230 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29231
4da0431d
JM
29232 * configure.in (libc_cv_fpie): Weaken to a compile test using
29233 LIBC_TRY_CC_OPTION.
29234 * configure: Regenerated.
29235
11ef492c
AK
292362012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29237
29238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29242 Refreshed.
29243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29249 Refreshed.
29250
d66ef399
DM
292512012-05-27 David S. Miller <davem@davemloft.net>
29252
29253 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29254 (___Q_zero): New.
29255 (__Q_simulate_exceptions): Return void. Change to simulate
29256 exceptions by writing into the %fsr.
29257 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29258 (__Qp_handle_exceptions): Likewise.
29259 (numbers): Delete.
29260 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29261 __Qp_handle_exceptions.
29262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29263 __Qp_handle_exceptions.
29264 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29265 as unused and give dummy FP_RND_NEAREST initializer.
29266 (FP_INHIBIT_RESULTS): Define.
29267 (___Q_simulate_exceptions): Update declaration.
29268 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29269 formatting.
29270 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29271 as unused and give dummy FP_RND_NEAREST initializer.
29272 (__Qp_handle_exceptions): Update declaration.
29273 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29274 formatting.
29275
04fb54b5
TS
292762012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29277
29278 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29279 the temporary FPU control word.
29280 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29281 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29282 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29283 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29284 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29285 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29286 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29287 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29288 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29289 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29290 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29291
3f99608f
KK
292922012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29293
29294 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29295 fields.
29296
65a4de4e
CLT
292972012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29298
29299 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29300 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29301 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29302 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29303 Likewise.
29304 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29305 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29306 Likewise.
29307
15749d40
UD
293082012-05-27 Ulrich Drepper <drepper@gmail.com>
29309
29310 * po/h.po: Update from translation team.
29311
25dbcb27
AS
293122012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29313
3d3f8e55
AS
29314 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29315
25dbcb27
AS
29316 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29317 handling of denormals.
29318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29319 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29321 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29325 Likewise.
29326
7ad47a80 293272012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29328
29329 [BZ #14152]
29330 * math/libm-test.inc (fma_test): Don't always expect underflow
29331 exception.
29332
9c6ea9fa
SP
293332012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29334
29335 [BZ #12416]
29336 * elf/tst-execstack.c: Include stackinfo.h.
29337 (do_test): Adjust test case to ensure that pthread_getattr_np
29338 behaviour remains the same after marking stack executable.
29339
a8239222
JM
293402012-05-25 Joseph Myers <joseph@codesourcery.com>
29341
29342 * sysdeps/unix/sysv/linux/kernel-features.h
29343 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29344 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29345 kernel-features.h.
29346 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29347 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29349 kernel-features.h.
29350 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29351 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29352
918b5606
L
293532012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29354
29355 * configure.in: Define the default includes to being none.
29356 * configure: Regenerated.
29357
3a097cc7
RM
293582012-05-25 Roland McGrath <roland@hack.frob.com>
29359
8422c9a5
RM
29360 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29361 * sysdeps/x86_64/setjmp.S: Likewise.
29362 * sysdeps/i386/bsd-setjmp.S: Likewise.
29363 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29364 * sysdeps/i386/setjmp.S: Likewise.
29365 * sysdeps/i386/__longjmp.S: Likewise.
29366 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29367 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29368
3a097cc7
RM
29369 * include/stap-probe.h: New file.
29370 * configure.in: Handle --enable-systemtap.
29371 * configure: Regenerated.
29372 * config.h.in (USE_STAP_PROBE): New #undef.
29373 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29374 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29375 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29376
21708942
JM
293772012-05-25 Joseph Myers <joseph@codesourcery.com>
29378
29379 [BZ #13717]
29380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29381 to 2.4.0 where earlier.
29382 * sysdeps/unix/sysv/linux/configure: Regenerated.
29383 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29384 <kernel-features.h>.
29385 [__ASSUME_32BITUIDS]: Make code unconditional.
29386 [!__ASSUME_32BITUIDS]: Remove conditional code.
29387 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29388 <kernel-features.h>.
29389 [__ASSUME_32BITUIDS]: Make code unconditional.
29390 [!__ASSUME_32BITUIDS]: Remove conditional code.
29391 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29392 [__ASSUME_32BITUIDS]: Make code unconditional.
29393 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29394 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29395 <kernel-features.h>.
29396 [__ASSUME_32BITUIDS]: Make code unconditional.
29397 [!__ASSUME_32BITUIDS]: Remove conditional code.
29398 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29399 <kernel-features.h>.
29400 [__ASSUME_32BITUIDS]: Make code unconditional.
29401 [!__ASSUME_32BITUIDS]: Remove conditional code.
29402 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29403 <kernel-features.h>.
29404 [__ASSUME_32BITUIDS]: Make code unconditional.
29405 [!__ASSUME_32BITUIDS]: Remove conditional code.
29406 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29407 <kernel-features.h>.
29408 [__ASSUME_32BITUIDS]: Make code unconditional.
29409 [!__ASSUME_32BITUIDS]: Remove conditional code.
29410 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29411 <kernel-features.h>.
29412 [__ASSUME_32BITUIDS]: Make code unconditional.
29413 [!__ASSUME_32BITUIDS]: Remove conditional code.
29414 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29415 <kernel-features.h>.
29416 [__ASSUME_32BITUIDS]: Make code unconditional.
29417 [!__ASSUME_32BITUIDS]: Remove conditional code.
29418 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29419 <kernel-features.h>.
29420 [__ASSUME_32BITUIDS]: Make code unconditional.
29421 [!__ASSUME_32BITUIDS]: Remove conditional code.
29422 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29423 <kernel-features.h>.
29424 [__ASSUME_32BITUIDS]: Make code unconditional.
29425 [!__ASSUME_32BITUIDS]: Remove conditional code.
29426 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29427 <kernel-features.h>.
29428 [__ASSUME_32BITUIDS]: Make code unconditional.
29429 [!__ASSUME_32BITUIDS]: Remove conditional code.
29430 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29431 <kernel-features.h>.
29432 [__ASSUME_32BITUIDS]: Make code unconditional.
29433 [!__ASSUME_32BITUIDS]: Remove conditional code.
29434 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29435 <kernel-features.h>.
29436 [__NR_setresgid] (__setresgid): Do not declare.
29437 [__ASSUME_32BITUIDS]: Make code unconditional.
29438 [!__ASSUME_32BITUIDS]: Remove conditional code.
29439 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29440 <kernel-features.h>.
29441 [__NR_setresuid] (__setresuid): Do not declare.
29442 [__ASSUME_32BITUIDS]: Make code unconditional.
29443 [!__ASSUME_32BITUIDS]: Remove conditional code.
29444 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29445 <kernel-features.h>.
29446 [__ASSUME_32BITUIDS]: Make code unconditional.
29447 [!__ASSUME_32BITUIDS]: Remove conditional code.
29448 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29449 <kernel-features.h>.
29450 [__ASSUME_32BITUIDS]: Make code unconditional.
29451 [!__ASSUME_32BITUIDS]: Remove conditional code.
29452 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29453 <kernel-features.h>.
29454 [__ASSUME_32BITUIDS]: Make code unconditional.
29455 [!__ASSUME_32BITUIDS]: Remove conditional code.
29456 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29457 <kernel-features.h>.
29458 [__ASSUME_32BITUIDS]: Make code unconditional.
29459 [!__ASSUME_32BITUIDS]: Remove conditional code.
29460 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29461 <kernel-features.h>.
29462 [__ASSUME_32BITUIDS]: Make code unconditional.
29463 [!__ASSUME_32BITUIDS]: Remove conditional code.
29464 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29465 <kernel-features.h>.
29466 [__ASSUME_32BITUIDS]: Make code unconditional.
29467 [!__ASSUME_32BITUIDS]: Remove conditional code.
29468 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29469 <kernel-features.h>.
29470 [__ASSUME_32BITUIDS]: Make code unconditional.
29471 [!__ASSUME_32BITUIDS]: Remove conditional code.
29472 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29473 <kernel-features.h>.
29474 [__ASSUME_32BITUIDS]: Make code unconditional.
29475 [!__ASSUME_32BITUIDS]: Remove conditional code.
29476 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29477 <kernel-features.h>.
29478 [__ASSUME_32BITUIDS]: Make code unconditional.
29479 [!__ASSUME_32BITUIDS]: Remove conditional code.
29480 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29481 <kernel-features.h>.
29482 [__ASSUME_32BITUIDS]: Make code unconditional.
29483 [!__ASSUME_32BITUIDS]: Remove conditional code.
29484 * sysdeps/unix/sysv/linux/kernel-features.h
29485 (__ASSUME_SETRESUID_SYSCALL): Remove.
29486 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29487 (__ASSUME_32BITUIDS): Likewise.
29488 (__ASSUME_LDT_WORKS): Likewise.
29489 (__ASSUME_O_DIRECTORY): Likewise.
29490 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29491 architecture but not kernel version.
29492 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29493 (__ASSUME_MMAP2_SYSCALL): Likewise.
29494 (__ASSUME_STAT64_SYSCALL): Likewise.
29495 (__ASSUME_IPC64): Likewise.
29496 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29497 <kernel-features.h>.
29498 [__ASSUME_32BITUIDS]: Make code unconditional.
29499 [!__ASSUME_32BITUIDS]: Remove conditional code.
29500 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29501 <kernel-features.h>.
29502 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29503 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29504 132096]: Remove conditional code.
29505 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29506 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29507 <kernel-features.h>.
29508 [__ASSUME_32BITUIDS]: Make code unconditional.
29509 [!__ASSUME_32BITUIDS]: Remove conditional code.
29510 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29511 <kernel-features.h>.
29512 [__ASSUME_32BITUIDS]: Make code unconditional.
29513 [!__ASSUME_32BITUIDS]: Remove conditional code.
29514 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29515 <kernel-features.h>.
29516 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29517 unconditional.
29518 (__setresgid): Do not declare.
29519 [__ASSUME_32BITUIDS]: Make code unconditional.
29520 [!__ASSUME_32BITUIDS]: Remove conditional code.
29521 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29522 <kernel-features.h>.
29523 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29524 unconditional.
29525 (__setresuid): Do not declare.
29526 [__ASSUME_32BITUIDS]: Make code unconditional.
29527 [!__ASSUME_32BITUIDS]: Remove conditional code.
29528 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29529 <kernel-features.h>.
29530 [__ASSUME_32BITUIDS]: Make code unconditional.
29531 [!__ASSUME_32BITUIDS]: Remove conditional code.
29532 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29533 <kernel-features.h>.
29534 [__ASSUME_32BITUIDS]: Make code unconditional.
29535 [!__ASSUME_32BITUIDS]: Remove conditional code.
29536
a386f1cc
RH
295372012-05-25 Richard Henderson <rth@twiddle.net>
29538
29539 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29540 dl_hwcap to ifunc resolver.
29541 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29542 elf_ifunc_invoke.
29543 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29544 dl_hwcap to ifunc resolver.
29545 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29546
b6550497
JM
295472012-05-24 Joseph Myers <joseph@codesourcery.com>
29548
29549 [BZ #14153]
29550 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29551 for |x| <= 2**-26, not 2**-57.
29552 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29553 exception.
29554
b0bc23a1
JL
295552012-05-24 Jeff Law <law@redhat.com>
29556
29557 * stdio-common/Makefile (tests): Add bug25.
29558 * stdio-common/bug25.c: New test.
29559
347c92e9
L
295602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29561
29562 [BZ #13576]
29563 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29564 multiple of MALLOC_ALIGNMENT in size.
29565 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29566
6bcc8b3f
JM
295672012-05-24 Joseph Myers <joseph@codesourcery.com>
29568
29569 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29570 Require >= 256.
29571 (FILENAME_MAX): Use macro-int-constant.
29572 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29573 (_IOFBF): Use macro-int-constant.
29574 (_IOLBF): Likewise.
29575 (_IONBF): Likewise.
29576 (SEEK_CUR): Likewise.
29577 (SEEK_END): Likewise.
29578 (SEEK_SET): Likewise.
29579 (TMP_MAX): Likewise.
29580 (EOF): Use macro-int-constant. Require < 0.
29581 (NULL): Use macro-constant. Require == 0.
29582 (stdin): Require type to be FILE *.
29583 (stdout): Likewise.
29584 (stderr): Likewise.
29585 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29586 macro-int-constant.
29587 (EXIT_SUCCESS): Likewise.
29588 (NULL): Use macro-constant. Require == 0.
29589 (RAND_MAX): Use macro-int-constant.
29590 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29591 [C99-based standards] (strtof): Require function.
29592 [C99-based standards] (strtold): Likewise.
29593 [C99-based standards] (strtoll): Likewise.
29594 [C99-based standards] (strtoull): Likewise.
29595 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29596 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29597 [ISO || ISO99 || ISO11] (math.h): Likewise.
29598 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29599 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29601
d18ea0c5
AS
296022012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29603
29604 [BZ #14132]
56d25bb8
AS
29605 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29606 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29607 * intl/dgettext.c (DCGETTEXT): Likewise.
29608 * intl/gettext.c (DCGETTEXT): Likewise.
29609 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29610 * posix/regex_internal.h (gettext): Likewise.
29611 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29612 Remove declaration.
29613 * include/argz.h (__argz_count_internal)
29614 (__argz_stringify_internal): Remove declaration.
29615 (__argz_count, __argz_stringify): Declare hidden proto.
29616 * intl/dcgettext.c: Remove use of INTDEF.
29617 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29618 * string/argz-stringify.c: Likewise.
29619 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29620 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29621 Declare hidden proto.
d18ea0c5
AS
29622 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29623 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29624 Declare hidden proto.
29625 * include/stdio.h (__asprintf_internal): Don't declare.
29626 (__asprintf): Don't define as macro. Declare hidden proto.
29627 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29628 (__fsetlocking): Declare hidden proto.
29629 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29630 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29631 hidden proto.
29632 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29633 (_IO_setlinebuf): Remove use of INTUSE.
29634 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29635 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29636 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29637 Remove declaration.
29638 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29639 (_IO_do_flush): Remove use of INTUSE.
29640 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29641 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29642 (_IO_adjust_column, _IO_least_wmarker)
29643 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29644 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29645 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29646 (_IO_default_doallocate, _IO_wdefault_doallocate)
29647 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29648 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29649 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29650 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29651 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29652 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29653 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29654 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29655 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29656 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29657 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29658 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29659 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29660 proto.
29661 (_IO_flush_all_internal, _IO_adjust_column_internal)
29662 (_IO_default_uflow_internal, _IO_default_finish_internal)
29663 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29664 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29665 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29666 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29667 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29668 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29669 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29670 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29671 (_IO_file_close_internal, _IO_file_close_it_internal)
29672 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29673 (_IO_file_init_internal, _IO_file_attach_internal)
29674 (_IO_file_fopen_internal, _IO_file_read_internal)
29675 (_IO_file_sync_internal, _IO_file_seek_internal)
29676 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29677 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29678 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29679 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29680 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29681 (_IO_list_all_internal, _IO_link_in_internal)
29682 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29683 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29684 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29685 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29686 (_IO_do_write_internal, _IO_padn_internal)
29687 (_IO_getline_info_internal, _IO_getline_internal)
29688 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29689 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29690 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29691 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29692 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29693 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29694 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29695 with libc_hidden_ver, remove use of INTUSE.
29696 * libio/genops.c: Likewise.
29697 * libio/freopen.c: Likewise.
29698 * libio/freopen64.c: Likewise.
29699 * libio/iofclose.c: Likewise.
29700 * libio/iofdopen.c: Likewise.
29701 * libio/iofflush.c: Likewise.
29702 * libio/iofflush_u.c: Likewise.
29703 * libio/iofgets.c: Likewise.
29704 * libio/iofgets_u.c: Likewise.
29705 * libio/iofopen.c: Likewise.
29706 * libio/iofopncook.c: Likewise.
29707 * libio/iofread.c: Likewise.
29708 * libio/iofread_u.c: Likewise.
29709 * libio/ioftell.c: Likewise.
29710 * libio/iofwrite.c: Likewise.
29711 * libio/iogetline.c: Likewise.
29712 * libio/iogets.c: Likewise.
29713 * libio/iogetwline.c: Likewise.
29714 * libio/iopadn.c: Likewise.
29715 * libio/iopopen.c: Likewise.
29716 * libio/ioseekoff.c: Likewise.
29717 * libio/ioseekpos.c: Likewise.
29718 * libio/iosetbuffer.c: Likewise.
29719 * libio/iosetvbuf.c: Likewise.
29720 * libio/ioungetc.c: Likewise.
29721 * libio/ioungetwc.c: Likewise.
29722 * libio/iovdprintf.c: Likewise.
29723 * libio/iovsprintf.c: Likewise.
29724 * libio/iovsscanf.c: Likewise.
29725 * libio/memstream.c: Likewise.
29726 * libio/obprintf.c: Likewise.
29727 * libio/oldfileops.c: Likewise.
29728 * libio/oldiofclose.c: Likewise.
29729 * libio/oldiofdopen.c: Likewise.
29730 * libio/oldiofopen.c: Likewise.
29731 * libio/oldiopopen.c: Likewise.
29732 * libio/oldstdfiles.c: Likewise.
29733 * libio/putc.c: Likewise.
29734 * libio/setbuf.c: Likewise.
29735 * libio/setlinebuf.c: Likewise.
29736 * libio/stdfiles.c: Likewise.
29737 * libio/strops.c: Likewise.
29738 * libio/vasprintf.c: Likewise.
29739 * libio/vscanf.c: Likewise.
29740 * libio/vsnprintf.c: Likewise.
29741 * libio/vswprintf.c: Likewise.
29742 * libio/wfiledoalloc.c: Likewise.
29743 * libio/wfileops.c: Likewise.
29744 * libio/wgenops.c: Likewise.
29745 * libio/wmemstream.c: Likewise.
29746 * libio/wstrops.c: Likewise.
29747 * libio/__fpurge.c: Likewise.
29748 * libio/__fsetlocking.c: Likewise.
29749 * assert/assert.c: Likewise.
29750 * debug/fgets_chk.c: Likewise.
29751 * debug/fgets_u_chk.c: Likewise.
29752 * debug/fread_chk.c: Likewise.
29753 * debug/fread_u_chk.c: Likewise.
29754 * debug/gets_chk.c: Likewise.
29755 * debug/obprintf_chk.c: Likewise.
29756 * debug/vasprintf_chk.c: Likewise.
29757 * debug/vdprintf_chk.c: Likewise.
29758 * debug/vsnprintf_chk.c: Likewise.
29759 * debug/vsprintf_chk.c: Likewise.
29760 * malloc/mtrace.c: Likewise.
29761 * misc/error.c: Likewise.
29762 * misc/syslog.c: Likewise.
29763 * stdio-common/asprintf.c: Likewise.
29764 * stdio-common/fxprintf.c: Likewise.
29765 * stdio-common/getw.c: Likewise.
29766 * stdio-common/isoc99_fscanf.c: Likewise.
29767 * stdio-common/isoc99_scanf.c: Likewise.
29768 * stdio-common/isoc99_vfscanf.c: Likewise.
29769 * stdio-common/isoc99_vscanf.c: Likewise.
29770 * stdio-common/isoc99_vsscanf.c: Likewise.
29771 * stdio-common/printf-prs.c: Likewise.
29772 * stdio-common/printf_fp.c: Likewise.
29773 * stdio-common/printf_fphex.c: Likewise.
29774 * stdio-common/printf_size.c: Likewise.
29775 * stdio-common/putw.c: Likewise.
29776 * stdio-common/scanf.c: Likewise.
29777 * stdio-common/sprintf.c: Likewise.
29778 * stdio-common/tmpfile.c: Likewise.
29779 * stdio-common/vfprintf.c: Likewise.
29780 * stdio-common/vfscanf.c: Likewise.
29781 * stdlib/strfmon_l.c: Likewise.
29782 * sunrpc/openchild.c: Likewise.
29783 * sunrpc/xdr_stdio.c: Likewise.
29784 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29785 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29786
d6c33fda
RM
297872012-05-24 Roland McGrath <roland@hack.frob.com>
29788
c1487492
RM
29789 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29790
29791 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29792 in the third column, to generate for the shared library an IFUNC
29793 that uses _dl_vdso_vsym.
29794 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29795 * Makeconfig (object-suffixes-noshared): New variable.
29796
29797 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29798 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29799 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29800 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29801
d6c33fda
RM
29802 [BZ #14132]
29803 * include/sys/time.h (__gettimeofday): Remove macro.
29804 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29805 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29806 Remove INTDEF.
29807 (__gettimeofday): Add libc_hidden_def.
29808 (gettimeofday): Add libc_hidden_weak.
29809 * sysdeps/mach/gettimeofday.c: Likewise.
29810 * sysdeps/posix/gettimeofday.c: Likewise.
29811 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29813 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29814 (__gettimeofday_internal): Remove strong_alias.
29815 (__gettimeofday): Add libc_hidden_def.
29816 (gettimeofday): Add libc_hidden_weak.
29817 * sysdeps/unix/syscalls.list (gettimeofday):
29818 Remove __gettimeofday_internal alias.
29819
b5a2bbe6
L
298202012-05-24 Daniel Jacobowitz <drow@false.org>
29821 H.J. Lu <hongjiu.lu@intel.com>
29822
29823 [BZ #12495]
29824 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29825 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29826 (largebin_index_32_big): New.
29827 (largebin_index): Use it for 16-byte alignment.
29828 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29829 correction with front_misalign.
29830
cfba4fda
L
298312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29832
7f907421
L
29833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29835 Likewise.
29836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29837 Likewise.
29838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29839 Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29841 Likewise.
29842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29843 Likewise.
29844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29845 Likewise.
29846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29847 Likewise.
29848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29849 Likewise.
29850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29851 Likewise.
29852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29853 Likewise.
29854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29855 Likewise.
29856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29857 Likewise.
29858
cfba4fda
L
29859 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29860 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29861
80bad0cc
JM
298622012-05-24 Joseph Myers <joseph@codesourcery.com>
29863
7a25eb06
JM
29864 [BZ #10846]
29865 [BZ #14036]
29866 * math/libm-test.inc (exp_test): Add test from bug 14036.
29867 (pow_test): Add test from bug 10846.
29868
795405f9
JM
29869 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29870 and other flags.
29871 (special_function): Do not include flags in test name.
29872 (parse_args): Likewise.
29873 * sysdeps/i386/fpu/libm-test-ulps: Update.
29874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29875 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29876 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29878
80bad0cc
JM
29879 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29880 exceptions.
29881 * math/libm-test.inc ("Philosophy"): Update comment about
29882 exception testing.
29883 (UNDERFLOW_EXCEPTION): New macro.
29884 (UNDERFLOW_EXCEPTION_OK): Likewise.
29885 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29886 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29887 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29888 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29889 (INVALID_EXCEPTION_OK): Update value.
29890 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29891 (OVERFLOW_EXCEPTION_OK): Likewise.
29892 (IGNORE_ZERO_INF_SIGN): Likewise.
29893 (test_exceptions): Handle underflow exceptions.
29894 (acos_test): Update for underflow exception expectations.
29895 (cexp_test): Likewise.
29896 (clog_test): Likewise.
29897 (clog10_test): Likewise.
29898 (csqrt_test): Likewise.
29899 (ctan_test): Likewise.
29900 (ctanh_test): Likewise.
29901 (exp_test): Likewise.
29902 (exp10_test): Likewise.
29903 (exp2_test): Likewise.
29904 (expm1_test): Likewise.
29905 (fma_test): Likewise.
29906 (j0_test): Likewise.
29907 (jn_test): Likewise.
29908 (nexttoward_test): Likewise.
29909 (pow_test): Likewise.
29910 (scalbn_test): Likewise.
29911 (scalbln_test): Likewise.
29912 (tan_test): Likewise.
29913 (y1_test): Likewise.
29914 * sysdeps/i386/fpu/libm-test-ulps: Update.
29915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29916
9e0e3d0b
DM
299172012-05-23 David S. Miller <davem@davemloft.net>
29918
29919 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29920 (__libc_sigaction): Remove unused local variables.
29921
ccd0a08f
L
299222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29923
29924 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29925
62bdf9a6
PE
299262012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29927
f8591f80
PE
29928 mktime: avoid signed integer overflow
29929 * time/mktime.c (__mktime_internal): Do not mishandle the case
29930 where diff == INT_MIN.
29931
94c7d826
PE
29932 mktime: simplify computation of average
29933 * time/mktime.c (ranged_convert): Use new time_t_avg function
29934 instead of rolling our own (probably-slower) code.
29935
ce73d683
PE
29936 mktime: do not assume signed right shift propagates sign bit
29937 * time/mktime.c (isdst_differ): New static function.
29938 (__mktime_internal): No need to normalize tm_isdst now.
29939 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29940 tm_isdst values.
29941
72a22e59
PE
29942 mktime: merge another wrapv change from gnulib
29943 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29944 from some compilers.
29945
68605433
PE
29946 mktime: remove incorrect attempt at unusual arithmetics
29947 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29948 The code didn't really work on such machines anyway.
29949 (TYPE_MINIMUM): Assume two's complement.
29950 (twos_complement_arithmetic): Verify that long_int and time_t
29951 are two's complement (or unsigned, in the latter case).
29952
03cf7fe3
PE
29953 mktime: check signed shifts on long_int and time_t, too
29954 * time/mktime.c (SHR): Check that shifts work as desired
29955 on the types long_int and time_t too, as SHR is used on
29956 such types.
29957
f04dfbc2
PE
29958 mktime: do not assume 'long' is wide enough
29959 * time/mktime.c (verify): Move decl up.
29960 (long_int): New type.
29961 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29962 to remove assumption in the code that 'long' is wide enough to
29963 store year values. This assumption is not true on x32 and on
29964 some non-glibc platforms.
29965
62bdf9a6
PE
29966 mktime: merge wrapv change from gnulib
29967 * time/mktime.c (WRAPV): New macro.
29968 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29969 (guess_time_tm, __mktime_internal): Do not assume that signed
29970 integer overflow wraps around; modern compilers generate code
29971 where this assumption is no longer valid.
29972
5e292e4f
L
299732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29974
29975 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29976 Replace "jmp L(pseudo_end)" with "ret".
29977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29978 Likewise.
29979
8caf8c87
AJ
299802012-05-23 Andreas Jaeger <aj@suse.de>
29981
29982 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29983 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29984
1a09dc56
AJ
299852012-05-23 Andreas Jaeger <aj@suse.de>
29986 Maximilian Attems <max@stro.at>
29987
29988 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29989 New macros.
29990
1c87aba0
L
299912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29992
29993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29994 code so that pseudo_end is just ret and the stack pointer is
29995 correct also for static library in error case.
29996
40e45bd5
JM
299972012-05-23 Joseph Myers <joseph@codesourcery.com>
29998
c2670533
JM
29999 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30000 move to syscalls.list.
30001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30005
40e45bd5
JM
30006 * manual/install.texi (Running make install): Do not mention Linux
30007 kernel version for which pt_chown is not needed.
30008 (Linux): Do not mention problems with nscd with 2.0 kernels.
30009 * INSTALL: Regenerated.
30010
be08eda5
AJ
300112012-05-23 Andreas Jaeger <aj@suse.de>
30012
30013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30014 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30015 macro.
30016 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30018 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30020 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30024 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30026 * sysdeps/unix/sysv/linux/bits/in.h
30027 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30028
a6a056bb
RM
300292012-05-22 Roland McGrath <roland@hack.frob.com>
30030
30031 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30032 (PREPARE_VERSION): Just use assert instead, it will be elided
30033 under [NDEBUG] anyway.
30034
c9009328
L
300352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 * sysdeps/unix/sysv/linux/Makefile: Include
30038 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30039 (sysdep_routines): Remove sysctl.
c9009328
L
30040 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30041 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30042 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30043 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30044 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30045
73338355
AJ
300462012-05-22 Andreas Jaeger <aj@suse.de>
30047
30048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30049 that pseudo_end is just ret and the stack pointer is correct also
30050 for static library in error case.
30051
d44638b0
PP
300522012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30053
30054 [BZ #14122]
30055 * nss/nsswitch.c (defconfig_entries): New variable.
30056 (__nss_database_lookup): Don't leak defconfig entries.
30057 (nss_parse_service_list): Don't leak on error paths.
30058 (free_database_entries): New function.
30059 (free_defconfig): New function.
30060 (free_mem): Move common code to free_database_entries.
30061
31a39bd8
L
300622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30063
da0331a8
L
30064 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30065 Add arch_prctl.
30066 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30067
31a39bd8
L
30068 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30069 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30071 New macro.
30072 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30073 (INTERNAL_SYSCALL_TYPES): Likewise.
30074 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30075 (LOAD_REGS_TYPES_[1-6]): Likewise.
30076 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30077 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30078
45470df3
AZ
300792012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30080
30081 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30082 copysignl for GLIBC_2_0.
30083 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30084 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30086 logbl for GLIBC_2_0.
30087 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30088 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30089
98a61bcb
L
300902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30091
a4f6e481
L
30092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30093 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30094
f63d5db6
L
30095 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30096 Use "neg %eax".
30097
98a61bcb
L
30098 * time/mktime.c: Update copyright years.
30099
95770f14
PE
301002012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30101
6226efbd
PE
30102 mktime: merge comment-quoting-style change from gnulib
30103 * time/mktime.c: Quote 'like this' in comments.
30104 The GNU coding standards suggest that we no longer quote `like this',
30105 as "`" and "'" are typically rendered asymmetrically nowadays.
30106 The typical gnulib style is to quote 'like this' when quoting
30107 code, and "like this" when quoting English.
30108
b99e4f78
PE
30109 * time/mktime.c (compile-command): Add "-I.".
30110
643e01e6
PE
30111 mktime: merge mktime-internal.h change from gnulib
30112 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30113
2554247d
PE
30114 mktime: merge time_r change from gnulib
30115 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30116
826dd0ab
PE
30117 mktime: merge DEBUG change from gnulib
30118 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30119 case system <time.h> has a #define.
30120
bd83aabe
PE
30121 mktime: merge <sys/types.h> change from gnulib
30122 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30123 since <time.t> is now guaranteed to define time_t.
30124
95770f14
PE
30125 mktime: merge HAVE_CONFIG_H change from gnulib
30126 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30127
5e1a27a9
L
301282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30129
0e44a77e
L
30130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30131 Use "neg %eax".
30132
5e1a27a9
L
30133 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30134 __rlim_t cast.
30135 (struct rusage): Use anonymous union to pad each field to
30136 __syscall_slong_t.
30137
46259bec
DM
301382012-05-21 David S. Miller <davem@davemloft.net>
30139
30140 * Makefules (o-iterator): Remove .s cases.
30141 (compile-command.s): Delete.
30142 (COMPILE.s): Delete.
30143 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30144
59f0c22e
JM
301452012-05-21 Joseph Myers <joseph@codesourcery.com>
30146
30147 * configure.in (libc_cv_predef_stack_protector): Only consider
30148 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30149 * configure: Regenerated.
30150
20c07380
L
301512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30152
bbb3154b
L
30153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30154 New macro. Use R*LP on int and pointer.
30155 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30156 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30157 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30158 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30159
20c07380
L
30160 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30161 [__WORDSIZE_TIME64_COMPAT32] instead of
30162 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30163 (struct utmp): Likewise.
30164 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30165 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30166 Renamed to ...
30167 (__WORDSIZE_TIME64_COMPAT32): This.
30168 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30169 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30170 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30171 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30172 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30173 (__WORDSIZE_TIME64_COMPAT32): New macro.
30174
d8d1017e
AJ
301752012-05-21 Andreas Jaeger <aj@suse.de>
30176
30177 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30178 only if [SHARED]. Add prototype for __wcschr_ia32.
30179
6c7fb145
RM
301802012-05-21 Roland McGrath <roland@hack.frob.com>
30181
30182 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30183 of %rbp unmolested in the jmp_buf while mangling the low bits.
30184 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30185 unmolested high bits of %rbp while demangling the low bits.
30186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30187
66274218
AJ
301882012-05-21 Andreas Jaeger <aj@suse.de>
30189
07c58f8f
AJ
30190 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30191 * sunrpc/svc_simple.c: Use it for registerrpc.
30192 * sunrpc/xcrypt.c: Use it for passwd2des.
30193
66274218
AJ
30194 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30195
61f65140
L
301962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30197
30198 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30199 Don't define if [__SYSCALL_WORDSIZE != 32].
30200 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30201 New macro.
30202
5fefb436
AJ
302032012-05-21 Bruno Haible <bruno@clisp.org>
30204 Andreas Jaeger <aj@suse.de>
30205
30206 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30207 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30208 inptr and inend for must_buffer_ch.
30209 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30210 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30211 * stdio-common/Makefile (tests): Remove bug15.
30212 (bug15-ENV): Remove macro.
30213 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30214 anymore.
30215
d8e272ab
AJ
302162012-05-19 Andreas Jaeger <aj@suse.de>
30217 Roland McGrath <roland@hack.frob.com>
30218
30219 * manual/contrib.texi: Completely rewritten. It contains now an
30220 alphabetical list of contributors and their contributions.
30221
4a56a162
RH
302222012-05-21 Richard Henderson <rth@twiddle.net>
30223
30224 * misc/getauxval.c (__getauxval): Use unsigned long int.
30225 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30226 (getauxval): Use unsigned long int.
30227
d024d23c
L
302282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30229
30230 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30231
cbc00a03
RM
302322012-05-21 Roland McGrath <roland@hack.frob.com>
30233
30234 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30235 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30236 __alignof__ (long double).
30237
478143fa
AZ
302382012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30239
30240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30241
c7683a6d
RH
302422012-05-20 Richard Henderson <rth@twiddle.net>
30243
30244 * misc/getauxval.c: New file.
30245 * misc/sys/auxv.h: New file.
30246 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30247 (routines): Add getauxval.
30248 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30249 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30250 * elf/dl-sysdep.c (_dl_auxv): Remove.
30251 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30252 * elf/dl-support.c (_dl_auxv): New variable.
30253 (_dl_aux_init): Initialize it.
30254 * manual/startup.texi (Auxiliary Vector): New node.
30255 * sysdeps/generic/bits/hwcap.h: New file.
30256 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30257 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30258 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30259 * sysdeps/sparc/sysdep.h: ... here. Include it.
30260 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30261 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30263 Update.
c7683a6d
RH
30264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30272
a6f1845d
AZ
302732012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30274
30275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30276
cbcbe830
DM
302772012-05-19 David S. Miller <davem@davemloft.net>
30278
30279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30280
e0b16cc2
JM
302812012-05-19 Joseph Myers <joseph@codesourcery.com>
30282
30283 [BZ #14123]
30284 * math/s_ccosh.c: Include <float.h>
30285 (__ccosh): Avoid internal overflow calculating sinh and cosh
30286 values before multiplying by sin and cos values.
30287 * math/s_ccoshf.c: Likewise.
30288 * math/s_ccoshl.c: Likewise.
30289 * math/s_csin.c: Likewise.
30290 * math/s_csinf.c: Likewise.
30291 * math/s_csinl.c: Likewise.
30292 * math/s_csinh.c: Likewise.
30293 * math/s_csinhf.c: Likewise.
30294 * math/s_csinhl.c: Likewise.
30295 * math/libm-test.inc (ccos_test): Add more tests.
30296 (ccosh_test): Likewise.
30297 (csin_test): Likewise.
30298 (csinh_test): Likewise.
30299 * sysdeps/i386/fpu/libm-test-ulps: Update.
30300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30301
6ad13e08
L
303022012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30303
f66f0ce8
L
30304 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30305 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30306
6ad13e08
L
30307 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30308
b1d072a7
JM
303092012-05-19 Joseph Myers <joseph@codesourcery.com>
30310
30311 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30312 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30313 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30314 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30315 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30316 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30317 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30318 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30319 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30320 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30321 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30322 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30323 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30324 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30325 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30326 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30327 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30328 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30329 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30330 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30331 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30332 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30333 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30334 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30335 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30336 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30337 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30338 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30339 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30340 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30341 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30342
9eae47cb
AJ
303432012-05-18 Andreas Jaeger <aj@suse.de>
30344
30345 * csu/.gitignore: Delete.
30346
bb07f69f
L
303472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30348
30349 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30350 (timex): Use __syscall_slong_t.
30351
e6bdb741
AJ
303522012-05-18 Andreas Jaeger <aj@suse.de>
30353 Carlos O'Donell <carlos_odonell@mentor.com>
30354
30355 * manual/install.texi (Configuring and compiling): Update
30356 description about files modified in the source directory.
d6c33fda 30357 * INSTALL: Regenerated.
e6bdb741 30358
1b74487e
L
303592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30360
30361 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30362 value. Use "or" to set return value to -1.
30363 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30364 negate return value.
30365
a88b64b9
TMQMF
303662012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30367
57f41c40
AS
30368 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30369 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30370 failure if the compiler has Graphite support disabled.
30371 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30372 Likewise.
57f41c40
AS
30373 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30374 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30375 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30376 Likewise.
30377
3707636e
L
303782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30379
610b8622
L
30380 * sysdeps/x86_64/x32/_itoa.h: New file.
30381
7cd195df
L
30382 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30383 getdents system call only if kernel and user dirents have the
30384 same d_ino and d_off.
30385
94b07d20
L
30386 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30387 LLONG_MAX != LONG_MAX.
30388 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30389 (_fitoa_word): Likewise.
30390
18298070
L
30391 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30392 years.
30393 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30394 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30395 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30396
553c7ea4
L
30397 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30398 include <bits/wordsize.h>. Check __x86_64__ instead of
30399 __WORDSIZE.
30400 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30401 if __x86_64__ is defined. Use anonymous union on fpstate.
30402
3707636e
L
30403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30404 anonymous union.
30405
b53ef01a
AS
304062012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30407
37fb1dc0
AS
30408 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30409 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30410 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30411 Refer to _rtld_local_ro instead of _rtld_global_ro.
30412 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30413 Likewise.
30414 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30415 Likewise.
30416 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30417 Likewise.
30418 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30419 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30420 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30421
b53ef01a
AS
30422 * sysdeps/powerpc/powerpc32/dl-machine.c
30423 (__elf_machine_runtime_setup) [PROF]: Don't reference
30424 _dl_prof_resolve.
30425
7a185db2
AJ
304262012-05-18 Andreas Jaeger <aj@suse.de>
30427
30428 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30429 function only available for GCCs before 3.4 since GCC 3.4
30430 introduced a builtin.
30431 (lrint): Likewise.
30432 (llrintf): Likewise.
30433 (llrint): Likewise.
30434 (fmaxf): Likewise.
30435 (fmax): Likewise.
30436 (fminf): Likewise.
30437 (fmin): Likewise.
30438 (rint): Likewise.
30439 (rintf): Likewise.
30440 (nearbyint): Likewise.
30441 (nearbyintf): Likewise.
30442 (ceil): Likewise.
30443 (ceilf): Likewise.
30444 (floor): Likewise.
30445 (floorf): Likewise.
30446
3e5aef87
L
304472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30448
428bd707
L
30449 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30450 on both fields and cast pointer to __syscall_ulong_t.
30451
3e5aef87
L
30452 * bits/types.h (__fsword_t): New type.
30453 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30454 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30456 (__FSWORD_T_TYPE): Likewise.
30457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30458 (__FSWORD_T_TYPE): Likewise.
30459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30460 (__FSWORD_T_TYPE): Likewise.
30461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30462 (__FSWORD_T_TYPE): Likewise.
30463 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30464 __SWORD_TYPE with __fsword_t.
30465 (statfs64): Likewise.
30466
1ba7c3dc
DM
304672012-05-17 David S. Miller <davem@davemloft.net>
30468
30469 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30470
59910343
AJ
304712012-05-17 Andreas Jaeger <aj@suse.de>
30472
30473 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30474 warning.
30475
2e4c1e9e
L
304762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30479
de7f5ce7
AJ
304802012-05-17 Andreas Jaeger <aj@suse.de>
30481
30482 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30483 when it is used.
30484
286abc3d
CM
304852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30486
30487 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30488
477cc68e
L
304892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30490
30491 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30492 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30493
1a0994f5
CD
304942012-05-17 Andreas Jaeger <aj@suse.de>
30495 Carlos O'Donell <carlos_odonell@mentor.com>
30496
30497 [BZ #14059]
30498 * sysdeps/x86_64/multiarch/init-arch.h
30499 (bit_YMM_Usable): Rename to...
30500 (bit_AVX_Usable): ... this.
30501 (bit_FMA4_Usable): New macro.
30502 (bit_XMM_state): New macro.
30503 (bit_YMM_state): New macro.
30504 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30505 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30506 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30507 (CPUID_OSXSAVE): New macro.
30508 (CPUID_AVX): New macro.
30509 (CPUID_FMA4): New macro.
30510 (index_YMM_Usable): Rename to...
30511 (index_AVX_Usable): ... this.
30512 (HAS_AVX): Use HAS_ARCH_FEATURE.
30513 (HAS_FMA4): Likewise.
30514 (HAS_YMM_USABLE): Remove.
30515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30516 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30517 are present.
30518 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30519 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30520 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30521 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30522 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30523
0af797de
CM
305242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30525
30526 * math/libm-test.c: Support platforms without multiple rounding modes.
30527 * math/bug-nextafter.c: Support platforms without FP exceptions.
30528 * math/bug-nexttoward.c: Likewise.
30529 * math/test-fenv.c: Likewise.
30530 * math/test-misc.c: Likewise.
30531 * stdlib/bug-getcontext.c: Likewise.
30532
e39745ff
AJ
305332012-05-17 Andreas Jaeger <aj@suse.de>
30534
30535 * manual/examples/search.c (critter_cmp): Change signature to
30536 avoid warnings.
30537 * manual/string.texi (Collation Functions): Likewise.
30538
48970aba
L
305392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * bits/types.h: Fold copyright years.
30542 * bits/typesizes.h: Likewise.
30543 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30547 * time/time.h: Likewise.
30548
bedee953
PP
305492012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30550
30551 [BZ #208]
30552 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30553 in instead of returning them. Return void.
30554 (__libc_mallinfo): Accumulate over all arenas.
30555 (__malloc_stats): Adjust for change in int_mallinfo interface.
30556
61653dfb
RM
305572012-05-16 Roland McGrath <roland@hack.frob.com>
30558
30b99d79
RM
30559 [BZ #10375]
30560 * configure.in (NM): Add AC_CHECK_TOOL for it.
30561 (libc_extra_cflags): New substituted variable.
30562 Check for -fstack-protector being used implicitly.
30563 * configure: Regenerated.
30564 * config.make.in (config-extra-cflags): New variable,
30565 gets @libc_extra_cflags@.
30566 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30567
61653dfb
RM
30568 [BZ #10375]
30569 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30570 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30571 * configure: Regenerated.
30572 * config.make.in (CPPUNDEFS): New substituted variable.
30573 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30574 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30575 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30576
661768bb
L
305772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30578
30579 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30580 (mq_attr): Use __syscall_slong_t.
30581
d4261567
L
305822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30583
30584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30585 Check __x86_64__ instead of __WORDSIZE.
30586 (_STAT_VER_LINUX): Likewise.
30587 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30588 __syscall_ulong_t and __syscall_slong_t.
30589 (stat64): Likewise.
30590
cf3ff365
L
305912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30592
30593 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30594
76cf3e4d
L
305952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30596
30597 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30598
a637753a
L
305992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30600
30601 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30602 __syscall_ulong_t.
30603
d5e05119
L
30604 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30605 include <bits/wordsize.h>. Check __x86_64__ instead of
30606 __WORDSIZE.
30607 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30608 defined.
30609 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30610
f62ee380
L
30611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30612 include <bits/wordsize.h>. Check __x86_64__ instead of
30613 __WORDSIZE.
30614 (user_regs_struct): Use "__extension__ unsigned long long"
30615 instead of "unsigned long" if __x86_64__ is defined.
30616 (user): Likewise. Pad after pointer field if __ILP32__ is
30617 defined.
30618
4e124ced
JM
306192012-05-16 Joseph Myers <joseph@codesourcery.com>
30620
6a3951a0
JM
30621 * configure.in (makeinfo): Require version 4.5 or later. Allow
30622 versions 5 to 9.
30623 * configure: Regenerated.
30624 * manual/install.texi (texinfo): Increase version requirement to
30625 4.5 or later.
30626 * INSTALL: Regenerated.
30627
4e124ced
JM
30628 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30629
953ca31a
L
306302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30631
30632 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30633
617aca05
L
30634 * sysdeps/x86_64/x32/ffs.c: New file.
30635
5762f7ae
L
30636 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30637 __syscall_ulong_t.
30638 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30639 defined. Use __syscall_ulong_t.
30640 (shminfo): Use __syscall_ulong_t.
30641 (shm_info): Likewise.
30642
a26b6856
L
30643 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30644 __syscall_ulong_t.
30645
cb2b9ef7
L
30646 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30647 <bits/wordsize.h>.
30648 (msgqnum_t): Use __syscall_ulong_t.
30649 (msglen_t): Likewise.
30650 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30651 __syscall_ulong_t.
30652
34683bb0
L
30653 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30654 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30655
84a68786
L
30656 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30657
48baa5f1
L
30658 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30659 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30660
180be88b
L
30661 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30662 __syscall_slong_t.
30663
5e90c8ad
L
30664 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30665 include <bits/wordsize.h>. Check __x86_64__ instead of
30666 __WORDSIZE.
30667
23dfb58b
L
30668 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30669 "unsigned long long int" if __x86_64__ is defined.
30670 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30671
ce5d54b0
L
30672 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30673 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30674 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30675
13dc9eac
L
30676 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30677 <stdint.h>.
30678 (GET_PC): Cast to uintptr_t first.
30679 (GET_FRAME): Likewise.
30680 (GET_STACK): Likewise.
30681
a7895d15
L
30682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30683 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30685 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30687 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30688 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30689 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30690 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30692 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30694 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30696 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30698 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30700 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30704 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30706 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30708 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30711
656416c9
AS
307122012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30713
5bd66283
AS
30714 * Makerules (+depfiles): Also collect depfiles from .oS in
30715 $(extra-objs).
30716 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30717 .oS, $(libnldbl-routines)).
30718
656416c9
AS
30719 * Makerules (native-compile-mkdep-flags): Define.
30720 * sunrpc/Makefile (extra-objs): Add $(addprefix
30721 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30722 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30723 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30724 calling $(make-target-directory).
30725
a46f2169
L
307262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30727
30728 * bits/types.h (__snseconds_t): Removed.
30729 * time/time.h (struct timespec): Replace __snseconds_t with
30730 __syscall_slong_t.
30731 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30732 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30733 Likewise.
30734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30735 (__SNSECONDS_T_TYPE): Likewise.
30736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30737 (__SNSECONDS_T_TYPE): Likewise.
30738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30739 (__SNSECONDS_T_TYPE): Likewise.
30740
6af6528b
L
307412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30742
30743 * sysdeps/mach/hurd/bits/typesizes.h
30744 (__SYSCALL_SLONG_TYPE): New macro.
30745 (__SYSCALL_ULONG_TYPE): Likewise.
30746
de986b56
L
307472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30748
30749 * bits/types.h (__syscall_slong_t): New type.
30750 (__syscall_ulong_t): Likewise.
30751
30752 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30753 (__SYSCALL_ULONG_TYPE): Likewise.
30754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30755 (__SYSCALL_SLONG_TYPE): Likewise.
30756 (__SYSCALL_ULONG_TYPE): Likewise.
30757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30758 (__SYSCALL_SLONG_TYPE): Likewise.
30759 (__SYSCALL_ULONG_TYPE): Likewise.
30760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30761 (__SYSCALL_SLONG_TYPE): Likewise.
30762 (__SYSCALL_ULONG_TYPE): Likewise.
30763
85736dc7
L
307642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30765
30766 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30767 Add sigaltstack-offsets.sym.
30768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30769 <sigaltstack-offsets.h>.
30770 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30771 longjmp_msg pointer.
30772 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30773 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30774 signal stack.
30775 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30776
cc03b296
JM
307772012-05-15 Joseph Myers <joseph@codesourcery.com>
30778
a9538892
JM
30779 * elf/stackguard-macros.h: Remove file.
30780 * sysdeps/generic/stackguard-macros.h: New file.
30781 * sysdeps/i386/stackguard-macros.h: Likewise.
30782 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30783 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30784 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30785 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30786 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30787 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30788 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30789 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30790 <elf/stackguard-macros.h>.
30791
cc03b296
JM
30792 [BZ #14109]
30793 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30794 __aligned__ in attribute.
30795 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30796 (gregset_t): Likewise.
30797
93171016
L
307982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30799
30800 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30801 * sysdeps/x86_64/64/Implies-after: Here. New file.
30802 * sysdeps/x86_64/x32/Implies-after: New file.
30803
d86813a0
L
308042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30805
30806 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30807 and access return value for _dl_profile_fixup. Use R10_LP to
30808 load frame size.
30809
2953ec75
L
308102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30811
30812 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30813
3b550e9e
L
308142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30815
30816 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30817 * sysdeps/x86_64/x32/sysdep.h: New file.
30818
eda41706
L
308192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30820
30821 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30822 * sysdeps/x86_64/setjmp.S: Likewise.
30823
9ea01d93
AZ
308242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30825
30826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30827 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30828 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30829 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30830 remove unused global constant.
30831
02a91938
CM
308322012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30833
30834 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30835 include of <not-cancel.h>.
30836
6540185f
RM
308372012-05-15 Roland McGrath <roland@hack.frob.com>
30838
30839 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30840
509072a0
AJ
308412012-05-15 Jeff Law <law@redhat.com>
30842 Andreas Jaeger <aj@suse.de>
30843
30844 [BZ #13594]
30845 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30846 out from...
30847 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30848 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30849 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30850 code changing __hst_map_handle.map.
30851
ba75122d
RM
308522012-05-15 Roland McGrath <roland@hack.frob.com>
30853
30854 * configure.in (sysnames): Look for Implies-before and Implies-after
30855 files.
30856 * configure: Regenerated.
30857
890d8bd8
L
308582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30859
30860 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30861 8-byte data alignment with LP_SIZE alignment.
30862
f6ee6623
L
308632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30864
30865 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30866 into R10_LP.
30867
ea2626f6
L
308682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30869
30870 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30871
085f715e
L
308722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30873
30874 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30875 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30877 Likewise.
30878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30879
be8498fc
L
308802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30881
30882 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30883 (stackinfo_sub_sp): Likewise.
30884
70bc83b9
L
308852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30886
30887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30888 RAX_LP.
30889
9bc0b730
L
308902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30891
30892 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30893 into R*_LP.
30894
6d2850e7
L
308952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30896
30897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30898 sizes into R*_LP.
30899
3cb84561
L
309002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30901
30902 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30903
54e2ed81
L
309042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30905
30906 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30907 into R11_LP and load __x86_64_shared_cache_size_half into
30908 R8_LP.
30909
8a17f349
L
309102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30911
30912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30913 R8_LP.
30914
777b1eea
AZ
309152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30916
30917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30918 logb for POWER7.
30919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30920 logbf for POWER7.
30921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30922 logbl for POWER7.
30923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30924 powerpc32/power7/fpu/s_logb.c via #include.
30925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30926 powerpc32/power7/fpu/s_logbf.c via #include.
30927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30928 powerpc32/power7/fpu/s_logbl.c via #include.
30929
d20d4ac2
JM
309302012-05-15 Joseph Myers <joseph@codesourcery.com>
30931
30932 * README.libm: Remove file.
30933
6cdef1ab
L
309342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30935
30936 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30937 count for x32. Use R*_LP and omit operand-size suffix.
30938
0b254d8f
L
309392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30942 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30943 * sysdeps/x86_64/x32/shlib-versions: New file.
30944
ceb809dc
RM
309452012-05-14 Roland McGrath <roland@hack.frob.com>
30946
30947 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30948 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30949 Use _dl_fatal_printf instead.
30950
37f1abd4
JM
309512012-05-14 Joseph Myers <joseph@codesourcery.com>
30952
30953 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30954 set if not set by the user. Do not allow for being unset.
30955 * sysdeps/unix/sysv/linux/configure: Regenerated.
30956
11de3a33
L
309572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30958
30959 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30960 the `q' suffix from lea and replace .quad with ASM_ADDR.
30961
e02f153a
L
309622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30963
30964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30965 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30966 instead of $17.
30967 (PTR_DEMANGLE): Likewise.
30968
520ae0fd
L
309692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30970
30971 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30972 (LP_OP): Likewise.
30973 (ASM_ADDR): Likewise.
30974 (RAX_LP): Likewise.
30975 (RBP_LP): Likewise.
30976 (RBX_LP): Likewise.
30977 (RCX_LP): Likewise.
30978 (RDI_LP): Likewise.
30979 (RSI_LP): Likewise.
30980 (RSP_LP): Likewise.
30981 (R8_LP): Likewise.
30982 (R9_LP): Likewise.
30983 (R10_LP): Likewise.
30984 (R10_LP): Likewise.
30985 (R11_LP): Likewise.
30986 (R12_LP): Likewise.
30987 (R13_LP): Likewise.
30988 (R14_LP): Likewise.
30989 (R15_LP): Likewise.
30990
b985be81
L
309912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30992
30993 * sysdeps/x86_64/x32/dl-machine.h: New file.
30994
6a4888ff
AJ
309952012-05-14 Andreas Jaeger <aj@suse.de>
30996
30997 * manual/Makefile (subdir): Remove export of subdir.
30998 (all): Remove target.
30999 (.PHONY): Remove all from list.
31000 (mkinstalldirs): Remove.
31001 (.PHONY): Remove installdirs from list.
31002 ($(inst_infodir)/libc.info): Use make-target-directory.
31003 (installdirs): Remove.
31004 (subdir_%): Remove.
31005 (glibc-targets): Remove.
31006 (lib): Remove.
31007 (stubs): Remove.
31008 ($(objpfx)stubs ../po/manual.pot): Remove.
31009 ($(objpfx)stamp%): Remove.
31010 (make-target-directory): Remove.
31011 (subdir_install): Remove.
31012 (routines): Remove.
31013 (aux): Remove.
31014 (sources): Remove.
31015 (objects): Remove.
31016 (headers): Remove.
31017
31018 [BZ #13750]
31019 * manual/.gitignore: Remove, it's not needed anymore.
31020 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31021 all files in it.
31022 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31023 directory.
31024 (texis): Renamed to $(objpfx)texis.
31025 (texis-path): New, contains path to generated files.
31026 (chapters.%): Use texis-path for complete path, add extra argument
31027 libc-texinfo.sh.
31028 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31029 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31030 (summary,texi, stamp-summary): Use complete path of
31031 files. Generate files in build dir.
31032 (dir-add.texi): Build in build dir.
31033 (libm-err.texi,stamp-libm-err): Likewise.
31034 (version.texi, stamp-version): Likewise.
31035 (.%c.texi): Likewise.
31036 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31037 (mostlyclean): Remove target.
31038 (realclean): Remove target.
31039 (generated): Add new variable with contents from mostlyclean and
31040 realclean, remove entries duplicated in common-mostlyclean, add
31041 stamp-libm-err and stamp-version.
31042 (generated-dirs): Add libc directory.
31043 ($(inst_infodir)/libc.info): Install files from build dir.
31044
31045 * manual/install.texi (Configuring and compiling): Adjust since
31046 the info files are not part of the tar ball anymore.
31047
7ac77294
AJ
310482012-05-14 Andreas Jaeger <aj@suse.de>
31049
31050 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31051 variable.
31052
ffb7875d
JM
310532012-05-14 Joseph Myers <joseph@codesourcery.com>
31054
31055 [BZ #13717]
31056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31057 to 2.2.0 where earlier.
31058 * sysdeps/unix/sysv/linux/configure: Regenerated.
31059 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31060 Remove conditional code.
31061 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31062 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31063 Remove conditional code.
31064 [!__NR_lchown]: Likewise.
31065 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31066 [__NR_lchown]: Likewise.
31067 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31068 comment referencing __ASSUME_LCHOWN_SYSCALL.
31069 * sysdeps/unix/sysv/linux/i386/sigaction.c
31070 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31071 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31072 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31073 Remove conditional code.
31074 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31075 (__protocol_available): Remove #if 0 code.
31076 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31077 conditional code.
31078 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31079 * sysdeps/unix/sysv/linux/kernel-features.h
31080 (__ASSUME_GETCWD_SYSCALL): Don't define.
31081 (__ASSUME_REALTIME_SIGNALS): Likewise.
31082 (__ASSUME_PREAD_SYSCALL): Likewise.
31083 (__ASSUME_PWRITE_SYSCALL): Likewise.
31084 (__ASSUME_POLL_SYSCALL): Likewise.
31085 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31086 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31087 non-SPARC.
31088 (__ASSUME_SIOCGIFNAME): Don't define.
31089 (__ASSUME_MSG_NOSIGNAL): Likewise.
31090 (__ASSUME_SENDFILE): Define unconditionally.
31091 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31092 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31093 conditional code.
31094 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31095 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31096 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31097 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31098 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31099 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31100 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31102 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31108 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31114 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31125 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31126 Remove conditional code.
31127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31128 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31129 Remove conditional code.
31130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31131 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31132 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31133 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31134 Remove conditional code.
31135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31136 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31137 Remove conditional code.
31138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31139 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31140 Remove conditional code.
31141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31142 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31143 Remove conditional code.
31144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31145 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31146 Remove conditional code.
31147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31148 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31149 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31151 * sysdeps/unix/sysv/linux/sigaction.c
31152 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31153 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31154 * sysdeps/unix/sysv/linux/sigpending.c
31155 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31156 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31157 * sysdeps/unix/sysv/linux/sigprocmask.c
31158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31160 * sysdeps/unix/sysv/linux/sigsuspend.c
31161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31164 (__libc_missing_rt_sigs): Remove.
31165 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31166 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31167 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31168 Remove conditional code.
31169 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31170 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31171 return 1.
31172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31173 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31174 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31175 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31176
1bfb7291
AJ
311772012-05-14 Andreas Jaeger <aj@suse.de>
31178
caae5a81
AJ
31179 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31180 it's not used in glibc.
31181 (__coshm1): Likewise.
31182 (__acosh1p): Likewise.
31183 (__sgn): Likewise.
31184
1bfb7291
AJ
31185 * manual/string.texi (Copying and Concatenation): Add missing
31186 variable in concat example.
31187 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31188
c044d724
L
311892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31190
144c5467 31191 [BZ #14103]
c044d724
L
31192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31193 __builtin_clzl with __builtin_clzll.
31194
2523c62b
L
311952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31196
31197 [BZ #14104]
31198 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31199 libc_freeres_ptr.
31200
d7bb4c42
LD
312012012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31202
31203 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31204 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31205 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31206 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31207
9dc4e1fb
MF
312082012-05-14 Mike Frysinger <vapier@gentoo.org>
31209
31210 * NEWS: Update ia64 info.
31211
c7df0112
AS
312122012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31213
31214 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31215 used as bcopy.
31216
dc70356c
TS
312172012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31218
31219 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31220 * sysdeps/unix/syscalls.list (dup3): Likewise.
31221 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31222 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31223
9fb1a21f
L
312242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31225
31226 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31227 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31228
4822a2a5
L
312292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31230
31231 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31232 thread pointer.
31233 (TLS_IE): Use mov/add instead of movq/addq to load thread
31234 pointer.
31235 (TLS_GD_PREFIX): New.
31236 (TLS_GD): Use it.
31237
842b81d6
DM
312382012-05-11 David S. Miller <davem@davemloft.net>
31239
31240 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31241 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31242 (_FPU_SETCW): Likewise.
31243
1cf463cd
L
312442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31245
31246 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31247 is 32-byte aligned.
31248
60cc4a18
AS
312492012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31250
31251 [BZ #11837]
31252 * iconvdata/gb18030.c: Update tables.
31253 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31254 characters specially.
31255 (BODY for TO_LOOP): Add encoding of missing ranges.
31256
febb44a4
TS
312572012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31258
31259 [BZ #13673]
31260 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31261 * sysdeps/mach/hurd/dup3.c: Likewise.
31262 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31263 * sysdeps/powerpc/memmove.c:: Likewise.
31264
0a10fb9e
L
312652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31266
31267 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31268 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31269
df8a552f
L
312702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31271
31272 * elf/elf.h (R_X86_64_RELATIVE64): New.
31273 (R_X86_64_NUM): Updated.
31274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31275 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31276 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31277 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31278 tst-quad1pie tst-quad2pie
31279 (modules-names): Add tst-quadmod1 tst-quadmod2.
31280 ($(objpfx)tst-quad1): New dependency.
31281 ($(objpfx)tst-quad2): Likewise.
31282 ($(objpfx)tst-quad1pie): Likewise.
31283 ($(objpfx)tst-quad2pie): Likewise.
31284 * sysdeps/x86_64/tst-quad1.c: New file.
31285 * sysdeps/x86_64/tst-quad1pie.c: New file.
31286 * sysdeps/x86_64/tst-quad2.c: Likewise.
31287 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31288 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31289 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31290 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31291 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31292
f34d6f84
ST
312932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31294
f42d41d1
ST
31295 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31296 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31297 * streams/stropts.h (t_scalar_t): Define type.
31298
3c3571fc
ST
31299 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31300 (_PATH_PRESERVE): Set to "/var/lib".
31301 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31302
61f06bd3
ST
31303 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31304 instead of int.
31305
918d4d71
ST
31306 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31307 if __dir_mkfile succeeded.
31308
f34d6f84
ST
31309 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31310 checking for _hurd_dtablesize. Unlock it right after having
31311 finished _hurd_dtable allocation.
31312
10589b4a
TS
313132012-05-10 Thomas Schwinge <thomas@schwinge.name>
31314
674cdbc7
TS
31315 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31316 * sysdeps/mach/hurd/configure: Regenerated.
31317 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31318 special-casing to...
31319 * sysdeps/gnu/configure.in: ... this new file.
31320 * sysdeps/unix/sysv/linux/configure: Regenerated.
31321 * sysdeps/gnu/configure: New generated file.
31322
8e41b99f
TS
31323 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31324 for Linux: use nsec instead of usec, as well as:
31325 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31326 members of type struct timespec.
31327 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31328 New macros.
31329 (struct stat64): Likewise.
31330 (_STATBUF_ST_NSEC): New macro.
31331 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31332
10589b4a
TS
31333 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31334 __strtoul_internal rather than strtoul.
31335
63643c85
PT
313362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31337
31338 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31339 and reject them.
31340
3faebe6a
ST
313412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31342
31343 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31344 which preserves existing values.
31345 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31346
c6474b07
PT
313472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31348
31349 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31350 TIMEOUT values. Return EINVAL for NFDS values either negative or
31351 greater than FD_SETSIZE.
31352
1043890b
ST
313532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31354
31355 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31356 allocated, call __vm_protect to finish enabling the existing space, and
31357 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31358 allocate the remainder.
31359
37ed8b9b
PT
313602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31361
31362 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31363 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31364
db653660
ST
313652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31366
37ed8b9b
PT
31367 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31368 sysdeps/mach/hurd/readlink.c.
b29d4053 31369
db653660
ST
31370 * posix/tst-sysconf.c (posix_options): Only use
31371 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31372 _POSIX_SYNCHRONIZED_IO when they are defined
31373 * sysdeps/mach/hurd/bits/posix_opt.h:
31374 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31375 (_XOPEN_REALTIME): Undefine macro.
31376 (_XOPEN_REALTIME_THREADS): Undefine macro.
31377 (_XOPEN_SHM): Undefine macro.
31378 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31379 macro to -1.
31380 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31381 macro to -1.
31382 (_POSIX_ASYNC_IO): Undefine macro.
31383 (_POSIX_PRIORITIZED_IO): Undefine macro.
31384 (_POSIX_SPIN_LOCKS): Define macro to -1.
31385
ee16e894
ST
31386 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31387 SA_NODEFER, SA_RESETHAND.
31388 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31389 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31390 F_DUPFD_CLOEXEC.
31391
6103ae3b
TS
313922012-05-10 Thomas Schwinge <thomas@schwinge.name>
31393
31394 * elf/Makefile (pldd-modules): Define unconditionally.
31395
80b4e5f3
TS
313962012-05-10 Thomas Schwinge <thomas@schwinge.name>
31397
31398 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31399
edadcbd6
ST
314002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31401
31402 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31403 Return ENOENT when name is empty.
31404 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31405
80694780
TS
314062012-05-10 Thomas Schwinge <thomas@schwinge.name>
31407
1792c087
TS
31408 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31409
80694780
TS
31410 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31411
6b645f0d
ST
314122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31413
80694780
TS
31414 Fix mlock in all cases except non-readable pages.
31415 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31416 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31417
6b645f0d
ST
31418 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31419 (__mkdir): When path is `/', just fail with EEXIST.
31420 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31421
e468f8a3
TS
314222012-05-10 Thomas Schwinge <thomas@schwinge.name>
31423
31424 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31425 <sys/uio.h> (for writev).
31426 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31427 and <sys/param.h> (for MIN).
31428
a4186cff
PT
314292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31430
31431 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31432 REQUESTED_TIME. Properly set the remaining time and return EINTR
31433 if interrupted.
31434
510bbf14
TS
314352012-05-10 Thomas Schwinge <thomas@schwinge.name>
31436
31437 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31438 Depend on against $(link-rpcuserlibs).
31439
5d5722e8
ST
314402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31441
a4186cff
PT
31442 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31443 (__libc_stack_end): Do not use attribute_relro.
31444 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31445 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31446 to libthread-provided value.
a4186cff
PT
31447 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31448 attribute_relro.
5d5722e8 31449
37233df9
TS
314502012-05-10 Thomas Schwinge <thomas@schwinge.name>
31451
be971a2b
TS
31452 [BZ #3748]
31453 * bits/libc-lock.h (__libc_once_get): New macro.
31454 * sysdeps/mach/bits/libc-lock.h: Likewise.
31455 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31457 instead of using implementation details.
31458
37233df9
TS
31459 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31460 * libio/freopen.c: Likewise.
31461 * libio/freopen64.c: Likewise.
31462 * misc/syslog.c: Likewise.
31463 * nscd/connections.c: Likewise.
31464 * nscd/netgroupcache.c: Likewise.
31465 * sysdeps/posix/getcwd.c: Likewise.
31466
38de94a5
RM
314672012-05-10 Roland McGrath <roland@hack.frob.com>
31468
31469 * math/w_ilogbf.c: Add #include <limits.h>.
31470
67530489
ST
314712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31472
a4186cff 31473 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31474 path instead of returning without unlocking.
31475
67530489
ST
31476 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31477 immediate-write ioctls.
31478 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31479
5aa3a74a
TS
314802012-05-10 Thomas Schwinge <thomas@schwinge.name>
31481
18bad2ae
TS
31482 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31483 __builtin_frame_address instead of making assumptions about the
31484 location of the return address relative to DATA. Force early load of
31485 the return address.
31486 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31487 __builtin_frame_address.
31488
5aa3a74a
TS
31489 dup3 for GNU Hurd.
31490 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31491 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31492 implement dup3 and do some further code clean-ups.
31493 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31494 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31495
ecd0de9a
ST
314962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31497
cd9fa985
ST
31498 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31499
a4186cff
PT
31500 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31501 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31502 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31503 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31504 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31505 d->port.lock.
802ca5a5 31506
a4186cff
PT
31507 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31508 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31509 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31510
bcf55240
TS
315112012-05-10 Thomas Schwinge <thomas@schwinge.name>
31512
6960eb42
TS
31513 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31514 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31515 definitions.
31516
eb43375f
TS
31517 accept4 for GNU Hurd.
31518 * include/sys/socket.h (__libc_accept4): New prototype.
31519 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31520 to implement __libc_accept4.
31521 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31522 __libc_accept4.
31523 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31524
bcf55240
TS
31525 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31526 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31527 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31528 signal-defines.sym.
31529
6178c55b
ST
315302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31531
a4186cff 31532 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31533
6f080c2f
TS
315342012-05-10 Thomas Schwinge <thomas@schwinge.name>
31535
31536 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31537 assertion on O_CLOEXEC flag.
31538 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31539 * hurd/intern-fd.c: Likewise.
31540 * hurd/port2fd.c: Likewise.
31541
bcfe3a54
ST
315422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31543
31544 [BZ #3906]
31545 * bits/in.h (IPV6_PKTINFO): Define new macro.
31546 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31547
89c9aa49
AZ
315482012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31549
31550 [BZ #13954]
31551 [BZ #13955]
31552 [BZ #13956]
31553 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31555 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31556 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31558 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31559 * math/libm-test.inc (logb_test) : Additional logb tests.
31560
021db4be
AJ
315612012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31562 Andreas Jaeger <aj@suse.de>
31563
31564 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31565 * configure: Regenerated.
31566 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31567 * config.make.in (link-obsolete-rpc): New substituted variable.
31568 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31569 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31570 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31571 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31572 so that libc.a contains the symbols.
31573 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31574 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31575 * sunrpc/auth_none.c: Likewise.
31576 * sunrpc/auth_unix.c: Likewise.
31577 * sunrpc/authdes_prot.c: Likewise.
31578 * sunrpc/authuxprot.c: Likewise.
31579 * sunrpc/clnt_gen.c: Likewise.
31580 * sunrpc/clnt_perr.c: Likewise.
31581 * sunrpc/clnt_raw.c: Likewise.
31582 * sunrpc/clnt_simp.c: Likewise.
31583 * sunrpc/clnt_tcp.c: Likewise.
31584 * sunrpc/clnt_udp.c: Likewise.
31585 * sunrpc/clnt_unix.c: Likewise.
31586 * sunrpc/des_crypt.c: Likewise.
31587 * sunrpc/des_soft.c: Likewise.
31588 * sunrpc/get_myaddr.c: Likewise.
31589 * sunrpc/key_call.c: Likewise.
31590 * sunrpc/key_prot.c: Likewise.
31591 * sunrpc/netname.c: Likewise.
31592 * sunrpc/pm_getmaps.c: Likewise.
31593 * sunrpc/pm_getport.c: Likewise.
31594 * sunrpc/pmap_clnt.c: Likewise.
31595 * sunrpc/pmap_prot.c: Likewise.
31596 * sunrpc/pmap_prot2.c: Likewise.
31597 * sunrpc/pmap_rmt.c: Likewise.
31598 * sunrpc/publickey.c: Likewise.
31599 * sunrpc/rpc_cmsg.c: Likewise.
31600 * sunrpc/rpc_common.c: Likewise.
31601 * sunrpc/rpc_dtable.c: Likewise.
31602 * sunrpc/rpc_prot.c: Likewise.
31603 * sunrpc/rpc_thread.c: Likewise.
31604 * sunrpc/rtime.c: Likewise.
31605 * sunrpc/svc.c: Likewise.
31606 * sunrpc/svc_auth.c: Likewise.
31607 * sunrpc/svc_raw.c: Likewise.
31608 * sunrpc/svc_run.c: Likewise.
31609 * sunrpc/svc_tcp.c: Likewise.
31610 * sunrpc/svc_udp.c: Likewise.
31611 * sunrpc/svc_unix.c: Likewise.
31612 * sunrpc/svcauth_des.c: Likewise.
31613 * sunrpc/xcrypt.c: Likewise.
31614 * sunrpc/xdr.c: Likewise.
31615 * sunrpc/xdr_array.c: Likewise.
31616 * sunrpc/xdr_float.c: Likewise.
31617 * sunrpc/xdr_intXX_t.c: Likewise.
31618 * sunrpc/xdr_mem.c: Likewise.
31619 * sunrpc/xdr_rec.c: Likewise.
31620 * sunrpc/xdr_ref.c: Likewise.
31621 * sunrpc/xdr_sizeof.c: Likewise.
31622 * sunrpc/xdr_stdio.c: Likewise.
31623
b5c086a2
RM
316242012-05-10 Roland McGrath <roland@hack.frob.com>
31625
31626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31627 change. Update copyright years.
31628
6d74dd09
JM
316292012-05-10 Joseph Myers <joseph@codesourcery.com>
31630
31631 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31632
28e72501
MK
316332012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31634 Joseph Myers <joseph@codesourcery.com>
31635 Paul Pluzhnikov <ppluzhnikov@google.com>
31636
31637 [BZ #14012]
31638 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31639 requiring rpcgen.
31640 [cross-compiling] (extra-libs): Likewise.
31641 [cross-compiling] (extra-libs-others): Likewise.
31642 [cross-compiling] (librpcsvc-routines): Likewise.
31643 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31644 [cross-compiling] (omit-deps): Likewise.
31645 (sunrpc-CPPFLAGS): New variable.
31646 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31647 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31648 (cross-rpcgen-objs): New variable.
31649 (extra-objs): Append $(cross-rpcgen-objs).
31650 ($(cross-rpcgen-objs)): New rule.
31651 ($(objpfx)cross-rpcgen): Likewise.
31652 (rpcgen-cmd): Define to use $(built-program-file). Expand
31653 comment.
31654 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31655 ($(objpfx)x%.stmp): Likewise.
31656 * sunrpc/proto.h [IS_IN_build] (_): Define.
31657 [IS_IN_build] (_libc_intl_domainname): Likewise.
31658
c8c59454
L
316592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31660
31661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31662 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31663 and R_X86_64_TPOFF64.
31664
6f27cd16
JM
316652012-05-10 Joseph Myers <joseph@codesourcery.com>
31666
31667 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31668 sysdeps/unix/sysv/syscalls.list.
31669 (stime): Likewise.
31670 (utime): Likewise.
31671 * sysdeps/unix/sysv/syscalls.list: Remove file.
31672
02467e1c
PE
316732012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31674
31675 [BZ #3440]
31676 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31677 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31678 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31679 (__LC_IDENTIFICATION): Make these macros useful in #if
31680 expressions, as required by C99.
31681
da392631
AS
316822012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31683
31684 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31685 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31686 after this.
31687
8115f29b
L
316882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31689
31690 * stdlib/longlong.h: Updated from GCC.
31691
bdd74070
AJ
316922012-05-09 Andreas Jaeger <aj@suse.de>
31693
edfe0dbe
AJ
31694 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31695 default is first entry.
31696 (run_mode): Set type.
31697 (main): Remove informal message about syslog.
31698 (options): Fix typo.
31699
bcfe3a54
ST
31700 [BZ #14053]
31701 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31702 to asm.
bcfe3a54
ST
31703 (lrint): Likewise.
31704 (llrintf): Likewise.
31705 (llrint): Likewise.
31706 (rint): Likewise.
31707 (rintf): Likewise.
31708 (nearbyint): Likewise.
31709 (nearbyintf): Likewise.
bdd74070 31710
91d8d69e
AJ
317112012-05-09 Andreas Jaeger <aj@suse.de>
31712 Pedro Alves <palves@redhat.com>
31713
31714 * nscd/nscd.c (run_mode): Use enum.
31715 (main): Cleanup coding style issue.
31716
bb90b80b
AJ
317172012-05-09 Alexandre Oliva <aoliva@redhat.com>
31718 Andreas Jaeger <aj@suse.de>
31719
bcfe3a54
ST
31720 * nscd/nscd.c (go_background): Replaced with...
31721 (run_mode): ... this.
bb90b80b 31722 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31723 (options): Add -F --foreground.
31724 (main): Implement it.
31725 (parse_opt): Parse it.
bb90b80b 31726
1a4b75a1
AJ
317272012-05-09 Andreas Jaeger <aj@suse.de>
31728
31729 [BZ #14083]
31730 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31731 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31732 -Wconversion warning.
31733 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31734 Likewise.
31735
b1cc2472
JM
317362012-05-09 Joseph Myers <joseph@codesourcery.com>
31737
31738 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31739 == 0.
31740 (LC_ALL): Use macro-int-constant.
31741 (LC_COLLATE): Likewise.
31742 (LC_CTYPE): Likewise.
31743 (LC_MESSAGES): Likewise.
31744 (LC_MONETARY): Likewise.
31745 (LC_NUMERIC): Likewise.
31746 (LC_TIME): Likewise.
31747 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31748 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31750 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31751 Specify type.
31752 [C99-based standards] (float_t): Expect type.
31753 [C99-based standards] (double_t): Expect type.
31754 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31755 type.
31756 [C99-based standards] (HUGE_VALL): Likewise.
31757 [C99-based standards] (INFINITY): Likewise.
31758 [C99-based standards] (NAN): Likewise.
31759 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31760 [C99-based standards] (FP_NAN): Likewise.
31761 [C99-based standards] (FP_NORMAL): Likewise.
31762 [C99-based standards] (FP_SUBNORMAL): Likewise.
31763 [C99-based standards] (FP_ZERO): Likewise.
31764 [C99-based standards] (FP_FAST_FMA): Use
31765 optional-macro-int-constant. Specify type. Require == 1.
31766 [C99-based standards] (FP_FAST_FMAF): Likewise.
31767 [C99-based standards] (FP_FAST_FMAL): Likewise.
31768 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31769 [C99-based standards] (FP_ILOGBNAN): Likewise.
31770 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31771 Specify type.
31772 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31773 [C99-based standards] (math_errhandling): Specify type.
31774 [ISO99 || ISO11] (signgam): Do not allow.
31775 [non-C99-based standards] (copysignf): Do not allow.
31776 [non-C99-based standards] (exp2f): Likewise.
31777 [non-C99-based standards] (log2f): Likewise.
31778 [non-C99-based standards] (modff): Allow.
31779 [non-C99-based standards] (erff): Do not allow.
31780 [non-C99-based standards] (erfcf): Likewise.
31781 [non-C99-based standards] (gammaf): Likewise.
31782 [non-C99-based standards] (hypotf): Likewise.
31783 [non-C99-based standards] (j0f): Likewise.
31784 [non-C99-based standards] (j1f): Likewise.
31785 [non-C99-based standards] (jnf): Likewise.
31786 [non-C99-based standards] (lgammaf): Likewise.
31787 [non-C99-based standards] (tgammaf): Likewise.
31788 [non-C99-based standards] (y0f): Likewise.
31789 [non-C99-based standards] (y1f): Likewise.
31790 [non-C99-based standards] (ynf): Likewise.
31791 [non-C99-based standards] (isnanf): Likewise.
31792 [non-C99-based standards] (acoshf): Likewise.
31793 [non-C99-based standards] (asinhf): Likewise.
31794 [non-C99-based standards] (atanhf): Likewise.
31795 [non-C99-based standards] (cbrtf): Likewise.
31796 [non-C99-based standards] (expm1f): Likewise.
31797 [non-C99-based standards] (ilogbf): Likewise.
31798 [non-C99-based standards] (log1pf): Likewise.
31799 [non-C99-based standards] (logbf): Likewise.
31800 [non-C99-based standards] (nextafterf): Likewise.
31801 [non-C99-based standards] (remainderf): Likewise.
31802 [non-C99-based standards] (rintf): Likewise.
31803 [non-C99-based standards] (scalbf): Likewise.
31804 [non-C99-based standards] (copysignl): Likewise.
31805 [non-C99-based standards] (exp2l): Likewise.
31806 [non-C99-based standards] (log2l): Likewise.
31807 [non-C99-based standards] (modfl): Allow.
31808 [non-C99-based standards] (erfl): Do not allow.
31809 [non-C99-based standards] (erfcl): Likewise.
31810 [non-C99-based standards] (gammal): Likewise.
31811 [non-C99-based standards] (hypotl): Likewise.
31812 [non-C99-based standards] (j0l): Likewise.
31813 [non-C99-based standards] (j1l): Likewise.
31814 [non-C99-based standards] (jnl): Likewise.
31815 [non-C99-based standards] (lgammal): Likewise.
31816 [non-C99-based standards] (tgammal): Likewise.
31817 [non-C99-based standards] (y0l): Likewise.
31818 [non-C99-based standards] (y1l): Likewise.
31819 [non-C99-based standards] (ynl): Likewise.
31820 [non-C99-based standards] (isnanl): Likewise.
31821 [non-C99-based standards] (acoshl): Likewise.
31822 [non-C99-based standards] (asinhl): Likewise.
31823 [non-C99-based standards] (atanhl): Likewise.
31824 [non-C99-based standards] (cbrtl): Likewise.
31825 [non-C99-based standards] (expm1l): Likewise.
31826 [non-C99-based standards] (ilogbl): Likewise.
31827 [non-C99-based standards] (log1pl): Likewise.
31828 [non-C99-based standards] (logbl): Likewise.
31829 [non-C99-based standards] (nextafterl): Likewise.
31830 [non-C99-based standards] (remainderl): Likewise.
31831 [non-C99-based standards] (rintl): Likewise.
31832 [non-C99-based standards] (scalbl): Likewise.
31833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31834 [non-C99-based standards] (FP_*): Do not allow.
31835 [C99-based standards] (FP_*): Change to
31836 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31837 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31838 allow.
31839 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31840 (SIG_ERR): Likewise.
31841 [X/Open-based standards] (SIG_HOLD): Likewise.
31842 (SIG_IGN): Likewise.
31843 (SIGABRT): Use macro-int-constant. Specify type. Require
31844 positive value.
31845 (SIGFPE): Likewise.
31846 (SIGILL): Likewise.
31847 (SIGINT): Likewise.
31848 (SIGSEGV): Likewise.
31849 (SIGTER): Likewise.
31850 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31851 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31852 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31856 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31857 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31858 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31859 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31863 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31864 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31865 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31866 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31867 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31868 [X/Open-based standards] (SIGTRAP): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31871 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31872 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31873 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31874 allow.
31875
b9f1922d
IW
318762012-05-08 Ian Wienand <ianw@vmware.com>
31877
31878 [BZ #14080]
31879 * time/tzset.c (__tzset_parse_tz): Update default rules for
31880 daylight time changes in the Energy Policy Act of 2005.
31881
1db86e88
AJ
318822012-05-09 Andreas Jaeger <aj@suse.de>
31883
31884 [BZ #13983]
31885 * elf/ldconfig.c (parse_conf): Change string to make clear that
31886 ldconfig only issued a warning if ld.so.conf does not exist.
31887
dee4a4e3
DM
318882012-05-08 David S. Miller <davem@davemloft.net>
31889
ee0db190
DM
31890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31891 movxtod instead of popping the value on the stack.
31892
dee4a4e3
DM
31893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31894
6a43ec98
CD
318952012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31896
31897 * config.h.in: Add HAVE_ARM_PCS_VFP.
31898
05c2c961
RMG
318992012-05-08 Roland Mc Grath <roland@hack.frob.com>
31900
bcfe3a54
ST
31901 [BZ #13979]
31902 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31903 checking but the checks are disabled for any reason.
05c2c961 31904
4b30f61a
L
319052012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31906
31907 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31908 and ELF64_R_TYPE with ELFW(R_TYPE).
31909
eee2bc67
JM
319102012-05-08 Joseph Myers <joseph@codesourcery.com>
31911
7ea5391a
JM
31912 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31913 (ulimit): Likewise.
31914
eee2bc67
JM
31915 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31916 (settimeofday): Likewise.
31917
abb66a67
MF
319182012-05-08 Mike Frysinger <vapier@gentoo.org>
31919
31920 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31921 a struct th_u2 inside the union, and move tu_block/tu_code into
31922 a new th_u3 union of tu_block/tu_code inside of that. Move
31923 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31924 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31925 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31926 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31927 (th_stuff): Change to th_u1.tu_stuff.
31928 (th_data): Define.
31929 (th_msg): Change to th_u1.th_u2.tu_data.
31930
7f18b530
DM
319312012-05-07 David S. Miller <davem@davemloft.net>
31932
05760585
DM
31933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31934
7f18b530
DM
31935 [BZ #14074]
31936 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31937 (SETUP_PIC_REG): Use it.
31938 (SETUP_PIC_REG_LEAF): Use it.
31939
495fd99f
JM
319402012-05-07 Joseph Myers <joseph@codesourcery.com>
31941
31942 [BZ #13885]
31943 [BZ #13923]
31944 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31945 USE_AS_EXPM1L.
31946 (EXPL_FINITE): Likewise.
31947 (FLDLOG): Likewise.
31948 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31949 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31950 e_expl.S.
31951 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31952 USE_AS_EXPM1L.
31953 (EXPL_FINITE): Likewise.
31954 (FLDLOG): Likewise.
31955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31956 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31957 e_expl.S.
31958 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31959 test of -max_value argument for long double.
31960 * sysdeps/i386/fpu/libm-test-ulps: Update.
31961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31962
6693d694
DM
319632012-05-06 David S. Miller <davem@davemloft.net>
31964
31965 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31966 quad soft-float symbols whose references which are compiler
31967 generated.
31968 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31969
6c23e11c
JM
319702012-05-06 Joseph Myers <joseph@codesourcery.com>
31971
d8b82cad
JM
31972 [BZ #13884]
31973 [BZ #13914]
31974 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31975 USE_AS_EXP10L.
31976 (EXPL_FINITE): Likewise.
31977 (FLDLOG): Likewise.
31978 (c0): Likewise.
31979 (c1): Likewise.
31980 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31981 Adjust comments for base varying.
31982 (__expl_finite): Change alias to EXPL_FINITE.
31983 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31984 e_expl.S.
31985 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31986 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31988 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31989 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31990 USE_AS_EXP10L.
31991 (EXPL_FINITE): Likewise.
31992 (FLDLOG): Likewise.
31993 (c0): Likewise.
31994 (c1): Likewise.
31995 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31996 Adjust comments for base varying.
31997 (__expl_finite): Change alias to EXPL_FINITE.
31998 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31999 tests for bugs.
32000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32001
6c23e11c
JM
32002 [BZ #14064]
32003 * math/libm-test.inc (check_float_internal): Correct ulp
32004 calculation for subnormal expected results.
32005
29ba805c
AJ
320062012-05-06 Andreas Jaeger <aj@suse.de>
32007
32008 * Makeconfig (+math-flags): New, set to -frounding-math.
32009 (+cflags): Add +math-flags so that all of glibc gets compiled with
32010 it.
32011
32012 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32013
7b17aeda
JM
320142012-05-05 Joseph Myers <joseph@codesourcery.com>
32015
5779f134
JM
32016 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32017 Disable one test.
32018
41498f4d
JM
32019 [BZ #13787]
32020 [BZ #13922]
32021 [BZ #14036]
32022 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32023 (__ieee754_expl): Allow for and saturate large arguments.
32024 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32025 (u_threshold): Likewise.
32026 (__exp): Call __ieee754_exp before checking for overflow and
32027 underflow.
32028 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32029 (u_threshold): Likewise.
32030 (__expf): Call __ieee754_expf before checking for overflow and
32031 underflow.
32032 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32033 (u_threshold): Likewise.
32034 (__expl): Call __ieee754_expl before checking for overflow and
32035 underflow.
32036 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32037 (__ieee754_expl): Allow for and saturate large arguments.
32038 * math/libm-test.inc (exp_test): Add another test. Do not allow
32039 missing overflow exception on overflow.
32040 (expm1_test): Do not allow missing overflow exception on overflow.
32041
6698b8bf
JM
32042 * sysdeps/i386/fpu/e_expl.c: Move to ...
32043 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32044 rather than using inline asm.
32045 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32046 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32047 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32048
7b17aeda
JM
32049 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32050 (nice): Likewise.
32051 (poll): Likewise.
32052 (signal): Likewise.
32053 (time): Likewise.
32054 (times): Likewise.
32055
f7c85819
JM
320562012-05-04 Joseph Myers <joseph@codesourcery.com>
32057
32058 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32059 sysdeps/unix/common/syscalls.list.
32060 (fchmod): Likewise.
32061 (fchown): Likewise.
32062 (ftruncate): Likewise.
32063 (getrusage): Likewise.
32064 (gettimeofday): Likewise.
32065 (setpgid): Likewise.
32066 (setregid): Likewise.
32067 (setreuid): Likewise.
32068 (sigaction): Likewise.
32069 (truncate): Likewise.
32070 (vhangup): Likewise.
32071 * sysdeps/unix/common/syscalls.list: Remove file.
32072 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32073 * sysdeps/unix/sysv/linux/Implies: Likewise.
32074
336270d0
L
320752012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32076
32077 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32079 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32080 Moved to ...
32081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32082 Here.
32083 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32084 to ...
32085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32086 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32087 to ...
32088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32089 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32090 to ...
32091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32092 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32093 to ...
32094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32095 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32096 to ...
32097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32098 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32099 to ...
32100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32101 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32102 to ...
32103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32104 Here.
32105 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32106 to ...
32107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32108 Here.
32109 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32110 to ...
32111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32112 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32113 Moved to ...
32114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32115 Here.
32116 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32117 to ...
32118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32119
d128e450
JM
321202012-05-04 Joseph Myers <joseph@codesourcery.com>
32121
fa8ee516
JM
32122 * sysdeps/unix/common/bits/dirent.h: Remove file.
32123 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32124
d128e450
JM
32125 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32126 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32127 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32128 * sysdeps/unix/bsd/isatty.c: Likewise.
32129 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32130 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32131 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32132
ff8faaf0 321332012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32134
62881be4 32135 [BZ #13563]
31dc8730
AZ
32136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32137 long double comparison inaccuracies.
32138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32140
6fef930c
AS
321412012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32142
32143 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32145
8f203e6c
JM
321462012-05-04 Joseph Myers <joseph@codesourcery.com>
32147
32148 [BZ #14049]
32149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32150 nonzero digits before rounding a hex value.
32151 * stdlib/tst-strtod.c (tests): Add another test.
32152
5197d9c2
AK
321532012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32154
32155 * sysdeps/s390/fpu/libm-test-ulps: Update.
32156
f0c1dedf
AJ
321572012-05-03 Andreas Jaeger <aj@suse.de>
32158
32159 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32160 does not get optimized out.
32161 (malloc_opt_barrier): New.
32162
a65ef2ae 321632012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32164 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32165
2b942cb7 32166 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32167 intermediate file deletion.
2b942cb7 32168 (generated): Add .symlist files.
a65ef2ae 32169
54b71e02
JM
321702012-05-03 Joseph Myers <joseph@codesourcery.com>
32171
32172 [BZ #13775]
32173 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32174 Redirect under this condition.
32175 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32176 [__USE_GNU] (__dprintf_chk): Not under this condition.
32177 [__USE_GNU] (__vdprintf_chk): Likewise.
32178 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32179 under this condition.
32180 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32181 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32182 [__USE_XOPEN2K8] (vdprintf): Likewise.
32183 [__USE_GNU] (__dprintf_chk): Not under this condition.
32184 [__USE_GNU] (__vdprintf_chk): Likewise.
32185 [__USE_GNU] (dprintf): Likewise.
32186 [__USE_GNU] (vdprintf): Likewise.
32187
d3dfcc41
RM
321882012-05-03 Roland McGrath <roland@hack.frob.com>
32189
32190 * elf/Makefile (common-generated): Set this instead of generated for
32191 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32192 $(all-built-dso)-derived lists.
32193
7ac30cc5
AJ
321942012-05-03 Andreas Jaeger <aj@suse.de>
32195
0c51e550
AJ
32196 * sysdeps/i386/fpu/libm-test-ulps: Update.
32197
7ac30cc5
AJ
32198 * FAQ: Removed.
32199 * FAQ.in: Likewise.
32200 * scripts/gen-FAQ.pl: Likewise.
32201 * manual/install.texi (Installation): Point to online location of
32202 FAQ.
32203 * Makefile (files-for-dist): Remove FAQ.
32204 (FAQ): Remove.
32205
d4c2917f
AM
322062012-05-02 Allan McRae <allan@archlinux.org>
32207
32208 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32209 (LDFLAGS-reldepmod5.so): Likewise.
32210 (LDFLAGS-reldep6mod1.so): Likewise.
32211 (LDFLAGS-reldep6mod4.so): Likewise.
32212 (LDFLAGS-reldep8mod3.so): Likewise.
32213 (LDFLAGS-unload4mod1.so): Likewise.
32214 (LDFLAGS-unload4mod2.so): Likewise.
32215 (LDFLAGS-tst-initorder): Likewise.
32216 (LDFLAGS-tst-initordera2.so): Likewise.
32217 (LDFLAGS-tst-initordera3.so): Likewise.
32218 (LDFLAGS-tst-initordera4.so): Likewise.
32219 (LDFLAGS-tst-initorderb2.so): Likewise.
32220 (LDFLAGS-noload): Likewise.
32221 (LDFLAGS-next): Likewise.
32222 (LDFLAGS-order2mod1.so): Likewise.
32223 (LDFLAGS-order2mod2.so): Likewise.
32224 (LDFLAGS-tst-initorder2): Likewise.
32225 (LDFLAGS-tst-initorder2a.so): Likewise.
32226 (LDFLAGS-tst-initorder2b.so): Likewise.
32227 (LDFLAGS-tst-initorder2c.so): Likewise.
32228 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32229
d77f993f
DM
322302012-05-02 David S. Miller <davem@davemloft.net>
32231
32232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32233
171a70b4
PP
322342012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32235
32236 [BZ #14055]
32237 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32238
0be196ad
AJ
322392012-05-02 Andreas Jaeger <aj@suse.de>
32240
32241 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32242 since we manipulate rounding mode.
32243 (CPPFLAGS-test-idouble.c): Likewise.
32244 (CPPFLAGS-test-ifloat.c): Likewise.
32245 (CFLAGS-test-ldouble.c): Likewise.
32246 (CFLAGS-test-double.c): Likewise.
32247 (CFLAGS-test-float.c): Likewise.
32248 (CFLAGS-test-misc.c): Likewise.
32249 (CFLAGS-test-test-fenv.c): Likewise.
32250
4f9d04aa
AZ
322512012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32252
2b942cb7
RM
32253 [BZ #2550]
32254 [BZ #2570]
32255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32256 comparisons to determine direction to adjust input.
4f9d04aa 32257
82a79e7d
RM
322582012-05-01 Roland McGrath <roland@hack.frob.com>
32259
f5a01ca9
RM
32260 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32261 output to the target.
32262
90fe4186
RM
32263 * scripts/localplt.awk: New file.
32264 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32265 (check-localplt-CFLAGS): Variable removed.
32266 ($(all-built-dso:=.jmprel)): New static pattern rule.
32267 (generated): Add those targets.
32268 (localplt-built-dso): New variable.
32269 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32270
32271 * elf/check-localplt.c: File removed.
32272
82397ed6
RM
32273 * scripts/check-execstack.awk: New file.
32274 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32275 (check-execstack-CFLAGS): Variable removed.
32276 ($(objpfx)check-execstack.h): Target removed.
32277 ($(objpfx)execstack-default): New target.
32278 (generated): Add that instead of check-execstack.h.
32279 ($(all-built-dso:=.phdr)): New static pattern rule.
32280 (generated): Add those targets.
32281 * elf/check-execstack.c: File removed.
32282
82a79e7d
RM
32283 * scripts/check-textrel.awk: New file.
32284 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32285 (check-textrel-CFLAGS): Variable removed.
32286 (all-built-dso): Use := to define.o
32287 ($(all-built-dso:=.dyn)): New static pattern rule.
32288 (generated): Add those targets.
32289 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32290 * config.make.in (READELF): New substituted variable.
32291 * elf/check-textrel.c: File removed.
32292
62fde54f 322932012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32294
615605c9
JM
32295 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32296 allow.
32297 * conform/data/ctype.h-data [C99-based standards] (isblank):
32298 Expect function.
32299 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32300 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32302 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32303 Specify type. Require positive value.
32304 (EILSEQ): Likewise.
32305 (ERANGE): Likewise.
32306 [ISO || POSIX] (EILSEQ): Do not expect.
32307 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32308 Specify type. Require positive value.
32309 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32318 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32319 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32326 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32327 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32339 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32340 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32341 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32342 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32345 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32346 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32347 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32348 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32349 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32350 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32351 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32352 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32353 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32354 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32355 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32356 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32357 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32358 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32359 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32360 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32361 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32362 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32363 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32364 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32365 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32366 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32367 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32368 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32369 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32370 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32371 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32372 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32373 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32374 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32375 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32376 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32377 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32378 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32379 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32380 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32381 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32382 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32383 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32384 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32385 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32386 Require >= 2.
32387 (FLT_ROUNDS): Expect as macro, not constant.
32388 (FLT_MANT_DIG): Use macro-int-constant.
32389 (DBL_MANT_DIG): Likewise.
32390 (LDBL_MANT_DIG): Likewise.
32391 (FLT_DIG): Likewise.
32392 (DBL_DIG): Likewise.
32393 (LDBL_DIG): Likewise.
32394 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32395 (DBL_MIN_EXP): Likewise.
32396 (LDBL_MIN_EXP): Likewise.
32397 (FLT_MAX_EXP): Use macro-int-constant.
32398 (DBL_MAX_EXP): Likewise.
32399 (LDBL_MAX_EXP): Likewise.
32400 (FLT_MAX_10_EXP): Likewise.
32401 (DBL_MAX_10_EXP): Likewise.
32402 (LDBL_MAX_10_EXP): Likewise.
32403 (FLT_MAX): Use macro-constant.
32404 (DBL_MAX): Likewise.
32405 (LDBL_MAX): Likewise.
32406 (FLT_EPSILON): Use macro-constant. Give upper bound.
32407 (DBL_EPSILON): Likewise.
32408 (LDBL_EPSILON): Likewise.
32409 (FLT_MIN): Likewise.
32410 (DBL_MIN): Likewise.
32411 (LDBL_MIN): Likewise.
32412 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32413 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32414 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32415 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32416 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32417 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32418 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32419 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32420 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32421 [ISO11] (FLT_TRUE_MIN): Likewise.
32422 [ISO11] (LDBL_TRUE_MIN): Likewise.
32423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32424 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32425 (SCHAR_MIN): Use macro-int-constant. Specify type.
32426 (SCHAR_MAX): Likewise.
32427 (UCHAR_MAX): Likewise.
32428 (CHAR_MIN): Likewise.
32429 (CHAR_MAX): Likewise.
32430 (MB_LEN_MAX): Use macro-int-constant.
32431 (SHRT_MIN): Use macro-int-constant. Specify type.
32432 (SHRT_MAX): Likewise.
32433 (USHRT_MAX): Likewise.
32434 (INT_MAX): Likewise.
32435 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32436 bound negative.
32437 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32438 bound with "U".
32439 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32440 bound with "L".
32441 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32442 bound negative. Suffix upper bound with "L".
32443 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32444 bound with "UL".
32445 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32446 Specify type.
32447 [C99-based standards] (LLONG_MAX): Likewise.
32448 [C99-based standards] (ULLONG_MAX): Likewise.
32449 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32450 == 0.
32451 [ISO11] (max_align_t): Require type.
32452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32453
c9140a62
JM
32454 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32455 from $CFLAGS, without defining away __attribute__ calls.
32456 (checknamespace): Use $CFLAGS_namespace.
32457
9af0bf29
JM
32458 * conform/conformtest.pl (@keywords): Only include C99 keywords
32459 for standards based on C99 or C11.
32460
343222a2
JM
32461 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32462 Disable tests.
32463 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32464 UNIX98]: Likewise.
32465
661f8cf0
JM
32466 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32467 usability of symbols in #if.
32468
ee74b9cb
JM
32469 * conform/conformtest.pl: If macro or constant types start
32470 "promoted:", expect the symbol to be of the following type
32471 promoted by the integer promotions.
62fde54f 32472
aafc49b3
JM
32473 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32474 in one place. Also handle "macro-constant".
32475
fefdf574
JM
32476 * conform/conformtest.pl: Only accept expected macro values with
32477 "==". Parse all "macro" lines in one place.
32478 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32479
f2d922fe
JM
32480 * conform/conformtest.pl: Handle braced types on "constant" lines
32481 instead of handling "typed-constant".
32482 * conform/data/signal.h-data: Use "constant" instead of
32483 "typed-constant".
32484
d22956c9
JM
32485 * conform/conformtest.pl: Handle "optional-" at start of lines in
32486 one place rather than duplicating several cases. Handle each
32487 format of "macro" line with initial "optional-".
32488
028e2e38
JM
32489 * conform/conformtest.pl: Only accept expected constant or
32490 optional-constant values with "==". Parse all "constant" lines in
32491 one place. Parse all "optional-constant" lines in one place.
32492 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32493 * conform/data/fmtmsg.h-data: Likewise.
32494 * conform/data/netinet/in.h-data: Likewise.
32495 * conform/data/tar.h-data: Likewise.
32496 * conform/data/limits.h-data: Use "==" form on "constant" and
32497 "optional-constant" lines.
32498
1b8f2850
JM
32499 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32500 Use -std=c99 for XOPEN2K.
32501 (@knownproblems): Remove.
32502 (newtoken): Don't check %isknown.
32503
a05a144b
JM
32504 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32505 Do not expect macro.
32506 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32507 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32508 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32509 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32510 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32511 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32512 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32513 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32514 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32515 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32518 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32519 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32528 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32529 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32536 [XPG3] (acosh): Likewise.
32537 [XPG3] (asinh): Likewise.
32538 [XPG3] (atanh): Likewise.
32539 [XPG3] (cbrt): Likewise.
32540 [XPG3] (expm1): Likewise.
32541 [XPG3] (ilogb): Likewise.
32542 [XPG3] (log1p): Likewise.
32543 [XPG3] (logb): Likewise.
32544 [XPG3] (nextafter): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32546 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32547 [XPG3] (remainder): Likewise.
32548 [XPG3] (rint): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32550 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32556 [UNIX98 || XOPEN2K] (scalb): Expect.
32557 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32558 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32600 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32665 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32666 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32667 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32668 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32669 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32670 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32671 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32672 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32673 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32674 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32675 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32676 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32677 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32678 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32679 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32680 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32681 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32682 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32683 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32684 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32685 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32686 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32687 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32688 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32689 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32690 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32691 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32692 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32693 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32694
73c5ebe3
JM
32695 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32696 _XOPEN_SOURCE_EXTENDED for XPG4.
32697
39c33b6c
JM
32698 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32699
62fde54f
JM
32700 * Makeconfig (localtime): Remove variable.
32701 (inst_localtime-file): Likewise.
32702
0741d64c
AS
327032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32704
32705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32706 Update.
32707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32708 Update.
32709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32710 Update.
32711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32712 Update.
32713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32714 Update.
32715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32716 Update.
32717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32718 Update.
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32720 Update.
32721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32722 Update.
32723
7cb029ee
JM
327242012-05-01 Joseph Myers <joseph@codesourcery.com>
32725
32726 [BZ #2550]
32727 [BZ #2570]
32728 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32729 comparisons to determine direction to adjust input.
32730 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32731 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32733 Likewise.
32734 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32735 Likewise.
32736 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32737 Likewise.
32738 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32739 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32740 Likewise.
32741 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32742 Likewise.
32743 * math/libm-test.inc (nexttoward_test): Add more tests.
32744
412bd966
AS
327452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32746
32747 [BZ #14040]
32748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32749 in version GLIBC_2.1, not GLIBC_2.0.
32750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32751 Likewise.
32752
9568c0c2
JM
327532012-04-30 Joseph Myers <joseph@codesourcery.com>
32754
adfbc8ac
JM
32755 [BZ #13942]
32756 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32757 (1 - x) * (1 + x).
32758 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32759 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32760 * math/libm-test.inc (acos_test): Add more tests.
32761 (asin_test): Likewise.
32762 * sysdeps/i386/fpu/libm-test-ulps: Update.
32763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32764
5ba3cc69
JM
32765 [BZ #14034]
32766 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32767 of square root.
32768 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32769 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32770 * math/libm-test.inc (acos_test_tonearest): New function.
32771 (acos_test_towardzero): Likewise.
32772 (acos_test_downward): Likewise.
32773 (acos_test_upward): Likewise.
32774 (asin_test_tonearest): Likewise.
32775 (asin_test_towardzero): Likewise.
32776 (asin_test_downward): Likewise.
32777 (asin_test_upward): Likewise.
32778 (main): Call the new functions.
32779 * sysdeps/i386/fpu/libm-test-ulps: Update.
32780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32781
9568c0c2
JM
32782 [BZ #13884]
32783 [BZ #13924]
32784 * math/e_exp10.c: Include <float.h>.
32785 (__ieee754_exp10): Handle underflow here rather than multiplying
32786 large negative argument by M_LN10.
32787 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32788 of __ieee754_expf.
32789 * math/e_exp10l.c: Include <float.h>.
32790 (__ieee754_exp10l): Handle underflow here rather than multiplying
32791 large negative argument by M_LN10l.
32792 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32793 spurious overflow exception on underflow.
32794
5ac3ea17
MP
327952012-04-29 Marek Polacek <polacek@redhat.com>
32796
32797 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32798 (__fortify_function): New macro.
32799 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32800 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32801 __extern_always_inline.
32802 * libio/bits/stdio2.h: Likewise.
32803 * libio/bits/stdio.h: Likewise.
32804 * string/string.h: Likewise.
32805 * string/bits/string3.h: Likewise.
32806 * include/stdio.h: Likewise.
32807 * stdlib/bits/stdlib.h: Likewise.
32808 * stdlib/stdlib.h: Likewise.
32809 * rt/bits/mqueue2.h: Likewise.
32810 * rt/mqueue.h: Likewise.
32811 * posix/bits/unistd.h: Likewise.
32812 * posix/unistd.h: Likewise.
32813 * io/bits/poll2.h: Likewise.
32814 * io/bits/fcntl2.h: Likewise.
32815 * io/fcntl.h: Likewise.
32816 * io/sys/poll.h: Likewise.
32817 * misc/bits/syslog.h: Likewise.
32818 * misc/bits/syslog-ldbl.h: Likewise.
32819 * misc/sys/syslog.h: Likewise.
32820 * socket/bits/socket2.h: Likewise.
32821 * socket/sys/socket.h: Likewise.
32822 * debug/tst-chk1.c: Likewise.
32823 * wcsmbs/bits/wchar2.h: Likewise.
32824 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32825 * wcsmbs/wchar.h: Likewise.
32826
ecf0ebfb
AJ
328272012-04-29 Andreas Jaeger <aj@suse.de>
32828
32829 * Makerules (tests): Remove enable-check-abi protection.
32830 (check-abi-warn): Remove.
32831 (check-abi-%): Remove check-abi-warn usage.
32832
32833 * configure.in: Remove check-abi configure option.
32834 * configure: Regenerated.
32835 * config.make.in (enable-check-abi): Remove.
32836
6d5c57fa
AS
328372012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32838
24c5d07e 32839 [BZ #14033]
ded5180a
AS
32840 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32841 double functions to double *_finite functions.
32842
7e0d315d
AS
32843 [BZ #13941]
32844 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32845 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32846 LDBL_MIN_EXP.
32847 * stdio-common/Makefile (tests): Add tst-sprintf3.
32848 * stdio-common/tst-sprintf3.c: New file.
32849
6d5c57fa
AS
32850 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32851 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32852
0749ff8b
JM
328532012-04-28 Joseph Myers <joseph@codesourcery.com>
32854
32855 * conform/conformtest.pl: Remove duplicate typed-constant
32856 handling.
32857
8dbd5d7b
DM
328582012-04-28 David S. Miller <davem@davemloft.net>
32859
32860 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32861 (check-abi-%): Remove AWK script prerequisite and explicit
32862 abilist directory.
32863 (check-abi): Rewrite to just diff the symlist with the abilist.
32864 (config-tls, config-abi-config): Delete, no longer used.
32865 (update-abi-%): Remove AWK script and explicit abilist directory.
32866 (update-abi): Rewrite to simply compare and conditionally copy the
32867 symlist and the sysdep abilist file. Remove update-abi-config
32868 checks.
32869 * abilist/ld.abilist: Remove.
32870 * abilist/libBrokenLocale.abilist: Remove.
32871 * abilist/libanl.abilist: Remove.
32872 * abilist/libcrypt.abilist: Remove.
32873 * abilist/libdl.abilist: Remove.
32874 * abilist/librt.abilist: Remove.
32875 * abilist/libthread_db.abilist: Remove.
32876 * abilist/libutil.abilist: Remove.
32877 * scripts/extract-abilist.awk: Remove.
32878 * scripts/merge-abilist.awk: Remove.
32879 * sysdeps/generic/libcidn.abilist: New file.
32880 * sysdeps/generic/libnss_compat.abilist: New file.
32881 * sysdeps/generic/libnss_db.abilist: New file.
32882 * sysdeps/generic/libnss_dns.abilist: New file.
32883 * sysdeps/generic/libnss_files.abilist: New file.
32884 * sysdeps/generic/libnss_hesiod.abilist: New file.
32885 * sysdeps/generic/libnss_nis.abilist: New file.
32886 * sysdeps/generic/libnss_nisplus.abilist: New file.
32887 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32888 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32889 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32890 file.
32891 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32892 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32893 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32894 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32895 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32896 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32897 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32898 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32899 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32900 file.
32901 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32902 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32903 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32904 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32905 file.
32906 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32907 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32908 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32909 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32910 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32911 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32912 file.
32913 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32914 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32915 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32916 file.
32917 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32919 New file.
32920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32921 New file.
32922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32923 New file.
32924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32925 New file.
32926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32927 New file.
32928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32929 New file.
32930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32931 New file.
32932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32933 New file.
32934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32935 New file.
32936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32937 New file.
32938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32939 New file.
32940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32941 New file.
32942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32943 New file.
32944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32945 file.
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32947 New file.
32948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32949 New file.
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32951 file.
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32953 New file.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32955 New file.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32957 file.
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32959 New file.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32961 New file.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32963 New file.
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32965 New file.
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32967 New file.
32968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32969 New file.
32970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32972 file.
32973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32974 New file.
32975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32976 file.
32977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32978 file.
32979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32980 file.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32982 file.
32983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32984 file.
32985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32986 New file.
32987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32988 file.
32989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32990 file.
32991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32992 New file.
32993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32994 file.
32995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32997 file.
32998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32999 New file.
33000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33001 file.
33002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33003 file.
33004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33005 file.
33006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33007 file.
33008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33009 file.
33010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33011 New file.
33012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33013 file.
33014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33015 file.
33016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33017 New file.
33018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33019 file.
33020 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33021 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33022 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33023 file.
33024 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33025 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33026 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33027 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33028 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33029 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33030 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33031 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33032 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33033 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33036 file.
33037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33038 New file.
33039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33040 file.
33041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33042 file.
33043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33044 file.
33045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33046 file.
33047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33048 file.
33049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33050 New file.
33051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33052 New file.
33053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33054 file.
33055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33056 New file.
33057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33058 file.
33059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33061 file.
33062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33063 New file.
33064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33065 file.
33066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33067 file.
33068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33069 file.
33070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33071 file.
33072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33073 file.
33074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33075 New file.
33076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33077 New file.
33078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33079 file.
33080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33081 New file.
33082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33083 file.
33084
41d73a1b
JM
330852012-04-28 Joseph Myers <joseph@codesourcery.com>
33086
33087 * conform/conformtest.pl: Fix typo in handling typed-constant from
33088 allow-header.
33089
28aeeda4
JM
330902012-04-27 Joseph Myers <joseph@codesourcery.com>
33091
adae8f5e
JM
33092 * README: Cut down references to pre-2.6 Linux kernels and
33093 Linuxthreads. Update lists of configurations in libc and ports
33094 and sort alphabetically. Say "or newer" with Linux kernel version
33095 requirements.
33096
28aeeda4
JM
33097 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33098
a462cb63
RA
330992012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33100
33101 [BZ #887]
33102 * math/libm-test.inc (logb_test_downward): New test to expose
33103 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33104 rounding mode.
33105
6ad3493e
JM
331062012-04-27 Joseph Myers <joseph@codesourcery.com>
33107
33108 [BZ #14027]
33109 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33110 to be done.
33111 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33112 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33113
2ce4f015
JM
331142012-04-26 Joseph Myers <joseph@codesourcery.com>
33115
5aeb141a
JM
33116 * sysdeps/unix/i386/brk.S: Remove file.
33117 * sysdeps/unix/i386/dl-brk.S: Likewise.
33118 * sysdeps/unix/i386/pipe.S: Likewise.
33119 * sysdeps/unix/i386/sigreturn.S: Likewise.
33120 * sysdeps/unix/i386/syscall.S: Likewise.
33121 * sysdeps/unix/i386/vfork.S: Likewise.
33122 * sysdeps/unix/i386/wait.S: Likewise.
33123
7143acae
JM
33124 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33125 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33126
2ce4f015
JM
33127 * configure.in (arm*-none*): Do not allow without
33128 --enable-hacker-mode.
33129 (netbsd*): Remove case setting base_os.
33130 (386bsd*): Likewise.
33131 (freebsd*): Likewise.
33132 (bsdi*): Likewise.
33133 (osf*): Likewise.
33134 (sunos*): Likewise.
33135 (ultrix*): Likewise.
33136 (newsos*): Likewise.
33137 (dynix*): Likewise.
33138 (*bsd*): Likewise.
33139 (sysv*): Likewise.
33140 (isc*): Likewise.
33141 (esix*): Likewise.
33142 (sco*): Likewise.
33143 (minix*): Likewise.
33144 (irix4*): Likewise.
33145 (irix6*): Likewise.
33146 (solaris[2-9]*): Likewise.
33147 (none): Likewise.
33148 * configure: Regenerated.
33149
0ac229c8
AZ
331502012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33151
33152 [BZ #11521]
33153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33154 overflow or cancellation in calculating denominator.
33155 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33157 down expression to avoid unexpected rounding in newer GCCs.
33158 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33159
33f244f4
DM
331602012-04-26 David S. Miller <davem@davemloft.net>
33161
33162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33163 long-double compat symbols.
33164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33177
cfa1f3e8
DM
331782012-04-25 David S. Miller <davem@davemloft.net>
33179
33180 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33181 HWCAP_* values only after the memory barriers have been defined.
33182 (atomic_full_barrier): Define.
33183 (atomic_read_barrier): Define.
33184 (atomic_write_barrier): Define.
33185
6e236b92
SP
331862012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33187
33188 * shlib-versions: Add libgcc_s version information.
33189 * sysdeps/generic/libgcc_s.h: Remove.
33190 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33191 libgcc_s.h.
33192 * sysdeps/gnu/unwind-resume.c: Likewise.
33193 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33194
aab39a09
DM
331952012-04-25 David S. Miller <davem@davemloft.net>
33196
33197 * sysdeps/unix/sparc/brk.S: Delete.
33198 * sysdeps/unix/sparc/dl-brk.S: Delete.
33199 * sysdeps/unix/sparc/pipe.S: Delete.
33200 * sysdeps/unix/sparc/sysdep.S: Delete.
33201 * sysdeps/unix/sparc/sysdep.h: Delete.
33202 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33203 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33204 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33205 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33206 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33207 (JUMPTARGET): Remove.
33208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33209 sysdeps/unix/sparc/sysdep.h
33210 (ENTRY, END): Remove.
33211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33212
a3cc4f48
JM
332132012-04-25 Joseph Myers <joseph@codesourcery.com>
33214
2ed8cda2
JM
33215 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33216 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33217 -DIS_IN_build.
33218
35d76d59
JM
33219 * timezone/README: Update upstream location and email address for
33220 tzcode and tzdata.
33221 * timezone/zdump.c: Update from tzcode 2012b.
33222 * timezone/zic.c: Likewise.
33223
a3cc4f48
JM
33224 * configure.in (libc_cv_as_needed): Remove test.
33225 * configure: Regenerated.
33226 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33227 conditional definition.
33228 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33229 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33230 * config.make.in (have-as-needed): Remove variable.
33231
ceab42c3
SP
332322012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33233 Paul Pluzhnikov <ppluzhnikov@google.com>
33234
33235 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33236 strings correctly.
33237
3ce2865f
CLT
332382012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33239
33240 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33241 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33242 * sysdeps/sh/strlen.S: Likewise.
33243
f37e0d68
JM
332442012-04-24 Joseph Myers <joseph@codesourcery.com>
33245
ae186e9a
JM
33246 * sysdeps/unix/fork.S: Remove file.
33247 * sysdeps/unix/i386/fork.S: Likewise.
33248 * sysdeps/unix/sparc/fork.S: Likewise.
33249
b96914af
JM
33250 * sysdeps/unix/system.c: Remove file.
33251 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33252
f37e0d68
JM
33253 * sysdeps/unix/getegid.S: Remove file.
33254 * sysdeps/unix/geteuid.S: Likewise.
33255
87ef29ca
RM
332562012-04-24 Roland McGrath <roland@hack.frob.com>
33257
83bcd236
RM
33258 * scripts/check-localplt.awk: New file.
33259 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33260 of diff.
33261 * scripts/data/localplt-generic.data: Add a comment.
33262
87ef29ca
RM
33263 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33264 NODE when __dir_mkfile failed.
33265 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33266 Reported by Ludovic Courtès <ludo@gnu.org>.
33267
e5a6e567
AJ
332682012-04-24 Andreas Jaeger <aj@suse.de>
33269
33270 * Makerules (common-clean): Also remove gen-as-const-headers
33271 files.
33272
c1820385
JM
332732012-04-24 Joseph Myers <joseph@codesourcery.com>
33274
33275 * Makerules (native-compile): Do not change working directory for
33276 build. Use $(OUTPUT_OPTION) in command.
33277 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33278
94e02fc4
AZ
332792012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33280
33281 [BZ #13886]
33282 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33283 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33284 * math/libm-test.inc (floor_test): Add more tests.
33285 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33286
3a533ca3
JM
332872012-04-24 Joseph Myers <joseph@codesourcery.com>
33288
940ab4b3
JM
33289 * sysdeps/unix/getdents.c: Remove file.
33290 * sysdeps/unix/sysv/getdents.c: Likewise.
33291 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33292
90e037bd
JM
33293 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33294 sysdeps/unix/mman/syscalls.list.
33295 (mmap): Likewise.
33296 (mprotect): Likewise.
33297 (msync): Likewise.
33298 (munmap): Likewise.
33299 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33300 * sysdeps/unix/mman/syscalls.list: Remove.
33301 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33302
3a533ca3
JM
33303 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33304 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33305 * configure: Regenerated.
33306 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33307 $(libgcc_s_suffix).
33308 * config.make.in (libgcc_s_suffix): Remove variable.
33309
1ad743de
JM
333102012-04-23 Joseph Myers <joseph@codesourcery.com>
33311
4ad451e2
JM
33312 * sysdeps/unix/sysv/gethostname.c: Move to ...
33313 * sysdeps/posix/gethostname.c: ... here.
33314
5e37ce39
JM
33315 * sysdeps/unix/execve.S: Remove file.
33316
1ad743de
JM
33317 * sysdeps/unix/_exit.S: Remove file.
33318
4e681b5b
AJ
333192012-04-23 Andreas Jaeger <aj@suse.de>
33320
33321 [BZ #13739]
33322 * manual/Makefile: Remove make dist support, there's no
33323 need for a stand-alone documentation tar ball.
33324 (TEXI2DVI): Define always, it's not in Makeconfig.
33325 (dist): Removed.
33326 (tar-it): Removed.
33327 (edition): Removed.
33328 (glibc-doc-$(edition).tar): Removed
33329 (%.Z): Removed.
33330 (%.gz): Removed.
33331 (%.uu): Removed.
33332 (ETAGS): Remove, it's in Makeconfig.
33333 (move-if-change): Remove, it's in Makeconfig.
33334
38686a03 333352012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33336
33337 [BZ #13970]
33338 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33339 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33340 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33341 (strtod_l, strtof_l, strtold_l): Remove __wur.
33342 It is not necessarily an error to ignore strtol's return value.
33343 One can reliably look at the stored endptr to decide whether
33344 the number had valid syntax.
33345
7c0616fa
AJ
333462012-04-21 Andreas Jaeger <aj@suse.de>
33347
803cb6b7 33348 [BZ #13739]
7c0616fa
AJ
33349 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33350
b0fe253f
JM
333512012-04-21 Joseph Myers <joseph@codesourcery.com>
33352
33353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33354 * sysdeps/unix/sysv/Versions: Remove file.
33355
8280f22d
MT
333562012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33357
33358 [BZ #13927]
33359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33360
75ce411f 333612012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33362
33363 [BZ #7064]
33364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33365 version from __vm86.
33366
097d59fa
JM
333672012-04-20 Joseph Myers <joseph@codesourcery.com>
33368
a90f3bcb
JM
33369 * sysdeps/unix/common/lxstat.c: Remove file.
33370 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33371
edc7ea78
JM
33372 * sysdeps/unix/sysv/Makefile: Remove file.
33373
cb78c221
JM
33374 * sysdeps/unix/sysv/direct.h: Remove file.
33375
efa6a45f
JM
33376 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33377 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33378 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33379 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33380 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33381 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33382 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33383
9c9f2d0c
JM
33384 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33385
4541c83b
JM
33386 * sysdeps/unix/xmknod.c: Remove file.
33387 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33388
f5d153a0
JM
33389 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33390
aa746595
JM
33391 * sysdeps/unix/sysv/i386/time.S: Remove file.
33392
cce5905e
JM
33393 * sysdeps/unix/fxstat.c: Remove file.
33394 * sysdeps/unix/xstat.c: Likewise.
33395 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33396
37fa3841
JM
33397 * sysdeps/unix/sysv/sigaction.c: Remove file.
33398
ff1962a3
JM
33399 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33400 (sysdep_headers): Remove variable.
33401 [termio.h not in sysdep_headers] (generated): Likewise.
33402 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33403 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33404 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33405 * sysdeps/unix/sysv/tcflow.c: Likewise.
33406 * sysdeps/unix/sysv/tcflush.c: Likewise.
33407 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33408 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33409 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33410 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33411 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33412
e7740d31
JM
33413 * sysdeps/unix/siglist.c: Remove file.
33414
ee06f18b
JM
33415 * sysdeps/unix/getppid.S: Remove file.
33416
097d59fa
JM
33417 * sysdeps/unix/mkdir.c: Remove file.
33418 * sysdeps/unix/rmdir.c: Likewise.
33419
ff3d51ec
AS
334202012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33421
33422 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33423 ERR_MAX value.
33424 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33425 errlist-compat value.
33426
50f81fd7
DM
334272012-04-18 David S. Miller <davem@davemloft.net>
33428
33429 * sysdeps/generic/memcopy.h (reg_char): Delete.
33430 * debug/strcat_chk.c: Use char, not reg_char.
33431 * debug/strcpy_chk.c: Likewise.
33432 * debug/strncat_chk.c: Likewise.
33433 * debug/strncpy_chk.c: Likewise.
33434 * string/memchr.c: Likewise.
33435 * string/memrchr.c: Likewise.
33436 * string/rawmemchr.c: Likewise.
33437 * string/strcat.c: Likewise.
33438 * string/strchr.c: Likewise.
33439 * string/strchrnul.c: Likewise.
33440 * string/strcmp.c: Likewise.
33441 * string/strcpy.c: Likewise.
33442 * string/strncat.c: Likewise.
33443 * string/strncmp.c: Likewise.
33444 * string/strncpy.c: Likewise.
33445
8ff41c46
WS
334462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33447
33448 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33449 __builtin_memcopy is called when src and dest ranges are known to not
33450 overlap.
33451
6b652f46
WS
334522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33453
33454 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33455 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33456 fwd_align_merge macro call.
33457 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33458 bwd_align_merge macro call.
33459 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33460
b282631e
WS
334612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33462
33463 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33464 bwd_align_merge macros.
33465 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33466 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33468
95aa737c
DM
334692012-04-18 David S. Miller <davem@davemloft.net>
33470
33471 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33472
7a99a614
AJ
334732012-04-18 Andreas Jaeger <aj@suse.de>
33474
33475 [BZ# 6794]
33476 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33477 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33479
33480 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33481 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33482 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33483
33484 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33485 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33486 Adjust for changed ldbl-128 files.
33487
33488 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33489 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33491
e5270c23
DM
334922012-04-17 David S. Miller <davem@davemloft.net>
33493
33494 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33495
fb5e92c9
AS
334962012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33497
33498 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33499 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33500 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33501 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33502 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33503 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33504
76da7265
AZ
335052012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33506
33507 [BZ #6794]
33508 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33509 * math/libm-test.inc: Add ilogb errno and exception tests.
33510 * math/w_ilogb.c: New file: ilogb wrapper.
33511 * math/w_ilogbf.c: New file: ilogbf wrapper.
33512 * math/w_ilogbl.c: New file: ilogbl wrapper.
33513 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33514 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33515 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33516 exception being thrown with 0.0 as argument.
33517 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33518 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33519 exception being thrown with 0.0 as argument.
33520 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33521 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33522 exception being thrown with 0.0 as argument.
33523 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33524 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33525 exception being thrown with 0.0 as argument.
33526 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33527 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33528 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33529 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33530 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33531 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33532 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33533 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33534 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33535
0396e69d
PB
335362012-04-17 Petr Baudis <pasky@ucw.cz>
33537
33538 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33539 with altivec.
33540
750b5926
MP
335412012-04-16 Marek Polacek <polacek@redhat.com>
33542
33543 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33544
751728a1
MP
335452012-04-16 Marek Polacek <polacek@redhat.com>
33546
33547 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33548 operands of fdivp instruction.
33549
34a27407
L
335502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33551
33552 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33553 * elf/tst-auditmod3b.c: Likewise.
33554 * elf/tst-auditmod4b.c: Likewise.
33555 * elf/tst-auditmod5b.c: Likewise.
33556 * elf/tst-auditmod6b.c: Likewise.
33557 * elf/tst-auditmod6c.c: Likewise.
33558 * elf/tst-auditmod7b.c: Likewise.
33559 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33560 * sysdeps/x86_64/preconfigure.in: Likewise.
33561 * sysdeps/x86_64/preconfigure: Regenerated.
33562
7e73e17d
L
335632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33564
33565 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33566 __ILP32__.
33567
c7a6ab72
AB
335682012-04-13 Antoine Balestrat <merkil33@gmail.com>
33569
33570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33571 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33572
a9e8e0e0
CL
335732012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33574
33575 [BZ #13973]
33576 * locale/iso-639.def: Fix gl language name. Spotted by
33577 Yaron Shahrabani.
33578
ec98af7d
RM
335792012-04-12 Roland McGrath <roland@hack.frob.com>
33580
33581 [BZ #2074]
33582 * libio/libio.h (__io_write_fn): Update comment.
33583
247c3ede
PB
335842012-04-12 Petr Baudis <pasky@ucw.cz>
33585
33586 [BZ #2074]
33587 * stdio.texi (Hook Functions): The user provided writer function
33588 is not allowed to return -1.
33589
55939d6d
DM
335902012-04-11 David S. Miller <davem@davemloft.net>
33591
33592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33593
90020f5a
MF
335942012-04-11 Mike Frysinger <vapier@gentoo.org>
33595
33596 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33597 Add a leading slash to rtkaio.
33598
288f9098
JM
335992012-04-11 Jim Meyering <meyering@redhat.com>
33600
90020f5a
MF
33601 [BZ #11959]
33602 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33603 It is not necessarily an error to ignore fwrite's return
33604 value. One can reliably use ferror to test for errors after
33605 the fact.
288f9098 33606
4be2b570
L
336072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33608
33609 * bits/types.h (__snseconds_t): New type.
33610 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33611
33612 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33614 (__SNSECONDS_T_TYPE): Likewise.
33615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33616 (__SNSECONDS_T_TYPE): Likewise.
33617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33618 (__SNSECONDS_T_TYPE): Likewise.
33619
288f9098 336202012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33621
33622 [BZ #2636]
33623 * manual/time.texi (Processor Time): Return type of times is
33624 elapsed real time since an arbitrary point in the past.
33625 (CPU Time): Move CLK_TCK from here...
33626 (Processor Time): ...to here. Correct description.
33627 * manual/conf.texi (Constants for Sysconf): Correct description of
33628 _SC_CLK_TCK.
33629
d7dd4413
DM
336302012-04-10 David S. Miller <davem@davemloft.net>
33631
33632 [BZ #13967]
33633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33634 where the is a gap between DT_REL(A) and DT_JMPREL.
33635
b46068fc
L
336362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33637
33638 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33639 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33640 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33641
73d65cc3
SP
336422012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33643
33644 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33645 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33646 (dl_main): Handle --inhibit-cache.
33647 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33648 _dl_inhibit_cache.
33649 * elf/dl-load.c (_dl_map_object): Use it.
33650 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33651
bcc8d661
JM
336522012-04-09 Joseph Myers <joseph@codesourcery.com>
33653
8f9a2fae
JM
33654 [BZ #13872]
33655 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33656 (__ieee754_powl): Saturate large exponents rather than testing for
33657 overflow of y*log2(x).
33658 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33659 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33660 exceptions.
33661
bcc8d661
JM
33662 [BZ #11521]
33663 * math/s_ctan.c: Include <float.h>.
33664 (__ctan): Avoid internal overflow or cancellation in calculating
33665 denominator.
33666 * math/s_ctanf.c: Likewise.
33667 * math/s_ctanl.c: Likewise.
33668 * math/s_ctanh.c: Likewise.
33669 * math/s_ctanhf.c: Likewise.
33670 * math/s_ctanhl.c: Likewise.
33671 * math/libm-test.inc (ctan_test): Add more tests.
33672 (ctanh_test): Likewise.
33673 * sysdeps/i386/fpu/libm-test-ulps: Update.
33674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33675
823fbbb4
AJ
336762012-04-09 Andreas Jaeger <aj@suse.de>
33677
03879793
AJ
33678 [BZ #6894]
33679 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33680 is an optional BSD extension.
33681
823fbbb4
AJ
33682 [BZ #10254]
33683 * manual/stdio.texi (Opening Streams): Document additional fopen
33684 parameters.
33685
8de131cb
RM
336862012-04-09 Roland McGrath <roland@hack.frob.com>
33687
33688 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33689 %eax without telling the compiler.
33690
c0ed9d7d
CD
336912012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33692
33693 [BZ # 13963]
33694 * manual/install.texi: Use sourceware.org.
33695
c483f6b4
JM
336962012-04-09 Joseph Myers <joseph@codesourcery.com>
33697
d7dd9453
JM
33698 [BZ #13873]
33699 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33700 (__ieee754_pow): Generate overflow and underflow using huge*huge
33701 and tiny*tiny rather than just returning constant infinity or zero
33702 for large exponents.
33703 * math/libm-test.inc (pow_test): Require overflow exceptions for
33704 applicable cases of large exponents.
33705
c483f6b4
JM
33706 [BZ #706]
33707 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33708 (__ieee754_pow): Use iterative multiplication algorithm only for
33709 integer exponents with absolute value below 1024. Check for odd
33710 integer exponents when using algorithm for real exponents.
33711 * math/libm-test.inc (pow_test): Add more tests.
33712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33713
d2de7579
JM
337142012-04-08 Joseph Myers <joseph@codesourcery.com>
33715
33716 [BZ #13705]
33717 * math/libm-test.inc (exp_test): Do not allow overflow exception
33718 on underflow test.
33719
f77f1232
AJ
337202012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33721
33722 [BZ #13705]
33723 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33724 instead of __kernel_standard_f.
33725
3884932b
MF
337262012-04-08 Mike Frysinger <vapier@gentoo.org>
33727
33728 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33729 * sysdeps/x86_64/memset_chk.S: Likewise.
33730
54472e9c
AJ
337312012-04-08 Andreas Jaeger <aj@suse.de>
33732
6ab0fbfc
AJ
33733 [BZ #10153]
33734 * manual/startup.texi (Environment Access): Describe return value
33735 for putenv and setenv.
33736
61efba8c
AJ
33737 [BZ #6895]
33738 * manual/filesys.texi (Directory Entries): Add description for
33739 DT_LNK.
33740
95c3f29a
AJ
33741 [BZ #6890]
33742 * manual/filesys.texi (Directory Entries): Clarify that it's file
33743 system not operating system in the description of DT_UNKNOWN.
33744
54472e9c
AJ
33745 [BZ #6578]
33746 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33747
624254b1
SC
337482012-04-08 Stephen Compall <s11@member.fsf.org>
33749
33750 [BZ #6649]
33751 * manual/llio.texi (Opening and Closing Files): Add cross
33752 reference to explain mode argument.
33753
1e4920e0
MF
337542012-04-07 Mike Frysinger <vapier@gentoo.org>
33755
33756 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33757 * sysdeps/x86_64/memset_chk.S: Likewise.
33758
5ed848f3
DM
337592012-04-07 David S. Miller <davem@davemloft.net>
33760
33761 * elf/elf.h (R_SPARC_WDISP10): Define.
33762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33763 R_SPARC_SIZE32.
33764 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33765 R_SPARC_SIZE64 and R_SPARC_H34.
33766
96154cd8
CD
337672012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33768
33769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33770 conditions and remove no longer applicable assertion.
33771
9904dc47
L
337722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33773
33774 * bits/byteswap.h: Include <features.h>.
33775 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33776 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33777
f8887d0a
L
337782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33779
33780 * bits/byteswap.h (__bswap_16): Removed.
33781 Include <bits/byteswap-16.h> to get __bswap_16.
33782 * sysdeps/i386/bits/byteswap.h: Likewise.
33783 * sysdeps/s390/bits/byteswap.h: Likewise.
33784 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33785 * bits/byteswap-16.h: New file.
33786 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33787 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33788 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33789 * string/Makefile (headers): Add bits/byteswap-16.h.
33790
62470f60
PP
337912012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33792
33793 [BZ #13895]
33794 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33795 extra indirection.
33796 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33797 * nss/tst-nss-static.c: New.
33798
4dad7bab
RM
337992012-04-06 Robert Millan <rmh@gnu.org>
33800
33801 [BZ #6486]
33802 * manual/llio.texi (File Position Primitive): lseek
33803 refers to WHENCE when it really means OFFSET.
33804
e9142a17
AJ
338052012-04-06 Andreas Jaeger <aj@suse.de>
33806
2c040eff
AJ
33807 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33808 strncmp declarations.
33809
e9142a17
AJ
33810 * abilist/libc.abilist: Add __poll and __ppoll.
33811
ff9f1c5f
DM
338122012-04-05 David S. Miller <davem@davemloft.net>
33813
dcd2ae90
DM
33814 * scripts/check-local-headers.sh: Accept a host triplet in the
33815 path matched by the exclude regexp.
33816
993eb054
DM
33817 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33818 definition.
33819 * sysdeps/powerpc/powerpc32/dl-machine.h
33820 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33821 * sysdeps/s390/s390-32/dl-machine.h
33822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33823 * sysdeps/sparc/sparc32/dl-machine.h
33824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33825 * sysdeps/sparc/sparc64/dl-machine.h
33826 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33827
ff9f1c5f
DM
33828 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33829 lazy binding.
48e2e132 33830 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33831 undefined symbol errors.
33832
48e2e132 33833 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33834 DT_NEEDED entries.
33835
e80d6f94
MM
338362012-04-05 Michael Matz <matz@suse.de>
33837
33838 [BZ #13592]
33839 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33840
349fa79f
AJ
338412012-04-05 Andreas Jaeger <aj@suse.de>
33842
33843 [BZ #13908]
33844 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33845 comment.
33846
f402708f
KK
338472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33848
33849 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33850 which ROUND is no valid rounding mode.
33851
2ecccfc9
KK
338522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33853
33854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33855 read again.
33856 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33857
8a53f50f
KK
338582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33859
33860 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33861 an exception using FPU order intentionally.
33862
338632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33864
33865 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33866 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33867 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33868 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33869
d653abb7
SJ
338702012-04-05 Simon Josefsson <simon@josefsson.org>
33871
33872 [BZ #12340]
33873 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33874 EINVAL when BUFLEN is too smal.
33875
c3b1bf7d
TS
338762012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33877
33878 [BZ #13553]
33879 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33880 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33881
b1aa60f3
AJ
338822012-04-03 Andreas Jaeger <aj@suse.de>
33883
c3b1bf7d 33884 [BZ #13938]
67f60a26
AJ
33885 * manual/setjmp.texi (System V contexts): Fix sentence.
33886
b1aa60f3
AJ
33887 [BZ #13926]
33888 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33889 New macro for this case.
33890 [!__GNUC__] (__bswap_64): New inline function for this case.
33891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33892 * bits/byteswap.h: Likewise.
33893 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33894 ull, guard with __GLIBC_HAVE_LONG_LONG.
33895
33896 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33897 __GLIBC_HAVE_LONG_LONG.
33898
33899 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33900 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33901
39c59c35
TMQMF
339022012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33903
33904 [BZ #13691]
33905 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33906 inptr and inend, rather than using last_ch.
33907
135ffda8
DM
339082012-04-02 David S. Miller <davem@davemloft.net>
33909
33910 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33911 * stdio-common/printf-parse.h (read_int): Change return type to
33912 'int', return -1 on INT_MAX overflow.
33913 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33914 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33915 overflows INT_MAX. Check for overflow of in-format-string precision
33916 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33917 SIZE_MAX not INT_MAX for integer overflow test.
33918 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33919 skip the construct in the format string but do not record anything.
33920 * stdio-common/bug22.c: Adjust to test both width/prevision
33921 INT_MAX overflow as well as total length INT_MAX overflow. Check
33922 explicitly for proper errno values.
33923
228c019e
TS
339242012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33925
302cadd3
TS
33926 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33927 CHAR_MAX.
33928 * string/test-strcmp.c [! WIDE]: Likewise.
33929 * time/tst-mktime2.c: Likewise for INT_MAX.
33930 * string/test-string.h: #include <sys/param.h> for MIN.
33931
228c019e
TS
33932 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33933 * sysdeps/i386/init-first.c (init): Likewise.
33934 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33935 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33936 * sysdeps/sh/init-first.c (init): Likewise.
33937
cfa633f5
UD
339382012-04-01 Ulrich Drepper <drepper@gmail.com>
33939
33940 * po/ru.po: Update from translation team.
d1635ef8 33941 * po/vi.po: Likewise.
cfa633f5 33942
6cd0a5ea
SP
339432012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33944
33945 * resolv/nss_dns/dns-host.c: Merge copyright years.
33946
4b43400f
LD
339472012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33948
33949 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33950 Optimize memcpy with prefetch if
33951 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33952 src, dst pointers have unequal 16 byte alignments.
33953
48c41d04
SP
339542012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33955
33956 [BZ #13928]
33957 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33958 from a CNAME entry and return the minimum ttl for the query.
33959 (gaih_getanswer_slice): Likewise.
33960
b8dc394d
JL
339612012-03-30 Jeff Law <law@redhat.com>
33962
33963 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33964 due to long keys.
33965 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33966 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33967
2f5a5ed0
JL
33968 * resolv/nss_dns/dns-host.c: Update copyright year.
33969
1d39e359
UD
339702012-03-30 Ulrich Drepper <drepper@gmail.com>
33971
c030f70c 33972 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33973 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33974
1d39e359
UD
33975 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33976 comments for sendmmsg.
33977
339782012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33979
33980 [BZ #13691]
33981 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33982 with only 1 character between 0x0041 and 0x01b0.
33983 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33984 * wcsmbs/tst-mbsnrtowcs.c: New file.
33985
20fde227
DM
339862012-03-29 David S. Miller <davem@davemloft.net>
33987
33988 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33989 small copies by hand.
33990
984a4237
JL
339912012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33992
33993 [BZ #13761]
57f41c40
AS
33994 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33995 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33996 group memberships.
984a4237 33997
18c9d62b
DM
339982012-03-28 David S. Miller <davem@davemloft.net>
33999
88d85d4f
DM
34000 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34001 that branches into memcpy.
34002 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34004 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34005 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34007 bits.
34008 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34009 implementation too.
34010 * sysdeps/sparc/mempcpy.S: New file.
34011
e5aa83e1
DM
34012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34013 the IFUNC routine in the libc case.
34014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34015
88570753
DM
34016 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34017 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34018 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34019 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34020 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34021 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34022 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34023 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34024
249d7567
DM
34025 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34026 loop to 256 bytes instead of 64 bytes and fix test signedness.
34027
18c9d62b
DM
34028 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34029 * sysdeps/sparc/sparc32/Makefile: rather than here...
34030 * sysdeps/sparc/sparc64/Makefile: and here.
34031
05f3d1f6
UD
340322012-03-28 Ulrich Drepper <drepper@gmail.com>
34033
34034 * malloc/mallocbug.c: Avoid warnings about unused variables.
34035
86ae07a8
JL
340362012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34037
34038 [BZ #13760]
34039 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34040 in the right place. Discard and retry query if response is
34041 larger than input buffer size.
34042
41bf21a1
JM
340432012-03-28 Joseph Myers <joseph@codesourcery.com>
34044
d6270972
JM
34045 [BZ #369]
34046 [BZ #2678]
34047 [BZ #3866]
34048 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34049 x for large integer exponent.
34050 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34051 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34052 sign of result as needed afterwards.
34053 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34054 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34055 result for underflowing pow the same as for overflow.
34056 (__kernel_standard_l): Handle powl overflow and underflow here
34057 rather than calling __kernel_standard.
34058 * math/libm-test.inc (pow_test): Add more tests.
34059
414fca03 34060 [BZ #3868]
41bf21a1
JM
34061 [BZ #13879]
34062 [BZ #13910]
34063 [BZ #13911]
34064 [BZ #13912]
34065 [BZ #13913]
34066 [BZ #13915]
34067 [BZ #13916]
34068 [BZ #13917]
34069 [BZ #13918]
34070 [BZ #13919]
34071 [BZ #13920]
34072 [BZ #13921]
34073 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34074 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34075 (__kernel_standard_l): New function.
34076 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34077 __kernel_standard.
34078 * math/w_acosl.c (__acosl): Likewise.
34079 * math/w_asinl.c (__asinl): Likewise.
34080 * math/w_atan2l.c (__atan2l): Likewise.
34081 * math/w_atanhl.c (__atanhl): Likewise.
34082 * math/w_coshl.c (__coshl): Likewise.
34083 * math/w_exp10l.c (__exp10l): Likewise.
34084 * math/w_exp2l.c (__exp2l): Likewise.
34085 * math/w_fmodl.c (__fmodl): Likewise.
34086 * math/w_hypotl.c (__hypotl): Likewise.
34087 * math/w_j0l.c (__j0l, __y0l): Likewise.
34088 * math/w_j1l.c (__j1l, __y1l): Likewise.
34089 * math/w_jnl.c (__jnl, __ynl): Likewise.
34090 * math/w_lgammal.c (__lgammal): Likewise.
34091 * math/w_log10l.c (__log10l): Likewise.
34092 * math/w_log2l.c (__log2l): Likewise.
34093 * math/w_logl.c (__logl): Likewise.
34094 * math/w_powl.c (__powl): Likewise.
34095 * math/w_remainderl.c (__remainderl): Likewise.
34096 * math/w_scalbl.c (sysv_scalbl): Likewise.
34097 * math/w_sinhl.c (__sinhl): Likewise.
34098 * math/w_sqrtl.c (__sqrtl): Likewise.
34099 * math/w_tgammal.c (__tgammal): Likewise.
34100 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34101 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34102 * math/libm-test.inc (acos_test): Add more tests.
34103 (acosh_test): Likewise.
34104 (asin_test): Likewise.
34105 (atanh_test): Likewise.
34106 (exp_test): Likewise.
34107 (exp10_test): Likewise.
34108 (exp2_test): Likewise.
34109 (expm1_test): Likewise.
34110 (lgamma_test): Likewise.
34111 (log_test): Likewise.
34112 (log10_test): Likewise.
34113 (log1p_test): Likewise.
34114 (log2_test): Likewise.
34115 (pow_test): Do not allow some spurious overflow exceptions.
34116 (sqrt_test): Add more tests.
34117 (tgamma_test): Likewise.
34118 (y0_test): Likewise.
34119 (y1_test): Likewise.
34120 (yn_test): Likewise.
34121
dd62fda6
AB
341222012-03-27 Anton Blanchard <anton@samba.org>
34123
34124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34125 MAP_HUGETLB.
34126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34129
1e3cdfda
AJ
341302012-03-27 David S. Miller <davem@davemloft.net>
34131
b855ab85
DM
34132 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34133
1e3cdfda
AJ
34134 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34135 have-as-vis3 check.
34136
341372012-03-27 Andreas Jaeger <aj@suse.de>
34138
34139 * sysdeps/x86_64/elf/configure.in: Moved to ...
34140 * sysdeps/x86_64/configure.in: ... here.
34141 * sysdeps/x86_64/elf/start.S: Moved to ...
34142 * sysdeps/x86_64/start.S: ... here.
34143 * sysdeps/x86_64/elf/configure: Delete.
34144
34145 * sysdeps/x86_64/configure.in: Merge contents from
34146 sysdeps/i386/configure.in (without i686 check).
34147
34148 * sysdeps/i386/elf/Versions: Merge into ...
34149 * sysdeps/i386/Versions: ... this.
34150 * sysdeps/i386/elf/Versions: Delete file.
34151 * sysdeps/i386/elf/start.S: Moved to ...
34152 * sysdeps/i386/start.S: ...here.
34153 * sysdeps/i386/elf/configure.in: Merge into...
34154 * sysdeps/i386/configure.in: ...here.
34155 * sysdeps/i386/elf/configure.in: Delete file.
34156 * sysdeps/i386/elf/configure: Delete file.
34157
34158 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34159 * debug/backtracesyms.c: ... here.
34160 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34161 * debug/backtracesymsfd.c: ... here.
34162 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34163 * sysdeps/generic/ifunc-sel.h: ... here.
34164
34165 * sysdeps/unix/i386/start.c: Delete file.
34166 * sysdeps/unix/sparc/start.c: Delete file.
34167 * sysdeps/unix/start.c: Delete file.
34168
34169 * sysdeps/sh/elf/configure.in: Moved to ...
34170 * sysdeps/sh/configure.in: ... here.
34171 * sysdeps/sh/elf/start.S: Moved to ...
34172 * sysdeps/sh/start.S: ... here.
34173 * sysdeps/sh/elf/configure: Delete file.
34174
34175 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34176 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34177 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34178 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34179 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34180 * sysdeps/powerpc/powerpc64/start.S: here.
34181 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34182 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34183 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34184 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34185 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34186
34187 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34188 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34189 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34190 * sysdeps/powerpc/powerpc32/start.S: ... here.
34191 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34192 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34193 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34194
34195 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34196 * sysdeps/powerpc/ifunc-sel.h: ... here.
34197 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34198 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34199
34200 * sysdeps/sparc/elf/configure.in: Moved to ...
34201 * sysdeps/sparc/configure.in: ... here.
34202 * sysdeps/sparc/elf/configure: Delete file.
34203 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34204 * sysdeps/sparc/sparc32/start.S: ... here.
34205 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34206 * sysdeps/sparc/sparc64/start.S: ... here.
34207 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34208 * sysdeps/sparc/sparc32/Makefile: ... this.
34209 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34210 * sysdeps/sparc/sparc64/Makefile: ... this.
34211
34212 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34213 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34214 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34215 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34216 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34217 * sysdeps/s390/s390-32/setjmp.S: ... here.
34218 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34219 * sysdeps/s390/s390-32/configure.in: ... here.
34220 * sysdeps/s390/s390-32/elf/configure: Delete file.
34221 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34222 * sysdeps/s390/s390-32/start.S: ... here.
34223
34224 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34225 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34226 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34227 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34228 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34229 * sysdeps/s390/s390-64/setjmp.S: ... here.
34230 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34231 * sysdeps/s390/s390-64/configure.in: ... here
34232 * sysdeps/s390/s390-64/elf/configure: Delete file.
34233 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34234 * sysdeps/s390/s390-64/start.S: ... here.
34235 * sysdeps/s390/s390-64/elf/configure: Delete.
34236
34237 * configure.in: Remove support for elf directories in sysdeps.
34238
34239 * configure: Regenerated.
34240 * sysdeps/i386/configure: Regenerated.
34241 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34242 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34243 * sysdeps/s390/s390-32/configure: Regenerated.
34244 * sysdeps/s390/s390-64/configure: Regenerated.
34245 * sysdeps/sh/configure: Regenerated.
34246 * sysdeps/sparc/configure: Regenerated.
34247 * sysdeps/x86_64/configure: Regenerated.
34248
a3f61311
AS
342492012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34250
c876e002
AS
34251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34252
a3f61311
AS
34253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34254 denormal result into account.
34255
ac4c54f0
RM
342562012-03-25 Roland McGrath <roland@hack.frob.com>
34257
34258 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34259 Reported by Allan McRae <allan@archlinux.org>.
34260
6a9b9c02
JL
342612012-03-23 Jeff Law <law@redhat.com>
34262
34263 * nss/getnssent.c (__nss_getent): Fix typo.
34264
4c42a0c1
DM
342652012-03-23 David S. Miller <davem@davemloft.net>
34266
34267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34268
1532c7ac
L
342692012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34270
34271 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34272 to pad to uint64_t for each field.
34273 (dl_tls_index): Replace unsigned long with uint64_t.
34274
3ff42526
PP
342752012-03-23 Daniel Jacobowitz <dmj@google.com>
34276 Paul Pluzhnikov <ppluzhnikov@google.com>
34277
34278 [BZ #6528]
34279 * grp/Makefile (otherlibs): Don't set it.
34280 * inet/Makefile (otherlibs): Likewise.
34281 * login/Makefile (otherlibs): Likewise.
34282 * nscd/Makefile (otherlibs): Likewise.
34283 * posix/Makefile (otherlibs): Likewise.
34284 * pwd/Makefile (otherlibs): Likewise.
34285 * rt/Makefile (otherlibs): Likewise.
34286 * sunrpc/Makefile (otherlibs): Likewise.
34287 * nss/Makefile (otherlibs): Likewise.
34288 Add libnss_files to routines and static-only-routines.
34289 ($(objpfx)getent): Remove rule.
34290 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34291 static-only-routines.
34292
7c69cd14
JM
342932012-03-22 Joseph Myers <joseph@codesourcery.com>
34294
34295 [BZ #13892]
34296 * math/s_cexp.c: Include <float.h>.
34297 (__cexp): Handle exp result overflowing not necessarily
34298 overflowing both real and imaginary parts of result.
34299 * math/s_cexpf.c: Likewise.
34300 * math/s_cexpl.c: Likewise.
34301 * math/libm-test.inc (cexp_test): Add more tests.
34302 * sysdeps/i386/fpu/libm-test-ulps: Update.
34303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34304
81b035fe
L
343052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34306
34307 * include/link.h (ELFW): New macro.
34308 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34309 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34310
1da7940c
L
343112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34312
34313 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34314 with uint64_t.
34315
b749dbb9
L
343162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34319 declaration.
34320 (struct La_x32_retval): Likewise.
34321
2ff87f3f
L
343222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34323
34324 * sysdeps/x86_64/preconfigure.in: New file.
34325 * sysdeps/x86_64/preconfigure: New generated file.
34326
c0df8e69
JM
343272012-03-22 Joseph Myers <joseph@codesourcery.com>
34328
48e44791
JM
34329 [BZ #13824]
34330 * math/e_exp2l.c: Include <float.h>.
34331 (__ieee754_exp2l): Handle overflow and underflow cases
34332 separately. Only pass fractional part of argument to
34333 __ieee754_expl.
34334 * math/libm-test.inc (exp2_test): Add more tests.
34335
c0df8e69
JM
34336 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34337 negating x to take absolute value.
34338 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34339 Likewise.
34340 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34341 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34342 Likewise.
34343 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34344 computing low part if x was negated.
34345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34346
c8e43ba7
L
343472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34348
34349 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34350 la_x32_gnu_pltexit.
34351 (pltexit): Cast int_retval to ptrdiff_t.
34352 * elf/tst-auditmod3b.c: Likewise.
34353 * elf/tst-auditmod4b.c: Likewise.
34354 * elf/tst-auditmod5b.c: Likewise.
34355 * elf/tst-auditmod6b.c: Likewise.
34356 * elf/tst-auditmod6c.c: Likewise.
34357 * elf/tst-auditmod7b.c: Likewise.
34358
34359 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34360 and x32_gnu_pltexit.
34361
34362 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34363 __ELF_NATIVE_CLASS.
34364 (La_x32_regs): New macro.
34365 (La_x32_retval): Likewise.
34366 (la_x32_gnu_pltenter): New function prototype.
34367 (la_x32_gnu_pltexit): Likewise.
34368
7998fa78
AS
343692012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34370
dcb33988
AS
34371 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34372 exponent.
34373
233fc563
AS
34374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34375
7998fa78
AS
34376 * configure.in (libc_cv_cc_nofma): Check for option to disable
34377 generation of FMA instructions.
34378 * configure: Regenerate.
34379 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34380 * sysdeps/ieee754/dbl-64/Makefile: New file.
34381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34382 Remove brandred-fma4.
34383 (CFLAGS-brandred-fma4.c): Remove.
34384 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34385 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34386 define.
34387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34388 define.
34389
8e95c99a
L
343902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34391
34392 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34393 LLONG_MAX != LONG_MAX.
34394 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34395 (_fitoa_word): Likewise.
34396 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34397 LLONG_MAX != LONG_MAX.
34398 * stdio-common/_itowa.h: Include <_itoa.h>.
34399 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34400 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34401 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34402 only if not defined.
34403 (_ITOA_WORD_TYPE): Likewise.
34404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34405 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34406
6f4db457
DM
344072012-03-21 David S. Miller <davem@davemloft.net>
34408
34409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34410
7785fe5a
L
344112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34412
34413 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34414 of x86_64 when setting libc_cv_slibdir, libdir and
34415 libc_cv_localedir.
34416 * sysdeps/unix/sysv/linux/configure: Regenerated.
34417
4535cd55
JM
344182012-03-21 Joseph Myers <joseph@codesourcery.com>
34419
34420 * manual/lang.texi (Old Varargs): Remove section.
34421 (How Variadic): Update menu.
34422 (va_start): Do not mention varargs.h.
34423
17228132
TS
344242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34425 Joseph Myers <joseph@codesourcery.com>
34426
34427 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34428 link test.
34429 * configure: Regenerated.
34430
8149f976
TS
344312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34432
05f3d1f6
UD
34433 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34434 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34435 conformtest.pl
8149f976 34436
1a4ac776
JM
344372012-03-21 Joseph Myers <joseph@codesourcery.com>
34438
be22ce65
JM
34439 * NOTES: Remove.
34440 * Makefile (files-for-dist): Remove NOTES.
34441 (NOTES): Remove rule.
34442 * README: Don't refer to NOTES.
34443 * manual/creature.texi: Don't include macros.texi.
34444 * manual/intro.texi (creature.texi): Remove comment referring to
34445 NOTES.
34446
40b601fb
JM
34447 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34448 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34449 * configure: Regenerated.
34450 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34451 LIBC_TRY_CC_OPTION.
34452 (libc_cv_as_i686): Likewise.
34453 (libc_cv_cc_avx): Likewise.
34454 (libc_cv_cc_sse2avx): Likewise.
34455 (libc_cv_cc_fma4): Likewise.
34456 (libc_cv_cc_novzeroupper): Likewise.
34457 * sysdeps/i386/configure: Regenerated.
34458
1a4ac776
JM
34459 [BZ #13883]
34460 * sysdeps/i386/fpu/s_cexp.S: Remove.
34461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34462 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34463 * math/libm-test.inc (cexp_test): Add more tests.
34464 * sysdeps/i386/fpu/libm-test-ulps: Update.
34465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34466
a458e7fe
AM
344672012-03-21 Allan McRae <allan@archlinux.org>
34468
34469 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34470
0cb7efc5
JM
344712012-03-21 Joseph Myers <joseph@codesourcery.com>
34472
34473 [BZ #13871]
34474 * math/w_exp2.c: Do not include <float.h>.
34475 (o_threshold, u_threshold): Remove.
34476 (__exp2): Calculate result before checking finiteness and calling
34477 __kernel_standard.
34478 * math/w_exp2f.c: Likewise.
34479 * math/w_exp2l.c: Likewise.
34480 * math/libm-test.inc (exp2_test): Require overflow exception for
34481 1e6 input.
2460d3aa
JM
34482
34483 [BZ #3866]
34484 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34485 range of signed 64-bit integers before using fistpll. Remove
34486 checks for whether integers fit in mantissa bits.
34487 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34488 the range of signed 32-bit integers before using fistpl. Remove
34489 checks for whether integers fit in mantissa bits.
34490 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34491 (__ieee754_powl): Test for y outside the range of signed 64-bit
34492 integers before using fistpll. Reduce 64-bit values to 63-bit
34493 ones as needed.
34494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34495 divide-by-zero is raised for zero to large negative powers.
34496 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34497 (__ieee754_powl): Test for y outside the range of signed 64-bit
34498 integers before using fistpll. Reduce 64-bit values to 63-bit
34499 ones as needed.
34500 * math/libm-test.inc (pow_test): Add more tests.
34501
eb96ffb0
L
345022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34503
34504 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34505 <stdio-common/_itoa.h>.
34506 * debug/segfault.c: Likewise.
34507 * elf/dl-cache.c: Likewise.
34508 * elf/dl-minimal.c: Likewise.
34509 * elf/dl-misc.c: Likewise.
34510 * elf/dl-sysdep.c: Likewise.
34511 * elf/dl-version.c: Likewise.
34512 * elf/rtld.c: Likewise.
34513 * hurd/hurdsock.c: Likewise.
34514 * hurd/lookup-retry.c: Likewise.
34515 * malloc/malloc.c: Likewise.
34516 * malloc/mtrace.c: Likewise.
34517 * nscd/nscd_getgr_r.c: Likewise.
34518 * nscd/nscd_getpw_r.c: Likewise.
34519 * nscd/nscd_getserv_r.c: Likewise.
34520 * posix/getopt_init.c: Likewise.
34521 * posix/wordexp.c: Likewise.
34522 * stdio-common/_itoa.c: Likewise.
34523 * stdio-common/printf_fphex.c: Likewise.
34524 * stdio-common/vfprintf.c: Likewise.
34525 * string/_strerror.c: Likewise.
34526 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34527 * sysdeps/i386/i686/hp-timing.h: Likewise.
34528 * sysdeps/mach/_strerror.c: Likewise.
34529 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34530 * sysdeps/mach/hurd/sethostid.c: Likewise.
34531 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34532 * sysdeps/mach/xpg-strerror.c: Likewise.
34533 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34535 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34536 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34537 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34538 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34539 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34540 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34541 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34542 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34543 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34544 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34545 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34546 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34547 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34548 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34549 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34550 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34551 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34552 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34553 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34554
34555 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34556
34557 * stdio-common/_itoa.h: Moved to ...
34558 * sysdeps/generic/_itoa.h: Here.
34559
34560 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34561
34562 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34563 instead of "_itoa.h" and "_itowa.h".
34564 * stdio-common/vfprintf.: Likewise.
34565
d1af992d
L
345662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34567
34568 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34569 <bits/wordsize.h>.
34570 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34571 (__signbit): Likwise.
34572 (llrintf): Likwise.
34573 (llrint): Likwise.
34574
114883e0
L
345752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34576
34577 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34578 __WORDSIZE != 64.
34579
c135cc1b
JM
345802012-03-20 Joseph Myers <joseph@codesourcery.com>
34581
34582 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34583 OVERFLOW_EXCEPTION_OK.
34584 * math/libm-test.inc ("Philosophy"): Update comment about
34585 exception testing.
34586 (OVERFLOW_EXCEPTION): Define.
34587 (OVERFLOW_EXCEPTION_OK): Likewise.
34588 (INVALID_EXCEPTION_OK): Renumber.
34589 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34590 (IGNORE_ZERO_INF_SIGN): Likewise.
34591 (test_exceptions): Handle FE_OVERFLOW.
34592 (exp10_test): Expect overflow exceptions.
34593 (exp2_test): Likewise.
34594 (expm1_test): Likewise.
34595 (nextafter_test): Likewise.
34596 (pow_test): Likewise.
34597 (scalbn_test): Likewise.
34598 (scalbln_test): Likewise.
34599
95443d88
L
346002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34601
34602 * sysdeps/x86_64/bits/atomic.h
34603 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34604 64bit integer.
34605 (atomic_exchange_acq): Likewise.
34606 (__arch_exchange_and_add_body): Likewise.
34607 (__arch_add_body): Likewise.
34608 (atomic_add_negative): Likewise.
34609 (atomic_add_zero): Likewise.
34610
490df6c4
L
346112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34612
c2722551 34613 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34614 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34615
5e52b189
L
346162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34617
34618 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34619 Check __x86_64__ instead of __WORDSIZE.
34620
a9879d4c
L
346212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34622
34623 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34624
5df98260
DM
346252012-03-19 David S. Miller <davem@davemloft.net>
34626
e1497744
DM
34627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34628
5df98260
DM
34629 * sysdeps/sparc/fpu/fenv_private.h: New file.
34630 * sysdeps/sparc/fpu/math_private.h: Use it.
34631 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34632 Remove.
57f41c40 34633 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34634 (libc_feholdexcept_setroundl): Remove.
34635 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34636 Remove.
34637 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34638 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34639
b4c35121
L
346402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34641
34642 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34643 int64_t instead of long int.
34644 (INSERT_WORDS64): Likwise.
34645
56965fd7
L
346462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34647
34648 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34649 _Unwind_GetCFA return to _Unwind_Ptr first.
34650
83d1aec8
JM
346512012-03-19 Joseph Myers <joseph@codesourcery.com>
34652
1897ad44
JM
34653 [BZ #13629]
34654 * math/s_clog.c: Include <float.h>.
34655 (__clog): Scale large or subnormal inputs.
34656 * math/s_clogf.c: Likewise.
34657 * math/s_clogl.c: Likewise.
34658 * math/s_clog10.c: Include <float.h>.
34659 (M_LOG10_2): Define.
34660 (__clog10): Scale large or subnormal inputs.
34661 * math/s_clog10f.c: Likewise.
34662 * math/s_clog10l.c: Likewise.
34663 * math/libm-test.inc (clog_test): Add more tests.
34664 (clog10_test): Likewise.
34665 * sysdeps/i386/fpu/libm-test-ulps: Update.
34666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34667
7726d6a9
JM
34668 [BZ #11451]
34669 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34670 x and y.
34671 * math/libm-test.inc (atan2_test): Add another test.
34672
83d1aec8
JM
34673 * Makerules (common-objdir-compile): Remove.
34674 * sysdeps/unix/Makefile (config-generated): Do not add
34675 $(unix-generated) to variable.
34676 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34677 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34678 Remove rule.
34679 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34680 Likewise.
34681 [generic bits/local_lim.h] (before-compile): Do not append to
34682 variable.
34683 [generic bits/local_lim.h] (common-generated): Likewise.
34684 [generic sys/param.h] (before-compile): Do not append to variable.
34685 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34686 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34687 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34688 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34689 include.
34690 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34691 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34692 [generic sys/param.h] ($(addprefix
34693 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34694 [generic sys/param.h] (common-generated): Do not append to
34695 variable.
34696 [generic sys/param.h] (sysdep_headers): Likewise.
34697 [generic bits/errno.h] (before-compile): Do not append to
34698 variable.
34699 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34700 rule.
34701 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34702 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34703 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34704 [generic bits/errno.h] (common-generated): Do not append to
34705 variable.
34706 [generic bits/ioctls.h] (before-compile): Do not append to
34707 variable.
34708 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34709 rule.
34710 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34711 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34712 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34713 rule.
34714 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34715 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34716 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34717 [generic bits/ioctls.h] (common-generated): Do not append to
34718 variable.
34719 [generic sys/syscall.h] (syscall.h): Remove variable.
34720 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34721 rule.
34722 [generic sys/syscall.h] (before-compile): Do not append to
34723 variable.
34724 [generic sys/syscall.h] (common-generated): Likewise.
34725 * sysdeps/unix/errnos-tmpl.c: Remove file.
34726 * sysdeps/unix/errnos.awk: Likewise.
34727 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34728 * sysdeps/unix/ioctls.awk: Likewise.
34729 * sysdeps/unix/mk-local_lim.c: Likewise.
34730 * sysdeps/unix/snarf-ioctls: Likewise.
34731
4851a949
RH
347322012-03-19 Richard Henderson <rth@twiddle.net>
34733
bd37f2ee
RH
34734 * sysdeps/i386/fpu/fenv_private.h: New file.
34735 * sysdeps/i386/fpu/math_private.h: Use it.
34736 (math_opt_barrier, math_force_eval): Remove.
34737 (libc_feholdexcept_setround_53bit): Remove.
34738 (libc_feupdateenv_53bit): Remove.
34739 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34740 (math_opt_barrier, math_force_eval): Remove.
34741 (libc_feholdexcept): Remove.
34742 (libc_feholdexcept_setround): Remove.
34743 (libc_fetestexcept, libc_fesetenv): Remove.
34744 (libc_feupdateenv_test): Remove.
34745 (libc_feupdateenv, libc_feholdsetround): Remove.
34746 (libc_feresetround): Remove.
34747
d0adc922
RH
34748 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34749 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34750
0fe0f1f8
RH
34751 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34752 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34753 (libc_feupdateenv_testl): New.
34754 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34755 (libc_feupdateenv_testf): New.
34756 (libc_feupdateenv): Use libc_feupdateenv_test.
34757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34758 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34759
eb92c487
RH
34760 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34761 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34762 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34763 (libc_feresetround_noex): New.
34764 (libc_feresetround_noexf): New.
34765 (libc_feresetround_noexl): New.
34766 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34767 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34768 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34769 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34770 SET_RESTORE_ROUND.
34771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34773 (__cos): Likewise.
34774 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34775 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34776 SET_RESTORE_ROUND_NOEX.
34777 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34778 SET_RESTORE_ROUND_NOEXF.
34779 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34780 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34781 (libc_feholdsetroundf): New.
34782 (libc_feresetround, libc_feresetroundf): New.
34783
7d2e8012
RH
34784 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34785 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34786 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34787
b4dabbb4
RH
34788 * sysdeps/generic/math_private.h: Include <fenv.h>.
34789 (default_libc_feholdexcept): New.
34790 (default_libc_feholdexcept_setround): New.
34791 (default_libc_fesetenv, default_libc_feupdateenv): New.
34792 (libc_feholdexcept): Only define if undefined.
34793 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34794 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34795 (libc_feholdexcept_setroundl): Likewise.
34796 (libc_feholdexcept_setround_53bit): Likewise.
34797 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34798 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34799 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34800 (libc_feupdateenv_53bit): Likewise.
34801 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34802 (libc_feholdexcept): Convert from macro to inline function.
34803 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34804 (libc_fesetenv, libc_feupdateenv): Likewise.
34805
4851a949
RH
34806 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34807 not previously defined.
34808 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34809 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34810 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34811 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34812 * sysdeps/ieee754/flt-32/math_private.h: New file.
34813 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34814 math_private.h below SET_FLOAT_WORD.
34815 (__isnan, __isinf_ns, __finite): Remove.
34816 (__isnanf, __isinf_nsf, __finitef): Remove.
34817
e79d442e
AS
348182012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34819
34820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34821
90b80344
DM
348222012-03-17 David S. Miller <davem@davemloft.net>
34823
34824 [BZ #6471]
34825 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34826 for 2.16.
34827
edc21804
DM
348282012-03-16 David S. Miller <davem@davemloft.net>
34829
77e927af
DM
34830 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34831 warnings.
34832
374976dd
DM
34833 [BZ #6471]
34834 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34835 properly.
34836 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34837 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34838 sysdep_routines when subdir is sysvipc.
34839 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34840 __getshmlba helper.
34841
edc21804
DM
34842 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34843
473c3ef3
L
348442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34845
34846 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34847 [__LP64__].
34848
eb0f39b6
L
348492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34850
34851 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34852 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34853 (__lround): Renamed to ...
34854 (__llround): This. Replace long int with long long int.
34855 Define lround functions as aliases of llround functions.
34856 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34857
6b6cd74b
L
348582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34859
34860 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34861 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34862 adresses to uintptr_t. Replace "long int" and "unsigned long
34863 int" with "greg_t" on va_arg.
34864
f1a77b01
L
348652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34866
34867 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34868 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34869
34870 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34871 Move e_machine check before EI_CLASS check. Handle x32
34872 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34873 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34874 SKIP_EM_IA_64 and include
34875 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34876
34877 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34878 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34879 (add_system_dir): New macro.
34880
34881 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34882 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34883
11b90b9f
JM
348842012-03-16 Joseph Myers <joseph@codesourcery.com>
34885
c36e1d23
JM
34886 [BZ #2551]
34887 [BZ #2552]
34888 [BZ #2553]
34889 [BZ #2554]
34890 [BZ #2562]
34891 [BZ #2563]
34892 [BZ #2565]
34893 [BZ #2566]
34894 [BZ #2576]
34895 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34896 (y0): Likewise.
34897 * math/w_j0f.c (j0f): Likewise.
34898 (y0f): Likewise.
34899 * math/w_j0l.c (__j0l): Likewise.
34900 (__y0l): Likewise.
34901 * math/w_j1.c (j1): Likewise.
34902 (y1): Likewise.
34903 * math/w_j1f.c (j1f): Likewise.
34904 (y1f): Likewise.
34905 * math/w_j1l.c (__j1l): Likewise.
34906 (__y1l): Likewise.
34907 * math/w_jn.c (jn): Likewise.
34908 (yn): Likewise.
34909 * math/w_jnf.c (jnf): Likewise.
34910 (ynf): Likewise.
34911 * math/w_jnl.c (__jnl): Likewise.
34912 (__ynl): Likewise.
34913 * math/libm-test.inc (j0_test): Add more tests.
34914 (j1_test): Likewise.
34915 (jn_test): Likewise. Add trailing semicolon to existing test.
34916 (y0_test): Likewise.
34917 (y1_test): Likewise.
34918 * sysdeps/i386/fpu/libm-test-ulps: Update.
34919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34920
11b90b9f
JM
34921 [BZ #13851]
34922 [BZ #13854]
34923 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34924 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34925 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34926 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34927 (__tanl): Set errno for infinite argument.
34928 * sysdeps/i386/fpu/mptan.c: Remove.
34929 * sysdeps/i386/fpu/s_tan.S: Likewise.
34930 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34931 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34932 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34933 * math/libm-test.inc (tan_test): Add more tests and enable more
34934 tests for double and long double.
34935 * sysdeps/i386/fpu/libm-test-ulps: Update.
34936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34937
6a1bd2a1
JK
349382012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34939
34940 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34941 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34942
10a803e0
RM
349432012-03-16 Roland McGrath <roland@hack.frob.com>
34944
34945 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34946 * configure.in: Use it for both main tree and add-ons.
34947 * configure: Regenerated.
34948
f196c7f7
L
349492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34950
34951 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34952
8848d99d
JM
349532012-03-16 Joseph Myers <joseph@codesourcery.com>
34954
96cbe7f4
JM
34955 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34956 in comment.
34957
8848d99d
JM
34958 [BZ #13851]
34959 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34960 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34961 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34962 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34963 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34964 infinite argument.
34965 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34967 != 0 for prec == 2.
34968 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34969 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34970 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34971 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34972 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34973 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34974 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34975 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34976 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34977 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34978 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34979 * math/libm-test.inc (cos_test): Add more tests and enable more
34980 tests for long double.
34981 (sin_test): Likewise.
34982 (sincos_test): Likewise.
34983 * sysdeps/i386/fpu/libm-test-ulps: Update.
34984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34985
dd7f4703
DM
349862012-03-16 David S. Miller <davem@davemloft.net>
34987
34988 * sysdeps/sparc/fpu/math_private.h: New file.
34989
006f1daa
DM
349902012-03-15 David S. Miller <davem@davemloft.net>
34991
c0c83bc8
DM
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34993 file.
e6a62e18 34994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34996 file.
e6a62e18
DM
34997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35003 sysdep routines.
35004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35005
88cb87d9
DM
35006 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35007 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35008
006f1daa 35009 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35011 sparc-ifunc.h
006f1daa 35012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35014 Likewise.
35015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35016 Likewise.
006f1daa
DM
35017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35021 Likewise.
006f1daa
DM
35022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35027 Likewise.
35028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35029 Likewise.
006f1daa
DM
35030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35049 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35051 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35054
11e0098e
AS
350552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35056
35057 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35058 scaling.
35059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35060
e85b09d0
AJ
350612012-03-15 Andreas Jaeger <aj@suse.de>
35062
35063 [BZ #13852]
35064 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35065 ieee754/flt-32 implementation for sin, cos and sincos.
35066 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35067 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35068 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35069 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35070 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35071 ieee754/flt-32 implementation for tan.
35072
35073 * math/libm-test.inc (cos_test): Enable some large input tests for
35074 float as well
35075 (sin_test): Likewise.
35076 (sincos_test): Likewise.
35077 (tan_test): Add tests for large input.
35078
35079 * sysdeps/i386/fpu/libm-test-ulps: Update.
35080
81c64153
AJ
350812012-03-15 Andreas Jaeger <aj@suse.de>
35082
35083 [BZ #13658]
35084 * math/libm-test.inc (cos_test): Add more test cases.
35085 (sin_test): Likewise.
35086 (sincos_test): Likewise.
35087
7bbfa5c6
AJ
350882012-03-15 Andreas Jaeger <aj@suse.de>
35089
35090 [BZ #13837]
35091 * math/libm-test.inc (cos_test): Add a test case for large input
35092 value.
35093 (sin_test): Likewise.
35094 (sincos_test): Likewise.
35095
57f41c40
AS
350962012-03-15 Andreas Jaeger <aj@suse.de>
35097 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35098
35099 [BZ #13658]
0671f479 35100 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35101 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35102 * sysdeps/i386/fpu/branred.c: Likewise.
35103 * sysdeps/i386/fpu/dosincos.c: Likewise.
35104 * sysdeps/i386/fpu/mpa.c: Likewise.
35105 * sysdeps/i386/fpu/s_cos.S: Likewise.
35106 * sysdeps/i386/fpu/s_sin.S: Likewise.
35107 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35108 * sysdeps/i386/fpu/sincos32.c: Likewise.
35109
35110 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35111 Define.
35112 (libc_feupdateenv_53bit): Define.
35113 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35114 Define.
35115 (libc_feupdateenv_53bit): Define.
35116
35117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35118 53 bit (without extend i386 double precision).
35119
35120 * math/libm-test.inc (sincos_test): Add tests for large input.
35121 (sin): Likewise.
35122 (cos): Likewise.
35123
35124 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35125
9cad04ea
AS
351262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35127
35128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35129
f7062b9a
DM
351302012-03-15 David S. Miller <davem@davemloft.net>
35131
35132 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35133 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35134 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35135 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35148 file.
f7062b9a 35149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35151 file.
f7062b9a 35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35154 file.
f7062b9a 35155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35157 file.
f7062b9a
DM
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35160 fmin/fmax sysdep routines.
35161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35162
7bd951ff
DM
351632012-03-14 David S. Miller <davem@davemloft.net>
35164
559398ab
DM
35165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35194 routines.
35195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35196 file.
559398ab 35197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35199 file.
559398ab 35200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35202 file.
559398ab 35203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35205 file.
559398ab 35206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35208 file.
559398ab 35209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35211 file.
35212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35213 file.
35214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35215 file.
35216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35217 file.
35218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35219 New file.
35220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35221 file.
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35223 file.
559398ab 35224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35226 file.
559398ab 35227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35229 file.
559398ab 35230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35232 file.
559398ab 35233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35235 VIS3 routines.
559398ab
DM
35236
35237 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35238 New file.
35239
5a1c1e32
DM
35240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35241
eae47a36
DM
35242 * sysdeps/sparc/configure.in: New file.
35243 * sysdeps/sparc/configure: Generate.
35244 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35245 * configure: Regenerate.
35246 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35247 * config.make.in (have-as-vis3): New.
35248 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35249 available use -Av9d instead of -Av9a.
35250 * sysdeps/sparc/sparc64/Makefile: Likewise.
35251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35253 New file.
35254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35255 file.
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35257 New file.
35258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35259 file.
eae47a36
DM
35260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35265
c0c83bc8
DM
35266 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35267 fzeros/fnegs to load 0x80000000 into a float register instead of
35268 using the stack.
7bd951ff
DM
35269 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35270
bd951ccb
JM
352712012-03-14 Joseph Myers <joseph@codesourcery.com>
35272
35273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35274 bits/syscall.h.
35275 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35276 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35277 ($(inst_includedir)/bits/syscall.h): Remove rule.
35278 ($(objpfx)bits/syscall.d): Include instead of
35279 $(objpfx)syscall-list.d.
35280 (generated): Change syscall-list.h and syscall-list.d to
35281 bits/syscall.h and bits/syscall.d.
35282
bb4e6db2
RM
352832012-03-14 Roland McGrath <roland@hack.frob.com>
35284
35285 [BZ #13846]
35286 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35287
aa4a2ae1
JM
352882012-03-14 Joseph Myers <joseph@codesourcery.com>
35289
e456826d
JM
35290 [BZ #13841]
35291 * math/s_csqrt.c: Include <float.h>.
35292 (__csqrt): Scale large or subnormal inputs.
35293 * math/s_csqrtf.c: Likewise.
35294 * math/s_csqrtl.c: Likewise.
35295 * math/libm-test.inc (csqrt_test): Add more tests.
35296 * sysdeps/i386/fpu/libm-test-ulps: Update.
35297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35298
aa4a2ae1
JM
35299 [BZ #13840]
35300 * math/libm-test.inc (hypot_test): Add more tests.
35301
7c10fd35
DM
353022012-03-13 David S. Miller <davem@davemloft.net>
35303
35304 [BZ #13840]
35305 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35306 double-precision for the calculation instead of scaling.
35307
f453b98b
JM
353082012-03-13 Joseph Myers <joseph@codesourcery.com>
35309
35310 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35311 manipulate bits before adding and subtracting TWO52[sx].
35312 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35313 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35314 Likewise.
35315 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35316
09a3453f
DM
353172012-03-13 David S. Miller <davem@davemloft.net>
35318
8e59da90
DM
35319 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35320 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35322 rtld-global-offsets.h
35323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35324
2a8ab7f2
DM
35325 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35326 large parameters.
35327
10f62770
DM
35328 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35329
5f0bdb18
DM
35330 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35331 'err' in the ifdef scope in which it is actually used.
35332
09a3453f
DM
35333 * nss/nss_db/db-init.c: Include string.h
35334
b4b2eb5e
DM
353352012-03-12 David S. Miller <davem@davemloft.net>
35336
98bb2f1c
DM
35337 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35338 masking out of the most significant byte of random value used.
35339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35340 Fix coding style in previous change.
35341
b4b2eb5e
DM
35342 * sysdeps/unix/sysv/linux/kernel-features.h
35343 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35344 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35345 expression.
35346 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35347 later.
35348
6e226b09
DM
353492012-03-11 David S. Miller <davem@davemloft.net>
35350
a1bcbd40
DM
35351 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35352 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35354 for 'resultvar' otherwise things get truncated on 64-bit.
35355
cb9d6174
DM
35356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35357 Fix masking out of the most significant byte of random value used.
35358
6e226b09
DM
35359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35360
058c132d
AS
353612012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35362
35363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35364
2d2cd515
DM
353652012-03-09 David S. Miller <davem@davemloft.net>
35366
35367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35368 variables with appropriate CPP guards.
57f41c40
AS
35369 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35370 from the frame pointer, not the stack pointer. Correct layout
35371 comments. Fix test on resulting framesize and the management of
35372 the outregs buffer for pltexit. Preserve floating point return
35373 values across _dl_call_pltexit call.
2d2cd515
DM
35374 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35375 framesize and the management of the outregs buffer for pltexit.
35376 Preserve floating point return values across _dl_call_pltexit
35377 call.
57f41c40
AS
35378 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35379 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35380 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35381 (print_exit): Fix format string for return register value.
35382
9a07f9d0
JM
353832012-03-10 Joseph Myers <joseph@codesourcery.com>
35384
35385 * sunrpc/Makefile (others): Add rpcgen.
35386 ($(objpfx)rpcgen): Remove special build rule and dependency on
35387 libc.
35388 * sunrpc/rpcgen.c: New file.
35389
547b5e30
PE
353902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35391
c524201a
PE
35392 [BZ #13673]
35393 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35394 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35395 * sysdeps/i386/crti.S: Likewise.
35396 * sysdeps/i386/crtn.S: Likewise.
35397 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35398 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35399 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35400 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35401 * sysdeps/sh/crti.S: Likewise.
35402 * sysdeps/sh/crtn.S: Likewise.
35403 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35404
7b6235f2
PE
35405 [BZ #13673]
35406 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35407 with URL.
35408 * locale/programs/locfile-kw.gperf: Likewise.
35409 * locale/programs/charmap-kw.h: Regenerated.
35410 * locale/programs/locfile-kw.h: Likewise.
35411
547b5e30
PE
35412 [BZ #13673]
35413 * intl/plural.y: Replace FSF snail mail address with URL.
35414 * intl/plural.c: Regenerated.
35415
5f0a5dae
RH
354162012-03-09 Richard Henderson <rth@twiddle.net>
35417
35418 * include/math_private.h: Remove file.
35419 * math/math_private.h: Move file ...
35420 * sysdeps/generic/math_private.h: ... here.
35421
b8c03620
RH
35422 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35423 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35424 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35425
4e234f5d 35426 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35427 and <math_private.h>.
35428 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35429 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35430 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35431 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35432 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35440 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35442 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35446 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35447 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35450 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35453 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35508 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35515 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35516 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35519 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35521 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35522 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35523 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35524 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35525 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35526 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35527 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35528 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35529 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35530 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35531 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35532 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35533 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35535 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35540 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35541 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35542 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35543 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35547 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35551 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35555 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35556 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35557 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35558 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35560 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35561 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35562 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35563 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35564 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35565 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35566 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35567 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35568 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35570 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35571 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35572 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35573 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35574 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35575 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35576 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35577 * sysdeps/ieee754/k_standard.c: Likewise.
35578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35669 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35697 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35698 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35700 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35705 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35727 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35728 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35738 * sysdeps/ieee754/s_lib_version.c: Likewise.
35739 * sysdeps/ieee754/s_matherr.c: Likewise.
35740 * sysdeps/ieee754/s_signgam.c: Likewise.
35741 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35742 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35744 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35745 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35746 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35747 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35748 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35749 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35750 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35751 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35752 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35753 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35754 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35755 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35756 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35758 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35759 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35762
1991fa03
JM
357632012-03-09 Joseph Myers <joseph@codesourcery.com>
35764
35765 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35766 * sunrpc/rpc_main.c: Likewise.
35767 * sunrpc/rpc_svcout.c: Likewise.
35768
60d6f5a6
DM
357692012-03-09 David S. Miller <davem@davemloft.net>
35770
35771 * include/math_private.h: New file.
35772
4962050e
JM
357732012-03-09 Joseph Myers <joseph@codesourcery.com>
35774
02a6f887
JM
35775 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35776 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35777 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35778 from <bits/socket_type.h>.
35779 (enum __socket_type): Don't define here.
35780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35782 bits/socket_type.h.
35783
c6e013c1
JM
35784 [BZ #13566]
35785 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35786 checking __USE_GNU.
35787
4962050e
JM
35788 * Makerules ($(inst_includedir)/%.h): New rule.
35789 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35790 (install-others): Remove variable setting.
35791 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35792
38842f45
RH
357932012-03-08 Richard Henderson <rth@twiddle.net>
35794
67bb6da6
RH
35795 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35796 from macro to inline function; merge with the
35797 !__LIBC_INTERNAL_MATH_INLINES version.
35798 (__ieee754_sqrtf): Likewise.
35799
15194b4b
RH
35800 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35801 to inline function.
35802 (__rintf, __floor, __floorf): Likewise.
35803
64e21ede
RH
35804 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35805 macro to inline function.
35806 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35807
38842f45
RH
35808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35809 not <math/math_private.h>.
35810
c64bf5fe
DM
358112012-03-08 David S. Miller <davem@davemloft.net>
35812
35813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35814 copyright year.
35815 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35816
82d86f28
TS
358172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35818
35819 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35820 normalization.
35821 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35822 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35823
aea5d727
UD
358242012-03-08 Ulrich Drepper <drepper@gmail.com>
35825
35826 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35827 be defined individually, they must be defined as a block. Define
35828 S for printing a string instead of hidint the different by using a
35829 macro for adding the 'l'.
35830 * stdio-common/tst-fphex-wide.c: Adjust.
35831
70bca0a3
MP
358322012-03-07 Marek Polacek <polacek@redhat.com>
35833
35834 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35835
65b81130
MP
358362012-03-08 Marek Polacek <polacek@redhat.com>
35837
35838 [BZ #13806]
35839 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35840 * stdio-common/tst-fphex.c: Define a few macros to make the
35841 test reusable. Use them.
35842 * stdio-common/tst-fphex-wide.c: New file.
35843
07037eeb
JM
358442012-03-08 Joseph Myers <joseph@codesourcery.com>
35845
a7a93d50
JM
35846 [BZ #6911]
35847 * manual/macros.texi (gnusystems): New macro.
35848 (nongnusystems): Likewise.
35849 (gnulinuxhurdsystems): Likewise.
35850 (gnuhurdsystems): Likewise..
35851 (gnulinuxsystems): Likewise.
35852 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35853 variants of the GNU system, not "GNU system".
35854 * manual/conf.texi: Likewise.
35855 * manual/errno.texi: Likewise. Update example of errno macro
35856 expansion.
35857 * manual/filesys.texi: Likewise.
35858 (getumask): Document as specific to GNU/Hurd.
35859 * manual/install.texi: Likewise. Reword some references to
35860 GNU/Linux.
35861 * manual/intro.texi: Likewise.
35862 * manual/io.texi: Likewise.
35863 (File Name Portability): Detail which constraints are inapplicable
35864 to all GNU systems and which are only inapplicable to GNU/Hurd.
35865 * manual/job.texi: Likewise.
35866 * manual/llio.texi: Likewise.
35867 (O_NOCTTY): Document as present on GNU/Linux.
35868 * manual/maint.texi: Likewise.
35869 * manual/memory.texi: Likewise.
35870 * manual/pattern.texi: Likewise.
35871 * manual/pipe.texi: Likewise.
35872 * manual/process.texi: Likewise.
35873 * manual/resource.texi: Likewise.
35874 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35875 child on GNU/Hurd.
35876 * manual/setjmp.texi: Likewise.
35877 * manual/signal.texi: Likewise.
35878 * manual/startup.texi: Likewise.
35879 * manual/stdio.texi: Likewise.
35880 * manual/terminal.texi: Likewise.
35881 (ONLCR): Document as POSIX.
35882 (OXTABS): Document availability on GNU/Linux as XTABS.
35883 (ONOEOT): Document availability separately from other bits.
35884 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35885 * manual/time.texi: Likewise.
35886 * manual/users.texi: Likewise.
35887 * INSTALL: Regenerated.
35888 * sysdeps/gnu/errlist.c: Regenerated.
35889
07037eeb
JM
35890 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35891 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35892 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35893 puts.
35894 * configure: Regenerated.
35895
d1d3431a
JM
358962012-03-07 Joseph Myers <joseph@codesourcery.com>
35897
af6a1e37
JM
35898 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35899 default includes instead of AC_HEADER_CHECK.
35900 * sysdeps/i386/configure: Regenerated.
35901
d1d3431a
JM
35902 [BZ #10716]
35903 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35904 * math/s_cacoshf.c (__cacoshf): Likewise.
35905 * math/s_cacoshl.c (__cacoshl): Likewise.
35906 * math/s_casinh.c (__casinh): Set signs of result from argument.
35907 * math/s_casinhf.c (__casinhf): Likewise.
35908 * math/s_casinhl.c (__casinhl): Likewise.
35909 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35910 (casinh_test): Add more tests.
35911 * sysdeps/i386/fpu/libm-test-ulps: Update.
35912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35913
482ff4da
UD
359142012-03-07 Ulrich Drepper <drepper@gmail.com>
35915
872fda05
UD
35916 * po/zh_TW.po: Update from translation team.
35917
a4300c7a
UD
35918 * login/Makefile (distribute): Remove variable.
35919 * catgets/Makefile: Likewise.
35920 * mach/Makefile: Likewise.
35921 * malloc/Makefile: Likewise.
35922 * misc/Makefile: Likewise.
35923 * iconv/Makefile: Likewise.
35924 * nscd/Makefile: Likewise.
35925 * hurd/Makefile: Likewise.
35926 * manual/Makefile: Likewise.
35927 * locale/Makefile: Likewise.
35928 * intl/Makefile: Likewise.
35929 * conform/Makefile: Likewise.
35930 * nss/Makefile: Likewise.
35931 * time/Makefile: Likewise.
35932 * soft-fp/Makefile: Likewise.
35933 * dirent/Makefile: Likewise.
35934 * gmon/Makefile: Likewise.
35935 * po/Makefile: Likewise.
35936 * rt/Makefile: Likewise.
35937 * socket/Makefile: Likewise.
35938 * math/Makefile: Likewise.
35939 * signal/Makefile: Likewise.
35940 * debug/Makefile: Likewise.
35941 * elf/Makefile: Likewise.
35942 * timezone/Makefile: Likewise.
35943 * stdlib/Makefile: Likewise.
35944 * iconvdata/Makefile: Likewise.
35945 * sunrpc/Makefile: Likewise.
35946 * io/Makefile: Likewise.
35947 * argp/Makefile: Likewise.
35948 * inet/Makefile: Likewise.
35949 * hesiod/Makefile: Likewise.
35950 * grp/Makefile: Likewise.
35951 * csu/Makefile: Likewise.
35952 * wctype/Makefile: Likewise.
35953 * crypt/Makefile: Likewise.
35954 * libio/Makefile: Likewise.
35955 * string/Makefile: Likewise.
35956 * nis/Makefile: Likewise.
35957 * resolv/Makefile: Likewise.
35958 * stdio-common/Makefile: Likewise.
35959 * wcsmbs/Makefile: Likewise.
35960 * dlfcn/Makefile: Likewise.
35961 * posix/Makefile: Likewise.
35962
3b7c4e74 35963 [BZ #6959]
482ff4da
UD
35964 * timezone/Makefile: Don't install timezone files, just the programs
35965 and scripts.
35966
f72ed77d
UD
359672012-03-06 Ulrich Drepper <drepper@gmail.com>
35968
a000466f
UD
35969 * nss/databases.def: Add missing gshadow entry.
35970
f72ed77d
UD
35971 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35972
a53b7a4e
MP
359732012-03-06 Marek Polacek <polacek@redhat.com>
35974
35975 [BZ #13726]
35976 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35977 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35978 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35979 * stdio-common/tst-long-dbl-fphex.c: New file.
35980
e9258400
DM
359812012-03-06 David S. Miller <davem@davemloft.net>
35982
35983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35984 (set_obp_int): New function.
35985 (get_obp_int): New function.
35986 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35988 Avoid unused variable warnings on 'val' and use builtin_expect.
35989 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35990 __builtin_expect.
e9258400
DM
35991 (INLINE_CLONE_SYSCALL): Likewise.
35992
3bd2c723
DM
359932012-03-05 David S. Miller <davem@davemloft.net>
35994
35995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35996
bbb78d03
AS
359972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35998
884c5db4
AS
35999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36000
bbb78d03
AS
36001 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36002 only for |x| >= 40.
36003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36004
1c9f702a 360052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36006
36007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36008 Replace gettimeofday with __vdso_gettimeofday.
36009
7be16f82
RM
36010 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36011 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36012 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36013
36014 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36015 time with __vdso_time.
36016
ed58a00f
JM
360172012-03-05 Joseph Myers <joseph@codesourcery.com>
36018
36019 * manual/lang.texi (size_t): Note types to which size_t may be
36020 equivalent with the GNU C Library, but do not describe when
36021 differences between them are significant.
36022
30ee4ced
AJ
360232012-03-05 Andreas Jaeger <aj@suse.de>
36024
36025 * sysdeps/i386/fpu/libm-test-ulps: Update.
36026
b7cd39e8
JM
360272012-03-05 Joseph Myers <joseph@codesourcery.com>
36028
36029 [BZ #3976]
36030 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36031 (__ieee754_pow): Save and restore rounding mode and use
36032 round-to-nearest for main computations.
36033 * math/libm-test.inc (pow_test_tonearest): New function.
36034 (pow_test_towardzero): Likewise.
36035 (pow_test_downward): Likewise.
36036 (pow_test_upward): Likewise.
36037 (main): Call the new functions.
36038 * sysdeps/i386/fpu/libm-test-ulps: Update.
36039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36040
36041 [BZ #3976]
36042 * math/libm-test.inc (cosh_test_tonearest): New function.
36043 (cosh_test_towardzero): Likewise.
36044 (cosh_test_downward): Likewise.
36045 (cosh_test_upward): Likewise.
36046 (sinh_test_tonearest): Likewise.
36047 (sinh_test_towardzero): Likewise.
36048 (sinh_test_downward): Likewise.
36049 (sinh_test_upward): Likewise.
36050 (main): Call the new functions.
36051 * sysdeps/i386/fpu/libm-test-ulps: Update.
36052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36053
6c6a98c9
TV
360542012-03-05 Tom de Vries <tom@codesourcery.com>
36055
36056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36057 default stack guard is set in last bytes.
36058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36059
21bb2d2e 360602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36061
21bb2d2e 36062 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36063
21bb2d2e
AJ
36064 [BZ #13656]
36065 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36066 possibly allocate from heap instead of stack.
36067 * stdio-common/bug-vfprintf-nargs.c: New file.
36068 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36069
c6922934
AS
360702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36071
36072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36073
bc957d53
MP
360742012-03-03 Marek Polacek <polacek@redhat.com>
36075
36076 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36077 * math/math_private.h: Likewise.
36078 * stdlib/tst-strtod.c: Likewise.
36079 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36080 * sysdeps/x86_64/bits/atomic.h: Likewise.
36081
6358490d
DM
360822012-03-02 David S. Miller <davem@davemloft.net>
36083
36084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36088 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36089 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36090 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36091 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36092
01ae168d
RM
360932012-03-02 Roland McGrath <roland@hack.frob.com>
36094
d9a17c07
RM
36095 [BZ #13792]
36096 * manual/examples/README: New file, says the example source files
36097 can be used under GPL>=2.
36098 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36099 line containing just "*/".
36100 * manual/examples/add.c: Add copyright header (GPL>=2).
36101 * manual/examples/argp-ex1.c: Likewise.
36102 * manual/examples/argp-ex2.c: Likewise.
36103 * manual/examples/argp-ex3.c: Likewise.
36104 * manual/examples/argp-ex4.c: Likewise.
36105 * manual/examples/atexit.c: Likewise.
36106 * manual/examples/db.c: Likewise.
36107 * manual/examples/dir.c: Likewise.
36108 * manual/examples/dir2.c: Likewise.
36109 * manual/examples/execinfo.c: Likewise.
36110 * manual/examples/filecli.c: Likewise.
36111 * manual/examples/filesrv.c: Likewise.
36112 * manual/examples/fmtmsgexpl.c: Likewise.
36113 * manual/examples/genpass.c: Likewise.
36114 * manual/examples/inetcli.c: Likewise.
36115 * manual/examples/inetsrv.c: Likewise.
36116 * manual/examples/isockad.c: Likewise.
36117 * manual/examples/longopt.c: Likewise.
36118 * manual/examples/memopen.c: Likewise.
36119 * manual/examples/memstrm.c: Likewise.
36120 * manual/examples/mkfsock.c: Likewise.
36121 * manual/examples/mkisock.c: Likewise.
36122 * manual/examples/mygetpass.c: Likewise.
36123 * manual/examples/pipe.c: Likewise.
36124 * manual/examples/popen.c: Likewise.
36125 * manual/examples/rprintf.c: Likewise.
36126 * manual/examples/search.c: Likewise.
36127 * manual/examples/select.c: Likewise.
36128 * manual/examples/setjmp.c: Likewise.
36129 * manual/examples/sigh1.c: Likewise.
36130 * manual/examples/sigusr.c: Likewise.
36131 * manual/examples/stpcpy.c: Likewise.
36132 * manual/examples/strdupa.c: Likewise.
36133 * manual/examples/strftim.c: Likewise.
36134 * manual/examples/strncat.c: Likewise.
36135 * manual/examples/subopt.c: Likewise.
36136 * manual/examples/swapcontext.c: Likewise.
36137 * manual/examples/termios.c: Likewise.
36138 * manual/examples/testopt.c: Likewise.
36139 * manual/examples/testpass.c: Likewise.
36140 * manual/examples/timeval_subtract.c: Likewise.
36141
01ae168d
RM
36142 [BZ #13792]
36143 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36144 function to ...
36145 * manual/timeval_subtract.c.texi: ... here, new file.
36146
49efa33d
DM
361472012-03-02 David S. Miller <davem@davemloft.net>
36148
36149 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36150
28afd92d
JM
361512012-03-02 Joseph Myers <joseph@codesourcery.com>
36152
804360ed
JM
36153 [BZ #3976]
36154 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36155 (__sin): Save and restore rounding mode and use round-to-nearest
36156 for all computations.
36157 (__cos): Save and restore rounding mode and use round-to-nearest
36158 for all computations.
36159 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36160 <fenv.h>.
36161 (tan): Save and restore rounding mode and use round-to-nearest for
36162 all computations.
36163 * math/libm-test.inc (cos_test_tonearest): New function.
36164 (cos_test_towardzero): Likewise.
36165 (cos_test_downward): Likewise.
36166 (cos_test_upward): Likewise.
36167 (sin_test_tonearest): Likewise.
36168 (sin_test_towardzero): Likewise.
36169 (sin_test_downward): Likewise.
36170 (sin_test_upward): Likewise.
36171 (tan_test_tonearest): Likewise.
36172 (tan_test_towardzero): Likewise.
36173 (tan_test_downward): Likewise.
36174 (tan_test_upward): Likewise.
36175 (main): Call the new functions.
36176 * sysdeps/i386/fpu/libm-test-ulps: Update.
36177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36178
a6d06d7b
JM
36179 [BZ #10135]
36180 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36181 small n, then large n, before computing and testing k+n.
36182 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36184 Likewise.
36185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36186 Likewise.
36187 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36188 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36189 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36190 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36195 * math/libm-test.inc (scalbn_test): Add more tests.
36196 (scalbln_test): Likewise.
36197
07e12bb3
JM
36198 * manual/filesys.texi (mode_t): Describe constraints on size and
36199 signedness, not exact equivalence to a particular type.
36200 (ino_t): Likewise.
36201 (ino64_t): Likewise.
36202 (dev_t): Likewise.
36203 (nlink_t): Likewise.
36204 (blkcnt_t): Likewise.
36205 (blkcnt64_t): Likewise.
36206 * manual/llio.texi (off_t): Likewise.
36207
28afd92d
JM
36208 [BZ #3976]
36209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36210 (__ieee754_exp): Save and restore rounding mode and use
36211 round-to-nearest for all computations.
36212 * math/libm-test.inc (exp_test_tonearest): New function.
36213 (exp_test_towardzero): Likewise.
36214 (exp_test_downward): Likewise.
36215 (exp_test_upward): Likewise.
36216 (main): Call the new functions.
36217 * sysdeps/i386/fpu/libm-test-ulps: Update.
36218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36219
b1eeb65d
CD
362202012-03-01 Chris Demetriou <cgd@google.com>
36221
36222 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36223 have predictable order.
36224
53362a4b
DM
362252012-03-01 David S. Miller <davem@davemloft.net>
36226
3c969083
DM
36227 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36228
759707de
DM
36229 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36231 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36232 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36233
dfdb8ff2
DM
36234 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36235 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36236 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36238 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36239 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36240 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36241 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36242 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36243
ead89f96
DM
36244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36245
7f66bd07
DM
36246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36247 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36249
53362a4b
DM
36250 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36251 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36253 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36254 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36257 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36266 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36267 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36268 * sysdeps/sparc/elf/configure: Regenerated.
36269
7b1902cb
JM
362702012-03-01 Joseph Myers <joseph@codesourcery.com>
36271
bec039bc
JM
36272 * configure.in (AS, LD): Require binutils 2.20 or later.
36273 * configure: Regenerated.
36274 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36275 as required minimum version.
36276 * INSTALL: Regenerated.
36277
7b1902cb
JM
36278 [BZ #2541]
36279 [BZ #4108]
36280 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36281 before squaring exponent.
36282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36283 bottom long double and 27 bits of top long double before squaring
36284 exponent.
36285 * math/libm-test.inc (erfc_test): Add more tests.
36286 * sysdeps/i386/fpu/libm-test-ulps: Update.
36287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36289
f775c276
KT
362902012-03-01 Kai Tietz <ktietz@redhat.com>
36291
36292 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36293 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36294 containing bit-fields.
36295 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36296 * soft-fp/single.h (_FP_UNION_S): Likewise.
36297 * soft-fp/double.h (_FP_UNION_D): Likewise.
36298
5b8a4d4a
JM
362992012-02-29 Joseph Myers <joseph@codesourcery.com>
36300
0bab47b6
JM
36301 [BZ #13786]
36302 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36303 not include ../strcmp.S.
36304 [USE_AS_STRNCASECMP_L]: Likewise.
36305 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36306 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36307 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36308 (__strncasecmp_l_ia32): Define as alias to
36309 __strncasecmp_l_nonascii.
36310
0fcad3e2
JM
36311 [BZ #5794]
36312 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36313 * sysdeps/i386/fpu/libm-test-ulps: Update.
36314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36315
5b8a4d4a
JM
36316 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36318
8fdceb2e
JL
363192012-02-29 Jeff Law <law@redhat.com>
36320
36321 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36322 out of bounds read.
36323
1f393a11
MP
363242012-02-29 Marek Polacek <polacek@redhat.com>
36325
36326 [BZ #13706]
36327 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36328 * elf/Makefile: Add rules to run tst-unused-dep.out.
36329
8847f037
DM
363302012-02-28 David S. Miller <davem@davemloft.net>
36331
36332 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36333 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36335 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36338
169d7f11
JM
363392012-02-29 Joseph Myers <joseph@codesourcery.com>
36340
36341 * math/libm-test.inc (llround_test): Move one test from
36342 lround_test. Use TEST_f_L in moved test.
36343 (lround_test): Move misplaced test to llround_test. Add testcase
36344 from bug 2561.
36345
39adf059
UD
363462012-02-28 Ulrich Drepper <drepper@gmail.com>
36347
36348 * sysdeps/x86_64/fpu/e_expf.S: New file.
36349 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36350
71b5d1c5
SB
363512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36352
36353 [BZ #13637]
36354 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36355 of remain_len that may cause incomplete multi-byte character and
36356 false match.
36357 * posix/bug-regex33.c: New file.
36358 * posix/Makefile (tests): Add bug-regex33.
36359
1f77f049
JM
363602012-02-28 Joseph Myers <joseph@codesourcery.com>
36361
36362 * manual/macros.texi: New file.
36363 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36364 * manual/libc.texinfo: Include macros.texi.
36365 * manual/creatute.texi: Likewise.
36366 * manual/install.texi: Likewise.
36367 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36368 @glibcadj{} in references to the GNU C Library.
36369 * manual/charset.texi: Likewise.
36370 * manual/conf.texi: Likewise.
36371 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36372 when not using those macros.
36373 * manual/creature.texi: Likewise.
36374 * manual/crypt.texi: Likewise.
36375 * manual/errno.texi: Likewise.
36376 * manual/filesys.texi: Likewise.
36377 * manual/header.texi: Likewise.
36378 * manual/install.texi: Likewise.
36379 * manual/intro.texi: Likewise.
36380 * manual/io.texi: Likewise.
36381 * manual/job.texi: Likewise.
36382 * manual/lang.texi: Likewise.
36383 * manual/libc.texiinfo: Likewise.
36384 * manual/llio.texi: Likewise.
36385 * manual/locale.texi: Likewise.
36386 * manual/maint.texi: Likewise.
36387 * manual/math.texi: Likewise.
36388 * manual/memory.texi: Likewise.
36389 * manual/message.texi: Likewise.
36390 * manual/nss.texi: Likewise.
36391 * manual/pattern.texi: Likewise.
36392 * manual/process.texi: Likewise.
36393 * manual/resource.texi: Likewise.
36394 * manual/search.texi: Likewise.
36395 * manual/setjmp.texi: Likewise.
36396 * manual/signal.texi: Likewise.
36397 * manual/socket.texi: Likewise.
36398 * manual/startup.texi: Likewise.
36399 * manual/stdio.texi: Likewise.
36400 * manual/string.texi: Likewise.
36401 * manual/sysinfo.texi: Likewise.
36402 * manual/syslog.texi: Likewise.
36403 * manual/terminal.texi: Likewise.
36404 * manual/time.texi: Likewise.
36405 * manual/users.texi: Likewise.
36406 * INSTALL: Regenerated.
36407 * NOTES: Regenerated.
d40c5d54 36408 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36409
450bf206
AS
364102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36411
36412 * include/dirent.h: Include <dirstream.h> before
36413 <dirent/dirent.h>.
36414
741a235b
DM
364152012-02-28 David S. Miller <davem@davemloft.net>
36416
36417 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36418 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36419 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36420 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36421
d6b5aa58
DM
364222012-02-27 David S. Miller <davem@davemloft.net>
36423
1aff59a3
DM
36424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36426 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36427 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36428
d6b5aa58
DM
36429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36430 frame pointer instead of stack pointer relative arg slot.
36431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36434
433f48bf
CD
364352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36436
36437 [BZ #3992]
36438 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36439
d674b76d
DM
364402012-02-27 David S. Miller <davem@davemloft.net>
36441
36442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36446 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36447 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36448 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36450
0e7727f7
JM
364512012-02-27 Joseph Myers <joseph@codesourcery.com>
36452
36453 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36454 later. Allow versions 5-9.
43be4ca2 36455 * configure: Regenerated.
0e7727f7
JM
36456 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36457 required minimum version and 4.6 as recommended version. Do not
36458 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36459 * INSTALL: Regenerated.
0e7727f7 36460
a78bc654
DM
364612012-02-27 David S. Miller <davem@davemloft.net>
36462
428d5830
DM
36463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36467 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36468 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36469 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36470 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36471
a78bc654
DM
36472 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36473 manipulate bits before adding and subtracting TWO112[sx].
36474 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36475
4579f81c
RM
364762012-02-27 Roland McGrath <roland@hack.frob.com>
36477
36c8acb4
RM
36478 [BZ #13775]
36479 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36480 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36481 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36482 being in POSIX, because they are in 1003.1-2008.
36483
84ad622b
RM
36484 * rt/tst-aio.c: Include <fcntl.h>.
36485 * rt/tst-aio7.c: Likewise.
36486 * rt/tst-aio64.c: Likewise.
36487
4579f81c
RM
36488 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36489
abd923db
JM
364902012-02-27 Joseph Myers <joseph@codesourcery.com>
36491
36492 * manual/install.texi (--with-headers): Describe headers as
36493 interface headers, not private headers.
36494 (Specific advice for GNU/Linux systems): Describe use of headers
36495 from "make headers_install", not private headers from older
36496 kernels.
43be4ca2 36497 * INSTALL: Regenerated.
abd923db
JM
36498 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36499 Change to 2.6.19.
36500 * sysdeps/unix/sysv/linux/configure: Regenerated.
36501
6664049b
JM
36502 * manual/llio.texi (fclean): Remove documentation.
36503
bb8b6697
JM
36504 * manual/Makefile (libc-texi-generated): New variable. Include
36505 version.texi.
36506 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36507 $(libc-texi-generated), not duplicated list of files.
36508 (version.texi, stamp-version): New rules.
36509 (realclean): Remove $(libc-texi-generated), not individual files
36510 from that list. Do not remove dir-add.texinfo.
36511 * manual/libc.texinfo: Comment out uses of edition numbers and
36512 references to printed manual. Remove last-updated dates.
36513 (EDITION): Comment out.
36514 (ISBN): Likewise.
36515 (VERSION, UPDATED): Remove.
36516 (version.texi): Include.
36517
12e5c3b9
AS
365182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36519
36520 * sysdeps/posix/spawni.c: Include <signal.h>.
36521 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36522 * sysdeps/pthread/aio_fsync.c: Likewise.
36523
4efeffc1 365242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36525
ba63ba08
UD
36526 * conform/Makefile (tests): Run only when not cross-compiling and
36527 when fast-check is not defined.
36528
d94a4670
UD
36529 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36530 * conform/data/limits.h-data: Fixes for POSIX2008.
36531 * conform/run-conformtest.sh: Run all tests.
36532 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36533 headers.
36534 * include/bits/dlfcn.h: Likewise.
36535 * include/langinfo.h: Likewise.
36536 * include/monetary.h: Likewise.
36537 * include/sys/poll.h: Likewise.
36538
36539 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36540 for __USE_GNU.
36541 * posix/spawn.h: Define __need_sigset_t.
36542 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36543 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36544 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36545 to get sigevent_t only.
36546 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36547 only for __USE_GNU.
36548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36549 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36550 process_vm_writev only for __USE_GNU.
36551 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36552
36553 * conform/Makefile: For now ignore errors from run-conformtest.
36554 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36555 POSIX to avoid namespace pollution. Don't prepend headers.
36556 * conform/data/aio.h-data: Fixes for POSIX testing.
36557 * conform/data/fcntl.h-data: Likewise.
36558 * conform/data/glob.h-data: Likewise.
36559 * conform/data/grp.h-data: Likewise.
36560 * conform/data/pthread.h-data: Likewise.
36561 * conform/data/pwd.h-data: Likewise.
36562 * conform/data/signal.h-data: Likewise.
36563 * conform/data/spawn.h-data: Likewise.
36564 * conform/data/stdio.h-data: Likewise.
36565 * conform/data/stdlib.h-data: Likewise.
36566 * conform/data/stropts.h-data: Likewise.
36567 * conform/data/sys/mman.h-data: Likewise.
36568 * conform/data/sys/stat.h-data: Likewise.
36569 * conform/data/sys/types.h-data: Likewise.
36570 * conform/data/sys/wait.h-data: Likewise.
36571 * conform/data/time.h-data: Likewise.
36572 * conform/data/unistd.h-data: Likewise.
36573 * conform/data/utime.h-data: Likewise.
36574
36575 * io/sys/stat.h: fchmod was always in POSIX.
36576 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36577 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36578 * rt/aio.h: Define __need_timespec before including <time.h>.
36579 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36580 struct. Add forward declaration of pthread_attr_t and use it in
36581 sigevent.
36582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36584 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36585 always remove CLK_TCK definition.
36586
c20105c3
AS
365872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36588
36589 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36590
7a270350
UD
365912012-02-25 Ulrich Drepper <drepper@gmail.com>
36592
31341567
UD
36593 * conform/run-conformtest.sh: New file.
36594 * conform/Makefile: Run run-conformtest for tests.
36595 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36596 support.
36597
36598 * conform/data/uchar.h-data: New file.
36599 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36600 * conform/data/arpa/inet.h-data: Likewise.
36601 * conform/data/assert.h-data: Likewise.
36602 * conform/data/complex.h-data: Likewise.
36603 * conform/data/cpio.h-data: Likewise.
36604 * conform/data/ctype.h-data: Likewise.
36605 * conform/data/dirent.h-data: Likewise.
36606 * conform/data/dlfcn.h-data: Likewise.
36607 * conform/data/errno.h-data: Likewise.
36608 * conform/data/fcntl.h-data: Likewise.
36609 * conform/data/float.h-data: Likewise.
36610 * conform/data/fmtmsg.h-data: Likewise.
36611 * conform/data/fnmatch.h-data: Likewise.
36612 * conform/data/ftw.h-data: Likewise.
36613 * conform/data/glob.h-data: Likewise.
36614 * conform/data/grp.h-data: Likewise.
36615 * conform/data/iconv.h-data: Likewise.
36616 * conform/data/inttypes.h-data: Likewise.
36617 * conform/data/langinfo.h-data: Likewise.
36618 * conform/data/libgen.h-data: Likewise.
36619 * conform/data/limits.h-data: Likewise.
36620 * conform/data/locale.h-data: Likewise.
36621 * conform/data/math.h-data: Likewise.
36622 * conform/data/monetary.h-data: Likewise.
36623 * conform/data/mqueue.h-data: Likewise.
36624 * conform/data/ndbm.h-data: Likewise.
36625 * conform/data/net/if.h-data: Likewise.
36626 * conform/data/netdb.h-data: Likewise.
36627 * conform/data/netinet/in.h-data: Likewise.
36628 * conform/data/nl_types.h-data: Likewise.
36629 * conform/data/poll.h-data: Likewise.
36630 * conform/data/pthread.h-data: Likewise.
36631 * conform/data/pwd.h-data: Likewise.
36632 * conform/data/regex.h-data: Likewise.
36633 * conform/data/sched.h-data: Likewise.
36634 * conform/data/search.h-data: Likewise.
36635 * conform/data/semaphore.h-data: Likewise.
36636 * conform/data/setjmp.h-data: Likewise.
36637 * conform/data/signal.h-data: Likewise.
36638 * conform/data/spawn.h-data: Likewise.
36639 * conform/data/stdarg.h-data: Likewise.
36640 * conform/data/stdio.h-data: Likewise.
36641 * conform/data/stdlib.h-data: Likewise.
36642 * conform/data/string.h-data: Likewise.
36643 * conform/data/strings.h-data: Likewise.
36644 * conform/data/stropts.h-data: Likewise.
36645 * conform/data/sys/ipc.h-data: Likewise.
36646 * conform/data/sys/mman.h-data: Likewise.
36647 * conform/data/sys/msg.h-data: Likewise.
36648 * conform/data/sys/resource.h-data: Likewise.
36649 * conform/data/sys/select.h-data: Likewise.
36650 * conform/data/sys/sem.h-data: Likewise.
36651 * conform/data/sys/shm.h-data: Likewise.
36652 * conform/data/sys/socket.h-data: Likewise.
36653 * conform/data/sys/stat.h-data: Likewise.
36654 * conform/data/sys/statvfs.h-data: Likewise.
36655 * conform/data/sys/time.h-data: Likewise.
36656 * conform/data/sys/timeb.h-data: Likewise.
36657 * conform/data/sys/times.h-data: Likewise.
36658 * conform/data/sys/types.h-data: Likewise.
36659 * conform/data/sys/uio.h-data: Likewise.
36660 * conform/data/sys/un.h-data: Likewise.
36661 * conform/data/sys/utsname.h-data: Likewise.
36662 * conform/data/sys/wait.h-data: Likewise.
36663 * conform/data/syslog.h-data: Likewise.
36664 * conform/data/tar.h-data: Likewise.
36665 * conform/data/termios.h-data: Likewise.
36666 * conform/data/utime.h-data: Likewise.
36667 * conform/data/utmpx.h-data: Likewise.
36668 * conform/data/varargs.h-data: Likewise.
36669 * conform/data/wchar.h-data: Likewise.
36670 * conform/data/wctype.h-data: Likewise.
36671 * conform/data/wordexp.h-data: Likewise.
36672
36673 * include/stropts.h: New file.
36674 * include/uchar.h: New file.
36675 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36676 * include/assert.h: Likewise.
36677 * include/ctype.h: Likewise.
36678 * include/dirent.h: Likewise.
36679 * include/dlfcn.h: Likewise.
36680 * include/fcntl.h: Likewise.
36681 * include/fnmatch.h: Likewise.
36682 * include/glob.h: Likewise.
36683 * include/grp.h: Likewise.
36684 * include/libio.h: Likewise.
36685 * include/locale.h: Likewise.
36686 * include/math.h: Likewise.
36687 * include/net/if.h: Likewise.
36688 * include/netdb.h: Likewise.
36689 * include/netinet/in.h: Likewise.
36690 * include/pthread.h: Likewise.
36691 * include/pwd.h: Likewise.
36692 * include/regex.h: Likewise.
36693 * include/sched.h: Likewise.
36694 * include/search.h: Likewise.
36695 * include/setjmp.h: Likewise.
36696 * include/signal.h: Likewise.
36697 * include/stdio.h: Likewise.
36698 * include/stdlib.h: Likewise.
36699 * include/string.h: Likewise.
36700 * include/sys/cdefs.h: Likewise.
36701 * include/sys/mman.h: Likewise.
36702 * include/sys/msg.h: Likewise.
36703 * include/sys/resource.h: Likewise.
36704 * include/sys/select.h: Likewise.
36705 * include/sys/socket.h: Likewise.
36706 * include/sys/stat.h: Likewise.
36707 * include/sys/statvfs.h: Likewise.
36708 * include/sys/time.h: Likewise.
36709 * include/sys/times.h: Likewise.
36710 * include/sys/uio.h: Likewise.
36711 * include/sys/utsname.h: Likewise.
36712 * include/sys/wait.h: Likewise.
36713 * include/termios.h: Likewise.
36714 * include/time.h: Likewise.
36715 * include/ulimit.h: Likewise.
36716 * include/unistd.h: Likewise.
36717 * include/utime.h: Likewise.
36718 * include/wchar.h: Likewise.
36719 * include/wctype.h: Likewise.
36720 * include/wordexp.h: Likewise.
36721
36722 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36723
7a270350
UD
36724 * time/time.h: TIME_UTC must be a macro.
36725 Make timespec_get available for ISO C11 only as well.
36726
7724defc
UD
367272012-02-24 Ulrich Drepper <drepper@gmail.com>
36728
36729 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36730 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36731
6b1d1d46
JM
367322012-02-24 Joseph Myers <joseph@codesourcery.com>
36733
36734 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36735
0f8bbd69
JM
367362012-02-24 Joseph Myers <joseph@codesourcery.com>
36737
36738 * manual/texinfo.tex: Update to version 2012-01-19.16.
36739
66ab80bc
JM
367402012-02-24 Joseph Myers <joseph@codesourcery.com>
36741
36742 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36743
74981cc5
RM
367442012-02-24 Roland McGrath <roland@hack.frob.com>
36745
ee968201
RM
36746 [BZ #13738]
36747 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36748 * manual/fdl-1.3.texi: New file.
36749 * manual/fdl-1.1.texi: File removed.
36750
74981cc5
RM
36751 [BZ #13738]
36752 * manual/libc.texinfo (FDL_VERSION): New @set.
36753 Use it for mention of FDL in cover text.
36754 (Documentation License): Use it in @include file name.
36755
7bb764bc
JM
367562012-02-22 Joseph Myers <joseph@codesourcery.com>
36757 Roland McGrath <roland@hack.frob.com>
36758
36759 [BZ #5461]
57f41c40
AS
36760 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36761 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36762 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36763 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36764 name.
36765 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36766
6cbeae47
JM
367672012-02-22 Joseph Myers <joseph@codesourcery.com>
36768
36769 [BZ #2547]
36770 [BZ #11365]
36771 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36772 manipulate bits before adding and subtracting TWO23[sx].
36773 * math/libm-test.inc (nearbyint_test): Add more tests.
36774
fe45ce09
JM
367752012-02-22 Joseph Myers <joseph@codesourcery.com>
36776
36777 [BZ #2548]
36778 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36779 bits before adding and subtracting TWO23[sx].
36780 * math/libm-test.inc (rint_test): Add more tests.
36781 (rint_test_tonearest): Likewise.
36782 (rint_test_towardzero): Likewise.
36783 (rint_test_downward): Likewise.
36784 (rint_test_upward: Likewise.
36785
ff3b3d82
JM
367862012-02-22 Joseph Myers <joseph@codesourcery.com>
36787
36788 [BZ #10110]
36789 * include/stdc-predef.h: New file. Extracted from features.h.
36790 * include/features.h: Include stdc-predef.h.
36791 * Makefile (headers): Add stdc-predef.h.
36792 * CONFORMANCE (Compiler limitations): Update.
36793
ef0aab35
JM
367942012-02-22 Joseph Myers <joseph@codesourcery.com>
36795
36796 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36797
58639409
DM
367982012-02-21 David S. Miller <davem@davemloft.net>
36799
36800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36802
c0e70b25
DM
368032012-02-20 David S. Miller <davem@davemloft.net>
36804
36805 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36806 using a normal save/restore sequence, rather than allocating a
36807 dummy stack frame just to store a frame pointer and restore.
36808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36809
fb06851d
JM
368102012-02-21 Joseph Myers <joseph@codesourcery.com>
36811
36812 * manual/install.texi: Fix stray word in line-wrapped comment.
36813
7a8b71c3
DM
368142012-02-20 David S. Miller <davem@davemloft.net>
36815
d510c123
DM
36816 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36817 both binutils and gcc support GOTDATA.
36818
0722d7c2
DM
36819 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36820 "rd %pc" in the PIC register setup sequences.
36821
3d2b3019
DM
36822 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36823 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36824 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36825 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36826 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36828 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36831 (SYSCALL_ERROR_HANDLER): Likewise.
36832 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36833 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36835 (SYSCALL_ERROR_HANDLER): Likewise.
36836
c80098a9
DM
36837 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36838 (HAVE_GCC_GOTDATA): New.
36839 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36840 relocation support in both binutils and gcc.
36841 * sysdeps/sparc/elf/configure: Regenerate.
36842
3a2545a0
DM
36843 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36844 * sysdeps/sparc/sparc32/elf/configure: Delete.
36845 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36846 * sysdeps/sparc/sparc64/elf/configure: Delete.
36847 * sysdeps/sparc/elf/configure.in: New file.
36848 * sysdeps/sparc/elf/configure: Generate.
36849
7a8b71c3
DM
36850 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36851 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36852 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36853 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36854 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36855
f1e86fca
JM
368562012-02-21 Joseph Myers <joseph@codesourcery.com>
36857
36858 * manual/install.texi: Do not mention specific glibc version
36859 numbers.
36860 * manual/libc.texinfo (VERSION, UPDATED): Update.
36861 (@copying): Use @copyright{} and range of years.
36862
0e7dfaef
JM
368632012-02-21 Joseph Myers <joseph@codesourcery.com>
36864
36865 [BZ #13695]
36866 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36867 [crti.S not in sysdirs] (generated): Do not append.
36868 [crti.S not in sysdirs] (omit-deps): Likewise.
36869 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36870 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36871 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36872 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36873 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36874 Likewise.
36875 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36876 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36877 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36878 * csu/defs.awk: Remove file.
36879 * sysdeps/generic/initfini.c: Likewise.
36880 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36881 variable.
36882 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36883 Likewise.
36884
599af3ca
JM
368852012-02-20 Joseph Myers <joseph@codesourcery.com>
36886
36887 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36891 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36892 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36893 <bits/epoll.h>.
36894 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36895 (__EPOLL_PACKED): Define to empty if not defined by
36896 <bits/epoll.h>.
36897 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36899 bits/epoll.h.
36900
0e499750
JM
369012012-02-20 Joseph Myers <joseph@codesourcery.com>
36902
36903 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36904 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36905 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36906 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36907 <bits/timerfd.h>.
36908 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36910 bits/timerfd.h.
36911
5ad91f6e
JM
369122012-02-20 Joseph Myers <joseph@codesourcery.com>
36913
36914 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36915 in C locale.
36916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36917 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36920
06b99b02
AJ
369212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36922
36923 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36925
7638c0fd
AS
369262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36927
36928 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36929 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36930 defined.
36931 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36932 Likewise.
36933 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36934 entry for 2.16.
36935
92221550
AJ
369362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36937
36938 * math/w_acos.c: Use non-signaling floating-point comparisons.
36939 * math/w_acosf.c: Likewise.
36940 * math/w_acosh.c: Likewise.
36941 * math/w_acoshf.c: Likewise.
36942 * math/w_acoshl.c: Likewise.
36943 * math/w_acosl.c: Likewise.
36944 * math/w_asin.c: Likewise.
36945 * math/w_asinf.c: Likewise.
36946 * math/w_asinl.c: Likewise.
36947 * math/w_atanh.c: Likewise.
36948 * math/w_atanhf.c: Likewise.
36949 * math/w_atanhl.c: Likewise.
36950 * math/w_exp2.c: Likewise.
36951 * math/w_exp2f.c: Likewise.
36952 * math/w_exp2l.c: Likewise.
36953 * math/w_j0.c: Likewise.
36954 * math/w_j0f.c: Likewise.
36955 * math/w_j0l.c: Likewise.
36956 * math/w_j1.c: Likewise.
36957 * math/w_j1f.c: Likewise.
36958 * math/w_j1l.c: Likewise.
36959 * math/w_jn.c: Likewise.
36960 * math/w_jnf.c: Likewise.
36961 * math/w_log.c: Likewise.
36962 * math/w_log10.c: Likewise.
36963 * math/w_log10f.c: Likewise.
36964 * math/w_log10l.c: Likewise.
36965 * math/w_log2.c: Likewise.
36966 * math/w_log2f.c: Likewise.
36967 * math/w_log2l.c: Likewise.
36968 * math/w_logf.c: Likewise.
36969 * math/w_logl.c: Likewise.
36970 * math/w_sqrt.c: Likewise.
36971 * math/w_sqrtf.c: Likewise.
36972 * math/w_sqrtl.c: Likewise.
36973 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36974 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36976 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36977 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36978
ebaf36eb
JM
369792012-02-19 Joseph Myers <joseph@codesourcery.com>
36980
36981 [BZ #9739]
36982 * manual/string.texi (strnlen): Use correct parameter name in
36983 equivalent expression.
36984
71c254a6
JM
369852012-02-19 Joseph Myers <joseph@codesourcery.com>
36986
36987 [BZ #11174]
36988 * manual/users.texi (seteuid): Consistently use neweuid for
36989 argument name.
36990
16d2c631
JM
369912012-02-19 Joseph Myers <joseph@codesourcery.com>
36992
36993 [BZ #13704]
36994 * manual/nss.texi (Services in the NSS configuration): Correct
36995 list of services in example configuration file.
36996
cd837b09
NB
369972012-02-19 Nick Bowler <nbowler@draconx.ca>
36998
36999 [BZ #11322]
37000 * manual/arith.texi: Remove statements about negative zero
37001 behaving identically to zero.
37002
02c4bbad
JM
370032012-02-18 Joseph Myers <joseph@codesourcery.com>
37004
37005 [BZ #5993]
37006 * manual/install.texi: Do not document upgrading from libc5.
37007
366842e7
JM
370082012-02-18 Joseph Myers <joseph@codesourcery.com>
37009
37010 [BZ #4596]
37011 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37012
dd54084d
DM
370132012-02-18 David S. Miller <davem@davemloft.net>
37014
37015 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37016 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37017 %o7 across the call.
37018 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37019 instead.
37020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37021 SETUP_PIC_REG_LEAF.
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37023 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37024 * sysdeps/sparc/crtn.S: Likewise.
37025
2bcc53a3
UD
370262012-02-17 Ulrich Drepper <drepper@gmail.com>
37027
37028 * aout/Makefile: Remove.
37029
09c093b5
RK
370302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37031
37032 [BZ #13058]
37033 * manual/examples/argp-ex1.c (main): Format definition in GNU
37034 style.
37035 * manual/examples/argp-ex2.c (main): Likewise.
37036 * manual/examples/argp-ex3.c (main): Likewise.
37037 * manual/examples/argp-ex4.c (main): Likewise.
37038 * manual/examples/longopt.c (main): Use new-style prototype
37039 definition.
37040 * manual/examples/strncat.c (main): Specify return type and use
37041 (void) for arguments.
37042 * manual/examples/subopt.c (main): Use char **argv argument.
37043
2ee633a2
JM
370442012-02-17 Joseph Myers <joseph@codesourcery.com>
37045
37046 [BZ #5077]
37047 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37048 rounding modes.
37049
0520adde
FB
370502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37051
37052 [BZ #6907]
37053 * manual/string.texi (strchr): Change when strchrnul is
37054 recommended.
37055
3f4081cd
DGM
370562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37057
37058 [BZ #174]
37059 * manual/locale.texi (setlocale): Document LOCPATH.
37060
d1b10e78
JM
370612012-02-17 Joseph Myers <joseph@codesourcery.com>
37062
37063 [BZ #10210]
37064 * manual/process.texi (execle): Move @dots{} before last argument.
37065
79c6869c
PB
370662012-02-17 Paul Bolle <pebolle@tiscali.nl>
37067
37068 [BZ #12047]
37069 * manual/charset.texi (Generic Charset Conversion): Fix typo
37070 (LC_TYPE -> LC_CTYPE).
37071
cc6e48bc
NB
370722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37073
37074 [BZ #5805]
37075 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37076 (scalbnf): Likewise.
37077 (scalbnl): Likewise.
37078 (scalbln): Likewise.
37079 (scalblnf): Likewise.
37080 (scalblnl): Likewise.
37081 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37082 (vwarnx): Likewise.
37083 (verr): Likewise.
37084 (verrx): Likewise.
37085 * manual/filesys.texi (telldir): Use braces around return type.
37086 * manual/llio.texi (mmap): Add space after comma.
37087 (mmap64): Likewise.
37088 * manual/math.texi (jn): Use @var{} on parameter names.
37089 (jnf): Likewise.
37090 (jnl): Likewise.
37091 (yn): Likewise.
37092 (ynf): Likewise.
37093 (ynl): Likewise.
37094 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37095 line.
37096 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37097 "...".
37098 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37099 (sched_get_priority_max): Likewise.
37100 * manual/signal.texi (sigvec): Add space after comma.
37101 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37102 names.
37103 (if_indextoname): Likewise.
37104 (if_freenameindex): Likewise.
37105 (sendto): Use ',' instead of '.' in prototype.
37106 * manual/startup.texi (syscall): Use @dots{} instead of literal
37107 "...".
37108 * manual/stdio.texi (__fpending): Separate initial words of
37109 paragraph from @deftypefun line.
37110 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37111 "...".
37112 (vsyslog): Use @var{} on parameter names.
37113 * manual/terminal.texi (stty): Use @var{} on parameter names.
37114 * manual/users.texi (getutmp): Use @var{} on parameter names.
37115 (getutmpx): Likewise.
37116
5b23062f
JM
371172012-02-17 Joseph Myers <joseph@codesourcery.com>
37118
37119 [BZ #6884]
37120 * manual/stdio.texi (fopen): Fix typos in description of
37121 ",ccs=STRING".
37122
8dee4833
AJ
371232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37124
37125 [BZ #4026]
37126 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37127 get clock_id definition.
37128
9078ce93
TS
371292012-02-17 Thomas Schwinge <thomas@schwinge.name>
37130
37131 [BZ #4822]
37132 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37133 (madvise): Cast every argument to void on its own.
37134
3835c55f
JM
371352012-02-17 Joseph Myers <joseph@codesourcery.com>
37136
37137 [BZ #9902]
37138 * manual/startup.texi (Exit Status): Fix typo.
37139
35c47e37
JM
371402012-02-17 Joseph Myers <joseph@codesourcery.com>
37141
37142 [BZ #10140]
37143 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37144 * manual/examples/argp-ex2.c: Likewise.
37145 * manual/examples/argp-ex3.c: Likewise.
37146
e3b69ca7
RH
371472012-02-16 Richard Henderson <rth@redhat.com>
37148
37149 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37150 * sysdeps/s390/s390-32/initfini.c: Remove.
37151 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37152 * sysdeps/s390/s390-64/initfini.c: Remove.
37153
df83af67
KK
371542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37155
37156 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37157 compiler output for sysdeps/generic/initfini.c.
37158 * sysdeps/sh/elf/initfini.c: Remove file.
37159
f63f3380
DM
371602012-02-16 David S. Miller <davem@davemloft.net>
37161
fb59b3a4
DM
37162 [BZ #11494]
37163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37164
f63f3380
DM
37165 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37166 * sysdeps/sparc/crti.S: New file.
37167 * sysdeps/sparc/crtn.S: New file.
37168 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37169 * sysdeps/sparc/sparc64/Makefile: Likewise.
37170
df6a4a4a
MF
371712012-02-15 Mike Frysinger <vapier@gentoo.org>
37172
6dd8f3dc 37173 [BZ #3335]
df6a4a4a
MF
37174 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37175
1cac7236
RM
371762012-02-15 Roland McGrath <roland@hack.frob.com>
37177
d2c736f8
RM
37178 [BZ #4822]
37179 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37180
1cac7236
RM
37181 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37182 (write, read, close): Likewise.
37183 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37184
8e475601
JM
371852012-02-15 Joseph Myers <joseph@codesourcery.com>
37186
37187 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37188 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37189 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37190 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37191 <bits/signalfd.h>.
37192 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37194 bits/signalfd.h.
37195
ed656b40
MP
371962012-02-14 Marek Polacek <polacek@redhat.com>
37197
37198 * sysdeps/x86_64/crti.S: New file.
37199 * sysdeps/x86_64/crtn.S: New file.
37200 * sysdeps/x86_64/elf/initfini.c: Remove file.
37201
2a979d3a
JM
372022012-02-13 Joseph Myers <joseph@codesourcery.com>
37203
37204 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37205 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37206 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37207 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37208 <bits/inotify.h>.
37209 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37211 bits/inotify.h.
37212
2a418ac3
JM
372132012-02-13 Joseph Myers <joseph@codesourcery.com>
37214
37215 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37216 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37217 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37218 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37219 <bits/eventfd.h>.
37220 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37222 bits/eventfd.h.
37223
fb779be7
TS
372242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37225
e19e83c5
RM
37226 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37227 __feraiseexcept instead of feraiseexcept.
7c35ffed 37228
fb779be7
TS
37229 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37230 nanosleep invocations.
37231 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37232 strings, and add error checking for a nanosleep invocations.
37233
59ba27a6
PE
372342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37235
37236 Replace FSF snail mail address with URLs, as per GNU coding standards.
37237 Most of the snail mail addresses were wrong anyway, and omitting
37238 them makes the source code easier to maintain. Almost all of the
37239 changes are to license notices and to locale LC_IDENTIFICATION
37240 addresses, except for this one:
37241 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37242 not its snail mail address.
37243
57b957eb
RH
372442012-02-09 Richard Henderson <rth@twiddle.net>
37245
af850b1c
RH
37246 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37247 of kernel-features.h.
37248
57b957eb
RH
37249 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37250
6b73181a
MP
372512012-02-08 Marek Polacek <polacek@redhat.com>
37252
37253 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37254 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37255 * sysdeps/gnu/_G_config.h: Likewise.
37256 * sysdeps/generic/_G_config.h: Likewise.
37257
26ecc33a
AS
372582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37259
6c6dbc63
AS
37260 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37261 tests.
37262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263
e216c012
AS
37264 * sysdeps/powerpc/powerpc32/crti.S: New file.
37265 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37266 * sysdeps/powerpc/powerpc64/crti.S: New file.
37267 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37268
26ecc33a
AS
37269 * Makeconfig (have-initfini): Don't set.
37270 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37271 * configure.in (nopic_initfini): Don't substitute.
37272 * config.h.in (HAVE_INITFINI): Don't #undef.
37273 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37274 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37275
3add8e13
JM
372762012-02-08 Joseph Myers <joseph@codesourcery.com>
37277
37278 Support crti.S and crtn.S provided directly by architectures.
37279 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37280 [crti.S in sysdirs] (omit-deps): Likewise.
37281 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37282 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37283 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37284 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37285 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37286 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37287 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37288 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37289 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37290 compiler output for sysdeps/generic/initfini.c.
37291 * sysdeps/i386/elf/Makefile: Remove file.
37292 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37293
a22f12b4
MP
372942012-02-07 Marek Polacek <polacek@redhat.com>
37295
37296 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37297 * sysdeps/gnu/_G_config.h: Likewise.
37298 * sysdeps/mach/hurd/_G_config.h: Likewise.
37299
148cf100
MP
373002012-02-07 Marek Polacek <polacek@redhat.com>
37301
37302 * math/Makefile (tests): Add tst-CMPLX2.
37303 * math/tst-CMPLX2.c: New file.
37304
cfdc0dd7
AS
373052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37306
84ba42c4
AS
37307 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37308
cfdc0dd7
AS
37309 * math/libm-test.inc (jn_test): Add missing L suffix.
37310
622c86f4
MP
373112012-02-06 Marek Polacek <polacek@redhat.com>
37312
37313 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37314 * sysdeps/i386/fpu/e_powf.S: Likewise.
37315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37316 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37317 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37318 * sysdeps/i386/fpu/e_pow.S: Likewise.
37319 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37321 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37322 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37323 * sysdeps/i386/fpu/e_log2.S: Likewise.
37324 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37325 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37326 * sysdeps/i386/fpu/e_powl.S: Likewise.
37327 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37329 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37330 * sysdeps/i386/fpu/e_logl.S: Likewise.
37331 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37332 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37333 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37334 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37335 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37336 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37337 * sysdeps/i386/fpu/e_log.S: Likewise.
37338 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37339 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37340 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37341 * sysdeps/i386/fpu/e_logf.S: Likewise.
37342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37344 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37345 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37346 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37347 * sysdeps/i386/fpu/e_log10.S: Likewise.
37348 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37349 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37350 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37351 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37352 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37353 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37354 * sysdeps/i386/asm-syntax.h: Likewise.
37355 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37356 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37357 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37358 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37359 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37360 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37361 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37362 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37363 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37364 * sysdeps/powerpc/sysdep.h: Likewise.
37365 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37367
d4a54ac6
JM
373682012-02-06 Joseph Myers <joseph@codesourcery.com>
37369
37370 [BZ #411]
37371 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37372
314054ea
JM
373732012-02-06 Joseph Myers <joseph@codesourcery.com>
37374
37375 * sysdeps/i386/sysdep.h: Include <features.h>.
37376 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37377 version.
37378
d8e0ca50
JM
373792012-02-05 Joseph Myers <joseph@codesourcery.com>
37380
37381 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37382 Define.
37383 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37384 LOAD_PIC_REG_STR.
37385
b1da7dd9
JM
373862012-02-03 Joseph Myers <joseph@codesourcery.com>
37387
37388 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37389 (SETUP_PIC_REG): Use GET_PC_THUNK.
37390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37391 macro.
37392
9a1d9254
JM
373932012-02-03 Joseph Myers <joseph@codesourcery.com>
37394
37395 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37396 for non-PIC compilation.
37397 (SETUP_PIC_REG): Add .p2align directive.
37398 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37399 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37400 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37401 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37402 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37403 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37405 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37406 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37407 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37408 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37409 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37410 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37411 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37412 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37413 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37414 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37415 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37416 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37417 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37420 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37421 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37424 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37428 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37430 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37431 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37432 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37433 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37434 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37435 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37436 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37437 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37438 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37439
65dc3b75
JM
374402012-02-03 Joseph Myers <joseph@codesourcery.com>
37441
37442 * math/tst-CMPLX.c: Include <stdio.h>.
37443
d55bf177
JM
374442012-01-31 Joseph Myers <joseph@codesourcery.com>
37445
37446 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37447 float.
37448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37449 * sysdeps/sparc/bits/mathdef.h: Likewise.
37450
69db4f8f
MP
374512012-01-31 Marek Polacek <polacek@redhat.com>
37452
37453 * libio/libio.h: Don't define _PARAMS.
37454 * locale/programs/config.h: Don't define PARAMS.
37455 * stdlib/strtol_l.c: Likewise.
37456 (__strtol_l): Remove PARAMS from the prototype.
37457
41b81892
UD
374582012-01-31 Ulrich Drepper <drepper@gmail.com>
37459
3b49edc0
UD
37460 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37461 names. Just use the correct names. Remove unnecessary wrapper
37462 functions.
37463 * malloc/arena.c: Likewise.
37464 * malloc/hooks.c: Likewise.
37465
41b81892
UD
37466 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37467 ARENA_TEST says not to. Simplify test for creation of a new arena.
37468 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37469
27a25b6e
UD
374702012-01-30 Ulrich Drepper <drepper@gmail.com>
37471
37472 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37473 into tail calls.
37474 (update_get_addr): New function.
37475 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37476 GET_ADDR_MODULE parameter.
37477
c8a89e7d
JM
374782012-01-30 Joseph Myers <joseph@codesourcery.com>
37479
37480 * crypt/cert.c: Remove __STDC__ conditionals.
37481 * crypt/crypt-entry.c: Likewise.
37482 * crypt/crypt_util.c: Likewise.
37483 * libio/filedoalloc.c: Likewise.
37484 * libio/fileops.c: Likewise.
37485 * libio/genops.c: Likewise.
37486 * libio/iofclose.c: Likewise.
37487 * libio/iofdopen.c: Likewise.
37488 * libio/iofopen.c: Likewise.
37489 * libio/iofopen64.c: Likewise.
37490 * libio/iogetdelim.c: Likewise.
37491 * libio/iopopen.c: Likewise.
37492 * libio/obprintf.c: Likewise.
37493 * libio/oldfileops.c: Likewise.
37494 * libio/oldiofclose.c: Likewise.
37495 * libio/oldiofdopen.c: Likewise.
37496 * libio/oldiofopen.c: Likewise.
37497 * libio/oldiopopen.c: Likewise.
37498 * libio/wfiledoalloc.c: Likewise.
37499 * libio/wgenops.c: Likewise.
37500 * locale/programs/xmalloc.c: Likewise.
37501 * misc/syslog.c: Likewise.
37502 * stdio-common/xbug.c: Likewise.
37503 * string/memchr.c: Likewise.
37504 * string/memcmp.c: Likewise.
37505 * string/memrchr.c: Likewise.
37506 * string/rawmemchr.c: Likewise.
37507 * sysdeps/posix/getcwd.c: Likewise.
37508 * time/strftime_l.c: Likewise.
37509
3b100462
JM
375102012-01-30 Joseph Myers <joseph@codesourcery.com>
37511
37512 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37513 * config.make.in (config-cflags-sse2avx): Define.
37514 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37515 Fix typo.
37516
607998af
CM
375172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37518
37519 * scripts/config.guess: Update from upstream config git repository.
37520 * scripts/config.sub: Likewise.
37521
3601428f
CM
375222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37523
3ac8b282
CM
37524 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37525 (EM_NUM): Update.
37526 (R_TILEPRO_*, R_TILEGX_*): New macros.
37527
e034841e
CM
37528 * scripts/firstversions.awk: Fix bug in version range handling.
37529
540d7568
CM
37530 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37531
3601428f
CM
37532 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37533
463de862
CM
37534 * include/sys/epoll.h: New file.
37535 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37536 libc_hidden_def.
37537
73139a76
UD
375382012-01-28 Ulrich Drepper <drepper@gmail.com>
37539
96bc5b45
UD
37540 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37541 Avoid unnecessary __WORDSIZE == 64 test.
37542 (fmaxf): Use VEX format if possible.
37543 (fmax): Likewise.
37544 (fminf): Likewise.
37545 (fmin): Likewise.
37546
56f6f6a2
UD
37547 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37548 * math/math_private.h: Remove libc_fegetround* and
37549 libc_fesetround*.
37550 * sysdeps/i386/configure.in: Check for -msse2avx.
37551 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37552 also if SSE2AVX is defined.
37553 Remove libc_fegetround* and libc_fesetround*.
37554 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37555 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37557 of HAS_YMM_USABLE.
37558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37563
73139a76
UD
37564 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37565
d73f93a4
AZ
375662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37567
37568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37569 size is not set.
37570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37571
6ee65ed6
UD
375722012-01-27 Ulrich Drepper <drepper@gmail.com>
37573
37574 [BZ #13618]
37575 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37576 relocation.
37577 * Makeconfig (libm): Define.
37578 * elf/Makefile: Add rules to build and run tst-relsort1.
37579 * elf/tst-relsort1.c: New file.
37580 * elf/tst-relsort1mod1.c: New file.
37581 * elf/tst-relsort1mod2.c: New file.
37582
8db21882
JM
375832012-01-27 Joseph Myers <joseph@codesourcery.com>
37584
37585 * math/s_ldexp.c: Remove __STDC__ conditionals.
37586 * math/s_ldexpf.c: Likewise.
37587 * math/s_ldexpl.c: Likewise.
37588 * math/s_nextafter.c: Likewise.
37589 * math/s_nexttowardf.c: Likewise.
37590 * math/s_significand.c: Likewise.
37591 * math/s_significandf.c: Likewise.
37592 * math/s_significandl.c: Likewise.
37593 * math/w_jnl.c: Likewise.
37594 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37595 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37596 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37597 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37598 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37615 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37616 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37617 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37618 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37619 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37620 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37626 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37628 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37630 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37634 * sysdeps/ieee754/k_standard.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37696 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37701 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37709 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37714 * sysdeps/ieee754/s_matherr.c: Likewise.
37715 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37716 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37719
965a54a4
JM
377202012-01-26 Joseph Myers <joseph@codesourcery.com>
37721
37722 * crypt/md5.h: Remove __STDC__ conditionals.
37723 * libio/libioP.h: Likewise.
37724 * locale/programs/config.h: Likewise.
37725 * sysdeps/generic/sysdep.h: Likewise.
37726 * sysdeps/i386/asm-syntax.h: Likewise.
37727 * sysdeps/s390/asm-syntax.h: Likewise.
37728 * sysdeps/unix/sysdep.h: Likewise.
37729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37731
7071ad79
JM
377322012-01-26 Joseph Myers <joseph@codesourcery.com>
37733
37734 * libio/libio.h: Remove __STDC__ conditionals.
37735 * malloc/obstack.h: Likewise.
37736 * math/complex.h: Likewise.
37737 * math/math.h: Likewise.
37738 * sysdeps/generic/_G_config.h: Likewise.
37739 * sysdeps/gnu/_G_config.h: Likewise.
37740 * sysdeps/mach/hurd/_G_config.h: Likewise.
37741 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37742 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37743 * sysdeps/sparc/bits/mathdef.h: Likewise.
37744
afc5ed09
UD
377452012-01-26 Ulrich Drepper <drepper@gmail.com>
37746
37747 [BZ #13583]
37748 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37749 Clean up HAS_* macros.
afc5ed09 37750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37751 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37752 possible.
37753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37754 HAS_AVX.
37755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37760
bdb6de1d
JM
377612012-01-25 Joseph Myers <joseph@codesourcery.com>
37762
37763 * elf/tst-unique3.cc (gets): Remove declaration.
37764 * elf/tst-unique3lib.cc (gets): Likewise.
37765 * elf/tst-unique3lib2.cc (gets): Likewise.
37766 * elf/tst-unique4.cc (gets): Likewise.
37767
b15549e6
UD
377682012-01-24 Ulrich Drepper <drepper@gmail.com>
37769
37770 * include/stdio.h: Add C++ protection. Add gets declarations and
37771 definitions.
37772 * debug/tst-chk1.c: Don't declare gets here.
37773 * stdio-common/tst-gets.c: Likewise.
37774
a037381f
JM
377752012-01-24 Joseph Myers <joseph@codesourcery.com>
37776
37777 * posix/glob: Remove directory.
37778
f1d4aa75
JM
377792012-01-24 Joseph Myers <joseph@codesourcery.com>
37780
37781 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37782
81c0c964
PT
377832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37784
37785 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37786 of the non-standard EPFNOSUPPORT.
37787
0ea698ae
ST
377882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37789
37790 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37791 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37792 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37793
d220b117
UD
377942012-01-21 Ulrich Drepper <drepper@gmail.com>
37795
37796 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37797
3e1aa84e
UD
377982012-01-20 Ulrich Drepper <drepper@gmail.com>
37799
37800 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37801 transient errors.
37802 * nscd/grpcache.c (cache_addgr): Likewise.
37803 * nscd/hstcache.c (cache_addhst): Likewise.
37804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37805 * nscd/pwdcache.c (cache_addpw): Likewise.
37806 * nscd/servicescache.c (cache_addserv): Likewise.
37807
400aa020
UD
378082012-01-16 Ulrich Drepper <drepper@gmail.com>
37809
d77e7869
UD
37810 * malloc/malloc.c: Various cleanups.
37811 * malloc/hooks.c: Likewise.
37812
400aa020
UD
37813 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37814 * stdlib/bug-fmtmsg1.c: New file.
37815
37816 * stdlib/fmtmsg.c (init): Add missing unlock.
37817 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37818
e0a309cf
MP
378192012-01-12 Marek Polacek <polacek@redhat.com>
37820
37821 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37822 and _GNU_SOURCE.
37823
929d11c7
WS
378242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37825
37826 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37827 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37828 macro to ensure uniqueness of label name.
37829 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37830 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37831
41d0e869
UD
378322012-01-11 Ulrich Drepper <drepper@gmail.com>
37833
0cc5ed3b
UD
37834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37835
41d0e869
UD
37836 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37837 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37840
a47a831a
UD
378412012-01-10 Ulrich Drepper <drepper@gmail.com>
37842
daa891c0
UD
37843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37844
37845 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37846 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37848
e58ef0f2
UD
37849 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37850
a47a831a 37851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37855
37856 * math/bits/math-finite.h: Add ldexp support.
37857
a0bfc9c7
MP
378582012-01-10 Marek Polacek <polacek@redhat.com>
37859
37860 * locale/programs/localedef.h (show_archive_content): Add noreturn
37861 attribute.
37862
d6e97a1d
UD
378632012-01-09 Ulrich Drepper <drepper@gmail.com>
37864
37865 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37866
d5835c26
UD
378672012-01-08 Ulrich Drepper <drepper@gmail.com>
37868
e5f484c6
UD
37869 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37870
d5835c26
UD
37871 * io/Makefile (headers): Add bits/poll2.h.
37872
d1f741e9
WS
378732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37874
37875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37876 typo #include statement.
37877
ec09c1c4
UD
378782012-01-08 Ulrich Drepper <drepper@gmail.com>
37879
37880 * include/sys/cdefs.h: Define __attribute_alloc_size.
37881 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37882 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37883 * elf/pldd.c: Likewise.
37884 * iconv/iconv_charmap.c: Likewise.
37885 * iconv/iconvconfig.c: Likewise.
37886 * iconv/strtab.c: Likewise.
37887 * locale/programs/locale.c: Likewise.
37888 * locale/programs/localedef.h: Likewise.
37889 * locale/programs/simple-hash.c: Likewise.
37890 * nscd/nscd.h: Likewise.
37891 * nss/makedb.c: Likewise.
37892 * sysdeps/generic/ldconfig.h: Likewise.
37893 * locale/programs/localedef.c: Remove xmalloc prototype.
37894 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37895
20b38e03
PP
378962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37897
37898 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37899 appropriate.
37900
a0da5fe1
UD
379012012-01-08 Ulrich Drepper <drepper@gmail.com>
37902
1d5a644a 37903 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37904 * math/tst-CMPLX.c: New file.
1d5a644a 37905
8784a6db
UD
37906 * math/complex.h (CMPLXL): Fix typo.
37907
d9a216c0
UD
37908 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37909 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37910 GLIBC_2.16.
37911 * debug/tst-chk1.c: Add poll and ppoll tests.
37912 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37913 * include/sys/poll.h: Add hidden proto for ppoll.
37914 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37915 * sysdeps/mach/hurd/ppoll.c: Likewise.
37916 * io/ppoll.c: Likewise.
37917 * debug/poll_chk.c: New file.
37918 * debug/ppoll_chk.c: New file.
37919 * include/bits/poll2.h: New file.
37920 * io/bits/poll2.h: New file.
37921
ac097f5c
UD
37922 [BZ #1350]
37923 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37924
2119dcfa
UD
37925 * configure.in: static is always set to yes. Remove.
37926 * config.make.in: Don't set build-static.
37927 * Makeconfig: Remove use of build-static.
37928 * dlfcn/Makefile: Likewise.
37929 * elf/Makefile: Likewise.
37930 * math/Makefile: Likewise.
37931 * misc/Makefile: Likewise.
37932 * nptl/Makefile: Likewise.
37933 * sysdeps/mach/hurd/Makefile: Likewise.
37934
121766a9
UD
37935 * configure.in: PWD_P is not used anymore.
37936 * config.make.in: Remove PWD_P entry.
37937
51a1d39c 37938 * configure.in: Remove last remnants of RANLIB.
8720d066 37939 No need to check for signed size_t anymore.
215f4bdc
UD
37940 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37941 and IA-64.
3857022a 37942 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37943 * aclocal.m4: Likewise.
37944
d3ed7225
UD
37945 * wcsmbs/mbrtoc16.c: Implement using towc function.
37946 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37947 * wcsmbs/wcsmbsload.c: Likewise.
37948 * iconv/gconv_simple.c: Likewise.
37949 * iconv/gconv_int.h: Likewise.
37950 * iconv/gconv_builtin.h: Likewise.
37951 * iconv/iconv_prog.c: Remove CHAR16 handling.
37952
37953 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37954
37955 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37956
a0da5fe1
UD
37957 * configure.in: Remove --with-elf and --enable-bounded options.
37958 Dont set base_machine for ia64. More non-ELF conditions removed.
37959 Remove testing and setting of leading underscore information.
37960 * config.make.in (build-bounded): Set to no.
37961 * config.h.in: Remove NO_UNDERSCORES entry.
37962 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37963 them.
37964 * csu/start.c: Remove !NO_UNDERSCORE code.
37965 * locale/localeinfo.h: Likewise.
37966 * sysdeps/generic/machine-gmon.h: Likewise.
37967 * sysdeps/generic/sysdep.h: Likewise.
37968 * sysdeps/i386/sysdep.h: Likewise.
37969 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37970 * sysdeps/mach/sysdep.h: Likewise.
37971 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37973 * sysdeps/sh/sysdep.h: Likewise.
37974 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37975 * sysdeps/unix/i386/sysdep.S: Likewise.
37976 * sysdeps/unix/sparc/start.c: Likewise.
37977 * sysdeps/unix/sparc/sysdep.S: Likewise.
37978 * sysdeps/unix/sparc/sysdep.h: Likewise.
37979 * sysdeps/unix/start.c: Likewise.
37980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37981 * sysdeps/x86_64/sysdep.h: Likewise.
37982
df78418a
UD
379832012-01-07 Ulrich Drepper <drepper@gmail.com>
37984
a784e502
UD
37985 [BZ #13553]
37986 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37987 for non-gcc.
37988 * argp/argp-fmtstream.h: Use const instead __const.
37989 * argp/argp.h: Likewise.
37990 * assert/assert.h: Likewise.
37991 * bits/fenv.h: Likewise.
37992 * bits/sched.h: Likewise.
37993 * bits/sigset.h: Likewise.
37994 * bits/sigthread.h: Likewise.
37995 * catgets/nl_types.h: Likewise.
37996 * conform/data/pthread.h-data: Likewise.
37997 * crypt/crypt-private.h: Likewise.
37998 * crypt/crypt.h: Likewise.
37999 * crypt/crypt_util.c: Likewise.
38000 * ctype/ctype.h: Likewise.
38001 * debug/execinfo.h: Likewise.
38002 * debug/mbsnrtowcs_chk.c: Likewise.
38003 * debug/mbsrtowcs_chk.c: Likewise.
38004 * debug/wcsnrtombs_chk.c: Likewise.
38005 * debug/wcsrtombs_chk.c: Likewise.
38006 * debug/wcstombs_chk.c: Likewise.
38007 * dirent/dirent.h: Likewise.
38008 * dlfcn/dlfcn.h: Likewise.
38009 * elf/neededtest4.c: Likewise.
38010 * grp/grp.h: Likewise.
38011 * gshadow/gshadow.h: Likewise.
38012 * iconv/gconv.h: Likewise.
38013 * iconv/gconv_int.h: Likewise.
38014 * iconv/gconv_simple.c: Likewise.
38015 * iconv/iconv.h: Likewise.
38016 * iconv/loop.c: Likewise.
38017 * iconv/skeleton.c: Likewise.
38018 * include/aio.h: Likewise.
38019 * include/aliases.h: Likewise.
38020 * include/argz.h: Likewise.
38021 * include/arpa/inet.h: Likewise.
38022 * include/assert.h: Likewise.
38023 * include/dirent.h: Likewise.
38024 * include/dlfcn.h: Likewise.
38025 * include/execinfo.h: Likewise.
38026 * include/fcntl.h: Likewise.
38027 * include/fenv.h: Likewise.
38028 * include/glob.h: Likewise.
38029 * include/grp.h: Likewise.
38030 * include/libintl.h: Likewise.
38031 * include/mntent.h: Likewise.
38032 * include/netdb.h: Likewise.
38033 * include/pwd.h: Likewise.
38034 * include/rpc/netdb.h: Likewise.
38035 * include/sched.h: Likewise.
38036 * include/search.h: Likewise.
38037 * include/shadow.h: Likewise.
38038 * include/signal.h: Likewise.
38039 * include/stdio.h: Likewise.
38040 * include/stdlib.h: Likewise.
38041 * include/string.h: Likewise.
38042 * include/sys/socket.h: Likewise.
38043 * include/sys/stat.h: Likewise.
38044 * include/sys/statfs.h: Likewise.
38045 * include/sys/statvfs.h: Likewise.
38046 * include/sys/syslog.h: Likewise.
38047 * include/sys/time.h: Likewise.
38048 * include/sys/uio.h: Likewise.
38049 * include/time.h: Likewise.
38050 * include/unistd.h: Likewise.
38051 * include/utmp.h: Likewise.
38052 * include/wchar.h: Likewise.
38053 * include/wctype.h: Likewise.
38054 * inet/aliases.h: Likewise.
38055 * inet/arpa/inet.h: Likewise.
38056 * inet/netinet/ether.h: Likewise.
38057 * inet/netinet/in.h: Likewise.
38058 * intl/libintl.h: Likewise.
38059 * io/bits/fcntl2.h: Likewise.
38060 * io/fcntl.h: Likewise.
38061 * io/ftw.h: Likewise.
38062 * io/sys/poll.h: Likewise.
38063 * io/sys/stat.h: Likewise.
38064 * io/sys/statfs.h: Likewise.
38065 * io/sys/statvfs.h: Likewise.
38066 * io/utime.h: Likewise.
38067 * libio/bits/stdio.h: Likewise.
38068 * libio/bits/stdio2.h: Likewise.
38069 * libio/libio.h: Likewise.
38070 * libio/libioP.h: Likewise.
38071 * libio/stdio.h: Likewise.
38072 * locale/lc-ctype.c: Likewise.
38073 * locale/locale.h: Likewise.
38074 * login/utmp.h: Likewise.
38075 * malloc/arena.c: Likewise.
38076 * malloc/malloc.c: Likewise.
38077 * malloc/malloc.h: Likewise.
38078 * malloc/mcheck.c: Likewise.
38079 * malloc/mtrace.c: Likewise.
38080 * math/bits/mathcalls.h: Likewise.
38081 * math/fenv.h: Likewise.
38082 * math/math_private.h: Likewise.
38083 * misc/bits/error.h: Likewise.
38084 * misc/bits/syslog.h: Likewise.
38085 * misc/err.h: Likewise.
38086 * misc/error.h: Likewise.
38087 * misc/fstab.h: Likewise.
38088 * misc/mntent.h: Likewise.
38089 * misc/regexp.h: Likewise.
38090 * misc/search.h: Likewise.
38091 * misc/sgtty.h: Likewise.
38092 * misc/sys/mman.h: Likewise.
38093 * misc/sys/syslog.h: Likewise.
38094 * misc/sys/uio.h: Likewise.
38095 * misc/sys/xattr.h: Likewise.
38096 * misc/ttyent.h: Likewise.
38097 * nis/rpcsvc/ypclnt.h: Likewise.
38098 * nss/nss.h: Likewise.
38099 * posix/bits/unistd.h: Likewise.
38100 * posix/fnmatch.h: Likewise.
38101 * posix/glob.h: Likewise.
38102 * posix/sched.h: Likewise.
38103 * posix/spawn.h: Likewise.
38104 * posix/sys/wait.h: Likewise.
38105 * posix/unistd.h: Likewise.
38106 * posix/wordexp.h: Likewise.
38107 * pwd/pwd.h: Likewise.
38108 * resolv/netdb.h: Likewise.
38109 * resource/sys/resource.h: Likewise.
38110 * rt/aio.h: Likewise.
38111 * rt/bits/mqueue2.h: Likewise.
38112 * rt/mqueue.h: Likewise.
38113 * shadow/shadow.h: Likewise.
38114 * signal/signal.h: Likewise.
38115 * socket/send.c: Likewise.
38116 * socket/sendto.c: Likewise.
38117 * socket/sys/socket.h: Likewise.
38118 * stdio-common/printf.h: Likewise.
38119 * stdlib/bits/stdlib.h: Likewise.
38120 * stdlib/fmtmsg.h: Likewise.
38121 * stdlib/monetary.h: Likewise.
38122 * stdlib/stdlib.h: Likewise.
38123 * stdlib/ucontext.h: Likewise.
38124 * streams/stropts.h: Likewise.
38125 * string/argz.h: Likewise.
38126 * string/bits/string2.h: Likewise.
38127 * string/string.h: Likewise.
38128 * string/strings.h: Likewise.
38129 * sunrpc/rpc/auth.h: Likewise.
38130 * sunrpc/rpc/auth_des.h: Likewise.
38131 * sunrpc/rpc/clnt.h: Likewise.
38132 * sunrpc/rpc/netdb.h: Likewise.
38133 * sunrpc/rpc/pmap_clnt.h: Likewise.
38134 * sunrpc/rpc/xdr.h: Likewise.
38135 * sysdeps/generic/inttypes.h: Likewise.
38136 * sysdeps/generic/net/if.h: Likewise.
38137 * sysdeps/generic/sys/swap.h: Likewise.
38138 * sysdeps/gnu/net/if.h: Likewise.
38139 * sysdeps/gnu/utmpx.h: Likewise.
38140 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38141 * sysdeps/i386/i486/bits/string.h: Likewise.
38142 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38143 * sysdeps/s390/bits/string.h: Likewise.
38144 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38145 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38146 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38147 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38148 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38149 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38150 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38151 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38152 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38153 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38154 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38155 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38156 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38157 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38158 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38159 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38160 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38166 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38167 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38168 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38169 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38170 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38171 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38172 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38174 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38175 * sysvipc/sys/ipc.h: Likewise.
38176 * sysvipc/sys/msg.h: Likewise.
38177 * sysvipc/sys/sem.h: Likewise.
38178 * sysvipc/sys/shm.h: Likewise.
38179 * termios/termios.h: Likewise.
38180 * time/sys/time.h: Likewise.
38181 * time/time.h: Likewise.
38182 * wcsmbs/bits/wchar2.h: Likewise.
38183 * wcsmbs/uchar.h: Likewise.
38184 * wcsmbs/wchar.h: Likewise.
38185 * wctype/wctype.h: Likewise.
38186
0269750c
UD
38187 [BZ #13551]
38188 * Makeconfig: Remove all but ELF support including AIX support.
38189 * Makerules: Likewise.
38190 * config.h.in: Likewise.
38191 * config.make.in: Likewise.
38192 * configure: Likewise.
38193 * configure.in: Likewise.
38194 * csu/Makefile: Likewise.
38195 * csu/version.c: Likewise.
38196 * debug/Makefile: Likewise.
38197 * dlfcn/Makefile: Likewise.
38198 * elf/Makefile: Likewise.
38199 * extra-lib.mk: Likewise.
38200 * iconv/Makefile: Likewise.
38201 * include/libc-symbols.h: Likewise.
38202 * include/shlib-compat.h: Likewise.
38203 * resolv/Makefile: Likewise.
38204 * resolv/res_libc.c: Likewise.
38205 * rt/Makefile: Likewise.
38206 * sysdeps/i386/asm-syntax.h: Likewise.
38207 * sysdeps/i386/sysdep.h: Likewise.
38208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38209 * sysdeps/mach/sysdep.h: Likewise.
38210 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38211 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38212 * sysdeps/s390/asm-syntax.h: Likewise.
38213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38215 * sysdeps/sh/sysdep.h: Likewise.
38216 * sysdeps/unix/sparc/sysdep.h: Likewise.
38217 * sysdeps/wordsize-32/divdi3.c: Likewise.
38218 * sysdeps/x86_64/sysdep.h: Likewise.
38219
00bbd29b
UD
38220 * argp/Versions: Remove _argp_unlock_xxx.
38221
38222 [BZ #13559]
38223 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38224 * abilist/libBrokenLocale.abilist: Likewise.
38225 * abilist/libanl.abilist: Likewise.
38226 * abilist/libc.abilist: Likewise.
38227 * abilist/libcrypt.abilist: Likewise.
38228 * abilist/libdl.abilist: Likewise.
38229 * abilist/libm.abilist: Likewise.
38230 * abilist/libnsl.abilist: Likewise.
38231 * abilist/libpthread.abilist: Likewise.
38232 * abilist/libresolv.abilist: Likewise.
38233 * abilist/librt.abilist: Likewise.
38234 * abilist/libthread_db.abilist: Likewise.
38235 * abilist/libutil.abilist: Likewise.
38236 * abilist/libnss_db.abilist: New file.
38237
38238 * scripts/abilist.awk: Add support for indirect functions.
38239
a2693a0e
UD
38240 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38241
3f05895f
UD
38242 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38243
ecb6fb48
UD
38244 * shlib-versions: Remove entries for ports architectures.
38245
664f8cb9
UD
38246 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38247 files in ports.
38248 * elf/stackguard-macros.h: Remove support for IA-64.
38249 * elf/tst-auditmod1.c: Likewise.
38250 * sysdeps/generic/ldsodefs.h: Likewise.
38251
7ae81d88
UD
38252 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38253 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38254 configure files.
38255
bdeba135
UD
38256 [BZ #13552]
38257 * configure.in: Remove --enable-omitfp support.
38258 * FAQ.in: Adjust.
38259 * config.make.in: Likewise.
38260 * Makeconfig: Likewise.
38261 * manual/install.texi: Likewise.
38262
d75a0a62
UD
38263 In case anyone cares, the IA-64 architecture could move to ports.
38264 * sysdeps/ia64/*: Removed.
38265 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38266 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38267
dcc9756b
UD
38268 [BZ #13555]
38269 * configure.in: Remove entries for unsupported architectures.
38270
d3761ebc 38271 [BZ #13533]
9954432e
UD
38272 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38273 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38274 routines.
38275 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38276 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38277 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38278 fall back to using wcrtomb.
38279 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38280 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38281 renaming.
38282 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38283 * wcsmbs/tst-c16c32-1.c: New file.
38284
38285 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38286 local variable.
38287
c3a87236
UD
38288 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38289
28926a1b
UD
38290 * elf/tst-unique3.cc: Add explicit declaration of gets.
38291 * elf/tst-unique3lib.cc: Likewise.
38292 * elf/tst-unique3lib2.cc: Likewise.
38293 * elf/tst-unique4.cc: Likewise.
38294
df78418a
UD
38295 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38296
8ecd6b2a
JM
382972012-01-06 Joseph Myers <joseph@codesourcery.com>
38298
38299 [BZ #13566]
38300 * assert/assert.h (static_assert): Don't define for C++.
38301 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38302 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38303
9f115170
UD
383042012-01-03 Ulrich Drepper <drepper@gmail.com>
38305
5e0d0300
UD
38306 * iconv/loop.c (single loop): Fix assertion in storing of
38307 remaining bytes.
38308
9f115170
UD
38309 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38310
81fb02b0
UD
383112012-01-01 Ulrich Drepper <drepper@gmail.com>
38312
38313 * posix/getconf.c: Update copyright year.
38314 * nss/getent.c: Likewise.
a316c1f6 38315 * nss/makedb.c: Likewise.
81fb02b0
UD
38316 * iconv/iconvconfig.c: Likewise.
38317 * iconv/iconv_prog.c: Likewise.
38318 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38319 * elf/pldd.c: Likewise.
38320 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38321 * catgets/gencat.c: Likewise.
38322 * csu/version.c: Likewise.
38323 * elf/ldd.bash.in: Likewise.
38324 * elf/sprof.c (print_version): Likewise.
38325 * locale/programs/locale.c: Likewise.
38326 * locale/programs/localedef.c: Likewise.
a316c1f6 38327 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38328 * nscd/nscd.c (print_version): Likewise.
38329 * debug/xtrace.sh: Likewise.
38330 * malloc/memusage.sh: Likewise.
38331 * malloc/mtrace.pl: Likewise.
38332 * debug/catchsegv.sh: Likewise.
38333
2ba92745
JJ
383342011-12-30 Jakub Jelinek <jakub@redhat.com>
38335
38336 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38337 pure attribute.
38338
dadebdae
UD
383392011-12-24 Ulrich Drepper <drepper@gmail.com>
38340
d3761ebc 38341 [BZ #13533]
db6af3eb
UD
38342 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38343 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38344 transformations.
38345 * iconv/gconv_int.h: Likewise.
38346 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38347 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38348 from libc for GLIBC_2.16.
38349 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38350 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38351 * wcsmbs/uchar.h: Really define mbstate_t.
38352 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38353 * wcsmbs/c16rtomb.c: New file.
38354 * wcsmbs/mbrtoc16.c: New file.
38355 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38356 for C/POSIX locale.
38357 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38358 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38359
dadebdae
UD
38360 * wcsmbs/wchar.h: Add missing __restrict.
38361
67371b56
UD
383622011-12-23 Ulrich Drepper <drepper@gmail.com>
38363
74033a25
UD
38364 [BZ #13532]
38365 * time/Makefile (routines): Add timespec_get.
38366 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38367 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38368 timespec for ISO C11.
38369 * time/timespec_get.c: New file.
38370 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38371 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38372
380d7e87
UD
38373 [BZ #13531]
38374 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38375 * stdlib/stdlib.h: Declare aligned_alloc.
38376 * Versions.def: Add GLIBC_2.16 for libc.
38377 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38378
4e9e7a35
UD
38379 [BZ 13527]
38380 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38381 ISO C11.
38382
380d7e87 38383 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38384 code.
38385
03a71829
UD
38386 [BZ #13528]
38387 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38388
839e283e
UD
38389 [BZ #13529]
38390 * assert/assert.h (static_assert): Define.
38391
ce5294e2 38392 * version.h: Update for 2.16 development version.
90fa7312 38393
8d44e150 38394 [BZ #13526]
d7809905
UD
38395 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38396 _ISOC11_SOURCE.
38397
c0da14cd
UD
38398 * version.h (RELEASE): Bump for 2.15 release.
38399 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38400
530a3249
MP
38401 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38402 Patch by Marek Polacek <mpolacek@redhat.com>.
38403
67371b56
UD
38404 * bits/byteswap.h: Protect long long constants with __extension__.
38405 * sysdeps/i386/bits/byteswap.h: Likewise.
38406 * sysdeps/ia64/bits/byteswap.h: Likewise.
38407 * sysdeps/s390/bits/byteswap.h: Likewise.
38408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38409
15db4de1
LD
384102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38411
38412 [BZ #13540]
bbe315ea
LD
38413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38414 destination buffer.
15db4de1
LD
38415 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38416
2b2596b1
MP
384172011-12-23 Marek Polacek <polacek@redhat.com>
38418
38419 * elf/dl-addr.c (determine_info): Add inline keyword.
38420 * elf/tst-auditmod4b.c (check_avx): Likewise.
38421 * elf/tst-auditmod6b.c (check_avx): Likewise.
38422 * elf/tst-auditmod6c.c (check_avx): Likewise.
38423 * elf/tst-auditmod7b.c (check_avx): Likewise.
38424
70c6c246
UD
384252011-12-23 Ulrich Drepper <drepper@gmail.com>
38426
38427 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38428 !__SSE_MATH__.
38429
c044cf14
LD
384302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38431
15db4de1 38432 [BZ #13540]
c044cf14
LD
38433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38434 processing for last bytes.
38435
6b13d9d9
BH
384362011-08-06 Bruno Haible <bruno@clisp.org>
38437
d455f537
BH
38438 [BZ #13061]
38439 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38440 U+0385, not to U+1FEE.
38441
6b13d9d9
BH
38442 [BZ #13062]
38443 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38444 entry for U+00A5 U+0301.
38445
db910efd
UD
384462011-12-22 Ulrich Drepper <drepper@gmail.com>
38447
27deeafc
UD
38448 [BZ #13166]
38449 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38450 buffer for the output is too small.
38451
aed9d171
UD
38452 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38453 optimization.
38454
db910efd
UD
38455 [BZ #13185]
38456 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38457 SSE flags if possible.
38458
2bd779ae
LD
384592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38460
e7f9dac3 38461 [BZ #13540]
2bd779ae
LD
38462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38463 processing for last bytes.
38464
154bfc16
JM
384652011-12-22 Joseph Myers <joseph@codesourcery.com>
38466
38467 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38468 (syscall-list-default-options, syscall-list-default-condition)
38469 (syscall-list-includes): Define.
38470 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38471 list of ABIs and options and #if conditions for each ABI. Do not
38472 handle common syscalls between ABIs specially.
38473 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38474 Remove.
38475 (syscall-list-variants, syscall-list-32bit-options)
38476 (syscall-list-32bit-condition, syscall-list-64bit-options)
38477 (syscall-list-64bit-condition): Define.
38478 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38479 (syscall-list-variants, syscall-list-32bit-options)
38480 (syscall-list-32bit-condition, syscall-list-64bit-options)
38481 (syscall-list-64bit-condition): Define.
38482 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38483 Remove.
38484 (syscall-list-variants, syscall-list-32bit-options)
38485 (syscall-list-32bit-condition, syscall-list-64bit-options)
38486 (syscall-list-64bit-condition): Define.
38487 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38488 Remove.
38489 (syscall-list-variants, syscall-list-32bit-options)
38490 (syscall-list-32bit-condition, syscall-list-64bit-options)
38491 (syscall-list-64bit-condition): Define.
38492
21eaf3a5
UD
384932011-12-22 Ulrich Drepper <drepper@gmail.com>
38494
16c6f992
UD
38495 * locale/iso-639.def: Add brx entry.
38496
41043168
UD
38497 [BZ #13328]
38498 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38499 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38500
21eaf3a5
UD
38501 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38502 __feraiseexcept_renamed.
38503
e3a851a2
UD
385042011-12-21 Ulrich Drepper <drepper@gmail.com>
38505
4920765e
UD
38506 [BZ #13538]
38507 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38508 EPOLLET with unsigned values.
38509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38510 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38511
e3a851a2
UD
38512 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38513 to large cancellation.
38514 * math/s_cacoshf.c: Likewise.
38515 * math/s_cacoshl.c: Likewise.
38516
b27e24b8
RK
385172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38518
38519 [BZ #13305]
aebefeee 38520 [BZ #12786]
b27e24b8
RK
38521 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38522 * math/s_cacoshf.c: Likewise.
38523 * math/s_cacoshl.c: Likewise.
38524
ee190f67
UD
385252011-12-21 Ulrich Drepper <drepper@gmail.com>
38526
38527 [BZ #13439]
38528 * iconv/gconv.h: Define __GCONV_SWAP.
38529 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38530 * iconvdata/utf-16.c: Likewise.
38531 * iconvdata/utf-32.c: Likewise.
38532
707f25df
AS
385332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38534
38535 [BZ #13524]
38536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38537 numerator after shifting it by one limb.
38538
d2daaa1e
RÁE
385392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38540
38541 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38542 under [__USE_EXTERN_INLINES].
38543
a4647e72
UD
385442011-12-17 Ulrich Drepper <drepper@gmail.com>
38545
38546 [BZ #13446]
38547 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38548
f0b264f1
AZ
385492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38550
38551 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38552 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38553 optimized code.
38554 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38556 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38557 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38558 for strncasecmp/strncasecmp_l compilation.
38559 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38560 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38561
8ef4f244
MP
385622011-12-08 Marek Polacek <mpolacek@redhat.com>
38563
38564 [BZ #13484]
38565 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38566 of __asm__.
38567
97ac2654
UD
385682011-12-17 Ulrich Drepper <drepper@gmail.com>
38569
38570 [BZ #13506]
38571 * time/tzfile.c (__tzfile_read): Check values from file header.
38572
91d2a845
WS
385732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38574
38575 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38576 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38577 * powerpc/powerpc32/dl-start.S: Likewise.
38578 * powerpc/powerpc32/elf/start.S: Likewise.
38579 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38580 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38581 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38582 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38583 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38584 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38585 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38586 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38587 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38588 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38589 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38590 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38591 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38592 * powerpc/powerpc32/memset.S: Likewise.
38593 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38594 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38595 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38596 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38597 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38598 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38599 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38600 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38601 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38602 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38604 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38605 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38606
a1267ba1
AZ
386072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38608
38609 * math/libm-test.inc: Added more nearbyint tests.
38610 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38611 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38614
ad8ac1bd
RL
386152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38616
38617 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38618 FD_CLOEXEC.
38619
1d3e4b61
UD
386202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38621
38622 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38623 Add wcscpy-ssse3 wcscpy-c.
38624 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38625 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38626 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38627 * sysdeps/x86_64/wcschr.S: New file.
38628 * sysdeps/x86_64/wcsrchr.S: New file.
38629 * string/test-strcmp.c: Remove checking of wcscmp function for
38630 wrong alignments.
38631 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38632 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38633 wcsrchr-sse2 wcsrchr-c.
38634 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38635 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38636 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38637 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38638 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38639 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38640 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38641 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38642 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38643 * wcsmbc/wcschr.c (WCSCHR): New macro.
38644
5b330a2d
UD
386452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38646
38647 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38648 * wcsmbs/test-wcsrchr.c: New file.
38649 * string/test-strrchr.c: Add wcsrchr support.
38650 (WIDE): New macro.
38651 * wcsmbs/test-wcscpy.c: New file.
38652 * string/test-strcpy.c: Add wcscpy support.
38653 (WIDE): New macro.
26428b7c 38654
f039c043
UD
386552011-12-10 Ulrich Drepper <drepper@gmail.com>
38656
38657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38658 the inner loop.
38659
850fb039
AS
386602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38661
38662 [BZ #13472]
38663 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38664
4efbd5cb
UD
386652011-12-04 Ulrich Drepper <drepper@gmail.com>
38666
52ff5dd0 38667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38668 Minor optimizations.
52ff5dd0 38669
4efbd5cb
UD
38670 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38671 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38672 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38673
8a426e12
UD
386742011-12-03 Ulrich Drepper <drepper@gmail.com>
38675
aff2453d
UD
38676 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38677 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38678 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38679 for gcc to avoid warnings.
38680 * inet/Makefile (tests): Add tst-checks.
38681 * inet/tst-checks.c: New file.
38682
38683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38684 warning.
38685
38686 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38687 __wmemcmp_sse2.
38688
38689 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38690 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38691
8a426e12
UD
38692 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38693
9bea3473
UD
386942011-12-02 Ulrich Drepper <drepper@gmail.com>
38695
3a965496
UD
38696 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38697 problem.
38698
9bea3473
UD
38699 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38700
f101631b
UD
387012011-11-29 Joseph Myers <joseph@codesourcery.com>
38702
38703 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38704 conditional on GCC version.
38705 (__arch_compare_and_exchange_val_8_acq)
38706 (__arch_compare_and_exchange_val_16_acq)
38707 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38708 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38709 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38710
a98275aa
UD
387112011-12-02 Joseph Myers <joseph@codesourcery.com>
38712
38713 * sysdeps/sh/backtrace.c: New file.
38714
d4cc29a2
AS
387152011-12-02 Andreas Schwab <schwab@redhat.com>
38716
38717 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38718 parenthesis.
38719
6257af2d
AS
387202011-12-01 Andreas Schwab <schwab@redhat.com>
38721
38722 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38723 falling back to utime.
38724
b5f44c1a
AS
387252011-11-30 Andreas Schwab <schwab@redhat.com>
38726
38727 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38728 expectations for float.
38729
f3a6cc0a
AS
387302011-11-29 Andreas Schwab <schwab@redhat.com>
38731
38732 * locale/weight.h (findidx): Add parameter len.
38733 * locale/weightwc.h (findidx): Likewise.
38734 * posix/fnmatch_loop.c (FCT): Adjust caller.
38735 * posix/regcomp.c (build_equiv_class): Likewise.
38736 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38737 * posix/regexec.c (check_node_accept_bytes): Likewise.
38738 * string/strcoll_l.c (STRCOLL): Likewise.
38739 * string/strxfrm_l.c (STRXFRM): Likewise.
38740
9d65ea3a
UD
387412011-11-17 Ulrich Drepper <drepper@gmail.com>
38742
38743 * Makefile.in: Remove CVSOPT handling.
38744 * configure.in: Remove use of AC_REVISION.
38745 * iconvdata/Makefile (distribute): No need to filter out CVS.
38746 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38747 handling.
38748
5583a086
AS
387492011-11-16 Andreas Schwab <schwab@redhat.com>
38750
38751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38752 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38753 [USE_AS_STRNCASECMP_L]: Likewise.
38754 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38755 NO_TLS_DIRECT_SEG_REFS.
38756 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38757 Fix argument offsets for non-PIC.
38758 [USE_AS_STRNCASECMP_L]: Likewise.
38759 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38760 NO_TLS_DIRECT_SEG_REFS.
38761
d62a8200
UD
387622011-11-15 Ulrich Drepper <drepper@gmail.com>
38763
9d65ea3a 38764 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38765 O_CLOEXEC.
38766 * locale/loadlocale.c (_nl_load_locale): Likewise.
38767
09f93bd3
AS
387682011-11-15 Andreas Schwab <schwab@redhat.com>
38769
446514f9
AS
38770 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38771 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38773 (SYSCALL_GETTIME): Set errno on error.
38774
09f93bd3
AS
38775 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38776 count references to noai6ai_cached.
38777
312be3f9
UD
387782011-11-15 Ulrich Drepper <drepper@gmail.com>
38779
38780 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38781
38782 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38783 FD_CLOEXEC for /proc/self/maps.
38784
38785 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38786 FD_CLOEXEC for /proc/meminfo.
38787
38788 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38789 gai.conf.
38790
38791 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38792 FD_CLOEXEC for given file.
38793
38794 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38795
38796 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38797 FD_CLOEXEC for /etc/hosts.
38798 (_gethtent): Likewise.
38799
38800 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38801
38802 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38803 cancellation and set FD_CLOEXEC for /etc/netgroup.
38804
38805 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38806 reading /etc/publickey.
38807
38808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38809 allow cancellation when reading /etc/group.
38810
38811 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38812 cancellation.
38813 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38814
38815 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38816 when using data file.
38817
38818 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38819
38820 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38821 (write_nis_obj): Use "c" and "e" in fopen.
38822
38823 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38824
38825 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38826
38827 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38828
38829 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38830
38831 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38832 locale.alias.
38833
38834 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38835
38836 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38837
38838 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38839
38840 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38841 file parsing and set FD_CLOEXEC.
38842
82af0fa8
UD
388432011-11-14 Ulrich Drepper <drepper@gmail.com>
38844
38845 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38846
a5fb313c
AS
388472011-11-14 Andreas Schwab <schwab@redhat.com>
38848
38849 * malloc/arena.c (arena_get2): Don't call reused_arena when
38850 _int_new_arena failed.
38851
6abf3465
UD
388522011-11-14 Ulrich Drepper <drepper@gmail.com>
38853
38854 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38855 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38858 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38859 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38860 to compile strcasecmp and strncasecmp.
38861 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38862 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38863
38864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38865
76e3966e
UD
388662011-11-13 Ulrich Drepper <drepper@gmail.com>
38867
38868 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38869 locale-defines.sym to gen-as-const-headers.
38870 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38871 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38873 to compile strcasecmp and strncasecmp.
38874 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38875 strcasecmp_l and strncasecmp_l.
38876 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38877 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38878 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38879 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38880 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38881 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38882 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38883 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38884 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38885 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38886 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38887
ab26144e
UD
388882011-11-12 Ulrich Drepper <drepper@gmail.com>
38889
7edb22ef
UD
38890 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38891 result of SYSDEP_GETTIME_CPU to retval.
38892 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38893 parameter list to macro. Remove trailing semicolon. Adjust users.
38894
9694fc44
UD
38895 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38896 variable.
38897
8ad89ef8
UD
38898 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38899 mantissa words.
38900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38901
0c822ef9
UD
38902 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38903 from unused variable.
38904
874e0564
UD
38905 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38906 DWARF definitions.
38907 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38908 for assembling.
38909
3a2edc79
UD
38910 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38911 over namespaces.
38912
f3c2577f
UD
38913 * sunrpc/rpc_prot.c (rejected): Fix case value.
38914
294ce126
UD
38915 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38916 unsigned long long int to avoid warnings in shift.
38917
5e2b63c6
UD
38918 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38919 of use of trans.
38920 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38921 variable tmp.
38922
e7f4b08e
UD
38923 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38924 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38925 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38926
ab26144e
UD
38927 * nis/nis_table.c (nis_list): Use variable of correct type for
38928 result of __follow_path call.
38929
8a6d5255
AZ
389302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38931
38932 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38933 of math functions ceil, trunc, floor, round, and sqrt, when
38934 avaliable on the platform.
38935 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38936 name clash.
38937 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38938 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38939 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38940
aaddc98c
MP
389412011-10-30 Marek Polacek <mpolacek@redhat.com>
38942
38943 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38944 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38945
95b7042b
RM
389462011-11-11 Roland McGrath <roland@hack.frob.com>
38947
38948 * include/unistd.h: Fix __readlink return type.
38949 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38950
57769839
UD
389512011-11-11 Ulrich Drepper <drepper@gmail.com>
38952
38953 * stdlib/ucontext.h: Undo last change for makecontext.
38954
edc5984d
AS
389552011-11-11 Andreas Schwab <schwab@redhat.com>
38956
98591e58
AS
38957 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38958
edc5984d
AS
38959 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38960 * setjmp/setjmp.h: Mark functions as non-leaf.
38961 * setjmp/bits/setjmp2.h: Likewise.
38962 * stdlib/ucontext.h: Likewise.
38963
77cdc054
AS
389642011-11-10 Andreas Schwab <schwab@redhat.com>
38965
38966 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38967 (reused_arena): Don't check arena limit.
38968 (arena_get2): Atomically check arena limit.
38969
fe72eebd
UD
389702011-11-08 Ulrich Drepper <drepper@gmail.com>
38971
5f078c32
UD
38972 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38973 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38974
fe72eebd
UD
38975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38976 instructions.
38977
ae1bc2fa
AS
389782011-11-07 Andreas Schwab <schwab@redhat.com>
38979
7583a88d
AS
38980 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38981 handler when locking.
38982
ae1bc2fa
AS
38983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38984 Fix size of allocated buffer.
38985
10fb0bfa
AS
389862011-11-04 Andreas Schwab <schwab@redhat.com>
38987
998832a4
AS
38988 [BZ #10103]
38989 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38990 declarations for long double functions.
38991 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38992
10fb0bfa
AS
38993 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38994
3d7ba52b
AS
389952011-11-03 Andreas Schwab <schwab@redhat.com>
38996
a9ae54a1
AS
38997 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38998 installed.
38999
3d7ba52b
AS
39000 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39001 is disabled.
39002
bc8db248
ST
390032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39004
39005 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39006
45b96dd6
AS
390072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39008
647776f6
AS
39009 * include/alloca.h (stackinfo_alloca_round): Define.
39010 (extend_alloca): Use it.
39011 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39012 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39013 here.
39014
d91a8b93
AS
39015 * scripts/check-local-headers.sh: Ignore libaudit.h.
39016
45b96dd6
AS
39017 * nscd/Makefile (extra-objs): Make recursively expanded.
39018
432d41ce
UD
390192011-11-01 Ulrich Drepper <drepper@gmail.com>
39020
34372fc6
UD
39021 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39022 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39023
fadb59f8
UD
39024 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39025 * posix/tst-rfc3484-2.c: Likewise.
39026 * posix/tst-rfc3484-3.c: Likewise.
39027
78239589
UD
39028 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39029 process_vm_writev.
39030 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39031 process_vm_writev.
39032 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39033 process_vm_writev from libc using GLIBC_2.15 version.
39034
432d41ce
UD
39035 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39036
02f9c6cf
PP
390372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39038
39039 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39040 stack usage.
39041
3a2c0242
UD
390422011-10-31 Ulrich Drepper <drepper@gmail.com>
39043
f4ec4833
UD
39044 [BZ #13367]
39045 * nss/getent.c (initgroups_keys): Show error message in case no group
39046 names are given.
39047
3a2c0242
UD
39048 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39049 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39050 __bump_nl_timestamp.
39051 * nscd/connections (nscd_init): When host database is served open
39052 netlink socket and request notification about configuration changes.
39053 (main_loop_poll): Track netlink file descriptor and bump timestamp
39054 in case data becomes available.
39055 (main_loop_epoll): Likewise.
39056 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39057 (database_pers_head): Add extra_data fileds.
39058 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39059 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39060 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39061 Adjust caller.
39062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39063 in6ai data, call __free_in6ai.
39064 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39065 Add -DHAVE_NETLINK.
39066 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39067 interface information. Reuse previous data if netlink timestamp
39068 is not changed.
39069 (__bump_nl_timestamp): New function.
39070 (__free_in6ai): New function.
39071
636064eb
UD
390722011-10-30 Ulrich Drepper <drepper@gmail.com>
39073
39074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39075 close_not_cancel_no_status here.
39076 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39077
9beb2334
UD
390782011-10-29 Ulrich Drepper <drepper@gmail.com>
39079
6ef76f3b
UD
39080 [BZ #13276]
39081 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39082 return value.
39083
0ffc4f3e 39084 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39085 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39086 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39087
cb95113e
UD
390882011-07-03 Andreas Jaeger <aj@suse.de>
39089
39090 [BZ #10709]
39091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39092 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39093 * math/libm-test.inc (sin_test): Add test case.
39094
a1b560ff
UD
390952011-10-29 Ulrich Drepper <drepper@gmail.com>
39096
c9aaface
UD
39097 [BZ #13337]
39098 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39099 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39100
d272e7f1
UD
39101 * elf/chroot_canon.c (chroot_canon): Cleanups.
39102
1bc33071
UD
39103 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39104
1760874d
TJ
39105 [BZ #13335]
39106 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39107 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39108
51d91b18
UD
39109 * string/test-strchr.c: Make usable for strchrnul testing.
39110 * string/test-strchrnul.c: New file.
39111 * string/Makefile (strop-tests): Add strchrnul.
39112
a1b560ff 39113 * po/it.po: Update from translation team.
b611fb81 39114 * po/es.po: Likewise.
a1b560ff 39115
a5b81e1f
UD
391162011-10-28 Ulrich Drepper <drepper@gmail.com>
39117
fd52bc6d
UD
39118 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39119 the three constants needed as parameters. Drop the others.
39120 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39121 __m128i_strloadu_tolower.
52e4b9eb
UD
39122 Create and initialize variable zero and use it in all the places
39123 where _mm_setzero_si128 was used.
fd52bc6d 39124
a5b81e1f
UD
39125 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39126 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39127 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39129 anymore.
39130 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39133 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39134 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39135 __mpranred, __mptan.
39136 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39137 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39138 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39139 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39144 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39145
b4343346
AS
391462011-10-28 Andreas Schwab <schwab@redhat.com>
39147
0c92d8a8
AS
39148 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39149 redefine if SHARED.
39150 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39151
b4343346
AS
39152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39153 wide char related routines to wcsmbs subdir.
39154
3871f58f
AS
391552011-10-27 Andreas Schwab <schwab@redhat.com>
39156
39157 [BZ #13344]
39158 * misc/sys/cdefs.h (__THROWNL): Define.
39159 * posix/unistd.h: Use __THREADNL instead of __THREAD
39160 for memory synchronization functions.
39161
94d44d9f
RM
391622011-10-26 Roland McGrath <roland@hack.frob.com>
39163
21b64b15 39164 [BZ #13349]
94d44d9f
RM
39165 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39166 doesn't exist.
39167 * manual/stdio.texi (Obstack Streams): Node removed.
39168
f6ce9294
AS
391692011-10-26 Andreas Schwab <schwab@redhat.com>
39170
80479147
AS
39171 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39174
f6ce9294
AS
39175 * math/math_private.h (math_force_eval): Allow non-addressable
39176 arguments.
39177 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39178
618280a1
UD
391792011-10-25 Ulrich Drepper <drepper@gmail.com>
39180
e0016b11
UD
39181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39182 file is not needed.
39183
39184 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39191 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39192 Add AVX variants.
39193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39197 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39198 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39199 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39200 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39203 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39204 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39205 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39206 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39209 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39211 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39212
39213 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39214 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39215
618280a1
UD
39216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39217 place. Use VEX encoding when compiling for AVX.
39218
37822576
AS
392192011-10-25 Andreas Schwab <schwab@redhat.com>
39220
1f1e1947
AS
39221 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39222 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39223
37822576
AS
39224 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39225
31ea014d
UD
392262011-10-25 Ulrich Drepper <drepper@gmail.com>
39227
d7826aa1 39228 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39229 useless if() expression.
d7826aa1
UD
39230 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39241 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39242 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39244 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39246 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39247 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39249
31ea014d
UD
39250 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39251
16437fec
AS
392522011-10-25 Andreas Schwab <schwab@redhat.com>
39253
39254 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39255 condition.
39256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39257
31d3cc00
UD
392582011-10-25 Ulrich Drepper <drepper@gmail.com>
39259
39260 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39261 .text section. Avoid duplicate constants.
39262 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39274 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39277 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39279 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39282 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39283 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39284 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39286 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39287 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39288 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39289 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39290 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39291 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39304 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39305 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39306 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39307
58985aa9
UD
393082011-10-24 Ulrich Drepper <drepper@gmail.com>
39309
202c9deb
UD
39310 * sysdeps/x86_64/dla.h: Move to ...
39311 * sysdeps/x86_64/fpu/dla.h: ...here.
39312 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39313 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39314
af968f62
UD
39315 * config.make.in: Add have-mfma4 entry.
39316 * configure.in: Substitute libc_cv_cc_fma4.
39317 * math/Makefile (dbl-only-routines): Add sincostab.
39318 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39319 Use __sincostab not sincos.
39320 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39321 name is a macro.
39322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39326 using __copysign.
39327 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39328 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39329 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39330 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39331 and __inv.
39332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39333 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39334 __copysign.
39335 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39336 define aliases when function name is a macro.
39337 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39338 sysdeps/ieee754/dbl-64/sincos.tbl.
39339 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39340 fma4-enabled routines.
39341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39342 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39343 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39344 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39350 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39351 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39353 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39366 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39368 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39369 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39370 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39371
58985aa9
UD
39372 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39373 rename.
39374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39382
a201fbcf
AS
393832011-10-24 Andreas Schwab <schwab@redhat.com>
39384
39385 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39386
fc2ee42a
LD
393872011-10-23 Ulrich Drepper <drepper@gmail.com>
39388
bb3129bd
UD
39389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39390
0275fff8
UD
39391 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39392 prediction.
39393 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39394
2fa2ae85
UD
39395 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39396 Remove unused variable magic_bits.
39397 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39398
fc2ee42a
LD
39399 * string/strnlen.c: Define and use STRNLEN macro.
39400 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39401 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39403 * wcsmbs/wcslen.c: Define and use WCSLEN.
39404 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39405 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39406 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39407 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39408 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39409 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39410 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39411
ce7dd29f
LD
394122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39413
39414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39415 strnlen-sse2-no-bsf.
39416 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39418 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39419 Add strnlen support.
39420 (USE_AS_STRNLEN): New macro.
39421 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39422 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39423 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39424 * sysdeps/x86_64/wcslen.S: New file.
39425
979c70a3
MZ
394262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39427
39428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39429 XMM-moves are used for copying on small sizes.
39430
2d09f82f
LD
394312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39432
39433 * wcsmbs/Makefile (strop-tests): Add wcschr.
39434 * wcsmbs/test-wcschr.c: New file.
39435 * string/test-strchr.c: Update.
39436 Add wcschr support.
39437 (WIDE): New macro.
39438
619fccca
LD
394392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39440
2d09f82f 39441 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39442 * wcsmbs/test-wcslen.c: New file.
39443 * string/test-strlen.c: Update.
39444 Add wcslen support.
39445 (WIDE): New macro.
39446
09f699ea
UD
394472011-10-23 Ulrich Drepper <drepper@gmail.com>
39448
39449 * po/it.po: Update from translation team.
39450
95584d3b
LD
394512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39452
39453 * sysdeps/x86_64/wcscmp.S: Update.
39454 Fix wrong comparison semantics.
39455 wcscmp shall use signed comparison not unsigned.
39456 Don't use substraction to avoid overflow bug.
39457 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39458 * wcsmbc/wcscmp.c: Likewise.
39459 * string/test-strcmp.c: Likewise.
39460 Add new tests to check cases with negative values.
39461
c8b3296b
UD
394622011-10-23 Ulrich Drepper <drepper@gmail.com>
39463
39464 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39465 * sysdeps/x86_64/dla.h: ...here. New file.
39466 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39475
246ad57a
AS
394762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39477
39478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39479 __ynl_finite aliases.
39480
a1a87169
UD
394812011-10-22 Ulrich Drepper <drepper@gmail.com>
39482
0d355eb7
UD
39483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39484
a1a87169
UD
39485 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39486 define DLA_FMA.
39487 [DLA_FMA] (EMULV): Use DLA_FMA.
39488 [DLA_FMA] (MUL12): Use EMULV.
39489 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39490 that are not needed.
39491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39498
ee2aafe0
AS
394992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39500
39501 * math/s_nan.c: Undef __nan.
39502 * math/s_nanf.c: Undef __nanf.
39503 * math/s_nanl.c: Undef __nanl.
39504 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39505 "math_private.h".
39506
bc62c2fb
UD
395072011-10-22 Ulrich Drepper <drepper@gmail.com>
39508
77425c63
UD
39509 * math/s_catan.c: Add branch predictions.
39510 * math/s_catanf.c: Likewise.
39511 * math/s_catanh.c: Likewise.
39512 * math/s_catanhf.c: Likewise.
39513 * math/s_catanhl.c: Likewise.
39514 * math/s_catanl.c: Likewise.
39515 * math/s_cexp.c: Likewise.
39516 * math/s_cexpf.c: Likewise.
39517 * math/s_cexpl.c: Likewise.
39518 * math/s_clog.c: Likewise.
39519 * math/s_clog10.c: Likewise.
39520 * math/s_clog10f.c: Likewise.
39521 * math/s_clog10l.c: Likewise.
39522 * math/s_clogf.c: Likewise.
39523 * math/s_clogl.c: Likewise.
39524 * math/s_csqrt.c: Likewise.
39525 * math/s_csqrtf.c: Likewise.
39526 * math/s_csqrtl.c: Likewise.
39527 * math/s_ctanf.c: Likewise.
39528 * math/s_ctanh.c: Likewise.
39529 * math/s_ctanhf.c: Likewise.
39530 * math/s_ctanhl.c: Likewise.
39531 * math/s_ctanl.c: Likewise.
39532
bc62c2fb
UD
39533 * math/math_private.h: Define __nan, __nanf, __nanl.
39534 * math/s_cacosh.c: Include <math_private.h>.
39535 * math/s_cacoshl.c: Likewise.
39536 * math/s_casinh.c: Likewise.
39537 * math/s_casinhf.c: Likewise.
39538 * math/s_casinhl.c: Likewise.
39539 * math/s_ccos.c: Rely entire on ccosh.
39540 * math/s_ccosf.c: Rely entire on ccoshf.
39541 * math/s_ccosl.c: Rely entirely on ccoshl.
39542 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39543 Remove tests for FE_INVALID.
39544 * math/s_ccoshf.c: Likewise.
39545 * math/s_ccoshl.c: Likewise.
39546 * math/s_csin.c: Likewise.
39547 * math/s_csinf.c: Likewise.
39548 * math/s_csinh.c Likewise.
39549 * math/s_csinhf.c: Likewise.
39550 * math/s_csinhl.c: Likewise.
39551 * math/s_csinl.c: Likewise.
39552 * math/s_ctan.c: Likewise.
39553 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39554 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39555 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39556
8ec250a4
UD
395572011-10-21 Ulrich Drepper <drepper@gmail.com>
39558
c196fed8
UD
39559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39560 compilation problems.
39561
8ec250a4
UD
39562 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39563 __builtin_expect.
39564
8d4f46c6
UD
395652011-10-20 Ulrich Drepper <drepper@gmail.com>
39566
ed72b654
UD
39567 * sysdeps/i386/configure.in: Test for -mfma4 option.
39568 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39569 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39570 COMMON_CPUID_INDEX_80000001.
39571 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39572 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39573 use it if FMA3 is not supported.
39574 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39575
8d4f46c6
UD
39576 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39577 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39578
d45c60c2
AS
395792011-10-20 Andreas Schwab <schwab@redhat.com>
39580
39581 [BZ #12892]
39582 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39583 it would create a cycle with a link time dependency.
39584
d9a4d2ab
UD
395852011-10-19 Ulrich Drepper <drepper@gmail.com>
39586
855d1560
UD
39587 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39588 instruction.
39589 * string/Makefile (strop-tests): Add rawmemchr.
39590 * string/test-rawmemchr.c: New file.
39591
d9a4d2ab
UD
39592 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39594 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39595 when compiling str{,n}casecmp and when AVX is available. Hook up
39596 new optimized code in initializers.
39597
8f3b1ffe
AS
395982011-10-19 Andreas Schwab <schwab@redhat.com>
39599
39600 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39601 __feraiseexcept instead of feraiseexcept.
39602
d38f1dba
UD
396032011-10-18 Ulrich Drepper <drepper@gmail.com>
39604
d9a8d0ab
UD
39605 * math/math_private.h: Define defaults for libc_fetestexcept and
39606 libc_feupdateenv.
39607 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39608 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39610 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39612 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39613 libc_fetestexcept and libc_feupdateenv.
39614
4855e3dd
UD
39615 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39616 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39617 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39618 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39619 libc_feholdexcept_setround.
39620
581d30e3
UD
39621 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39622 Add s_nearbyint-c and s_nearbyintf-c.
39623 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39624 nearbyintf inlines.
39625 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39626 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39627 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39628 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39629
d38f1dba
UD
39630 * math/math_private.h: Define defaults for libc_fegetround,
39631 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39632 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39633 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39635 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39636 standard functions.
39637 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39638 Remove comments and hacks for old compiler versions.
39639 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39640 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39641 libc_feholdexceptl.
39642
caa6c9d8
AS
396432011-10-18 Andreas Schwab <schwab@redhat.com>
39644
39645 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39646 (__feraiseexcept_renamed): Add __NTH.
39647 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39648 namespace violations.
39649
97c066e6
UD
396502011-10-17 Ulrich Drepper <drepper@gmail.com>
39651
99ce7b04
UD
39652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39653
1004d182
UD
39654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39655
228a984d
UD
39656 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39657 recently added interfaces.
39658 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39659
c8553a6a
UD
39660 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39661 about macro parameter expansion.
39662
ed22dcf6
UD
39663 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39664 __NO_MATH_INLINES is defined. Cleanups.
39665
39666 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39667 and __floorf is target has SSE4.1.
39668 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39669 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39670 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39671 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39672
b171c137
UD
39673 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39674 name.
39675 (floorf): Likewise.
39676
97c066e6
UD
39677 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39678
629f62ef
AS
396792011-10-17 Andreas Schwab <schwab@redhat.com>
39680
49a43d80
AS
39681 * misc/sys/cdefs.h: Fix last change.
39682
629f62ef
AS
39683 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39684 database lookup.
39685
e453f6cd
UD
396862011-10-16 Ulrich Drepper <drepper@gmail.com>
39687
aa78043a
UD
39688 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39689
ad0f5cad
UD
39690 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39699 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39700 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39701 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39702 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39703 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39704 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39705 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39707 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39708 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39709 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39710 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39711 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39712
39713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39714 ceil, ceilf, floor, floorf.
39715
39716 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39717 Perform IRELATIVE relocations last.
39718
e453f6cd
UD
39719 * elf/do-rel.h: Add another parameter nrelative, replacing the
39720 local variable with the same name. Change name of the function
39721 to end in Rel or Rela (uppercase).
39722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39723 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39724 elf_dynamic_do_##reloc function.
39725
fd5bdc09
UD
397262011-10-15 Ulrich Drepper <drepper@gmail.com>
39727
79b195b5
UD
39728 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39729 is sufficient, at least on modern CPUs.
39730
d4a28569
UD
39731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39732
b61099b5
UD
39733 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39735
bcf01e6d
UD
39736 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39737 __expl_finite.
39738 * math/bits/math-finite.h: Add entries for exp.
39739 * math/e_expl.c: Add __*_finite alias.
39740 * sysdeps/i386/fpu/e_exp.S: Likewise.
39741 * sysdeps/i386/fpu/e_expf.S: Likewise.
39742 * sysdeps/i386/fpu/e_expl.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39748 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39749 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39750
ba1a0d59
UD
39751 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39752 is sufficient, at least on modern CPUs.
39753
fd5bdc09
UD
39754 * ctype/ctype-info.c (__ctype_init): Define.
39755 * include/ctype.h (__ctype_init): Declare.
39756 (__ctype_b_loc): The variable is always initialized.
39757 (__ctype_toupper_loc): Likewise.
39758 (__ctype_tolower_loc): Likewise.
39759 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39760 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39761
7872cfb0
AS
397622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39763
b468825a
AS
39764 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39765
7872cfb0
AS
39766 * configure.in: Also look in $cxxmachine/include for C++ system
39767 headers.
39768
be13f7bf
LD
397692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39770
39771 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39772 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39773 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39774 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39775 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39776 (USE_AS_WMEMCMP): New macro.
39777 Fixing indents.
39778 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39779 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39780 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39781 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39783 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39784 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39785 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39786 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39787 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39788 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39789 (USE_AS_WMEMCMP): New macro.
39790 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39791 * sysdeps/string/test-memcmp.c: Update.
39792 Fix simple_wmemcmp.
39793 Add new tests.
39794 * wcsmbs/wmemcmp.c: Update.
39795 (WMEMCMP): New macro.
39796 Fix overflow bug.
39797
556a2007
AJ
397982011-10-12 Andreas Jaeger <aj@suse.de>
39799
39800 [BZ #13268]
39801 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39802
538faaa7
UD
398032011-10-15 Ulrich Drepper <drepper@gmail.com>
39804
ab6737ff
UD
39805 * libio/iofwide.c (do_length): Avoid warning.
39806
538faaa7
UD
39807 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39808
396a21b1
UD
398092011-10-14 Ulrich Drepper <drepper@gmail.com>
39810
cdf2901f
UD
39811 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39812
38ad40ce
UD
39813 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39814 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39815 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39816 * sysdeps/i386/i686/fpu/e_log.S: New file.
39817 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39818 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39819
396a21b1
UD
39820 * ctype/ctype.h: Add support for inlined isXXX functions when
39821 compiling C++ code.
39822
6b1f68c9
AS
398232011-10-14 Andreas Schwab <schwab@redhat.com>
39824
349290c0
AS
39825 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39826
6b1f68c9
AS
39827 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39828
f2282d42
RM
398292011-10-13 Roland McGrath <roland@hack.frob.com>
39830
39831 [BZ #13291]
39832 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39833
5298ffa8
AS
398342011-10-13 Andreas Schwab <schwab@redhat.com>
39835
714fad23
AS
39836 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39837 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39838 feraiseexcept.
39839
81dcc7fb
AS
39840 * sysdeps/x86_64/memrchr.S: Check for zero size.
39841
5298ffa8
AS
39842 * string/stratcliff.c: Add memrchr tests.
39843
951fbcec
LD
398442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39845
39846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39847 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39848 rawmemchr-sse2 rawmemchr-sse2-bsf.
39849 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39850 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39851 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39852 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39853 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39854 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39855 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39856 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39857 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39858 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39859 * string/memrchr.c (MEMRCHR): New macro.
39860
0ac5ae23
UD
398612011-10-12 Ulrich Drepper <drepper@gmail.com>
39862
39863 Add integration with gcc's -ffinite-math-only and optimize wrapper
39864 functions in libm.
39865 * Versions.def: Define GLIBC_2.15 version for libm.
39866 * math/Makefile (headers): Add bits/math-finite.h.
39867 * math/bits/math-finite.h: New file.
39868 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39869 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39870 * math/e_acoshl.c: Add __*_finite alias.
39871 * math/e_acosl.c: Likewise.
39872 * math/e_asinl.c: Likewise.
39873 * math/e_atan2l.c: Likewise.
39874 * math/e_atanhl.c: Likewise.
39875 * math/e_coshl.c: Likewise.
39876 * math/e_exp10.c: Likewise.
39877 * math/e_exp10f.c: Likewise.
39878 * math/e_exp10l.c: Likewise.
39879 * math/e_exp2l.c: Likewise.
39880 * math/e_fmodl.c: Likewise.
39881 * math/e_gammal_r.c: Likewise.
39882 * math/e_hypotl.c: Likewise.
39883 * math/e_j0l.c: Likewise.
39884 * math/e_j1l.c: Likewise.
39885 * math/e_jnl.c: Likewise.
39886 * math/e_lgammal_r.c: Likewise.
39887 * math/e_log10l.c: Likewise.
39888 * math/e_log2l.c: Likewise.
39889 * math/e_logl.c: Likewise.
39890 * math/e_powl.c: Likewise.
39891 * math/e_sinhl.c: Likewise.
39892 * math/e_sqrtl.c: Likewise.
39893 * math/e_scalb.c: Completely rewritten and optimized.
39894 * math/e_scalbf.c: Likewise.
39895 * math/e_scalbl.c: Likewise.
39896 * math/w_acos.c: Likewise.
39897 * math/w_acosf.c: Likewise.
39898 * math/w_acosl.c: Likewise.
39899 * math/w_acosh.c: Likewise.
39900 * math/w_acoshf.c: Likewise.
39901 * math/w_acoshl.c: Likewise.
39902 * math/w_asin.c: Likewise.
39903 * math/w_asinf.c: Likewise.
39904 * math/w_asinl.c: Likewise.
39905 * math/w_atan2.c: Likewise.
39906 * math/w_atan2f.c: Likewise.
39907 * math/w_atan2l.c: Likewise.
39908 * math/w_atanh.c: Likewise.
39909 * math/w_atanhf.c: Likewise.
39910 * math/w_atanhl.c: Likewise.
39911 * math/w_exp10.c: Likewise.
39912 * math/w_exp10f.c: Likewise.
39913 * math/w_exp10l.c: Likewise.
39914 * math/w_fmod.c: Likewise.
39915 * math/w_fmodf.c: Likewise.
39916 * math/w_fmodl.c: Likewise.
39917 * math/w_j0.c: Likewise.
39918 * math/w_j0f.c: Likewise.
39919 * math/w_j0l.c: Likewise.
39920 * math/w_j1.c: Likewise.
39921 * math/w_j1f.c: Likewise.
39922 * math/w_j1l.c: Likewise.
39923 * math/w_jn.c: Likewise.
39924 * math/w_jnf.c: Likewise.
39925 * math/w_log.c: Likewise.
39926 * math/w_logf.c: Likewise.
39927 * math/w_logl.c: Likewise.
39928 * math/w_log10.c: Likewise.
39929 * math/w_log10f.c: Likewise.
39930 * math/w_log10l.c: Likewise.
39931 * math/w_log2.c: Likewise.
39932 * math/w_log2f.c: Likewise.
39933 * math/w_log2l.c: Likewise.
39934 * math/w_pow.c: Likewise.
39935 * math/w_powf.c: Likewise.
39936 * math/w_powl.c: Likewise.
39937 * math/w_remainder.c: Likewise.
39938 * math/w_remainderf.c: Likewise.
39939 * math/w_remainderl.c: Likewise.
39940 * math/w_scalb.c: Likewise.
39941 * math/w_scalbf.c: Likewise.
39942 * math/w_scalbl.c: Likewise.
39943 * math/w_sqrt.c: Likewise.
39944 * math/w_sqrtf.c: Likewise.
39945 * math/w_sqrtl.c: Likewise.
39946 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39947 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39948 used.
39949 * math/math_private.h: Declare __kernel_standard_f.
39950 * math/w_cosh.c: Remove cruft and optimize a bit.
39951 * math/w_coshf.c: Likewise.
39952 * math/w_coshl.c: Likewise.
39953 * math/w_exp2.c: Likewise.
39954 * math/w_exp2f.c: Likewise.
39955 * math/w_exp2l.c: Likewise.
39956 * math/w_hypot.c: Likewise.
39957 * math/w_hypotf.c: Likewise.
39958 * math/w_hypotl.c: Likewise.
39959 * math/w_lgamma.c: Likewise.
39960 * math/w_lgamma_r.c: Likewise.
39961 * math/w_lgammaf.c: Likewise.
39962 * math/w_lgammaf_r.c: Likewise.
39963 * math/w_lgammal.c: Likewise.
39964 * math/w_lgammal_r.c: Likewise.
39965 * math/w_sinh.c: Likewise.
39966 * math/w_sinhf.c: Likewise.
39967 * math/w_sinhl.c: Likewise.
39968 * math/w_tgamma.c: Likewise.
39969 * math/w_tgammaf.c: Likewise.
39970 * math/w_tgammal.c: Likewise.
39971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39973 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39974 Minor optimizations. Pretty printing. Remove cruft.
39975 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39976 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39979 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39980 * sysdeps/i386/fpu/e_asin.S: Likewise.
39981 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39982 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39983 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39984 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39988 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39989 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39990 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39991 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39992 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39993 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39994 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39995 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39996 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39997 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39998 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39999 * sysdeps/i386/fpu/e_log.S: Likewise.
40000 * sysdeps/i386/fpu/e_log10.S: Likewise.
40001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40002 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40003 * sysdeps/i386/fpu/e_log2.S: Likewise.
40004 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40005 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40006 * sysdeps/i386/fpu/e_logf.S: Likewise.
40007 * sysdeps/i386/fpu/e_logl.S: Likewise.
40008 * sysdeps/i386/fpu/e_pow.S: Likewise.
40009 * sysdeps/i386/fpu/e_powf.S: Likewise.
40010 * sysdeps/i386/fpu/e_powl.S: Likewise.
40011 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40012 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40013 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40014 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40016 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40017 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40018 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40019 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40041 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40042 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40043 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40044 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40046 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40047 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40048 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40049 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40050 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40051 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40052 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40054 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40055 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40056 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40057 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40060 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40103 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40113 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40115 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40116 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40117 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40118 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40119 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40120 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40121 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40122 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40123 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40124 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40126 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40127 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40128 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40129 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40130 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40131 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40132 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40133 (__isnanf): Likewise.
40134 (__isinf_ns): Likewise.
40135 (__isinf_nsf): Likewise.
40136 (__finite): Likewise.
40137 (__finitef): Likewise.
40138 (__ieee754_sqrt): Define as macro.
40139 (__ieee754_sqrtf): Define as macro.
40140 (__ieee754_sqrtl): Define as macro.
40141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40142 inlined copy.
40143 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40144 __FINITE_MATH_ONLY__ consistent.
40145 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40146
12cc2fcd
AS
401472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40148
a843a204
AS
40149 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40150 of rawmemchr.
40151
12cc2fcd
AS
40152 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40153
c853acd5
UD
401542011-10-09 Ulrich Drepper <drepper@gmail.com>
40155
40156 * po/ja.po: Update from translation team.
40157
c658d255
RM
401582011-10-08 Roland McGrath <roland@hack.frob.com>
40159
110946e4
RM
40160 * locale/programs/locarchive.c (prepare_address_space): New function.
40161 (create_archive, enlarge_archive, open_archive): Use it.
40162
50604220
RM
40163 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40164 inside [SHARED], where it is used.
40165
c658d255
RM
40166 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40167
40168 * nss/getent.c (netgroup_keys): Remove unused variable.
40169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40170
6a621eb7
UD
401712011-10-08 Ulrich Drepper <drepper@gmail.com>
40172
7edb55ce
UD
40173 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40174 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40176 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40177 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40178 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40179 * math/Makefile (libm-calls): Add s_isinf_ns.
40180 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40181 * math/multc3.c: Likewise.
40182 * math/s_casin.c: Likewise.
40183 * math/s_casinf.c: Likewise.
40184 * math/s_casinl.c: Likewise.
40185 * math/s_ccos.c: Likewise.
40186 * math/s_ccosf.c: Likewise.
40187 * math/s_ccosl.c: Likewise.
40188 * math/s_ctan.c: Likewise.
40189 * math/s_ctanf.c: Likewise.
40190 * math/s_ctanh.c: Likewise.
40191 * math/s_ctanhf.c: Likewise.
40192 * math/s_ctanhl.c: Likewise.
40193 * math/s_ctanl.c: Likewise.
40194 * math/w_fmod.c: Likewise.
40195 * math/w_fmodf.c: Likewise.
40196 * math/w_fmodl.c: Likewise.
40197 * math/w_remainder.c: Likewise.
40198 * math/w_remainderf.c: Likewise.
40199 * math/w_remainderl.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40201 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40204 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40205 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40206 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40207 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40208
187da0ae
UD
40209 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40210 of the number.
40211 * stdio-common/printf_fphex.c: Likewise.
40212 * stdio-common/printf_size.c: Likewise.
40213
9277c064
UD
40214 * math/e_exp10.c: Include math_private.h using <...> not "...".
40215 * math/e_exp10f.c: Likewise.
40216 * math/e_exp10l.c: Likewise.
40217 * math/e_exp2l.c: Likewise.
40218 * math/e_j0l.c: Likewise.
40219 * math/e_j1l.c: Likewise.
40220 * math/e_jnl.c: Likewise.
40221 * math/e_lgammal_r.c: Likewise.
40222 * math/e_rem_pio2l.c: Likewise.
40223 * math/e_scalb.c: Likewise.
40224 * math/e_scalbf.c: Likewise.
40225 * math/e_scalbl.c: Likewise.
40226 * math/k_cosl.c: Likewise.
40227 * math/k_sinl.c: Likewise.
40228 * math/k_tanl.c: Likewise.
40229 * math/s_cacoshf.c: Likewise.
40230 * math/s_catan.c: Likewise.
40231 * math/s_catanf.c: Likewise.
40232 * math/s_catanh.c: Likewise.
40233 * math/s_catanhf.c: Likewise.
40234 * math/s_catanhl.c: Likewise.
40235 * math/s_catanl.c: Likewise.
40236 * math/s_ccosh.c: Likewise.
40237 * math/s_ccoshf.c: Likewise.
40238 * math/s_ccoshl.c: Likewise.
40239 * math/s_cexp.c: Likewise.
40240 * math/s_cexpf.c: Likewise.
40241 * math/s_cexpl.c: Likewise.
40242 * math/s_clog.c: Likewise.
40243 * math/s_clog10.c: Likewise.
40244 * math/s_clog10f.c: Likewise.
40245 * math/s_clog10l.c: Likewise.
40246 * math/s_clogf.c: Likewise.
40247 * math/s_clogl.c: Likewise.
40248 * math/s_csin.c: Likewise.
40249 * math/s_csinf.c: Likewise.
40250 * math/s_csinh.c: Likewise.
40251 * math/s_csinhf.c: Likewise.
40252 * math/s_csinhl.c: Likewise.
40253 * math/s_csinl.c: Likewise.
40254 * math/s_csqrt.c: Likewise.
40255 * math/s_csqrtf.c: Likewise.
40256 * math/s_csqrtl.c: Likewise.
40257 * math/s_ctan.c: Likewise.
40258 * math/s_ctanf.c: Likewise.
40259 * math/s_ctanh.c: Likewise.
40260 * math/s_ctanhf.c: Likewise.
40261 * math/s_ctanhl.c: Likewise.
40262 * math/s_ctanl.c: Likewise.
40263 * math/s_ldexp.c: Likewise.
40264 * math/s_ldexpf.c: Likewise.
40265 * math/s_ldexpl.c: Likewise.
40266 * math/s_significand.c: Likewise.
40267 * math/s_significandf.c: Likewise.
40268 * math/s_significandl.c: Likewise.
40269 * math/w_acos.c: Likewise.
40270 * math/w_acosf.c: Likewise.
40271 * math/w_acosh.c: Likewise.
40272 * math/w_acoshf.c: Likewise.
40273 * math/w_acoshl.c: Likewise.
40274 * math/w_acosl.c: Likewise.
40275 * math/w_asin.c: Likewise.
40276 * math/w_asinf.c: Likewise.
40277 * math/w_asinl.c: Likewise.
40278 * math/w_atan2.c: Likewise.
40279 * math/w_atan2f.c: Likewise.
40280 * math/w_atan2l.c: Likewise.
40281 * math/w_atanh.c: Likewise.
40282 * math/w_atanhf.c: Likewise.
40283 * math/w_atanhl.c: Likewise.
40284 * math/w_cosh.c: Likewise.
40285 * math/w_coshf.c: Likewise.
40286 * math/w_coshl.c: Likewise.
40287 * math/w_dremf.c: Likewise.
40288 * math/w_exp10.c: Likewise.
40289 * math/w_exp10f.c: Likewise.
40290 * math/w_exp10l.c: Likewise.
40291 * math/w_exp2.c: Likewise.
40292 * math/w_exp2f.c: Likewise.
40293 * math/w_fmod.c: Likewise.
40294 * math/w_fmodf.c: Likewise.
40295 * math/w_fmodl.c: Likewise.
40296 * math/w_hypot.c: Likewise.
40297 * math/w_hypotf.c: Likewise.
40298 * math/w_hypotl.c: Likewise.
40299 * math/w_j0.c: Likewise.
40300 * math/w_j0f.c: Likewise.
40301 * math/w_j0l.c: Likewise.
40302 * math/w_j1.c: Likewise.
40303 * math/w_j1f.c: Likewise.
40304 * math/w_j1l.c: Likewise.
40305 * math/w_jn.c: Likewise.
40306 * math/w_jnf.c: Likewise.
40307 * math/w_jnl.c: Likewise.
40308 * math/w_lgamma.c: Likewise.
40309 * math/w_lgamma_r.c: Likewise.
40310 * math/w_lgammaf.c: Likewise.
40311 * math/w_lgammaf_r.c: Likewise.
40312 * math/w_lgammal.c: Likewise.
40313 * math/w_lgammal_r.c: Likewise.
40314 * math/w_log.c: Likewise.
40315 * math/w_log10.c: Likewise.
40316 * math/w_log10f.c: Likewise.
40317 * math/w_log10l.c: Likewise.
40318 * math/w_log2.c: Likewise.
40319 * math/w_log2f.c: Likewise.
40320 * math/w_log2l.c: Likewise.
40321 * math/w_logf.c: Likewise.
40322 * math/w_logl.c: Likewise.
40323 * math/w_pow.c: Likewise.
40324 * math/w_powf.c: Likewise.
40325 * math/w_powl.c: Likewise.
40326 * math/w_remainder.c: Likewise.
40327 * math/w_remainderf.c: Likewise.
40328 * math/w_remainderl.c: Likewise.
40329 * math/w_scalb.c: Likewise.
40330 * math/w_scalbf.c: Likewise.
40331 * math/w_scalbl.c: Likewise.
40332 * math/w_sinh.c: Likewise.
40333 * math/w_sinhf.c: Likewise.
40334 * math/w_sinhl.c: Likewise.
40335 * math/w_sqrt.c: Likewise.
40336 * math/w_sqrtf.c: Likewise.
40337 * math/w_sqrtl.c: Likewise.
40338 * math/w_tgamma.c: Likewise.
40339 * math/w_tgammaf.c: Likewise.
40340 * math/w_tgammal.c: Likewise.
40341
6a621eb7
UD
40342 * po/ja.po: Update from translation team.
40343
bf582445
AJ
403442011-09-29 Andreas Jaeger <aj@suse.de>
40345
f9efbf3a
AJ
40346 [BZ #13179]
40347 * sunrpc/netname.c (netname2host): Fix logic.
40348
bf582445
AJ
40349 [BZ #6779]
40350 [BZ #6783]
40351 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40352 correctly.
40353 * math/w_remainder.c (__remainder): Likewise.
40354 * math/w_remainderf.c (__remainderf): Likewise.
40355 * math/libm-test.inc (remainder_test): Add test cases.
40356
48693bea
AK
403572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40358
40359 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40360 sdiv_qrnnd.
40361
42622229
LD
403622011-10-07 Ulrich Drepper <drepper@gmail.com>
40363
40364 * string/test-memcmp.c: Avoid unncessary #defines.
40365 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40366
093ecf92
LD
403672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40368
40369 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40370 Use new sse2 version for core i3 - i7 as it's faster
40371 than sse42 version.
40372 (bit_Prefer_PMINUB_for_stringop): New.
40373 * sysdeps/x86_64/rawmemchr.S: Update.
40374 Replace with faster SSE2 version.
40375 * sysdeps/x86_64/memrchr.S: New file.
40376 * sysdeps/x86_64/memchr.S: Update.
40377 Replace with faster SSE2 version.
40378
fde56e5c
MP
403792011-09-12 Marek Polacek <mpolacek@redhat.com>
40380
40381 * elf/dl-load.c (lose): Add cast to avoid warning.
40382
21fd49a9
UD
403832011-10-07 Ulrich Drepper <drepper@gmail.com>
40384
5a06e643
UD
40385 * po/ca.po: Update from translation team.
40386
684ae515
UD
40387 * inet/getnetgrent_r.c: Hook up nscd.
40388 * nscd/Makefile (routines): Add nscd_netgroup.
40389 (nscd-modules): Add netgroupcache.
40390 (CFLAGS-netgroupcache.c): Define.
40391 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40392 (cache_search): Add const to second parameter.
40393 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40394 INNETGR.
40395 (dbs): Add netgrdb entry.
40396 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40397 (verify_persistent_db): Handle netgrdb.
40398 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40399 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40400 GETFDNETGR.
40401 (netgroup_response_header): Define.
40402 (innetgroup_response_header): Define.
40403 (datahead): Add netgroup_response_header and innetgroup_response_header
40404 elements.
40405 * nscd/nscd.conf: Add entries for netgroup cache.
40406 * nscd/nscd.h (dbtype): Add netgrdb.
40407 (_PATH_NSCD_NETGROUP_DB): Define.
40408 (netgroup_iov_disabled): Declare.
40409 (xmalloc, xcalloc, xrealloc): Move declarations here.
40410 (cache_search): Adjust prototype.
40411 Add netgroup-related prototypes.
40412 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40413 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40414 (__nscd_innetgr): Declare.
40415 * nscd/selinux.c (perms): Use access_vector_t as element type and
40416 add netgroup-related initializers.
40417 * nscd/netgroupcache.c: New file.
40418 * nscd/nscd_netgroup.c: New file.
40419 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40420 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40421 For four parameters use innetgr.
40422 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40423 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40424 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40425 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40426
21fd49a9
UD
40427 * nscd/connections.c (register_traced_file): Don't register file
40428 for disabled databases.
40429
054c0457
UD
404302011-10-06 Ulrich Drepper <drepper@gmail.com>
40431
32b63198
UD
40432 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40433
054c0457
UD
40434 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40435 from tree and freeing node.
40436
64031225
JO
404372011-09-25 Jiri Olsa <jolsa@redhat.com>
40438
40439 * nss/nsswitch.c (__nss_database_lookup): Handle
40440 nss_parse_service_list out of memory case.
40441
0490345c
JO
404422011-09-15 Jiri Olsa <jolsa@redhat.com>
40443
40444 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40445 out of memory case.
40446
3a62d00d
AS
404472011-10-04 Andreas Schwab <schwab@redhat.com>
40448
40449 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40450 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40451 pass it down.
40452 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40453 elf_machine_rela, elf_machine_lazy_rel.
40454 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40455 (ELF_DYNAMIC_DO_REL): Likewise.
40456 (ELF_DYNAMIC_DO_RELA): Likewise.
40457 (ELF_DYNAMIC_RELOCATE): Likewise.
40458 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40459 to ELF_DYNAMIC_DO_REL.
40460 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40461 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40462 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40463 elf_machine_rela.
40464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40465 skip_ifunc, don't call ifunc function if non-zero.
40466 (elf_machine_rela): Likewise.
40467 (elf_machine_lazy_rel): Likewise.
40468 (elf_machine_lazy_rela): Likewise.
40469 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40470 (elf_machine_lazy_rel): Likewise.
40471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40472 Likewise.
40473 (elf_machine_lazy_rel): Likewise.
40474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40475 Likewise.
40476 (elf_machine_lazy_rel): Likewise.
40477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40478 (elf_machine_lazy_rel): Likewise.
40479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40480 (elf_machine_lazy_rel): Likewise.
40481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40482 (elf_machine_lazy_rel): Likewise.
40483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40484 (elf_machine_lazy_rel): Likewise.
40485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40486 (elf_machine_lazy_rel): Likewise.
40487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40488 (elf_machine_lazy_rel): Likewise.
40489
68577918
UD
404902011-09-28 Ulrich Drepper <drepper@gmail.com>
40491
40492 * nss/nss_files/files-init.c (_nss_files_init): Use static
40493 initialization for all the *_traced_file variables.
40494
68822d74
AS
404952011-09-28 Andreas Schwab <schwab@redhat.com>
40496
40497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40498
2056100b
RM
404992011-09-27 Roland McGrath <roland@hack.frob.com>
40500
40501 [BZ #13226]
40502 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40503
32c76b63
AS
405042011-09-27 Andreas Schwab <schwab@redhat.com>
40505
40506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40507 Reread the line before reparsing it.
40508
bf972c9d
AS
405092011-09-26 Andreas Schwab <schwab@redhat.com>
40510
40511 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40512
e057a1b5
JM
405132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40514 Maxim Kuvyrkov <maxim@codesourcery.com>
40515 Joseph Myers <joseph@codesourcery.com>
40516
40517 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40518 if needed for __stack_chk_guard.
40519
bc7e1c36
RM
405202011-09-19 Roland McGrath <roland@hack.frob.com>
40521
ecb1482f
RM
40522 * sysdeps/posix/spawni.c (script_execute): Always define it.
40523 It will be optimized away if unused.
40524 (maybe_script_execute): New function.
40525 (__spawni): Call it.
40526
bc7e1c36
RM
40527 * Makerules: Don't include tls.make.
40528 (config-tls): Always set to thread.
40529 * tls.make.c: File removed.
40530
1c3b002b
MF
405312011-09-19 Mike Frysinger <vapier@gentoo.org>
40532
40533 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40534 * config.make.in (CPPFLAGS-config): New substituted variable.
40535
2840865d
UD
405362011-09-15 Ulrich Drepper <drepper@gmail.com>
40537
88738eb6
UD
40538 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40539
cbf645a6 40540 [BZ #13192]
2840865d
UD
40541 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40542 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40543
b402e91a
RM
405442011-09-15 Roland McGrath <roland@hack.frob.com>
40545
40546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40547 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40549 (CALL_FAIL): Likewise.
40550 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40551 (CALL_FAIL): Macro removed.
40552 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40553
4c1a1f71
UD
405542011-09-15 Ulrich Drepper <drepper@gmail.com>
40555
40556 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40557 for __FINITE_MATH_ONLY__ == 1.
40558
edc121be
AS
405592011-09-15 Andreas Schwab <schwab@redhat.com>
40560
40561 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40562 __ieee754_sqrt instead of sqrt.
40563 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40564 __ieee754_sqrtf instead of sqrtf.
40565 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40566 __floorf instead of floorf.
40567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40568 __floorf, __truncf instead of floorf, truncf.
40569
cd205654
UD
405702011-09-14 Ulrich Drepper <drepper@gmail.com>
40571
ee4d0315
UD
40572 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40573
cd205654
UD
40574 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40575 __extern_always_inline.
40576 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40577 32-bit.
40578
48b67d71
AS
405792011-09-14 Andreas Schwab <schwab@redhat.com>
40580
40581 * elf/rtld.c (dl_main): Also relocate in dependency order when
40582 doing symbol dependency testing.
40583
1ae12c75
AS
405842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40585
40586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40587 Always define `refsym'.
40588
995a80df
AS
405892011-09-13 Andreas Schwab <schwab@redhat.com>
40590
e529793b
AS
40591 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40592 (__FD_ELT): Renamed from __FDELT.
40593 * misc/bits/select2.h (__FD_ELT): Likewise.
40594 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40595 __FD_MASK instead of __FDELT, __FDMASK.
40596 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40597 Likewise.
40598 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40599 Likewise.
40600
52d4fef8
AS
40601 * elf/Makefile (gen-ldd): Fix pattern.
40602
995a80df
AS
40603 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40604 (init_tls): Likewise.
40605
8682f8b0
UD
406062011-09-12 Ulrich Drepper <drepper@gmail.com>
40607
40608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40609
de82006d
AS
406102011-09-12 Andreas Schwab <schwab@redhat.com>
40611
a7c8e6a1
AS
40612 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40613 `struct cmsghdr *' instead of `void *'.
40614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40615 Likewise.
40616
0f31fe77
AS
406172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40618
40619 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40620 if non-absolute.
40621 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40622 ldd_rewrite_script.
0f31fe77 40623
32b4c839
UD
406242011-09-11 Ulrich Drepper <drepper@gmail.com>
40625
83cd1420
UD
40626 * configure.in: Remove --with-tls option.
40627 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40628 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40629 out in case it is missing.
40630 * sysdeps/ia64/elf/configure.in: Likewise.
40631 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40632 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40633 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40634 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40635 * sysdeps/sh/elf/configure.in: Likewise.
40636 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40637 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40638 * sysdeps/x86_64/elf/configure.in: Likewise.
40639 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40640 * sysdeps/mach/hurd/tls.h: Likewise.
40641
633f745d
UD
40642 [BZ #13067]
40643 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40644
f318beb8
UD
40645 [BZ #13090]
40646 * configure.in: Fix use of AC_INIT.
40647
32b4c839
UD
40648 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40649
3ce1f295
UD
406502011-09-10 Ulrich Drepper <drepper@gmail.com>
40651
bb016596
UD
40652 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40653 __set_errno.
8e58439c
UD
40654 * malloc/hooks.c: Likewise.
40655
aebae053 40656 [BZ #11929]
02d46fc4
UD
40657 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40658 variables statically.
40659 (narenas): Initialize.
40660 (list_lock): Initialize.
bb016596
UD
40661 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40662 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40663 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40664 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40665 Add initializers to main_arena and mp_.
40666 (malloc_state): Remove pagesize member. Change all users to use
40667 GLRO(dl_pagesize).
40668
40669 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40670 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40671 is always initialized.
40672
22a89187
UD
40673 * malloc/malloc.c: Removed unused configurations and dead code.
40674 * malloc/arena.c: Likewise.
40675 * malloc/hooks.c: Likewise.
02d46fc4 40676 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40677
d063d164
UD
40678 * include/tls.h: Removed. USE___THREAD must always be defined.
40679 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40680 * elf/dl-libc.c: Likewise.
40681 * elf/dl-tsd.c: Likewise.
40682 * include/errno.h: Likewise.
40683 * include/netdb.h: Likewise.
40684 * include/resolv.h: Likewise.
40685 * inet/herrno-loc.c: Likewise.
40686 * inet/herrno.c: Likewise.
40687 * malloc/arena.c: Likewise.
40688 * malloc/hooks.c: Likewise.
40689 * malloc/malloc.c: Likewise.
40690 * resolv/res-state.c: Likewise.
40691 * resolv/res_libc.c: Likewise.
40692 * sysdeps/i386/dl-machine.h: Likewise.
40693 * sysdeps/ia64/dl-machine.h: Likewise.
40694 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40695 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40696 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40697 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40698 * sysdeps/sh/dl-machine.h: Likewise.
40699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40700 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40701 * sysdeps/unix/i386/sysdep.S: Likewise.
40702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40703 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40708 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40713 * sysdeps/x86_64/dl-machine.h: Likewise.
40714 * tls.make.c: Likewise.
40715
3ce1f295
UD
40716 * configure.in: Remove --with-__thread option. Make tests for
40717 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40718 tls_model attribute fail if no support is available. Remove
40719 USE_IN_LIBIO.
40720 * Makeconfig: Adjust for dropped configure option. All features are
40721 now mandatory.
40722 * Makerules: Likewise.
40723 * Versions.def: Likewise.
40724 * argp/argp-fmtstream.c: Likewise.
40725 * argp/argp-fmtstream.h: Likewise.
40726 * argp/argp-help.c: Likewise.
40727 * assert/assert.c: Likewise.
40728 * config.h.in: Likewise.
40729 * config.make.in: Likewise.
40730 * configure: Likewise.
40731 * configure.in: Likewise.
40732 * csu/Versions: Likewise.
40733 * csu/init.c: Likewise.
40734 * elf/tst-audit2.c: Likewise.
40735 * elf/tst-tls10.c: Likewise.
40736 * elf/tst-tls10.h: Likewise.
40737 * elf/tst-tls11.c: Likewise.
40738 * elf/tst-tls12.c: Likewise.
40739 * elf/tst-tls14.c: Likewise.
40740 * elf/tst-tlsmod11.c: Likewise.
40741 * elf/tst-tlsmod12.c: Likewise.
40742 * elf/tst-tlsmod13.c: Likewise.
40743 * elf/tst-tlsmod13a.c: Likewise.
40744 * elf/tst-tlsmod14a.c: Likewise.
40745 * elf/tst-tlsmod15b.c: Likewise.
40746 * elf/tst-tlsmod16a.c: Likewise.
40747 * elf/tst-tlsmod16b.c: Likewise.
40748 * elf/tst-tlsmod7.c: Likewise.
40749 * elf/tst-tlsmod8.c: Likewise.
40750 * elf/tst-tlsmod9.c: Likewise.
40751 * gmon/gmon.c: Likewise.
40752 * grp/fgetgrent_r.c: Likewise.
40753 * grp/putgrent.c: Likewise.
40754 * hurd/fopenport.c: Likewise.
40755 * include/libc-symbols.h: Likewise.
40756 * include/tls.h: Likewise.
40757 * intl/gettextP.h: Likewise.
40758 * intl/loadinfo.h: Likewise.
40759 * locale/global-locale.c: Likewise.
40760 * locale/localeinfo.h: Likewise.
40761 * mach/devstream.c: Likewise.
40762 * malloc/arena.c: Likewise.
40763 * malloc/set-freeres.c: Likewise.
40764 * misc/err.c: Likewise.
40765 * misc/getttyent.c: Likewise.
40766 * misc/mntent_r.c: Likewise.
40767 * posix/getopt.c: Likewise.
40768 * posix/wordexp.c: Likewise.
40769 * pwd/fgetpwent_r.c: Likewise.
40770 * resolv/Versions: Likewise.
40771 * resolv/res_hconf.c: Likewise.
40772 * shadow/fgetspent_r.c: Likewise.
40773 * shadow/putspent.c: Likewise.
40774 * stdio-common/printf_fphex.c: Likewise.
40775 * stdio-common/tmpfile.c: Likewise.
40776 * stdlib/abort.c: Likewise.
40777 * stdlib/fmtmsg.c: Likewise.
40778 * sunrpc/auth_unix.c: Likewise.
40779 * sunrpc/clnt_perr.c: Likewise.
40780 * sunrpc/clnt_tcp.c: Likewise.
40781 * sunrpc/clnt_udp.c: Likewise.
40782 * sunrpc/clnt_unix.c: Likewise.
40783 * sunrpc/openchild.c: Likewise.
40784 * sunrpc/svc_simple.c: Likewise.
40785 * sunrpc/svc_tcp.c: Likewise.
40786 * sunrpc/svc_udp.c: Likewise.
40787 * sunrpc/svc_unix.c: Likewise.
40788 * sunrpc/xdr.c: Likewise.
40789 * sunrpc/xdr_array.c: Likewise.
40790 * sunrpc/xdr_rec.c: Likewise.
40791 * sunrpc/xdr_ref.c: Likewise.
40792 * sunrpc/xdr_stdio.c: Likewise.
40793
1248c1c4
PB
407942011-09-09 Ulrich Drepper <drepper@gmail.com>
40795
40796 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40797
407982011-07-03 Andreas Jaeger <aj@suse.de>
40799
40800 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40801 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40802 regenerate with gen-libm-tests.pl.
40803
408042010-05-12 Petr Baudis <pasky@suse.cz>
40805
40806 [BZ #11589]
40807 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40808 around j0() zero points by switching to j1().
40809 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40813
f22e1074
UD
408142011-09-09 Ulrich Drepper <drepper@gmail.com>
40815
f19009c1
UD
40816 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40817 instead of 0.
40818 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40819 instead of 0.
f19009c1
UD
40820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40821 Patch in part by Pavel Roskin <proski@gnu.org>.
40822
3f8cc204
UD
40823 [BZ #13138]
40824 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40825 realloc.
40826 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40827 Free memory block if necessary.
40828
f22e1074
UD
40829 [BZ #12847]
40830 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40831 be NULL. Don't lock in this case.
40832
0a2349f9
RM
408332011-09-09 Roland McGrath <roland@hack.frob.com>
40834
40835 * elf/elf.h (ELFOSABI_GNU): New macro.
40836 (ELFOSABI_LINUX): Define to that.
40837
f3cdd467
DZ
408382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40839
40840 * string/strncat.c (strncat): Undef the symbol in case it has been
40841 defined in bits/string.h.
40842
74718d13
UD
408432011-09-09 Ulrich Drepper <drepper@gmail.com>
40844
633e9e0f
UD
40845 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40846
0a2349f9 40847 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40848 link map.
40849
f9924780
AJ
408502011-08-17 Andreas Jaeger <aj@suse.de>
40851
40852 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40853
7f5517aa
PP
408542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40855 Ian Lance Taylor <iant@google.com>
40856
40857 * math/libm-test.inc (lround_test): New testcase.
40858 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40859
762011fe
UD
408602011-09-08 Ulrich Drepper <drepper@gmail.com>
40861
92963737
UD
40862 * Makefile: Remove support for automatic cvs check-ins.
40863 * Makerules: Likewise.
40864 * config.make.in: Likewise.
40865 * configure.in: Likewise.
40866 * intl/Makefile: Likewise.
40867 * locale/Makefile: Likewise.
40868 * po/Makefile: Likewise.
40869 * posix/Makefile: Likewise.
40870 * sysdeps/gnu/Makefile: Likewise.
40871 * sysdeps/mach/hurd/Makefile: Likewise.
40872 * sysdeps/sparc/sparc32/Makefile: Likewise.
40873
b0727fd8
JS
40874 [BZ #13118]
40875 * posix/Makefile (bug-regex32-ENV): Define.
40876 Patch by John Stanley <jpsinthemix@verizon.net>.
40877
a0f33f99
UD
40878 * misc/Makefile (headers): Add bits/select2.h.
40879 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40880 * misc/bits/select2.h: New file.
40881 * include/bits/select2.h: New file.
40882 * debug/Makefile (routines): Add fdelt_chk.
40883 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40884 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40885 FD_ISSET.
40886 * debug/fdelt_chk.c: New file.
40887
762011fe
UD
40888 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40889 * wcsmbs/test-wmemcmp.c: Likewise.
40890 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40891 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40892
408932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40894
40895 * string/Makefile (strop-tests): Add memcmp.
40896 * string/test-wmemcmp.c: New file.
40897 * string/test-memcmp.c: Add wmemcmp support.
40898
7f513ec8
RM
408992011-09-08 Roland McGrath <roland@hack.frob.com>
40900
0442afb4
RM
40901 [BZ #13153]
40902 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40903 2011-07-19 change.
40904
7f513ec8
RM
40905 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40906 garbage value in a __mach_port_mod_refs call in the cases of the
40907 task-self and thread-self ports.
40908
a12b2239
ST
409092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40910
40911 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40912
610f9ab4
AS
409132011-09-08 Andreas Schwab <schwab@redhat.com>
40914
7f513ec8 40915 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40916
48882a1a
LD
409172011-09-07 Ulrich Drepper <drepper@gmail.com>
40918
b49865be
UD
40919 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40920
fdc86bc9
UD
40921 * elf/dl-libc.c (dlerror_run): Pass back error code from
40922 dl_catch_error.
40923
c966526a
UD
40924 [BZ #13123]
40925 * elf/dl-load.c (lose): Free l_origin if it is valid.
40926
48882a1a
LD
40927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40928 names.
40929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40933 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40934 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40935
77a2a8b4
AZ
409362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40937
40938 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40939 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40940 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40941 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40942 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40943 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40944 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40945 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40946 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40947 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40948
24f579d8
AM
409492011-08-15 Alan Modra <amodra@gmail.com>
40950
40951 [BZ #13092]
40952 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40953 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40954 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40955 ppc_mcount to static-only-routines.
40956 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40957 __mcount_internal.
40958 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40959 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40960
3d4837df
UD
409612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40962
40963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40964 for finite and infinity parameters.
40965
22700377
WS
409662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40967
40968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40969 and add nop instructions for throughput optimization.
40970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40971
5025581e
WS
409722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40973
40974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40975 aligned copy for power7 with vector-scalar instructions.
40976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40977
08a300c9
L
409782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40979
40980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40981 AVX check.
40982
59178ef9
AS
409832011-09-07 Andreas Schwab <schwab@redhat.com>
40984
40985 [BZ #13144]
40986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40987 last change.
40988
e38ba7ab
UD
409892011-09-07 Ulrich Drepper <drepper@gmail.com>
40990
40991 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40992 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40993 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40995 clock_gettime.
40996
d53a73ac
UD
409972011-09-06 Ulrich Drepper <drepper@gmail.com>
40998
fc8bffcc
UD
40999 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41000 Forgot to demangle the pointer.
41001
ceaa0c5d
UD
41002 * sysdeps/i386/sysdep.h: Define atom_text_section.
41003 * sysdeps/x86_64/sysdep.h: Likewise.
41004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41005 section with atom_text_section.
41006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41010 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41011
a77d3c17
UD
41012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41013 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41014 already be defined. Change to take two parameters and don't assign
41015 result to variable. Adjust all users.
41016 Define INTERNAL_GETTIME if not already defined.
41017 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41018 call.
41019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41020 HAVE_CLOCK_GETTIME_VSYSCALL.
41021 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41022
d53a73ac
UD
41023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41024 gettimeofday vsyscall, just use time.
41025
a8f84144
AS
410262011-09-06 Andreas Schwab <schwab@redhat.com>
41027
41028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41029 <errno.h>.
41030
ef606249
UD
410312011-09-06 Ulrich Drepper <drepper@gmail.com>
41032
41033 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41034 syscall on x86-64.
41035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41036 syscall.
41037 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41039 syscall if possible.
41040
6585cb60
UD
410412011-09-05 Ulrich Drepper <drepper@gmail.com>
41042
41043 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41044 e_ident. Don't pass to find_mapsXX.
41045 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41046
a5f524e4
LD
410472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41048
41049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41050 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41051 * sysdeps/x86_64/multiarch/strchr.S: Update.
41052 Check bit_slow_BSF bit.
41053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41054 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41055 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41056
554881ef
UD
410572011-09-05 Ulrich Drepper <drepper@gmail.com>
41058
d96de963
UD
41059 [BZ #13134]
41060 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41061 before glibc 2.15.
41062 (tryshell): Define.
41063 (__spawni): Change last parameter to be flag. Test
41064 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41065 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41066 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41067 * posix/spawni.c: Likewise.
41068 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41069 * posix/spawnp.c: Likewise. Change normal version to use
41070 SPAWN_XFLAGS_USE_PATH.
41071 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41072 SPAWN_XFLAGS_TRY_SHELL.
41073
d48e5868
UD
41074 [BZ #13150]
41075 * posix/glob.h: Remove gcc 1.x support.
41076
554881ef
UD
41077 [BZ #13068]
41078 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41079
693fb948
LD
410802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41081
41082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41083 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41084 strrchr-sse2-bsf
41085 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41086 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41087 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41089 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41090 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41091
1b48c537
UD
410922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41093
49d42c37
UD
41094 * sysdeps/x86_64/wcscmp.S: New file.
41095
1b48c537
UD
41096 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41097 wcscmp-c wcscmp-sse2
41098 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41099 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41100 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41101 * wcsmbs/wcscmp.c: Allow renaming.
41102
15c95c5d
DM
411032011-09-05 David S. Miller <davem@davemloft.net>
41104
41105 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41106 stack slot, rather than the struct return pointer slot.
41107 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41108 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41110 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41111
2f0ad8f3
UD
411122011-09-05 Ulrich Drepper <drepper@gmail.com>
41113
d88ae418
UD
41114 * po/ja.po: Update from translation team.
41115
2f0ad8f3
UD
41116 [BZ #13144]
41117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41118 kernel in 64-bit binaries.
41119
5f4318d1
DM
411202011-09-01 David S. Miller <davem@davemloft.net>
41121
41122 * elf/elf.h (HWCAP_SPARC_*): Move to..
41123 * sysdeps/sparc/sysdep.h: this new file and add new values.
41124 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41125 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41126 _DL_HWCAP_COUNT to 24.
41127 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41128 entries.
41129 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41130 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41131 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41133 instead of magic constants.
41134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41135
3ba57516
DM
411362011-08-31 David S. Miller <davem@davemloft.net>
41137
41138 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41140 Reimplement to do errno handling inline.
41141 (SYSCALL_ERROR_HANDLER): New macro.
41142 (__SYSCALL_STRING): Do not do errno handling in asm.
41143 (__CLONE_SYSCALL_STRING): Delete.
41144 (__INTERNAL_SYSCALL_STRING): Delete.
41145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41146 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41147 (PSEUDO): Reimplement to do errno handling inline.
41148 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41149 (SYSCALL_ERROR_HANDLER): New macro.
41150 (__SYSCALL_STRING): Do not do errno handling in asm.
41151 (__CLONE_SYSCALL_STRING): Delete.
41152 (__INTERNAL_SYSCALL_STRING): Delete.
41153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41154 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41155 i386.
41156 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41157 (inline_syscall*): Add 'err' argument.
41158 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41159 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41160 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41161 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41162
41163 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41164 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41165
2bc17433
AS
411662011-08-30 Andreas Schwab <schwab@redhat.com>
41167
41168 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41169
fbeb5f4d
JO
411702011-08-29 Jiri Olsa <jolsa@redhat.com>
41171
41172 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41173 directive.
41174
ad69cc26
DM
411752011-08-24 David S. Miller <davem@davemloft.net>
41176
41177 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41178
39dd69df
AS
411792011-08-24 Andreas Schwab <schwab@redhat.com>
41180
41181 * elf/Makefile: Add rules to build and run unload8 test.
41182 * elf/unload8.c: New file.
41183 * elf/unload8mod1.c: New file.
41184 * elf/unload8mod1x.c: New file.
41185 * elf/unload8mod2.c: New file.
41186 * elf/unload8mod3.c: New file.
41187
41188 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41189 it wasn't used.
41190
2c0b250a
DM
411912011-08-23 David S. Miller <davem@davemloft.net>
41192
41193 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41194 subtract stack bias.
41195 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41196 %sp not %fp in calculations.
41197 (_JMPBUF_UNWINDS_ADJ): Likewise.
41198
22044b48
DM
41199 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41200 (aio_suspend): Call it to force an exception region around the
41201 AIO_MISC_WAIT() invocation.
41202
2cae4995
AS
412032011-08-23 Andreas Schwab <schwab@redhat.com>
41204
41205 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41206 backslash.
41207
873a772e
AJ
412082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41209
41210 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41211 protection macro.
41212 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41213 and <dl-machine.h>.
41214 (Elf64_FuncDesc): Remove.
41215
25ad0df1
DM
412162011-08-22 David S. Miller <davem@davemloft.net>
41217
41218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41219 sigaltstack check, add missing cfi directives.
41220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41221 missing cfi directives, and sigaltstack handling.
41222
e888bcbe
AS
412232011-08-16 Andreas Schwab <schwab@redhat.com>
41224
41225 [BZ #11724]
41226 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41227 object is seen twice.
41228 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41229
41230 * elf/Makefile (distribute): Add tst-initorder2.c.
41231 (tests): Add tst-initorder2.
41232 (modules-names): Add tst-initorder2a tst-initorder2b
41233 tst-initorder2c tst-initorder2d. Add rules to build them.
41234 ($(objpfx)tst-initorder2.out): New rule.
41235 * elf/tst-initorder2.c: New file.
41236 * elf/tst-initorder2.exp: New file.
41237
87162f46
AS
412382011-08-22 Andreas Schwab <schwab@redhat.com>
41239
70538b7f
AS
41240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41241
f55ffe58
AS
41242 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41243 dependencies back to end of function.
41244
87162f46
AS
41245 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41246 $(elfobjdir)/ld.so.
41247
91b392a4
UD
412482011-08-21 Ulrich Drepper <drepper@gmail.com>
41249
41250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41251 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41253 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41254 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41255 of __vdso_gettimeofday.
41256 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41257 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41258 attribute_hidden.
41259 (_libc_vdso_platform_setup): Remove initialization of
41260 __vdso_gettimeofday and __vdso_time.
41261
5c43483f
UD
412622011-08-20 Ulrich Drepper <drepper@gmail.com>
41263
775a77e7
UD
41264 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41265 and fgetc_unlocked.
41266 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41267 getc_unlocked.
89f447ed 41268
49c74ba9
UD
41269 * elf/dl-open.c (add_to_global): Report additions to the global scope
41270 for LD_DEBUG=scopes.
41271 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41272 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41273
5c43483f
UD
41274 [BZ #13114]
41275 * stdio-common/Makefile (tests): Add bug24.
41276 * stdio-common/bug24.c: New file.
41277
a101b025
AJ
412782011-08-19 Andreas Jaeger <aj@suse.de>
41279
41280 [BZ #13114]
41281 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41282 non-existant file when using close-on-exec mode.
41283
c88f1766
UD
412842011-08-20 Ulrich Drepper <drepper@gmail.com>
41285
0276a718
UD
41286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41287 the very first instruction.
41288
c88f1766
UD
41289 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41290 the CFI state in the end.
41291 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41292 inclusion of dl-trampoline.h.
41293 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41294
51ccffa0
AS
412952011-08-19 Andreas Schwab <schwab@redhat.com>
41296
94d7165f
AS
41297 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41298 expectations for long double.
41299
51ccffa0
AS
41300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41301 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41302
fd708658 413032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41304
41305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41306 artificual limit depends upon the system page size.
41307
44f0a71e
UD
413082011-08-17 Ulrich Drepper <drepper@gmail.com>
41309
41310 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41311 * resolv/Makefile: Define CFLAGS-libresolv.
41312
8de79a24
AS
413132011-08-17 Andreas Schwab <schwab@redhat.com>
41314
41315 * nss/makedb.c (compute_tables): Make variables used in nested
41316 function static.
41317
27724598
UD
413182011-08-17 Ulrich Drepper <drepper@gmail.com>
41319
c5305d88
UD
41320 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41321 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41322 if buffer was too small.
41323
27724598
UD
41324 * elf/pldd.c (main): Attach to all threads in the process.
41325 Rewrite /proc handling to use *at functions.
41326
076fe015
UD
413272011-08-16 Ulrich Drepper <drepper@gmail.com>
41328
174baab3
UD
41329 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41330 specifies first scope to show.
41331 (dl_open_worker): Update callers. Move printing scope of new
41332 object to before the relocation.
44f0a71e 41333 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41334 * sysdeps/generic/ldsodefs.h: Update declaration.
41335
076fe015
UD
41336 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41337 string for the scope number.
41338
a60df2c3
UD
413392011-08-14 Ulrich Drepper <drepper@gmail.com>
41340
41341 * nscd/servicescache.c (cache_addserv): Make sure written is always
41342 initialized.
41343
5e4287d1
RM
413442011-08-14 Roland McGrath <roland@hack.frob.com>
41345
85ae0589
RM
41346 * sysdeps/i386/i486/bits/atomic.h
41347 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41348 statement expression, so as to suppress "set but not used" warning.
41349 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41350
69f63097
RM
41351 * string/strncat.c (STRNCAT): Use prototype definition.
41352
675456ef
RM
41353 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41354 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41355 -Iprograms here.
41356 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41357 (localedef-modules): Add localedef.
41358 (locale-modules): Add locale.
41359
5e4287d1
RM
41360 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41361 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41362 to avoid a warning.
41363
9c96ff23
DM
413642011-08-14 David S. Miller <davem@davemloft.net>
41365
41366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41367 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41368
f9ddf089
UD
413692011-08-13 Ulrich Drepper <drepper@gmail.com>
41370
44f0a71e 41371 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41372 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41373 * elf/rtld.c (dl_main): Set l_name of vDSO.
41374 Call _dl_show_scope when DL_DEBUG_SCOPES.
41375 (process_dl_debug): Recognize scopes flag and also set it for all.
41376 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41377 Declare _dl_show_scope.
41378
1dc27704
UD
41379 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41380 (do_dlopen): Pass caller_dlopen to dl_open.
41381 (__libc_dlopen_mode): Initialize caller_dlopen.
41382
f9ddf089
UD
41383 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41384 of libc. Make tolower call locale-independent. Optimize a bit by
41385 using isdigit instead of isalnum.
41386 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41387
9ac533d3
UD
413882011-08-12 Ulrich Drepper <drepper@gmail.com>
41389
41390 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41391 was a dependency or dynamically loaded.
41392
89edf2e9
UD
413932011-08-11 Ulrich Drepper <drepper@gmail.com>
41394
8e999d29
UD
41395 * intl/l10nflist.c: Allow architecture-specific pop function.
41396 * sysdeps/x86_64/l10nflist.c: New file.
41397
89edf2e9
UD
41398 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41399 classification.
41400
14d96785
AS
414012011-08-10 Andreas Schwab <schwab@redhat.com>
41402
41403 * include/dirent.h: Add libc_hidden_proto for scandirat and
41404 scandirat64. Don't declare __scandirat64.
41405 * dirent/scandirat.c: Add libc_hidden_def.
41406 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41407 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41408
6761ac04
DM
414092011-08-10 David S. Miller <davem@davemloft.net>
41410
41411 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41412 enum.
41413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41415 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41416
c55fbd1e
UD
414172011-08-09 Ulrich Drepper <drepper@gmail.com>
41418
41419 * Versions.def [libc]: Add GLIBC_2.15.
41420 * dirent/Makefile (routines): Add scandirat and scandirat64.
41421 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41422 GLIBC_2.15.
41423 * dirent/dirent.h: Declare scandirat and scandirat64.
41424 * dirent/scandirat.c: New file.
41425 * dirent/scandirat64.c: New file.
41426 * sysdeps/wordsize-64/scandirat.c: New file.
41427 * sysdeps/wordsize-64/scandirat64.c: New file.
41428 * dirent/opendir.c: Define opendirat.
41429 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41430 using scandirat.
41431 * dirent/scandir64.c: Adjust for scandir.c change.
41432 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41433 __scandirat64, and __scandir_cancel_handler.
41434 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41435 additional parameter and use openat instead of open (outside of ld.so).
41436 Add new __opendir as wrapper around __opendirat.
41437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41438 here without requiring old scandirat implementation.
41439
879165f2
UD
414402011-08-08 Ulrich Drepper <drepper@gmail.com>
41441
41442 * dirent/scandir.c (cancel_handler): Renamed to
41443 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41444 defined. Adjust users.
41445 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41447
cb7e923b
UD
414482011-08-04 Ulrich Drepper <drepper@gmail.com>
41449
16292edd
UD
41450 * string/test-string.h (IMPL): Use __STRING to expand name and then
41451 stringify it.
41452
cb7e923b
UD
41453 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41454 of cleanups.
41455
cff82933
LD
414562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41457
41458 * string/Makefile: Update.
41459 (strop-tests): Append strncat.
41460 * string/test-wcscmp.c: New file.
41461 New comprehensive test for wcscmp.
41462 * string/test-strcmp.c: Update.
41463 (WIDE): New define.
41464
9be9bfcc
AS
414652011-07-22 Andreas Schwab <schwab@redhat.com>
41466
41467 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41468 line.
41469
2e96f1c7
AS
414702011-07-26 Andreas Schwab <schwab@redhat.com>
41471
41472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41473 encoding to ACE if AI_IDN.
41474
85188888
JJ
414752011-08-01 Jakub Jelinek <jakub@redhat.com>
41476
41477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41478 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41479
5fa16e9b
LD
414802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41481
41482 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41483 Fix overflow bug in strncat.
41484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41485
41486 * string/test-strncat.c: Update.
41487 Add new tests for checking overflow bugs.
41488
414892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41490
41491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41492 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41493 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41494 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41496 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41497 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41498 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41499 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41500
41501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41502 (USE_AS_STRCAT): Define.
41503 Add strcat and strncat support.
41504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41505
8c1a459f
AS
415062011-07-25 Andreas Schwab <schwab@redhat.com>
41507
41508 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41509 __n bigger than INT_MAX+1.
41510 (__strncmp_g): Likewise.
41511
bba33c28
UD
415122011-07-23 Ulrich Drepper <drepper@gmail.com>
41513
798be72d
UD
41514 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41515 * libio/stido.h: Likewise.
41516
8accd4dc
UD
41517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41518 (AF_NFC): Define.
41519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41520 (AF_NFC): Define.
41521
cbff0d96
UD
41522 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41527
9191c04a
UD
41528 [BZ #13021]
41529 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41530 installed.
41531
bba33c28
UD
41532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41533 typo.
41534 (_dl_x86_64_save_sse): Likewise.
41535
90f139dd
UD
415362011-07-22 Ulrich Drepper <drepper@gmail.com>
41537
1aae088a
UD
41538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41539 OSXSAVE.
41540 (_dl_x86_64_save_sse): Likewise.
41541
8e2045f5
UD
41542 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41543
90f139dd
UD
41544 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41545
1d002f25
AS
415462011-07-21 Andreas Schwab <schwab@redhat.com>
41547
41548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41549 change.
41550 (_dl_x86_64_save_sse): Use correct AVX check.
41551
21137f89
UD
415522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41553
41554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41555 bug in strncpy/strncat.
41556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41557
a65c0b7a
UD
415582011-07-21 Ulrich Drepper <drepper@gmail.com>
41559
41560 * string/tester.c (test_strcat): Add tests for different alignments
41561 of source and destination.
41562 (test_strncat): Likewise.
41563
6986b98a
UD
415642011-07-20 Ulrich Drepper <drepper@gmail.com>
41565
90bb2039
UD
41566 [BZ #12852]
41567 * posix/glob.c (glob): Check passed in values before using them in
41568 expressions to avoid some overflows.
41569 (glob_in_dir): Likewise.
41570
5644ef54
UD
41571 [BZ #13007]
41572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41573 check for AVX enablement so that we don't crash with old kernels and
41574 new hardware.
41575 * elf/tst-audit4.c: Add same checks here.
41576 * elf/tst-audit6.c: Likewise.
41577
41578 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41579
bfc9dc9b
AS
415802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41581
41582 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41583
702e64bb
UD
415842011-07-20 Ulrich Drepper <drepper@gmail.com>
41585
41586 * po/cs.po: Update from translation team.
41587 * po/bg.po: Likewise.
41588
295e904f
MP
415892011-07-12 Marek Polacek <mpolacek@redhat.com>
41590
41591 * misc/sys/cdefs.h: Add support for const attribute.
41592 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41593 to gnu_dev_{major,minor,makedev} functions.
41594
3ff94596
MP
415952011-07-20 Marek Polacek <mpolacek@redhat.com>
41596
41597 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41598
28b59fca
AS
415992011-07-20 Andreas Schwab <schwab@redhat.com>
41600
41601 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41602 strlen results.
41603
19df733e
AK
416042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41605
41606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41607 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41608 register in order to avoid conflicts with the soft frame pointer
41609 being held in r11 when necessary.
41610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41611 (INTERNAL_VSYSCALL_NCS): Likewise.
41612
c8835729
MP
416132011-07-14 Marek Polacek <mpolacek@redhat.com>
41614
41615 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41616 * elf/dl-fini.c (_dl_fini): Adjust caller.
41617 * elf/dl-close.c (_dl_close_worker): Likewise.
41618 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41619
b902330c
MP
416202011-07-15 Marek Polacek <mpolacek@redhat.com>
41621
8991e135
MP
41622 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41623 "aux_cache->nlibs < 0".
41624
b902330c
MP
41625 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41626 in the reload-count case.
41627
99710781
LD
416282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41629
41630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41631 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41632 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41633 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41634 * sysdeps/x86_64/multiarch/strcat.S: New file.
41635 * sysdeps/x86_64/multiarch/strncat.S: New file.
41636 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41638 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41639 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41641 (USE_AS_STRCAT): Define.
41642 Add strcat and strncat support.
41643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41645 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41646 * string/strncat.c: Update.
41647 (USE_AS_STRNCAT): Define.
41648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41649 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41650 and i7.
41651 * sysdeps/x86_64/multiarch/init-arch.h
41652 (bit_Prefer_PMINUB_for_stringop): New.
41653 (index_Prefer_PMINUB_for_stringop): Likewise.
41654 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41655 bit_Prefer_PMINUB_for_stringop.
41656
7dc6bd90
UD
416572011-07-19 Ulrich Drepper <drepper@gmail.com>
41658
41659 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41660 buffer64.
41661 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41662 of casting of buffer.
41663 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41664 buffer32 and buffer64.
41665 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41666 writes instead of casting of buffer.
41667 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41668 buffer32.
41669 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41670 casting of buffer.
41671
e0e72284
AS
416722011-07-19 Andreas Schwab <schwab@redhat.com>
41673
41674 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41675
feb1eb0b
UD
416762011-07-19 Ulrich Drepper <drepper@gmail.com>
41677
41678 * nscd/nscd.c (termination_handler): Don't do anything for a database
41679 if it has not yet been initialized.
41680
298711ff
UD
416812011-07-18 Ulrich Drepper <drepper@gmail.com>
41682
41683 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41684
416852011-07-15 Marek Polacek <mpolacek@redhat.com>
41686
41687 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41688
f9d68389
UD
416892011-07-18 Ulrich Drepper <drepper@gmail.com>
41690
41691 * po/nl.po: Update from translation team.
41692 * po/sv.po: Likewise.
41693
db290cf5
RM
416942011-07-16 Roland McGrath <roland@hack.frob.com>
41695
41696 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41697 now disallowed by GCC.
5c550700 41698
fd5e21c7
RM
41699 * configure.in (use-default-link): Default to yes if a test -shared
41700 link meets our qualifications.
41701 * configure: Regenerated.
41702
5c550700
RM
41703 * config.make.in (output-format): New variable.
41704 * configure.in: Check for ld --print-output-format support.
41705 * configure: Regenerated.
41706 * Makerules ($(common-objpfx)format.lds)
41707 [$(output-format) != unknown]: Just use $(output-format),
41708 instead of the linker-script munging.
41709
9fa2c032
RM
417102011-07-14 Roland McGrath <roland@hack.frob.com>
41711
a6928d51
RM
41712 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41713 of $(common-objpfx)shlib.lds.
41714 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41715
661607b3
RM
41716 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41717 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41718
9fa2c032
RM
41719 * configure.in (-z relro check): Adjust test code to add a large
41720 writable data section after it.
41721 * configure: Regenerated.
41722
defe9061
RM
417232011-07-11 Roland McGrath <roland@hack.frob.com>
41724
41725 * configure.in (-z relro check): Fix test code to make the variable
41726 truly const.
41727 * configure: Regenerated.
41728
319b9ad4
UD
417292011-07-11 Ulrich Drepper <drepper@gmail.com>
41730
41731 * nscd/nscd.h (struct traced_file): Define.
41732 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41733 elements. Add traced_files.
41734 (inotify_fd): Declare.
41735 (register_traced_file): Declare.
41736 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41737 (inotify_fd): Export.
41738 (resolv_conf_descr): Remove.
41739 (nscd_init): Move inotify descriptor creation to main.
41740 Don't register files for notification here.
41741 (register_traced_file): New function.
41742 (invalidate_cache): Don't use reset_res to determine whether to call
41743 res_init, go through the list of registered files.
41744 (main_loop_poll): The inotify descriptors are now stored in the
41745 structures for the traced files.
41746 (main_loop_epoll): Likewise
41747 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41748 to __nss_disable_nscd.
41749 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41750 for a database anymore. Check the records for all the registered
41751 files instead.
41752 * nss/Makefile (libnss_files-routines): Add files-init.
41753 (libnss_db-routines): Add db-init.
41754 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41755 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41756 * nss/nss_db/db-init.c: New file.
41757 * nss/nss_files/files-init.c: New file.
41758 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41759 __nss_lookup_function.
41760 (__nss_lookup_function): Call nss_load_library.
41761 (nss_load_all_libraries): New function.
41762 (__nss_disable_nscd): Take parameter with callback function for files
41763 to register. Set is_nscd. Load all the DSOs for the NSS modules
41764 used for the cached services.
41765 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41766 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41767 options for features to all the files in nscd.
41768
41769 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41770
23bee3e8
RM
417712011-07-10 Roland McGrath <roland@hack.frob.com>
41772
41773 * csu/elf-init.c (__libc_csu_init): Comment typo.
41774
46a5b7f0
UD
417752011-07-09 Ulrich Drepper <drepper@gmail.com>
41776
41777 * po/pl.po: Update from translation team.
41778 * po/ja.po: Likewise.
41779 * po/ru.po: Likewise.
41780 * po/ko.po: Likewise.
41781 * po/fr.po: Likewise.
41782
d30cf5bb
RM
417832011-07-09 Roland McGrath <roland@hack.frob.com>
41784
113ddea4
RM
41785 * configure.in (.ctors/.dtors header and trailer check):
41786 Use an empirical test on a built program.
41787 * configure: Regenerated.
41788
574920b4
RM
41789 * configure.in (-z relro check): Use an empirical test on a built DSO.
41790 Detect, but do not require, on ia64.
41791 * configure: Regenerated.
41792
d30cf5bb
RM
41793 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41794 Update tests that use readelf to use $READELF instead.
41795 * configure: Regenerated.
41796
8538fdb3
UD
417972011-07-08 Ulrich Drepper <drepper@gmail.com>
41798
41799 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41800 if the result is not used.
41801
04d08991
AJ
418022011-07-05 Andreas Jaeger <aj@suse.de>
41803
41804 [BZ#9696]
41805 * stdlib/tst-strtod.c: Add testcase.
41806
de283087
AD
418072011-07-07 Ulrich Drepper <drepper@gmail.com>
41808
4e5f31c8 41809 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41810 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41811 The latter has a higher limit. Take additional parameter to pass to
41812 the new function.
41813 (__pathconf): Pass file to __statfs_link_max.
41814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41815 __statfs_link_max.
41816 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41817 __statfs_link_max.
41818
de283087
AD
41819 [BZ #12868]
41820 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41822 Handle Lustre.
41823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41824 (__statfs_filesize_max): Likewise.
41825 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41826
c75fa153
AJ
418272011-07-05 Andreas Jaeger <aj@suse.de>
41828
41829 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41830
1a544854
UD
418312011-07-06 Marek Polacek <mpolacek@redhat.com>
41832
41833 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41834 `status' variable.
41835 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41836 Likewise.
41837
6f0eec67
UD
418382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41839
41840 * Makefile (strop-tests): Add strncat.
41841 * string/test-strncat.c: New file.
41842
aae30307
UD
418432011-06-30 Marek Polacek <mpolacek@redhat.com>
41844
41845 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41846
c0cfb5eb
UD
418472011-06-21 Andreas Jaeger <aj@suse.de>
41848
41849 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41850 Copy rule from iconvdata/Makefile.
41851
01636b21
UD
418522011-07-06 Ulrich Drepper <drepper@gmail.com>
41853
41854 [BZ #12922]
41855 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41856 but no long options are defined, just return 'W'.
41857
9895c8bc
UD
418582011-06-22 Marek Polacek <mpolacek@redhat.com>
41859
41860 [BZ #9696]
41861 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41862
5d4cf042
UD
418632011-07-06 Ulrich Drepper <drepper@gmail.com>
41864
41865 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41866 netgroups to read.
960e5535 41867 (innetgr): Likewise.
5d4cf042 41868
751eb97e
RM
418692011-07-05 Roland McGrath <roland@hack.frob.com>
41870
41871 * config.make.in (install_root): Default to $(DESTDIR).
41872
f15f1e45
UD
418732011-07-05 Ulrich Drepper <drepper@gmail.com>
41874
41875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41876
4e34ac6a
RM
418772011-07-02 Roland McGrath <roland@hack.frob.com>
41878
5e9b6af4
RM
41879 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41880
84f9ea0f
RM
41881 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41882 containing directory rather than embedding absolute directory names.
41883
ea5ee9f7
RM
41884 * scripts/check-local-headers.sh: Rewritten using awk.
41885 Match by word, not by line. Print error messages for matches.
41886 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41887
1b74661a
RM
41888 * Makerules [shlib-lds-flags empty]:
41889 ($(common-objpfx)libc_pic.opts): New target.
41890 ($(common-objpfx)libc_pic.os.clean): New target.
41891 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41892
41893 * config.make.in (OBJCOPY): New variable.
41894 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41895 * configure: Regenerated.
41896
f781ef40
RM
41897 * config.make.in (use-default-link): New variable.
41898 * configure.in (use_default_link): Grok --with-default-link to set it.
41899 * configure: Regenerated.
41900 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41901 (shlib-lds, shlib-lds-flags): Define to empty.
41902
2d4fa81e
RM
41903 * Makerules (shlib-lds): New variable.
41904 (shlib-lds-flags): New variable.
41905 (build-shlib, build-moduile, build-module-asneeded): Use it.
41906 ($(common-objpfx)libc.so): Use $(shlib-lds).
41907 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41908 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41909
31fffa6b
RM
41910 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41911 DT_FLAGS/DT_FLAGS_1 with zero flags.
41912
4e34ac6a
RM
41913 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41914 linker script munging.
41915
fcfc776b
UD
419162011-07-02 Ulrich Drepper <drepper@gmail.com>
41917
41918 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41919 as 128-bit value.
41920 * crypt/sha512.c (sha512_process_block): Perform total addition using
41921 128-bit if possible.
41922 (__sha512_finish_ctx): Likewise.
41923 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41924 as 64-bit value.
41925 * crypt/sha256.c (SWAP64): Define.
41926 (sha256_process_block): Perform total addition using 64-bit if
41927 possible.
41928 (__sha256_finish_ctx): Likewise.
41929
99231d9a
UD
419302011-07-01 Ulrich Drepper <drepper@gmail.com>
41931
41932 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41934 * nscd/hstcache.c (cache_addhst): Likewise.
41935 * nscd/grpcache.c (cache_addgr): Likewise.
41936 * nscd/aicache.c (addhstaiX): Likewise
41937 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41938
445b4a53
TK
419392011-07-01 Thorsten Kukuk <kukuk@suse.de>
41940
41941 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41943 * nscd/hstcache.c (cache_addhst): Likewise.
41944 * nscd/grpcache.c (cache_addgr): Likewise.
41945 * nscd/aicache.c (addhstaiX): Likewise
41946
6d4d8e8e
AS
419472011-07-01 Andreas Schwab <schwab@redhat.com>
41948
41949 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41950 domain only when needed.
41951
89f654c5
AS
419522011-06-30 Andreas Schwab <schwab@redhat.com>
41953
41954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41955 is always restored.
41956
cf3b23ff
UD
419572011-06-29 Ulrich Drepper <drepper@gmail.com>
41958
41959 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41960 are re-adding the entry.
41961 * nscd/servicescache.c (cache_addserv): Likewise.
41962
751626f9
AJ
419632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41964
41965 * sysdeps/generic/dl-irel.h: fix protection against multiple
41966 inclusions.
41967 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41968
9113ea1f
UD
419692011-06-28 Ulrich Drepper <drepper@gmail.com>
41970
5c0b8d90
UD
41971 [BZ #12935]
41972 * malloc/memusage.sh: Fix quoting in message.
41973 * debug/xtrace.sh: Likewise.
41974
9113ea1f
UD
41975 * configure.in: Remove support for --experimental-malloc option, make
41976 it the default.
41977 * config.make.in: Likewise.
41978 * malloc/Makefile: Likewise.
41979
a4172181
AS
419802011-06-27 Andreas Schwab <schwab@redhat.com>
41981
41982 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41983 two-byte characters.
41984
78a7eee7
RM
419852011-06-27 Roland McGrath <roland@hack.frob.com>
41986
62bede13
RM
41987 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41988 AC_CACHE_CHECK invocation.
41989 * configure: Regenerated.
41990
78a7eee7
RM
41991 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41992
5ce33a62
UD
419932011-06-27 Ulrich Drepper <drepper@gmail.com>
41994
034807a9
UD
41995 [BZ #12350]
41996 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41997 bit from old_res_options.
41998
4902da17
UD
41999 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42000
5ce33a62
UD
42001 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42002 value type for setfct.
42003
c2344f56
L
420042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42005
42006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42007 __gettimeofday instead of gettimeofday.
42008
68468076
UD
420092011-06-26 Ulrich Drepper <drepper@gmail.com>
42010
42011 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42012
acb0d739
L
420132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42014
42015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42016
42017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42018 info.
42019
8912479f
L
420202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42021
42022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42023 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42024 strcpy-sse2-unaligned strncpy-sse2-unaligned
42025 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42026 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42027 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42028 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42029 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42032 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42033 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42034 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42035 (STRCPY): Support SSE2 and SSSE3 versions.
42036
d5495a11
UD
420372011-06-24 Ulrich Drepper <drepper@gmail.com>
42038
42039 [BZ #12874]
42040 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42041 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42042 kernels which artificially limit size of requests.
42043
0b1cbaae
L
420442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42045
42046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42047 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42048 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42049 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42050 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42051 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42052 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42053 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42056 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42057 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42058 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42059 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42060 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42062 Enable unaligned load optimization for Intel Core i3, i5 and i7
42063 processors.
42064 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42065 Define.
42066 (index_Fast_Unaligned_Load): Define.
42067 (HAS_FAST_UNALIGNED_LOAD): Define.
42068
07f494a0
MP
420692011-06-23 Marek Polacek <mpolacek@redhat.com>
42070
42071 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42072
fa3fc0fe
UD
420732011-06-22 Ulrich Drepper <drepper@gmail.com>
42074
42075 [BZ #12907]
42076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42077 until it is clear that the information is realy needed.
42078 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42079
e12df166
AS
420802011-06-22 Andreas Schwab <schwab@redhat.com>
42081
42082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42083
852eb34d
UD
420842011-06-22 Ulrich Drepper <drepper@gmail.com>
42085
84e2a551
UD
42086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42087 /sys/devices/system/cpu/online if it is usable.
42088
852eb34d
UD
42089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42090 reading the information from the /proc filesystem to once a second.
42091
6e502e19
UD
420922011-06-21 Andreas Jaeger <aj@suse.de>
42093
42094 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42095 NULL after inclusion of kernel headers.
42096
75d39ff2
UD
420972011-06-21 Ulrich Drepper <drepper@gmail.com>
42098
51f9aa6a
UD
42099 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42100 calls to internal_setent.
42101
c0244a9d
UD
42102 [BZ #12885]
42103 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42104 addresses using gethostbyname4_r ignore IPv4 addresses.
42105
c5e3c2ae
UD
42106 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42107 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42108
75d39ff2
UD
42109 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42110
42675c6f
DM
421112011-06-20 David S. Miller <davem@davemloft.net>
42112
42113 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42114 inclusions.
42115 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42116
42117 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42118 (elf_irel): Use it.
42119 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42120 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42121 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42122 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42123 * sysdeps/x86_64/dl-irel.h: Likewise.
42124
42125 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42126 * elf/dl-sym.c: Likewise.
42127
57912a71
UD
421282011-06-15 Ulrich Drepper <drepper@gmail.com>
42129
42130 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42131 need to dereference resplen2.
42132
ee22793d
AS
421332011-06-14 Andreas Schwab <schwab@redhat.com>
42134
42135 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42136
a9e836b0
UD
421372011-06-15 Ulrich Drepper <drepper@gmail.com>
42138
77fb9117
UD
42139 * Makeconfig: Define vardbdir and inst_vardbdir.
42140 * nss/Makefile: Add rules to install db-Makefile.
42141
40c1b22c
UD
42142 * nss/nss_db/db-XXX.c: Cleanup.
42143
9f2da732
UD
42144 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42145 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42146 GLIBC_PRIVATE.
42147 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42148 * nss/makedb.c: Implement -g option to specify that value strings
42149 are generated and should not be added to table iterated over for
42150 get*ent calls.
42151 * nss/nss_db/db-initgroups.c: New file.
42152
82e9a1f7
UD
42153 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42154 interface.
42155
c41af17e
UD
42156 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42157 (internal_getgrouplist): Adjust to name change.
42158 Update use_initgroups_entry if this is not the first call.
42159 * nss/databases.def: Add initgroups entry.
42160
a9e836b0
UD
42161 * nss/makedb.c (compute_tables): Check result of multiple hash table
42162 sizes to minimize maximum chain length.
42163
2666d441
UD
421642011-06-14 Ulrich Drepper <drepper@gmail.com>
42165
42166 * Versions.def: Add entry for libnss_db.
42167 * shlib-versions: Likewise.
42168 * nss/Makefile: Add rules to build libnss_db.
42169 * nss/Versions: Add libnss_db information. Organize libnss_files
42170 entries better.
42171 * nss/db-Makefile: Add gshadow support. Change rules for the new
42172 makedb progra. Some minor improvements to generate smaller files.
42173 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42174 here from...
42175 * nss/makedb.c: ...here.
42176 Improve database format to be smaller and require less memory at
42177 runtime.
42178 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42179 db anymore.
42180 * nss/nss_db/db-netgrp.c: Likewise.
42181 * nss/nss_db/db-open.c: Likewise.
42182 * nss/nss_files/flies-XXX.x: Adjust comments.
42183 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42184 * nss/nss_files/files-grp.c: Likewise.
42185 * nss/nss_files/files-hosts.c: Likewise.
42186 * nss/nss_files/files-network.c: Likewise.
42187 * nss/nss_files/files-proto.c: Likewise.
42188 * nss/nss_files/files-pwd.c: Likewise.
42189 * nss/nss_files/files-rpc.c: Likewise.
42190 * nss/nss_files/files-service.c: Likewise.
42191 * nss/nss_files/files-sgrp.c: Likewise.
42192 * nss/nss_files/files-spwd.c: Likewise.
42193 * nss/nss_db/db-alias.c: Removed.
42194 * nss/nss_db/dummy-db.h: Removed.
42195
9ee76b5a
UD
421962011-06-02 Ulrich Drepper <drepper@gmail.com>
42197
42198 * nss/makedb.c: Rewritten to not use database library.
42199 * nss/Makefile: Update to build new makedb program.
42200
c71ca1f8
AJ
422012011-06-14 Andreas Jaeger <aj@suse.de>
42202
42203 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42204 memset declaration.
42205
3154bfb8
UD
422062011-06-10 Andreas Schwab <schwab@redhat.com>
42207
42208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42209 tmpbuf.
42210
b350afab
RM
422112011-06-10 Roland McGrath <roland@hack.frob.com>
42212
decd4e50
RM
42213 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42214 * elf/Makefile ($(objpfx)ld.so): Likewise.
42215
5615eaf2
RM
42216 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42217 Don't list ld.so twice in dependencies.
42218
42219 * posix/bug-regex31.c: Include <stdlib.h>.
42220
42221 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42222
42223 * nis/nss_compat/compat-spwd.c
42224 (getspent_next_nss_netgr): Remove unused variable.
42225 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42226
42227 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42228 nonmembers" output to use the right array.
42229
42230 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42231
42232 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42233
42234 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42235 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42236 * catgets/gencat.c (read_input_file): Likewise.
42237 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42238
42239 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42240 variable definition inside #if's controlling its use.
42241
42242 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42243
42244 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42245
42246 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42247
42248 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42249 unreachable code.
42250
42251 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42252
b68e08db
RM
42253 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42254 * configure: Regenerated.
42255
b350afab
RM
42256 * Makerules: Revert last change.
42257 * elf/Makefile: Likewise.
42258
28368601
RM
422592011-06-09 Roland McGrath <roland@hack.frob.com>
42260
42261 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42262 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42263 (reloc-link): Likewise.
42264
11988f8f
UD
422652011-06-09 Ulrich Drepper <drepper@gmail.com>
42266
42267 * elf/Makefile: Add rules to build pldd.
42268 * elf/pldd.c: New file.
42269 * elf/pldd-xx.c: New file.
42270
e80fab37
UD
422712011-06-07 Ulrich Drepper <drepper@gmail.com>
42272
42273 * version.h: Update for 2.15 development version.
42274
9b849836
DM
422752011-06-07 David S. Miller <davem@davemloft.net>
42276
42277 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42278 ifuncs.
42279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42280 elf_machine_lazy_rel): Likewise.
42281 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42283 elf_machine_lazy_rel): Likewise.
42284 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42285 dl_hwcap via passed in argument.
42286 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42287 Likewise.
42288
5a31b283
AK
422892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42290
42291 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42292
069e52f8
RM
422932011-06-06 Roland McGrath <roland@hack.frob.com>
42294
42295 [BZ #12849]
42296 * manual/fdl-1.1.texi: New file, verbatim from:
42297 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42298 * manual/lgpl-2.1.texi: New file, verbatim from:
42299 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42300 * manual/Makefile (licenses): New variable, list those new file names.
42301 (texis): Use it.
42302 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42303
42304 * manual/fdl.texi: File removed.
42305 * manual/lesser.texi: File removed.
42306 * manual/libc.texinfo (Copying, Documentation License):
42307 Use new @include file names, put @appendix directive before @include.
42308
f16846a5
JJ
423092011-06-04 Jakub Jelinek <jakub@redhat.com>
42310
42311 [BZ #12841]
42312 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42313 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42314 (mq_open): Add __NTH.
42315
3d29045b
L
423162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42317
42318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42319 Assume Intel Core i3/i5/i7 processor if AVX is available.
42320
8c297311
UD
423212011-05-31 Ulrich Drepper <drepper@gmail.com>
42322
42323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42324 typo.
42325
c8fc0c91
UD
423262011-05-31 Andreas Schwab <schwab@redhat.com>
42327
42328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42329 memory. Use alloca_account. Fix memory leak when retrying.
42330
5b27a807
UD
423312011-05-31 Ulrich Drepper <drepper@gmail.com>
42332
356f8bc6
UD
42333 * version.h (RELEASE): Bump for 2.14 release.
42334 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42335
5b27a807
UD
42336 * config.make.in (RANLIB): Remove entry.
42337
01f16ab0
UD
423382011-05-30 Ulrich Drepper <drepper@gmail.com>
42339
41fce8bd
UD
42340 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42341 (libc.pot): Work around missing support for .ksh extension in xgettext.
42342
4769ae77
UD
42343 [BZ #12684]
42344 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42345 if both request failed.
42346 (send_dg): In case of server errors clear resplen or *resplen2.
42347
6b1e7d19
UD
42348 [BZ #12454]
42349 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42350 when there are multiple maps.
42351 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42352 (_dl_fini): Remove test here.
42353
01f16ab0
UD
42354 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42355
b1ebd700
UD
423562011-05-29 Ulrich Drepper <drepper@gmail.com>
42357
7ae22829
UD
42358 [BZ #12350]
42359 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42360 bit from old_res_options.
42361 (gaih_inet): Likewise.
42362
553149f6 42363 [BZ #11099]
18a84741 42364 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42365 as signed.
42366
652ffab1
UD
42367 * resolv/res_init.c (res_setoptions): Make the code more compact.
42368
16985fd0
UD
42369 [BZ #11558]
42370 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42371 set RES_USEVC.
42372
0464f746
UD
42373 [BZ #11634]
42374 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42375
7d17596c
UD
42376 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42377
cf6bbbd7
UD
42378 [BZ #11781]
42379 * malloc/malloc.h: Declare malloc hook variables as volatile.
42380
13f1ab36
UD
42381 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42382 in last patch.
42383
b1ebd700
UD
42384 [BZ #11799]
42385 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42386 raise in the comment.
80e2212d
UD
42387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42389 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42390
ce67228d
UD
423912011-05-28 Ulrich Drepper <drepper@gmail.com>
42392
8887a920
UD
42393 [BZ #12811]
42394 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42395 grow the buffers more if it already has to be sufficient.
42396 (build_wcs_upper_buffer): Likewise.
42397 * posix/regexec.c (check_matching): Likewise.
42398 (clean_state_log_if_needed): Likewise.
42399 (extend_buffers): Don't enlarge buffers beyond size of the input
42400 buffer.
42401 Patches mostly by Emil Wojak <emil@wojak.eu>.
42402 * posix/bug-regex32.c: New file.
42403 * posix/Makefile (tests): Add bug-regex32.
42404
4f031072
UD
42405 * locale/findlocale.c (_nl_find_locale): Return right away if
42406 _nl_explode_name failed.
42407 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42408
d0478f0c
UD
42409 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42410
de81b246
UD
42411 * debug/xtrace.sh: Unify messages.
42412 * malloc/memusage.sh: Likewise.
42413
c738465a
UD
42414 [BZ #12813]
42415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42416 time symbol from vDSO. Substitute with vsyscall if not available.
42417 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42418 __vdso_time.
42419
f1f929d7
UD
42420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42421 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42423 Add sendmmsg and internal_sendmmsg.
42424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42425 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42427
ce67228d
UD
42428 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42429 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42431
e57420c6
UD
424322011-05-27 Ulrich Drepper <drepper@gmail.com>
42433
a8509ca5
UD
42434 [BZ #12813]
42435 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42436 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42437 available.
42438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42439 __vdso_getcpu.
42440
e57420c6
UD
42441 [BZ #12814]
42442 * iconvdata/Makefile (tests): Add bug-iconv9.
42443 * iconvdata/bug-iconv9.c: New file.
42444
4d07db15
AS
424452011-05-27 Andreas Schwab <schwab@redhat.com>
42446
42447 [BZ #12814]
42448 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42449
ea486f69
JJ
424502011-05-25 Jakub Jelinek <jakub@redhat.com>
42451
42452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42453 (struct user_regs_struct): Change intcs field back to cs.
42454
6f038433
UD
424552011-05-25 Ulrich Drepper <drepper@gmail.com>
42456
42457 * po/ja.po: Update from translation team.
42458
67f86a25
UD
424592011-05-23 Ulrich Drepper <drepper@gmail.com>
42460
42461 [BZ #12795]
42462 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42463 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42464
def7fbd6
AS
424652011-05-20 Andreas Schwab <schwab@redhat.com>
42466
42467 * stdlib/longlong.h: Update from GCC.
42468
f50ef8f1
AS
424692011-05-23 Andreas Schwab <schwab@redhat.com>
42470
42471 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42472 parameter name.
42473 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42474 Add parameter name.
42475 (__sysconf): Pass it down.
42476
de7ce8f1
UD
424772011-05-22 Ulrich Drepper <drepper@gmail.com>
42478
f2962a71
UD
42479 [BZ #12671]
42480 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42481 some situations.
42482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42483 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42484 add in in __libc_use_alloca calls. Adjust callers.
42485 (glob): Use malloc in some situations.
42486
de7ce8f1
UD
42487 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42488 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42489 pltexit.
42490
aec84f53
UD
424912011-05-21 Ulrich Drepper <drepper@gmail.com>
42492
05bb4a68
UD
42493 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42494 and CLOCK_BOOTTIME_ALARM.
42495
7ea72f99
UD
42496 [BZ #12782]
42497 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42498 is returned.
42499
7e4afad5
UD
42500 * string/_strerror.c (__strerror_r): Print negative errors as signed
42501 numbers.
42502
8e211fec
UD
42503 [BZ #12777]
42504 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42505 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42506 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42507
f7d82dc9
UD
42508 * configure.in: Fix typo in redirection and correct removal of test
42509 files in two cases.
42510
cc9e536d
UD
42511 [BZ #12788]
42512 * locale/setlocale.c (new_composite_name): Fix test to check for
42513 identical name of all categories.
42514
aec84f53
UD
42515 [BZ #12792]
42516 * libio/filedoalloc.c (local_isatty): New function.
42517 (_IO_file_doallocate): Use local_isatty.
42518 * stdio-common/perror.c (perror): In case a new stream is used
42519 forward the stream error.
42520 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42521 error flag.
42522
78e64fdc
RT
425232011-05-20 Ulrich Drepper <drepper@gmail.com>
42524
34a9094f
UD
42525 [BZ #11869]
42526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42527 alloca.
42528 * include/alloca.h (extend_alloca_account): Define.
42529
78e64fdc
RT
42530 [BZ #11857]
42531 * posix/regex.h: Fix comments with documentation of user-accessible
42532 fields after compilation and describe correct free'ing of pattern
42533 after re_compile_pattern.
42534 Patch by Reuben Thomas <rrt@sc3d.org>.
42535
457bddfc
RA
425362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42537
42538 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42539 and -mno-altivec to prevent the compiler from using Altivec and/or
42540 VSX instructions when the corresponding registers are not available.
42541
a4527b51
AS
425422011-05-19 Andreas Schwab <schwab@redhat.com>
42543
42544 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42545
ed690b2f
UD
425462011-05-19 Ulrich Drepper <drepper@gmail.com>
42547
42548 * libio/freopen.c (freopen): Use __dup2, not dup2.
42549 * libio/freopen64.c (freopen64): Likewise.
42550
8db73634
L
425512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42552
42553 [BZ #12775]
42554 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42555 * math/Makefile (tests): Add test-powl.
42556 (CFLAGS-test-powl.c): Define.
42557 * math/test-powl.c: New file.
42558
0a197a9d
L
425592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42560
42561 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42562
ee30c380
UD
425632011-05-17 Ulrich Drepper <drepper@gmail.com>
42564
42565 [BZ #11837]
42566 * iconvdata/gb18030.c: Update to GB18020-2005.
42567
6ce75379
UD
425682011-05-16 Ulrich Drepper <drepper@gmail.com>
42569
a4b89fd8
AR
42570 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42571 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42572 Patch by Aharon Robbins <arnold@skeeve.com>.
42573
ea389b12
UD
42574 [BZ #11892]
42575 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42576 on the stack.
42577
68a3f91f
UD
42578 [BZ #11895]
42579 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42580 through underflows.
42581
15cc7dd1
UD
42582 [BZ #12766]
42583 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42584 point to strings before performing equality test for error_one_per_line
42585 mode.
42586
f3799213
UD
42587 [BZ #11697]
42588 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42589
d79a9c94
UD
42590 [BZ #11820]
42591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42592 (struct user_fpregs_struct): Avoid __uint*_t types.
42593
56e5eb46
UD
42594 [BZ #6420]
42595 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42596 symbol info. Use it instead of calling _dl_addr locally.
42597 (lock_and_info): New function.
42598 (tr_freehook): Call lock_and_info and pass symbol info as additional
42599 parameter to tr_where.
42600 (tr_mallochook): Likewise.
42601 (tr_reallochook): Likewise.
42602 (tr_memalignhook): Likewise.
42603
6ce75379
UD
42604 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42605 used and couldn't be at all thread-safe.
42606
f8a3b5bf
UD
426072011-05-15 Ulrich Drepper <drepper@gmail.com>
42608
94b7cc37
UD
42609 * libio/freopen.c (freopen): Don't close old file descriptor
42610 before the new one is opened. Instead dup the new file descriptor
42611 to the old one after the new stream is created.
42612 * libio/freopen64.c (freopen64): Likewise.
42613 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42614 * libio/fileops.c (_IO_new_file_close_it): Handle new
42615 _IO_FLAGS2_NOCLOSE flag.
42616 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42617 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42618 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42619 _IO_FLAGS2_NOCLOSE flag.
42620 * include/unistd.h: Add hidden_proto for dup3.
42621 Define __have_dup3.
42622 * io/dup3.c: Define hidden symbol.
42623 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42624
bd25564e
UD
42625 [BZ #7101]
42626 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42627 when an incomplete long option is used.
42628 * posix/tst-getopt_long1.c: New file.
42629 * posix/Makefile (tests): Add tst-getopt_long1.
42630
c84cfef4
UD
42631 [BZ #10138]
42632 * scripts/config.guess: Update from autoconf-2.68.
42633 * scripts/config.sub: Likewise.
42634
3b85df27
UD
42635 [BZ #10157]
42636 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42637 tests into ...
42638 (has_cpuclock): ...this. New function.
42639 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42640 macro here based on has_cpuclock code.
42641
15a856b1
UD
42642 [BZ #10149]
42643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42644 First byte (not low byte) is now always NUL.
42645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42646
05f399e6
UD
42647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42648 Use non-cancelable interfaces.
42649
10a52685 42650 [BZ #9809]
94ecc67d
UD
42651 * locale/iso-639.def: Add entry for Sorani.
42652
f8a3b5bf
UD
42653 [BZ #11901]
42654 * include/stdlib.h: Move include protection to the right place.
42655 Define abort_msg_s. Declare __abort_msg with it.
42656 * stdlib/abort.c (__abort_msg): Adjust type.
42657 * assert/assert.c (__assert_fail_base): New function. Majority
42658 of code from __assert_fail. Allocate memory for __abort_msg with
42659 mmap.
42660 (__assert_fail): Now call __assert_fail_base.
42661 * assert/assert-perr.c: Remove bulk of implementation. Use
42662 __assert_fail_base.
42663 * include/assert.hL Declare __assert_fail_base.
42664 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42665 mmap.
42666 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42667
1af4e298
UD
426682011-05-14 Ulrich Drepper <drepper@gmail.com>
42669
f8a3b5bf 42670 [BZ #11952]
d26dfc60
MG
42671 [BZ #12453]
42672 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42673 until all modules are registered in the DTV.
42674 * elf/Makefile: Add rules to build and run tst-tls19.
42675 * elf/tst-tls19.c: New file.
42676 * elf/tst-tls19mod1.c: New file.
42677 * elf/tst-tls19mod2.c: New file.
42678 * elf/tst-tls19mod3.c: New file.
42679 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42680
2fc54d6f
UD
42681 [BZ #12083]
42682 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42683 correctly.
42684
98d76b46
UD
42685 [BZ #12601]
42686 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42687 two-byte sequence errors.
42688 * iconvdata/Makefile (tests): Add bug-iconv8.
42689 * iconvdata/bug-iconv8.c: New file.
42690
da3c19ef
UD
42691 [BZ #12626]
42692 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42693 buf2 definition.
42694
ca408c15
UD
42695 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42696
d6f67f7d
UD
42697 [BZ #12432]
42698 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42699 (dummy_getcfa): New function.
42700 (init): Get _Unwind_GetCFA address, use dummy if not found.
42701 (backtrace_helper): In recursion check, also check whether CFA changes.
42702 (__backtrace): Completely initialize arg.
42703
1af4e298 42704 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42705 storing incomplete byte sequence in state object. Avoid testing for
42706 guaranteed too small input if we know there is enough data available.
1af4e298 42707
da62f81b
AS
427082011-05-11 Andreas Schwab <schwab@redhat.com>
42709
42710 * Makeconfig (+link-pie): Indent.
42711 * Rules (binaries-pie): Define if $(have-fpie) and
42712 $(build-shared).
42713 (binaries-shared): Also filter out $(binaries-pie).
42714 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42715 * nscd/Makefile (others-pie): Add nscd.
42716 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42717 ($(objpfx)nscd): Remove command override.
42718 * login/Makefile (others-pie): Add pt_chown.
42719 ($(objpfx)pt_chown): Remove command override.
42720 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42721 remove command overrides.
42722
fcabc0f8
UD
427232011-05-13 Ulrich Drepper <drepper@gmail.com>
42724
20030ae6
UD
42725 * libio/tst_putwc.c: Fix error messages.
42726
fcabc0f8
UD
42727 [BZ #12724]
42728 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42729 currently writing and seek to current position when not.
42730 * libio/Makefile (tests): Add bug-fclose1.
42731 * libio/bug-fclose1.c: New file.
42732
320a5dc0
PB
427332011-05-12 Ulrich Drepper <drepper@gmail.com>
42734
42735 [BZ #12511]
42736 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42737 don't set DF_1_NODELETE here.
42738 (do_lookup_x): When entering new entry test for copy relocation
42739 and if necessary set DF_1_NODELETE flag.
42740 * elf/tst-unique4.cc: New file.
42741 * elf/tst-unique4.h: New file.
42742 * elf/tst-unique4lib.cc: New file.
42743 * elf/Makefile: Add rules to build and run tst-unique4.
42744 Patch by Piotr Bury <pbury@goahead.com>.
42745
22836f52
UD
427462011-05-11 Ulrich Drepper <drepper@gmail.com>
42747
f574184a
UD
42748 [BZ #12052]
42749 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42750
e1fb097f
UD
42751 [BZ #12625]
42752 * misc/mntent_r.c (addmntent): Flush the stream after the output
42753
22836f52
UD
42754 [BZ #12393]
42755 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42756 (is_trusted_path_normalize): Skip initial colon. Append slash
42757 to empty buffer. Duplicate is_trusted_path code but allow
42758 constructed patch to be prefix.
42759 (is_dst): Allow $ORIGIN followed by /.
42760 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42761 Correct testing of result of is_trusted_path_normalize
42762 (decompose_rpath): Fix warning.
42763
7b3b0b2a
UD
427642011-05-10 Ulrich Drepper <drepper@gmail.com>
42765
42766 [BZ #11257]
42767 * grp/initgroups.c (internal_getgrouplist): When we found the service
42768 list through the initgroups entry in nsswitch.conf do not always
42769 continue on a successful lookup. Don't always use the
eac80ce2 42770 __nss_group_database value if it is set.
7b3b0b2a
UD
42771 * nss/nsswitch.conf (initgroups): Change action for successful db
42772 lookup to continue for compatibility.
42773
2a81eaa5
UD
427742011-05-09 Ulrich Drepper <drepper@gmail.com>
42775
be97a69e
UD
42776 [BZ #11532]
42777 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42778 and CP774 modules.
42779 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42780 and CP774 modules.
42781 * iconvdata/tst-tables.sh: Likewise.
42782 * iconvdata/cp770.c: New file.
42783 * iconvdata/cp771.c: New file.
42784 * iconvdata/cp772.c: New file.
42785 * iconvdata/cp773.c: New file.
42786 * iconvdata/cp774.c: New file.
42787 * iconvdata/testdata/CP770: New file.
42788 * iconvdata/testdata/CP770..UTF8: New file.
42789 * iconvdata/testdata/CP771: New file.
42790 * iconvdata/testdata/CP771..UTF8: New file.
42791 * iconvdata/testdata/CP772: New file.
42792 * iconvdata/testdata/CP772..UTF8: New file.
42793 * iconvdata/testdata/CP773: New file.
42794 * iconvdata/testdata/CP773..UTF8: New file.
42795 * iconvdata/testdata/CP774: New file.
42796 * iconvdata/testdata/CP774..UTF8: New file.
42797
42798 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42799 END CHARMAP line.
42800 * iconvdata/gen-8bit-gap.sh: Likewise.
42801 * iconvdata/gen-8bit.sh: Likewise.
42802
c1e9e399
UD
42803 * locale/iso-639.def: Add ary entry.
42804
24c55fb3 42805 [BZ #11258]
96b4b1b0
UD
42806 * locale/C-translit.h.in: Add U20A1 transliteration.
42807
bdc2f971
KB
42808 [BZ #12178]
42809 * locale/iso-639.def: Add wae entry.
42810 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42811
2952b117
UD
42812 [BZ #12545]
42813 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42814 for n.
42815
2a81eaa5
UD
42816 [BZ #12711]
42817 * locale/C-translit.h.in: Add entry for U20B9.
42818 Patch by pravin.d.s@gmail.com.
42819
28377d1b
UD
428202011-05-08 Ulrich Drepper <drepper@gmail.com>
42821
7fb90fb8
UD
42822 [BZ #12713]
42823 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42824 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42825 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42826 in rtld. Use *stat64.
7fb90fb8 42827 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42828 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42829 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42830 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42831 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42832 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42833 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42834 __fstatat64 macros.
7fb90fb8
UD
42835 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42836 * dirent/rewinddir.c: Add libc_hidden_def.
42837 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42838 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42839
28377d1b
UD
42840 * include/dirent.h (__alloc_dir): Add flags parameter.
42841 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42842 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42843 __alloc_dir.
42844 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42845 from fdopendir if O_CLOEXEC is already set.
42846
66bdbaa4
AM
428472011-03-15 Alan Modra <amodra@gmail.com>
42848
42849 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42850 l_tls_firstbyte_offset non-zero. Save padding offset in
42851 l_tls_firstbyte_offset for later use.
42852 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42853 freeing static tls block.
42854
95721191
JN
428552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42856
42857 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42858 where #ifdef was intended. The intent is to prevent ARG_MAX from
42859 being defined by the kernel headers.
42860
f87dfb1f
UD
428612011-05-07 Ulrich Drepper <drepper@gmail.com>
42862
42863 [BZ #12734]
42864 * resolv/resolv.h: Define RES_NOTLDQUERY.
42865 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42866 no-tld-query and set RES_NOTLDQUERY.
42867 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42868 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42869 modern BIND to search name as TLD unless forbidden.
42870
47c3cd7a
UD
428712011-05-07 Petr Baudis <pasky@suse.cz>
42872 Ulrich Drepper <drepper@gmail.com>
42873
42874 [BZ #12393]
42875 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42876 (is_trusted_path): ...to here.
c1e9ea35 42877 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42878 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42879 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42880
8a35c912
PP
428812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42882
42883 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42884 __BEGIN/__END_DECLS.
42885
acd41f47
UD
428862011-05-06 Ulrich Drepper <drepper@gmail.com>
42887
42888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42889 NSS_STATUS_NOTFOUND if no record was found.
42890
597df647
AS
428912011-05-05 Andreas Schwab <schwab@redhat.com>
42892
42893 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42894 (headers-not-in-tirpc): Remove rpc/netdb.h
42895 * resolv/netdb.h: Revert last change.
42896
b9af1301
PP
428972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42898
42899 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42900 circular dependency between libgcc.a and libc.a.
42901
4e34d5f5
AS
429022011-05-05 Andreas Schwab <schwab@redhat.com>
42903
42904 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42905 * nis/Makefile: Don't install rpcsvc/*.
42906 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42907 instead of <rpc/types.h>.
42908 (MAXHOSTNAMELEN): Define.
42909
00ee369c
AS
429102011-05-03 Andreas Schwab <schwab@redhat.com>
42911
42912 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42913
0b592a30
MB
429142011-04-28 Maciej Babinski <mbabinski@google.com>
42915
42916 [BZ #12714]
42917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42918 gethostbyname4_r when IPv6 results are possible.
42919
6e04cbbe
UD
429202011-05-02 Ulrich Drepper <drepper@gmail.com>
42921
42922 [BZ #12723]
42923 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42924 _PC_PIPE_BUF handling.
42925
e4ecafe0
BH
429262011-04-30 Bruno Haible <bruno@clisp.org>
42927
42928 [BZ #12717]
42929 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42930 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42931 to 'int'.
42932 * inet/getnameinfo.c (getnameinfo): Likewise.
42933
125ee683
UD
429342011-04-29 Ulrich Drepper <drepper@gmail.com>
42935
42936 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42937 to groups setting in database lookup.
42938 * nss/nsswitch.conf: Add initgroups entry.
42939
b722481a
EB
429402011-04-22 Ulrich Drepper <drepper@gmail.com>
42941
42942 [BZ #12685]
42943 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42944 mode string.
42945 Patch by Eric Blake <eblake@redhat.com>.
42946
4df46dbd
L
429472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42948
42949 * sunrpc/Makefile (need-export-routines): Add svc_run.
42950 (routines): Remove svc_run.
42951 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42952 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42953 * sunrpc/svc_run.c (svc_run): Likewise.
42954 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42955
e84142d2
UD
429562011-04-21 Ulrich Drepper <drepper@gmail.com>
42957
42958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42959 problem in reallocation in last patch.
42960
877175d8
UD
429612011-04-20 Ulrich Drepper <drepper@gmail.com>
42962
42963 * sunrpc/Makefile: Move inclusion of Rules.
42964
ab8eed78
UD
429652011-04-19 Ulrich Drepper <drepper@gmail.com>
42966
42967 * nss/nss_files/files-initgroups.c: New file.
42968 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42969 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42970 _nss_files_initgroups_dyn.
42971
e3d8f584
RS
429722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42973
42974 * elf/elf.h (R_ARM_IRELATIVE): Define.
42975
af190f45
UD
429762011-04-19 Ulrich Drepper <drepper@gmail.com>
42977
42978 * po/ru.po: Update from translation team.
42979
53cf59ef
UD
429802011-04-17 Ulrich Drepper <drepper@gmail.com>
42981
42982 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42983 dependencies.
42984
4c559bcd
MF
429852011-02-06 Mike Frysinger <vapier@gentoo.org>
42986
42987 [BZ #12653]
42988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42989 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42993
4420675c
AS
429942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42995
42996 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42997 differing bytes.
42998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43001
75ea32ab
UD
430022011-04-17 Ulrich Drepper <drepper@gmail.com>
43003
43004 [BZ #12420]
43005 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43006 storing it.
43007 * stdlib/bug-getcontext.c: New file.
43008 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43009
27390476
AK
430102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43011
43012 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43013 instructions into .machine "z9-109".
43014 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43015 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43016
10442705
AK
430172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43018
43019 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43020 between environment variables and auxiliary vector.
43021
7b57bfe5
UD
430222011-04-16 Ulrich Drepper <drepper@gmail.com>
43023
43024 * Makefile: Add rules to build linkobj/libc.so.
43025 * include/libc-symbols.h: Define libc_hidden_nolink.
43026 * include/rpc/auth.h: Mark functions which are to be hidden.
43027 * include/rpc/auth_des.h: Likewise.
43028 * include/rpc/auth_unix.h: Likewise.
43029 * include/rpc/clnt.h: Likewise.
43030 * include/rpc/des_crypt.h: Likewise.
43031 * include/rpc/key_prot.h: Likewise.
43032 * include/rpc/pmap_clnt.h: Likewise.
43033 * include/rpc/pmap_prot.h: Likewise.
43034 * include/rpc/pmap_rmt.h: Likewise.
43035 * include/rpc/rpc_msg.h: Likewise.
43036 * include/rpc/svc.h: Likewise.
43037 * include/rpc/svc_auth.h: Likewise.
43038 * include/rpc/xdr.h: Likewise.
43039 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43040 * nss/Makefile: Likewise.
43041 * sunrpc/Makefile: Don't install headers. Build library with normal
43042 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43043 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43044 for the compat linking library. Remove use of INTDEF/INTUSE.
43045 * sunrpc/auth_none.c: Likewise.
43046 * sunrpc/auth_unix.c: Likewise.
43047 * sunrpc/authdes_prot.c: Likewise.
43048 * sunrpc/authuxprot.c: Likewise.
43049 * sunrpc/clnt_gen.c: Likewise.
43050 * sunrpc/clnt_perr.c: Likewise.
43051 * sunrpc/clnt_raw.c: Likewise.
43052 * sunrpc/clnt_simp.c: Likewise.
43053 * sunrpc/clnt_tcp.c: Likewise.
43054 * sunrpc/clnt_udp.c: Likewise.
43055 * sunrpc/clnt_unix.c: Likewise.
43056 * sunrpc/des_crypt.c: Likewise.
43057 * sunrpc/des_soft.c: Likewise.
43058 * sunrpc/get_myaddr.c: Likewise.
43059 * sunrpc/key_call.c: Likewise.
43060 * sunrpc/key_prot.c: Likewise.
43061 * sunrpc/netname.c: Likewise.
43062 * sunrpc/pm_getmaps.c: Likewise.
43063 * sunrpc/pm_getport.c: Likewise.
43064 * sunrpc/pmap_clnt.c: Likewise.
43065 * sunrpc/pmap_prot.c: Likewise.
43066 * sunrpc/pmap_prot2.c: Likewise.
43067 * sunrpc/pmap_rmt.c: Likewise.
43068 * sunrpc/publickey.c: Likewise.
43069 * sunrpc/rpc_cmsg.c: Likewise.
43070 * sunrpc/rpc_common.c: Likewise.
43071 * sunrpc/rpc_dtable.c: Likewise.
43072 * sunrpc/rpc_prot.c: Likewise.
43073 * sunrpc/rpc_thread.c: Likewise.
43074 * sunrpc/rtime.c: Likewise.
43075 * sunrpc/svc.c: Likewise.
43076 * sunrpc/svc_auth.c: Likewise.
43077 * sunrpc/svc_authux.c: Likewise.
43078 * sunrpc/svc_raw.c: Likewise.
43079 * sunrpc/svc_run.c: Likewise.
43080 * sunrpc/svc_simple.c: Likewise.
43081 * sunrpc/svc_tcp.c: Likewise.
43082 * sunrpc/svc_udp.c: Likewise.
43083 * sunrpc/svc_unix.c: Likewise.
43084 * sunrpc/svcauth_des.c: Likewise.
43085 * sunrpc/xcrypt.c: Likewise.
43086 * sunrpc/xdr.c: Likewise.
43087 * sunrpc/xdr_array.c: Likewise.
43088 * sunrpc/xdr_float.c: Likewise.
43089 * sunrpc/xdr_intXX_t.c: Likewise.
43090 * sunrpc/xdr_mem.c: Likewise.
43091 * sunrpc/xdr_rec.c: Likewise.
43092 * sunrpc/xdr_ref.c: Likewise.
43093 * sunrpc/xdr_sizeof.c: Likewise.
43094 * sunrpc/xdr_stdio.c: Likewise.
43095
e6c61494
UD
430962011-04-10 Ulrich Drepper <drepper@gmail.com>
43097
43098 [BZ #12650]
43099 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43100 * sysdeps/ia64/dl-tls.h: Likewise.
43101 * sysdeps/powerpc/dl-tls.h: Likewise.
43102 * sysdeps/s390/dl-tls.h: Likewise.
43103 * sysdeps/sh/dl-tls.h: Likewise.
43104 * sysdeps/sparc/dl-tls.h: Likewise.
43105 * sysdeps/x86_64/dl-tls.h: Likewise.
43106 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43107
34fe483e
AS
431082011-03-14 Andreas Schwab <schwab@redhat.com>
43109
43110 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43111 rpath element also skip the following colon.
43112 (expand_dynamic_string_token): Add is_path parameter and pass
43113 down to DL_DST_REQUIRED and _dl_dst_substitute.
43114 (decompose_rpath): Call expand_dynamic_string_token with
43115 non-zero is_path. Ignore empty rpaths.
43116 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43117 with zero is_path.
43118
f12a32e6
AS
431192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43120
43121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43122 Make cancelable.
43123
38a7d692
UD
431242011-04-09 Ulrich Drepper <drepper@gmail.com>
43125
43126 [BZ #12655]
43127 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43128 Patch by Filipe David Manana <fdmanana@apache.org>.
43129
e451d22b
AS
431302011-04-07 Andreas Schwab <schwab@redhat.com>
43131
43132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43133 Maintain aligned stack.
43134 (CHECK_RSP): Remove unused macro.
43135
dedc7c7b
UD
431362011-04-03 Ulrich Drepper <drepper@gmail.com>
43137
43138 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43140
94521213
UD
431412011-04-02 Ulrich Drepper <drepper@gmail.com>
43142
43143 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43144
8cb700c0 43145 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43146
0354e355
L
431472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43148
43149 [BZ #12518]
43150 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43151 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43152 * sysdeps/x86_64/memmove.c: New file.
43153 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43154 (memcpy): Renamed to ...
43155 (__new_memcpy): This.
43156 (memcpy): Provide GLIBC_2_14 memcpy.
43157 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43158 (memcpy): Provide GLIBC_2_2_5 memcpy.
43159
8593482f
UD
431602011-04-01 Ulrich Drepper <drepper@gmail.com>
43161
43162 [BZ #12631]
43163 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43164
81a5726b
AS
431652011-03-30 Andreas Schwab <schwab@redhat.com>
43166
43167 * misc/syncfs.c: New file.
43168 * misc/Makefile (routines): Add syncfs.
43169 * posix/unistd.h: Declare syncfs.
43170 * sysdeps/unix/syscalls.list: Add syncfs.
43171
00e5419f
AS
431722011-04-01 Andreas Schwab <schwab@redhat.com>
43173
43174 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43175 open_by_handle_at.
43176 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43181 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43183
748876bf
UD
431842011-04-01 Ulrich Drepper <drepper@gmail.com>
43185
658e451d
UD
43186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43188 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43193
748876bf
UD
43194 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43195 sync_file_range.c with -fexceptions.
43196 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43197 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43198 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43199 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43200 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43201 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43203 sync_file_range as cancellation point
43204 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43205 now a wrapper around __call_sync_file_range with cancellation handling.
43206 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43207 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43208 function name to __call_sync_file_range.
43209 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43210 Add call_sync_file_range.
748876bf 43211
6e63d5e1
AS
432122011-04-01 Andreas Schwab <schwab@redhat.com>
43213
43214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43215 bits/timex.h.
6e63d5e1 43216
46998f74
UD
432172011-04-01 Ulrich Drepper <drepper@gmail.com>
43218
4c1423ed
UD
43219 * iconv/iconv.h: Fix typo in comment.
43220 * io/fcntl.h: Likewise.
43221 * libio/stdio.h: Likewise.
43222 * posix/spawn.h: Likewise.
43223 * posix/unistd.h: Likewise.
43224 * stdlib/stdlib.h: Likewise.
43225 * time/time.h: Likewise.
43226 * wcsmbs/wchar.h: Likewise.
43227
158648c0
UD
43228 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43229 open_by_handle): Add.
43230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43231 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43232 Augment a few comments.
43233 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43238 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43239 open_by_handle.
43240
46998f74
UD
43241 * io/fcntl.h (AT_EMPTY_PATH): Define.
43242
83fe108b
UD
432432011-03-30 Ulrich Drepper <drepper@gmail.com>
43244
43245 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43246 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43247 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43248 to...
43249 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43250 * Versions.def: Add GLIBC_2.14.
43251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43252 Export.
83fe108b 43253
bb242059
UD
432542011-03-22 Ulrich Drepper <drepper@gmail.com>
43255
43256 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43257 round counter.
43258 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43259
c97a1282
L
432602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43261
43262 [BZ #12597]
43263 * string/test-strncmp.c (do_page_test): New function.
43264 (check2): Likewise.
43265 (test_main): Call check2.
43266 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43267
2a115601
UD
432682011-03-20 Ulrich Drepper <drepper@gmail.com>
43269
43270 [BZ #12587]
43271 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43272 Handle cache information in CPU leaf 4.
43273 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43274
8126d904
UD
432752011-03-18 Ulrich Drepper <drepper@gmail.com>
43276
042c49c6 43277 [BZ #12583]
8126d904
UD
43278 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43279 character representation.
43280 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43281
ccfe366e
RA
432822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43283
43284 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43285 END(__isnan) to END(__isnanf) to match function entry point/label
43286 EALIGN(__isnanf,...).
43287
c6e13027
JJ
432882011-03-10 Jakub Jelinek <jakub@redhat.com>
43289
43290 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43291
33f85a3f
UD
432922011-03-10 Ulrich Drepper <drepper@gmail.com>
43293
028478fa
UD
43294 [BZ #12510]
43295 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43296 copy from the symbol referenced in the relocation to initialize the
43297 used variable.
43298 Patch by Piotr Bury <pbury@goahead.com>.
43299 * elf/Makefile: Add rules to build and tst-unique3.
43300 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43301 * elf/tst-unique3.cc: New file.
43302 * elf/tst-unique3.h: New file.
43303 * elf/tst-unique3lib.cc: New file.
43304 * elf/tst-unique3lib2.cc: New file.
43305
33f85a3f
UD
43306 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43307
03592fc7
MF
433082011-03-10 Mike Frysinger <vapier@gentoo.org>
43309
43310 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43311 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43312 to _start.
03592fc7 43313
6a5ee102
UD
433142011-03-06 Ulrich Drepper <drepper@gmail.com>
43315
43316 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43317 to-be-loaded object along a path to loader is ld.so.
43318
7e4ba49c
HJ
433192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43320 Ulrich Drepper <drepper@gmail.com>
43321
43322 * sysdeps/x86_64/memset.S: After aligning destination, code
43323 branches to different locations depending on the value of
43324 misalignment, when multiarch is enabled. Fix this.
43325
433262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43327
43328 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43329 Set _x86_64_preferred_memory_instruction for AMD processsors.
43330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43331 Set bit_Prefer_SSE_for_memop for AMD processors.
43332
13a804de
UD
433332011-03-04 Ulrich Drepper <drepper@gmail.com>
43334
43335 * libio/fmemopen.c (fmemopen): Optimize a bit.
43336
9d25c392
AS
433372011-03-03 Andreas Schwab <schwab@redhat.com>
43338
43339 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43340
a5543c6a
RM
433412011-03-03 Roland McGrath <roland@redhat.com>
43342
43343 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43344
012d35f7
DM
433452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43346
7e4ba49c 43347 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43348 __bzero_ultra1 instead of __memset_ultra1.
43349
4bff6e01
AS
433502011-02-23 Andreas Schwab <schwab@redhat.com>
43351 Ulrich Drepper <drepper@gmail.com>
43352
43353 [BZ #12509]
43354 * include/link.h (struct link_map): Add l_orig_initfini.
43355 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43356 returning unsuccessfully.
43357 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43358 close of a file loaded at startup, restore the original l_initfini
43359 list.
43360 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43361 list, store the pointer.
43362 * elf/Makefile ($(objpfx)noload-mem): New rule.
43363 (noload-ENV): Define.
43364 (tests): Add $(objpfx)noload-mem.
43365 * elf/noload.c: Include <memcheck.h>.
43366 (main): Call mtrace. Close all opened handles.
43367
f2092faf
AS
433682011-02-17 Andreas Schwab <schwab@redhat.com>
43369
43370 [BZ #12454]
43371 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43372 dependencies are missing.
43373
6c8a2e88
ST
433742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43375
f2092faf 43376 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43377 Hurd needs munmap.
43378 * sysdeps/mach/hurd/ifreq.h: New file.
43379
84a42118
PB
433802011-01-27 Petr Baudis <pasky@suse.cz>
43381 Ulrich Drepper <drepper@gmail.com>
43382
071f805e 43383 [BZ 12445]#
84a42118
PB
43384 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43385 to extend_alloca().
43386 * stdio-common/bug23.c: New file.
43387 * stdio-common/Makefile (tests): Add bug23.
43388
e23fe25b
AS
433892010-09-28 Andreas Schwab <schwab@redhat.com>
43390 Ulrich Drepper <drepper@gmail.com>
43391
43392 [BZ #12489]
43393 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43394 before performing relro protection. At old place add assertion
43395 to make sure nothing changed.
43396
d3f02e10
NS
433972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43398 Glauber de Oliveira Costa <glommer@gmail.com>
43399
43400 * elf/elf.h: Add new ARM TLS relocs.
43401
d55fd7a5
RA
434022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43403
43404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43405 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43406 cast from r3.
43407 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43408 'tests' variable.
43409 * sysdeps/wordsize-64/tst-writev.c: New file.
43410
2206397e
RA
434112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43412
43413 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43414 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43415 insns in _dl_start to prevent a TOC reference before relocs are
43416 resolved.
43417
e9433893
UD
434182011-02-15 Ulrich Drepper <drepper@gmail.com>
43419
43420 [BZ #12469]
43421 * Makeconfig: Remove RANLIB definition.
43422 * Makerules: Don't use RANLIB.
43423 * aclocal.m4: Remove ranlib test.
43424 * configure.in: No need to check for ranlib.
43425 * elf/rtld-Rules: Don't use RANLIB.
43426
f75286c6
ST
434272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43428
8e31c82d
ST
43429 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43430 protection macro.
43431 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43432 inclusion protection macro.
43433
f75286c6
ST
43434 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43435 SIGRTMIN and SIGRTMAX and print information in that case only when
43436 SIGRTMIN is defined.
43437
c1d0e639
JJ
434382011-02-11 Jakub Jelinek <jakub@redhat.com>
43439
43440 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43441 arginfo fn returning -1.
43442
43443 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43444 and thousands string is zero terminated.
43445
edf9294e
AS
434462011-02-03 Andreas Schwab <schwab@redhat.com>
43447
43448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43449 sysdeps/unix/sysv/linux/bits/socket.h.
43450
2b7e92df
ST
434512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43452
edf9294e
AS
43453 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43454 (__CPU_COUNT): Remove old macros.
43455 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43456 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43457 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43458 (__sched_cpualloc, __sched_cpufree): Add declarations.
43459
a4c7ea7b
UD
434602011-02-05 Ulrich Drepper <drepper@gmail.com>
43461
43462 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43463 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43464 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43465 (readdhstai): Return value of addhstaiX call.
43466 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43467 (addgrbyX): Return value returned by cache_addgr.
43468 (readdgrbyname): Return value returned by addgrbyX.
43469 (readdgrbygid): Likewise.
43470 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43471 (addpwbyX): Return value returned by cache_addpw.
43472 (readdpwbyname): Return value returned by addhstbyX.
43473 (readdpwbyuid): Likewise.
43474 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43475 (addservbyX): Return value returned by cache_addserv.
43476 (readdservbyname): Return value returned by addservbyX:
43477 (readdservbyport): Likewise.
43478 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43479 (addhstbyX): Return value returned by cache_addhst.
43480 (readdhstbyname): Return value returned by addhstbyX.
43481 (readdhstbyaddr): Likewise.
43482 (readdhstbynamev6): Likewise.
43483 (readdhstbyaddrv6): Likewise.
43484 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43485 (readdinitgroups): Return value returned by addinitgroupsX.
43486 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43487 (prune_cache): Keep track of timeout value of re-added entries.
43488 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43489 * nscd/nscd.h: Adjust prototypes of readd* functions.
43490
a0bf67cc
RM
434912011-02-04 Roland McGrath <roland@redhat.com>
43492
43493 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43494 (nis_stats): Likewise.
43495 * nis/nis_modify.c (nis_modify): Likewise.
43496 * nis/nis_remove.c (nis_remove): Likewise.
43497 * nis/nis_add.c (nis_add): Likewise.
43498
43499 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43500
43501 * posix/fnmatch_loop.c: Add some consts.
43502
43503 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43504
435b95eb
L
435052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43506
43507 [BZ #12460]
43508 * config.make.in (config-cflags-novzeroupper): Define.
43509 * configure.in: Substitute libc_cv_cc_novzeroupper.
43510 * elf/Makefile (AVX-CFLAGS): Define.
43511 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43512 (CFLAGS-tst-auditmod4a.c): Likewise.
43513 (CFLAGS-tst-auditmod4b.c): Likewise.
43514 (CFLAGS-tst-auditmod6b.c): Likewise.
43515 (CFLAGS-tst-auditmod6c.c): Likewise.
43516 (CFLAGS-tst-auditmod7b.c): Likewise.
43517 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43518
8517b15e
UD
435192011-02-02 Ulrich Drepper <drepper@gmail.com>
43520
43521 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43522 function to the callback.
43523 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43524
10a656fe
AS
435252011-02-02 Andreas Schwab <schwab@redhat.com>
43526
43527 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43528 of errno.
43529
968dad0a
UD
435302011-01-19 Ulrich Drepper <drepper@gmail.com>
43531
9f94d2ea 43532 [BZ #11724]
968dad0a
UD
43533 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43534 of constructors.
43535 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43536 of destructors.
43537 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43538
43539 [BZ #11724]
43540 * elf/Makefile: Add rules to build and run new test.
43541 * elf/tst-initorder.c: New file.
43542 * elf/tst-initorder.exp: New file.
43543 * elf/tst-initordera1.c: New file.
43544 * elf/tst-initordera2.c: New file.
43545 * elf/tst-initordera3.c: New file.
43546 * elf/tst-initordera4.c: New file.
43547 * elf/tst-initorderb1.c: New file.
43548 * elf/tst-initorderb2.c: New file.
43549 * elf/tst-order-a1.c: New file.
43550 * elf/tst-order-a2.c: New file.
43551 * elf/tst-order-a3.c: New file.
43552 * elf/tst-order-a4.c: New file.
43553 * elf/tst-order-b1.c: New file.
43554 * elf/tst-order-b2.c: New file.
43555 * elf/tst-order-main.c: New file.
43556 New test case by George Gensure <werkt0@gmail.com>.
43557
86e92359
UD
435582010-10-01 Andreas Schwab <schwab@redhat.com>
43559
43560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43561 decoding ACE if AI_CANONIDN.
43562
5d5732b0
UD
435632011-01-18 Ulrich Drepper <drepper@gmail.com>
43564
43565 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43566
a77e8cbc
UD
435672011-01-17 Ulrich Drepper <drepper@gmail.com>
43568
6392473f
UD
43569 * version.h (RELEASE): Bump for 2.13 release.
43570 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43571
620a0529
UD
43572 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43573
18ba70a5
UD
43574 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43575 MADV_NOHUGEPAGE.
32465c3e
UD
43576 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43580 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43582
c0dafcf1
UD
43583 * posix/getconf.c: Update copyright year.
43584 * catgets/gencat.c: Likewise.
43585 * csu/version.c: Likewise.
43586 * debug/catchsegv.sh: Likewise.
43587 * debug/xtrace.sh: Likewise.
43588 * elf/ldconfig.c: Likewise.
43589 * elf/ldd.bash.in: Likewise.
43590 * elf/sprof.c (print_version): Likewise.
43591 * iconv/iconv_prog.c: Likewise.
43592 * iconv/iconvconfig.c: Likewise.
43593 * locale/programs/locale.c: Likewise.
43594 * locale/programs/localedef.c: Likewise.
43595 * malloc/memusage.sh: Likewise.
43596 * malloc/mtrace.pl: Likewise.
43597 * nscd/nscd.c (print_version): Likewise.
43598 * nss/getent.c: Likewise.
43599
a77e8cbc
UD
43600 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43601 PF_CAIF, and PF_ALG.
43602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43603
77e8bddf
AS
436042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43605
1f20b93a
AS
43606 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43607 (modules-names): Use them.
43608 (ifunc-test-modules, ifunc-pie-tests): Define.
43609 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43610 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43611 (test-extras): Likewise.
43612 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43613 $(compile-command.c).
43614 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43615 (all-built-dso): Define.
43616 (check-textrel.out, check-execstack.out): Depend on it.
43617
77e8bddf
AS
43618 * configure.in: Don't override --enable-multi-arch.
43619
bc425b33
UD
436202011-01-15 Ulrich Drepper <drepper@gmail.com>
43621
43622 [BZ #6812]
43623 * nscd/hstcache.c (tryagain): Define.
43624 (cache_addhst): Return tryagain not notfound for temporary errors.
43625 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43626 failed.
43627
794c3ad3
UD
436282011-01-14 Ulrich Drepper <drepper@gmail.com>
43629
70181fdd
UD
43630 [BZ #10563]
43631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43632 to make the syscall.
43633 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43634
794c3ad3
UD
43635 [BZ #12378]
43636 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43637 and fall back to matching as normal character if the string ends before
43638 the matching ']' is found. This is what POSIX requires.
43639 * posix/testfnm.c: Adjust test result.
43640 * posix/globtest.sh: Adjust test result. Add new test.
43641 * posix/tst-fnmatch.input: Likewise.
43642 * posix/tst-fnmatch2.c: Add new test.
43643
68dc9497
AS
436442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43645
43646 * elf/Makefile (check-execstack): Revert last change. Depend on
43647 check-execstack.h.
43648 (check-execstack.h): New target.
43649 (generated): Add check-execstack.h.
43650 * elf/check-execstack.c: Include "check-execstack.h".
43651 (main): Revert last change.
43652 (handle_file): Return zero if GNU_STACK is absent and
43653 DEFAULT_STACK_PERMS doesn't include PF_X.
43654
451f001b
UD
436552011-01-13 Ulrich Drepper <drepper@gmail.com>
43656
cfa28e56
UD
43657 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43658 in child fails because the descriptor is already closed.
8cf8ce17
UD
43659 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43660 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43662
1086d70d
UD
43663 [BZ #12397]
43664 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43665 syscall.
43666
451f001b
UD
43667 [BZ #10484]
43668 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43669 temporary buffer used to handle multi lookups locally.
a85b5cb4 43670 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43671
08769175
UD
436722011-01-12 Ulrich Drepper <drepper@gmail.com>
43673
43674 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43675 loader is ld.so.
43676
5e49c52e
UD
436772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43678
43679 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43680 alignment for SSE2.
43681
60522a5f
UD
436822011-01-12 Ulrich Drepper <drepper@gmail.com>
43683
43684 [BZ #12394]
43685 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43686 characters. When rounding increased number of integer digits recompute
43687 number of groups.
43688 * stdio-common/tst-grouping.c: New file.
43689 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43690
f257bbd7
UD
436912011-01-09 Ulrich Drepper <drepper@gmail.com>
43692
43693 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43694 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43695
43696 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43697 void.
43698 * bits/select.h: Likewise.
43699
fa9c15cb
UD
437002011-01-08 Ulrich Drepper <drepper@gmail.com>
43701
43702 * po/ja.po: Update from translation team.
43703
16c2895f
DM
437042011-01-04 David S. Miller <davem@sunset.davemloft.net>
43705
43706 [BZ #11155]
43707 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43708 implementation just like for lxstat, fxstatat, et al.
43709
2543fef2
JM
437102010-12-27 Jim Meyering <meyering@redhat.com>
43711
43712 [BZ #12348]
43713 * posix/regexec.c (build_trtable): Return failure indication upon
43714 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43715
98727dbe
UD
437162010-12-25 Ulrich Drepper <drepper@gmail.com>
43717
5bd6dc5c
UD
43718 [BZ #12201]
43719 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43720 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43723
97983464
UD
43724 [BZ #12207]
43725 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43726
98727dbe
UD
43727 [BZ #12204]
43728 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43729 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43730
4a531bb0
L
437312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43732
43733 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43734 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43735 script has SORT_BY_INIT_PRIORITY.
43736 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43737 NO_CTORS_DTORS_SECTIONS is defined.
43738 * elf/soinit.c: Likewise.
43739 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43740 NO_CTORS_DTORS_SECTIONS is defined.
43741 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43742 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43743 * sysdeps/sh/init-first.c: Likewise.
43744 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43745
07eb4b71
UD
437462010-12-24 Ulrich Drepper <drepper@gmail.com>
43747
43748 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43749 always use the slow path.
43750
30950a5f
RA
437512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43752
43753 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43754 similar rule which adds the sysdep directories to the header search in
43755 order to pick up the correct platform stackinfo.h.
43756 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43757 perform test if it is, otherwise return successfully without testing.
43758 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43759 DEFAULT_STACK_PERMS define in stackinfo.h.
43760 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43761 defined in stackinfo.h.
43762 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43763 DEFAULT_STACK_PERMS defined in stackinfo.h.
43764 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43765 * sysdeps/ia64/stackinfo.h: Likewise.
43766 * sysdeps/s390/stackinfo.h: Likewise.
43767 * sysdeps/sh/stackinfo.h: Likewise.
43768 * sysdeps/sparc/stackinfo.h: Likewise.
43769 * sysdeps/x86_64/stackinfo.h: Likewise.
43770 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43771 PF_X for powerpc64. Retain PF_X for powerpc32.
43772
db753e2c
UD
437732010-12-19 Ulrich Drepper <drepper@gmail.com>
43774
14b697f7
UD
43775 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43776 accurately.
db753e2c
UD
43777 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43778 GETDENTS_64BIT_ALIGNED.
43779
28300719
UD
437802010-12-14 Ulrich Drepper <dreper@gmail.com>
43781
14b697f7 43782 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43783
4f197237
AS
437842010-12-10 Andreas Schwab <schwab@redhat.com>
43785
dbb0472f
AS
43786 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43787 _GNU_SOURCE.
43788
4f197237
AS
43789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43790 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43791 Remove __restrict.
43792 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43793 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43794
fb88ac72
UD
437952010-12-09 Ulrich Drepper <drepper@gmail.com>
43796
43797 [BZ #11655]
43798 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43799 are initialized.
43800
42acbb92
JJ
438012010-12-09 Jakub Jelinek <jakub@redhat.com>
43802
43803 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43804
c038d98d
UD
438052010-12-03 Ulrich Drepper <drepper@gmail.com>
43806
43807 * po/it.po: Update from translation team.
43808
3a4a2499
L
438092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43810
43811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43812 unused codes.
43813
1e24cf6e
UD
438142010-11-30 Ulrich Drepper <drepper@gmail.com>
43815
43816 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43817
a7690819
AS
438182010-11-24 Andreas Schwab <schwab@redhat.com>
43819
43820 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43821 specially.
43822 (gaih_getanswer_slice): Likewise.
43823
3bf8d1b1
JJ
438242010-10-20 Jakub Jelinek <jakub@redhat.com>
43825
43826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43827
6db52fbb
PB
438282010-05-31 Petr Baudis <pasky@suse.cz>
43829
43830 [BZ #11149]
43831 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43832 silently even in the chroot mode.
43833
eaca7569
UD
438342010-11-22 Ulrich Drepper <drepper@gmail.com>
43835
43836 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43837 last patch a bit. Pretty printing
43838
3056dcdb
UD
438392010-05-31 Petr Baudis <pasky@suse.cz>
43840
43841 [BZ #10085]
43842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43843 initialization of skip_initgroups_dyn.
43844
cf7c9078
UD
438452010-11-19 Ulrich Drepper <drepper@gmail.com>
43846
43847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43848 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43849
a1fb5e3e
UD
438502010-11-16 Ulrich Drepper <drepper@gmail.com>
43851
43852 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43853
3540d66b
AS
438542010-11-11 Andreas Schwab <schwab@redhat.com>
43855
43856 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43857 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43858 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43859 ($(objpfx)tst-fnmatch-mem): New rule.
43860 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43861 * posix/tst-fnmatch.c (main): Call mtrace.
43862
13b69574
L
438632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43864
43865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43866 Support Intel processor model 6 and model 0x2c.
43867
da93d214
LM
438682010-11-10 Luis Machado <luisgpm@br.ibm.com>
43869
43870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43871 signed comparison.
43872
8ca52c6e
L
438732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43874
43875 [BZ #12205]
43876 * string/test-strncasecmp.c (check_result): New function.
43877 (do_one_test): Use it.
43878 (check1): New function.
43879 (test_main): Use it.
43880 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43881 Support strcasecmp and strncasecmp.
43882
69da074d
UD
438832010-11-08 Ulrich Drepper <drepper@gmail.com>
43884
43885 [BZ #12194]
43886 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43887 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43888
ff02d528
L
438892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43890
43891 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43892 IFUNC support.
43893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43894 memset-x86-64.
43895 * sysdeps/x86_64/multiarch/bzero.S: New file.
43896 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43897 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43898 * sysdeps/x86_64/multiarch/memset.S: New file.
43899 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43901 Set bit_Prefer_SSE_for_memop for Intel processors.
43902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43903 Define.
43904 (index_Prefer_SSE_for_memop): Define.
43905 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43906
344d0b54
LM
439072010-11-04 Luis Machado <luisgpm@br.ibm.com>
43908
43909 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43910 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43911
c0dde15b
UD
439122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43913
43914 [BZ #12191]
43915 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43916 (__x86_64_raw_data_cache_size_half): Likewise.
43917 (__x86_64_raw_shared_cache_size): Likewise.
43918 (__x86_64_raw_shared_cache_size_half): Likewise.
43919
43920 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43921 (__x86_64_raw_data_cache_size_half): Likewise.
43922 (__x86_64_raw_shared_cache_size): Likewise.
43923 (__x86_64_raw_shared_cache_size_half): Likewise.
43924 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43925 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43926 and __x86_64_raw_shared_cache_size_half. Round
43927 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43928 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43929 to multiple of 256 bytes.
43930
0e516e0e
MS
439312010-11-03 Ulrich Drepper <drepper@gmail.com>
43932
43933 [BZ #12167]
43934 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43935 of inacessible symlinks. Verify result of symlink before returning it.
43936 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43937 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43938
0e012e87
ER
439392010-10-28 Erich Ritz <erichritz@gmail.com>
43940
43941 * math/math.h (isinf): Fix typo in comment.
43942
de0ff7bc
UD
439432010-11-01 Ulrich Drepper <drepper@gmail.com>
43944
43945 * po/da.po: Update from translation team.
43946
fa41c84d
UD
439472010-10-26 Ulrich Drepper <drepper@gmail.com>
43948
43949 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43950 is added to the list.
43951
f0967738
AK
439522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43953 Ulrich Drepper <drepper@gmail.com>
43954
43955 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43956 the global list here. Move code to...
43957 (_dl_add_to_namespace_list): ...here. New function.
43958 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43959 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43960 * elf/dl-load.c (lose): Don't remove the element from the list.
43961 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43962 (_dl_map_object): Likewise.
43963
439642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43965
43966 [BZ #12159]
43967 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43968 into all bytes of SSE register.
43969 Patch by Richard Li <richardpku@gmail.com>.
43970
f0967738 439712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43972
43973 [BZ #12140]
43974 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43975 perturbing.
43976
d0b9e94f
MB
439772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43978
43979 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43980 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43981 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43982 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43984 submachine.
43985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43986
8e9f92e9
AS
439872010-10-22 Andreas Schwab <schwab@redhat.com>
43988
43989 * include/dlfcn.h (__RTLD_SECURE): Define.
43990 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43991 mode & __RTLD_SECURE instead.
43992 (open_path): Rename preloaded parameter to secure.
43993 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43994 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43995 * elf/dl-deps.c (openaux): Likewise.
43996 * elf/rtld.c (struct map_args): Remove is_preloaded.
43997 (map_doit): Don't use it.
43998 (dl_main): Likewise.
43999 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44000 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44001
bc96fbda
AS
440022010-09-09 Andreas Schwab <schwab@redhat.com>
44003
44004 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44005 (sysd-rules-targets): Remove duplicates.
44006 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44007 rtld-%.$o dependency.
44008
22cd1c9b
AS
440092010-10-18 Andreas Schwab <schwab@redhat.com>
44010
44011 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44012 _dl_map_object do it.
44013
18edac48
UD
440142010-10-19 Ulrich Drepper <drepper@gmail.com>
44015
44016 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44017 fast fma builtins, define the macros in the C99 standard.
44018 (FP_FAST_FMAF): Likewise.
44019 (FP_FAST_FMAL): Likewise.
44020 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44021
44022 * bits/mathdef.h: Update copyright year.
44023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44024
d2050124
MM
440252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44026
44027 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44028 builtins, define the macros in the C99 standard.
44029 (FP_FAST_FMAF): Likewise.
44030 (FP_FAST_FMAL): Likewise.
44031 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44032 multiply/add.
44033 (FP_FAST_FMAF): Likewise.
44034
475facd1
JJ
440352010-10-15 Jakub Jelinek <jakub@redhat.com>
44036
44037 [BZ #3268]
44038 * math/libm-test.inc (fma_test): Some new testcases.
44039 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44041 y and infinite z. Do multiplication by C already in long double.
44042 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44044 y and infinite z. Do bitwise or of inexact bit into u.d.
44045 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44046 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44047 * sysdeps/i386/fpu/s_fma.S: Removed.
44048 * sysdeps/i386/fpu/s_fmal.S: Removed.
44049
7c08a05c
JJ
440502010-10-16 Jakub Jelinek <jakub@redhat.com>
44051
44052 [BZ #3268]
44053 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44055 computation is not scheduled after fetestexcept. Fix value
44056 of minimum denormal long double.
44057
f3f7372d
JJ
440582010-10-14 Jakub Jelinek <jakub@redhat.com>
44059
44060 [BZ #3268]
44061 * math/libm-test.inc (fma_test): Add some more tests.
44062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44063 correctly.
44064
14d43591
AS
440652010-10-15 Andreas Schwab <schwab@redhat.com>
44066
44067 * scripts/data/localplt-s390-linux-gnu.data: New file.
44068 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44069
5e908464
JJ
440702010-10-13 Jakub Jelinek <jakub@redhat.com>
44071
44072 [BZ #3268]
44073 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44074 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44075 instead of dbl-64.
44076 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44077 inlines.
44078 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44080 if one of x and y is very large and the other is subnormal.
44081 * sysdeps/s390/fpu/s_fmaf.c: New file.
44082 * sysdeps/s390/fpu/s_fma.c: New file.
44083 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44084 * sysdeps/powerpc/fpu/s_fma.S: New file.
44085 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44086 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44087 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44088
440892010-10-12 Jakub Jelinek <jakub@redhat.com>
44090
44091 [BZ #3268]
44092 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44093 fma tests.
44094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44095 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44096 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44097 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44098 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44099 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44101
b833d51f
UD
441022010-10-12 Ulrich Drepper <drepper@redhat.com>
44103
44104 [BZ #12078]
44105 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44106 * posix/bug-regex31.input: Add test case.
44107
1751705d
UD
441082010-10-11 Ulrich Drepper <drepper@gmail.com>
44109
e9b9cbf5
UD
44110 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44111 * posix/bug-regex31.input: New file.
44112
44113 [BZ #12078]
44114 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44115 (parse_sub_exp): Fix last change, use postorder.
44116
ef06edbe
UD
44117 * posix/bug-regex31.c: New file.
44118 * posix/Makefile: Add rules to build and run bug-regex31.
44119
a129c80d
UD
44120 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44121
44122 [BZ #12078]
44123 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44124
b76b818e
UD
44125 [BZ #12108]
44126 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44127 to have entries in sys_siglist.
44128
1751705d
UD
44129 [BZ #12093]
44130 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44131 be NULL.
44132
9ff8d36f
JJ
441332010-10-07 Jakub Jelinek <jakub@redhat.com>
44134
44135 [BZ #3268]
44136 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44137 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44138 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44139 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44141 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44142 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44143 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44144 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44145 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44146 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44147 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44148 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44149 * math/ftestexcept.c (fetestexcept): Likewise.
44150 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44151 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44152 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44153 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44154 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44155 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44157
af325969
UD
441582010-10-11 Ulrich Drepper <drepper@gmail.com>
44159
c579b202 44160 [BZ #12107]
af325969
UD
44161 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44162 newline.
44163
67a67b95
UD
441642010-10-06 Ulrich Drepper <drepper@gmail.com>
44165
44166 * string/bug-strstr1.c: New file.
44167 * string/Makefile: Add rules to build and run bug-strstr1.
44168
5fb308bc
EB
441692010-10-05 Eric Blake <eblake@redhat.com>
44170
44171 [BZ #12092]
44172 * string/str-two-way.h (two_way_long_needle): Always clear memory
44173 when skipping input due to the shift table.
44174
45db99c7
UD
441752010-10-03 Ulrich Drepper <drepper@gmail.com>
44176
3b111893
UD
44177 [BZ #12005]
44178 * malloc/mcheck.c: Handle large requests.
44179
45db99c7
UD
44180 [BZ #12077]
44181 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44182 for strncmp and strncasecmp.
44183 * string/stratcliff.c: Add tests for strcmp and strncmp.
44184 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44185
cf7a1eb8
NI
441862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44187
44188 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44189 __set_fpscr.
44190
6484ba5e
AJ
441912010-09-30 Andreas Jaeger <aj@suse.de>
44192
44193 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44194 (CGROUP_SUPER_MAGIC): Define.
44195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44196 Handle btrfs and cgroup file systems.
44197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44198 Likewise.
44199
91c42559
LM
442002010-09-27 Luis Machado <luisgpm@br.ibm.com>
44201
44202 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44203 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44204
87a97932
AK
442052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44206
44207 [BZ #12067]
44208 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44209 trying to locate the ELF header.
44210
c21cc9bc
AS
442112010-09-27 Andreas Schwab <schwab@redhat.com>
44212
44213 [BZ #11611]
44214 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44215 Mask out sign-bit copies when constructing f_fsid.
44216
315970f6
PB
442172010-09-24 Petr Baudis <pasky@suse.cz>
44218
44219 * debug/stack_chk_fail_local.c: Add missing licence exception.
44220 * debug/warning-nop.c: Likewise.
44221
1ac7a2c7
JM
442222010-09-15 Joseph Myers <joseph@codesourcery.com>
44223
44224 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44225 implementing getdents64 using getdents syscall, set d_type if
44226 __ASSUME_GETDENTS32_D_TYPE.
44227
56801c50
AS
442282010-09-16 Andreas Schwab <schwab@redhat.com>
44229
44230 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44231 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44232
dda51327
UD
442332010-09-21 Ulrich Drepper <drepper@redhat.com>
44234
44235 [BZ #12037]
44236 * posix/unistd.h: Undo change of feature selection for ftruncate from
44237 2010-01-11.
44238
8ffcee4a
UD
442392010-09-20 Ulrich Drepper <drepper@redhat.com>
44240
a545ecd9 44241 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44242 detection.
44243
e24f0a8b
AS
442442010-09-20 Andreas Schwab <schwab@redhat.com>
44245
44246 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44247 fanotify_mark.
44248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44249
7291c56f
AS
442502010-09-14 Andreas Schwab <schwab@redhat.com>
44251
44252 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44253 variables after CHECK_SP call.
44254 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44255
bc5fb037
AS
442562010-09-13 Andreas Schwab <schwab@redhat.com>
44257 Ulrich Drepper <drepper@redhat.com>
44258
44259 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44260 re-relocationg ld.so.
44261 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44262 _dl_init_paths call.
44263 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44264 here anymore.
44265
e66e7419
UD
442662010-09-14 Ulrich Drepper <drepper@redhat.com>
44267
44268 * resolv/res_init.c (__res_vinit): Count the default server we added.
44269
c044aa75
CLT
442702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44271 Ulrich Drepper <drepper@redhat.com>
44272
44273 [BZ #11968]
44274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44275 (____longjmp_chk): Use %ebx for saving value across system call.
44276 Add unwind info.
44277
32cf4069
AS
442782010-09-06 Andreas Schwab <schwab@redhat.com>
44279
44280 * manual/Makefile: Don't mix pattern rules with normal rules.
44281
817328ee
AS
442822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44283
44284 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44285 operation.
44286 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44287 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44288 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44289 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44291 Likewise.
44292
29fddf61
UD
442932010-09-04 Ulrich Drepper <drepper@redhat.com>
44294
44295 [BZ #11979]
44296 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44297 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44298
0959ffc9
UD
442992010-09-02 Ulrich Drepper <drepper@redhat.com>
44300
44301 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44302 * sysdeps/x86_64/addmul_1.S: Likewise.
44303 * sysdeps/x86_64/lshift.S: Likewise.
44304 * sysdeps/x86_64/mul_1.S: Likewise.
44305 * sysdeps/x86_64/rshift.S: Likewise.
44306 * sysdeps/x86_64/sub_n.S: Likewise.
44307 * sysdeps/x86_64/submul_1.S: Likewise.
44308
ece29840
ST
443092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44310
0959ffc9
UD
44311 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44312 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44313 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44314 * bits/sched.h [__need_schedparam]
ece29840 44315 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44316 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44317 (__defined_schedparam): Define to 1.
ece29840
ST
44318 (__sched_param): New structure, identical to sched_param.
44319 (__need_schedparam): Undefine.
44320
e53a31fe
MF
443212010-08-31 Mike Frysinger <vapier@gentoo.org>
44322
fdc0c10d
MF
44323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44324 (epoll_create1): Declare.
44325
e53a31fe
MF
44326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44327
a726d796
AS
443282010-08-31 Andreas Schwab <schwab@redhat.com>
44329
44330 [BZ #7066]
44331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44332 shifting retval into place.
44333
2f3e3dc7
UD
443342010-09-01 Ulrich Drepper <drepper@redhat.com>
44335
f2933da9
UD
44336 * nis/rpcsvc/nis.h: Update copyright notice.
44337 * nis/rpcsvc/nis.x: Likewise.
44338 * nis/rpcsvc/nis_callback.h: Likewise.
44339 * nis/rpcsvc/nis_callback.x: Likewise.
44340 * nis/rpcsvc/nis_object.x: Likewise.
44341 * nis/rpcsvc/nis_tags.h: Likewise.
44342 * nis/rpcsvc/yp.h: Likewise.
44343 * nis/rpcsvc/yp.x: Likewise.
44344 * nis/rpcsvc/ypupd.h: Likewise.
44345 * nis/yp_xdr.c: Likewise.
44346 * nis/ypupdate_xdr.c: Likewise.
44347
2f3e3dc7
UD
44348 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44349 mainly the body of pmap_getport. Add parameters to specify timeouts.
44350 (pmap_getport): Use __libc_rpc_getport.
44351 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44352 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44353 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44354
f3dcc2f9
AS
443552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44356
44357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44358 fanotify_mark.
44359
6d34eb5b
RM
443602010-08-27 Roland McGrath <roland@redhat.com>
44361
44362 * sysdeps/i386/i686/multiarch/Makefile
44363 (CFLAGS-varshift.c): New variable.
44364
9ea3de11
UD
443652010-08-27 Ulrich Drepper <drepper@redhat.com>
44366
c96d23fc
UD
44367 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44368 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44369
9ea3de11
UD
44370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44371
44372 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44373
623aac7f
L
443742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44375
44376 * sysdeps/x86_64/strlen.S: Unroll the loop.
44377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44378 strlen-sse2 strlen-sse2-bsf.
44379 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44380 __strlen_no_bsf if bit_Slow_BSF is set.
44381 (__strlen_sse42): Removed.
44382 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44383 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44384
8b2b7715
RM
443852010-08-25 Roland McGrath <roland@redhat.com>
44386
44387 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44388 * sysdeps/x86_64/multiarch/varshift.c: New file.
44389 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44390 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44391 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44392 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44393
e73015f2
L
443942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44395
44396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44397 strlen-sse2 strlen-sse2-bsf.
44398 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44399 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44400 (__strlen_sse2): Removed.
44401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44404 bit_Slow_BSF for Atom.
44405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44406 (index_Slow_BSF): Define.
44407 (HAS_SLOW_BSF): Define.
44408
df24a73e
UD
444092010-08-25 Ulrich Drepper <drepper@redhat.com>
44410
44411 [BZ #10851]
44412 * resolv/res_init.c (__res_vinit): When no server address at all
44413 is given default to loopback.
44414
f2ac4868
RM
444152010-08-24 Roland McGrath <roland@redhat.com>
44416
09055553
RM
44417 * configure.in: Remove config-name.h generation.
44418 * configure: Regenerated.
44419 * config-name.in: File removed.
44420 * scripts/config-uname.sh: New file.
44421 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44422 ($(objdir)config-name.h): New target.
44423
f2ac4868
RM
44424 * sunrpc/rpc_parse.h: Avoid nested comment.
44425
73f27d5e
RH
444262010-08-24 Richard Henderson <rth@redhat.com>
44427 Ulrich Drepper <drepper@redhat.com>
44428 H.J. Lu <hongjiu.lu@intel.com>
44429
44430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44432 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44433 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44434 _mm_alignr_epi8 with _mm_loadu_si128.
44435 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44436 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44437 (__m128i_shift_right): Removed.
44438 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44439 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44440 * sysdeps/x86_64/multiarch/varshift.h: New file.
44441 * sysdeps/x86_64/multiarch/varshift.S: New file.
44442
84b9230c
MF
444432010-08-21 Mike Frysinger <vapier@gentoo.org>
44444
44445 * configure.in: Move assembler checks to before sysdep dir checking.
44446
9bbd0ddc
PB
444472010-08-20 Petr Baudis <pasky@suse.cz>
44448
44449 * LICENSES: Sync the sunrpc license.
44450
9da4bb31
UD
444512010-08-19 Ulrich Drepper <drepper@redhat.com>
44452
a7ab6ec8
UD
44453 * sunrpc/auth_des.c: Update copyright notice once again.
44454 * sunrpc/auth_none.c: Likewise.
44455 * sunrpc/auth_unix.c: Likewise.
44456 * sunrpc/authdes_prot.c: Likewise.
44457 * sunrpc/authuxprot.c: Likewise.
44458 * sunrpc/bindrsvprt.c: Likewise.
44459 * sunrpc/clnt_gen.c: Likewise.
44460 * sunrpc/clnt_perr.c: Likewise.
44461 * sunrpc/clnt_raw.c: Likewise.
44462 * sunrpc/clnt_simp.c: Likewise.
44463 * sunrpc/clnt_tcp.c: Likewise.
44464 * sunrpc/clnt_udp.c: Likewise.
44465 * sunrpc/clnt_unix.c: Likewise.
44466 * sunrpc/des_crypt.c: Likewise.
44467 * sunrpc/des_soft.c: Likewise.
44468 * sunrpc/get_myaddr.c: Likewise.
44469 * sunrpc/getrpcport.c: Likewise.
44470 * sunrpc/key_call.c: Likewise.
44471 * sunrpc/key_prot.c: Likewise.
44472 * sunrpc/openchild.c: Likewise.
44473 * sunrpc/pm_getmaps.c: Likewise.
44474 * sunrpc/pm_getport.c: Likewise.
44475 * sunrpc/pmap_clnt.c: Likewise.
44476 * sunrpc/pmap_prot.c: Likewise.
44477 * sunrpc/pmap_prot2.c: Likewise.
44478 * sunrpc/pmap_rmt.c: Likewise.
44479 * sunrpc/rpc/auth.h: Likewise.
44480 * sunrpc/rpc/auth_unix.h: Likewise.
44481 * sunrpc/rpc/clnt.h: Likewise.
44482 * sunrpc/rpc/des_crypt.h: Likewise.
44483 * sunrpc/rpc/key_prot.h: Likewise.
44484 * sunrpc/rpc/netdb.h: Likewise.
44485 * sunrpc/rpc/pmap_clnt.h: Likewise.
44486 * sunrpc/rpc/pmap_prot.h: Likewise.
44487 * sunrpc/rpc/pmap_rmt.h: Likewise.
44488 * sunrpc/rpc/rpc.h: Likewise.
44489 * sunrpc/rpc/rpc_des.h: Likewise.
44490 * sunrpc/rpc/rpc_msg.h: Likewise.
44491 * sunrpc/rpc/svc.h: Likewise.
44492 * sunrpc/rpc/svc_auth.h: Likewise.
44493 * sunrpc/rpc/types.h: Likewise.
44494 * sunrpc/rpc/xdr.h: Likewise.
44495 * sunrpc/rpc_clntout.c: Likewise.
44496 * sunrpc/rpc_cmsg.c: Likewise.
44497 * sunrpc/rpc_common.c: Likewise.
44498 * sunrpc/rpc_cout.c: Likewise.
44499 * sunrpc/rpc_dtable.c: Likewise.
44500 * sunrpc/rpc_hout.c: Likewise.
44501 * sunrpc/rpc_main.c: Likewise.
44502 * sunrpc/rpc_parse.c: Likewise.
44503 * sunrpc/rpc_parse.h: Likewise.
44504 * sunrpc/rpc_prot.c: Likewise.
44505 * sunrpc/rpc_sample.c: Likewise.
44506 * sunrpc/rpc_scan.c: Likewise.
44507 * sunrpc/rpc_scan.h: Likewise.
44508 * sunrpc/rpc_svcout.c: Likewise.
44509 * sunrpc/rpc_tblout.c: Likewise.
44510 * sunrpc/rpc_util.c: Likewise.
44511 * sunrpc/rpc_util.h: Likewise.
44512 * sunrpc/rpcinfo.c: Likewise.
44513 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44514 * sunrpc/rpcsvc/key_prot.x: Likewise.
44515 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44516 * sunrpc/rpcsvc/mount.x: Likewise.
44517 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44518 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44519 * sunrpc/rpcsvc/rex.x: Likewise.
44520 * sunrpc/rpcsvc/rstat.x: Likewise.
44521 * sunrpc/rpcsvc/rusers.x: Likewise.
44522 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44523 * sunrpc/rpcsvc/spray.x: Likewise.
44524 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44525 * sunrpc/rtime.c: Likewise.
44526 * sunrpc/svc.c: Likewise.
44527 * sunrpc/svc_auth.c: Likewise.
44528 * sunrpc/svc_authux.c: Likewise.
44529 * sunrpc/svc_raw.c: Likewise.
44530 * sunrpc/svc_run.c: Likewise.
44531 * sunrpc/svc_simple.c: Likewise.
44532 * sunrpc/svc_tcp.c: Likewise.
44533 * sunrpc/svc_udp.c: Likewise.
44534 * sunrpc/svc_unix.c: Likewise.
44535 * sunrpc/svcauth_des.c: Likewise.
44536 * sunrpc/xcrypt.c: Likewise.
44537 * sunrpc/xdr.c: Likewise.
44538 * sunrpc/xdr_array.c: Likewise.
44539 * sunrpc/xdr_float.c: Likewise.
44540 * sunrpc/xdr_mem.c: Likewise.
44541 * sunrpc/xdr_rec.c: Likewise.
44542 * sunrpc/xdr_ref.c: Likewise.
44543 * sunrpc/xdr_sizeof.c: Likewise.
44544 * sunrpc/xdr_stdio.c: Likewise.
44545
9da4bb31
UD
44546 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44547 handling.
44548
bdaa77bc
AS
445492010-08-19 Andreas Schwab <schwab@redhat.com>
44550
44551 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44552
fe2f79db
LM
445532010-08-19 Luis Machado <luisgpm@br.ibm.com>
44554
44555 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44556 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44557 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44558 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44560 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44561 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44562 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44564 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44565 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44567 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44568 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44569
b9b42ee0
AB
445702010-07-26 Anton Blanchard <anton@samba.org>
44571
44572 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44573 * malloc/arena.c (heap_trim): Likewise.
44574
1c06ba31
UD
445752010-08-16 Ulrich Drepper <drepper@redhat.com>
44576
44577 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44578 here. Not...
44579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44580 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44581
f8392f40
L
445822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44583
44584 * sysdeps/i386/elf/Makefile: New file.
44585
3162f12e
AS
445862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44587
44588 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44589 from fanotify_init.
44590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44592
28c90b2c
UD
445932010-08-15 Ulrich Drepper <drepper@redhat.com>
44594
44595 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44596 of strncasecmp_l.
1feccb6c 44597 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44598
ca6bb004
UD
445992010-08-14 Ulrich Drepper <drepper@redhat.com>
44600
e9f82e0d
UD
44601 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44602 strncase_l-nonascii.
44603 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44604 Add strncase_l-ssse3.
44605 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44606 * sysdeps/x86_64/strcmp.S: Likewise.
44607 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44608 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44609 * sysdeps/x86_64/strncase.S: New file.
44610 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44611 * sysdeps/x86_64/strncase_l.S: New file.
44612 * string/Makefile (strop-tests): Add strncasecmp.
44613 * string/test-strncasecmp.c: New file.
44614
44615 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44616 warning.
44617
ca6bb004
UD
44618 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44619 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44620
052fa7b3
AS
446212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44622
44623 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44624
962dba78
UD
446252010-08-12 Ulrich Drepper <drepper@redhat.com>
44626
44627 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44629 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44630
bebff237
AM
446312010-05-01 Alan Modra <amodra@gmail.com>
44632
44633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44634 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44635 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44636 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44637 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44638 tidying. Don't tail-call __sigjmp_save for static lib.
44639 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44640 save location.
44641 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44642 (CALL_MCOUNT): Add eh info, and nop after bl.
44643 (TAIL_CALL_SYSCALL_ERROR): New macro.
44644 (PSEUDO_RET): Use it.
44645 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44646 Correct save location of integer regs and cr.
44647 (_dl_profile_resolve): Correct cr save location. Delete nops
44648 after bl when SHARED. Reduce cfi size a little by better
44649 placement of cfi directives.
44650 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44651 make a stack frame. Instead use parm save area as a temp.
44652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44653 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44655 Don't make a stack frame for parent, use parm save area.
44656 Increase child stack frame to 112 bytes. Don't save unused reg,
44657 and adjust reg usage. Set up cfi on error recovery and
44658 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44660 (__makecontext): Add dummy nop after jump to exit.
44661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44662 Use correct parm save area and cr save, reduce stack frame.
44663 Correct cfi for possible PSEUDO_RET frame setup.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44665 Branch to local label emitted by PSEUDO_RET rather than
44666 __syscall_error.
44667
02637374
AS
446682010-08-12 Andreas Schwab <schwab@redhat.com>
44669
44670 [BZ #11904]
44671 * locale/programs/locale.c (print_assignment): New function.
44672 (show_locale_vars): Use it.
44673
c3e2f19b
UD
446742010-08-11 Ulrich Drepper <drepper@redhat.com>
44675
3cdaa6ad
UD
44676 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44677 field.
44678 (struct statfs64): Likewise.
44679 (_STATFS_F_FLAGS): Define.
44680 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44682 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44683 (ST_VALID): Define locally.
44684 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44685 __statvfs_getflags, use the provided value.
44686 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44687 __ASSUME_STATFS_F_FLAGS.
44688
754f7da3
UD
44689 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44690
10b3bedc
UD
44691 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44692 Add sys/fanotify.h.
44693 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44694 fanotify_mask for GLIBC_2.13.
44695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44696 fanotify_init and fanotify_mark.
44697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44698 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44699
c08fb0d7
UD
44700 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44701 Add prlimit.
44702 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44703 prlimit64 for GLIBC_2.13.
44704 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44705 prlimit64.
44706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44707 syscall.
44708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44709 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44710 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44711 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44713 add prlimit alias.
44714 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44715
15bac72b
UD
44716 [BZ #11903]
44717 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44718 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44719
c3e2f19b
UD
44720 * nss/Makefile: Add rules to build and run tst-nss-test1.
44721 * shlib-versions: Add entry for libnss_test1.
44722 * nss/nss_test1.c: New file.
44723 * nss/tst-nss-test1.c: New file.
44724
44725 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44726 (__nss_configure_lookup): Set appropriate entry in
44727 __nss_configure_lookup to true.
44728 * nss/nsswitch.h: Define enum with indeces of databases in
44729 databases and __nss_database_custom arrays. Declare
44730 __nss_database_custom.
44731 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44732 to avoid using nscd when custom rules are installed.
44733 * nss/getXXbyYY_r.c: Likewise.
44734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44735
44736 * nss/nss_files/files-parse.c: Whitespace fixes.
44737
f15ce4d8
UD
447382010-08-09 Ulrich Drepper <drepper@redhat.com>
44739
44740 [BZ #11883]
44741 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44742 * posix/fnmatch_loop.c: Likewise.
44743
d22e4cc9
AK
447442010-07-17 Andi Kleen <ak@linux.intel.com>
44745
44746 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44747 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44748 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44749 * Versions.def [GLIBC_2.13]: Add.
44750
805bc17d
UD
447512010-08-06 Ulrich Drepper <drepper@redhat.com>
44752
44753 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44754 Also fail if tpwd after pwuid call is NULL.
44755
5a42321d
ST
447562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44757
44758 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44759 when converting to ms.
44760
fd3ebeda
ST
447612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44762
44763 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44764 EOPNOTSUPP errors with ENOTTY.
44765 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44766 EOPNOTSUPP errors with ENOTTY.
44767
73507d3a
UD
447682010-07-31 Ulrich Drepper <drepper@redhat.com>
44769
44770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44771 Add strcasecmp_l-ssse3.
44772 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44773 strcasecmp.
44774 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44775 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44777
fe36dd02
UD
447782010-07-30 Ulrich Drepper <drepper@redhat.com>
44779
66f6765a
UD
44780 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44781
42e08a54
UD
44782 * string/Makefile (strop-tests): Add strcasecmp.
44783 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44784 strcasecmp_l-nonascii.
44785 (gen-as-const-headers): Add locale-defines.sym.
44786 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44787 * sysdeps/x86_64/strcasecmp.S: New file.
44788 * sysdeps/x86_64/strcasecmp_l.S: New file.
44789 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44790 * sysdeps/x86_64/locale-defines.sym: New file.
44791 * string/test-strcasecmp.c: New file.
44792
fe36dd02
UD
44793 * string/test-strcasestr.c: Test both ends of the range of characters.
44794 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44795
48cbc0d6
RM
447962010-07-29 Roland McGrath <roland@redhat.com>
44797
76e6d6bc 44798 [BZ #11856]
48cbc0d6
RM
44799 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44800
880113d9
UD
448012010-07-27 Ulrich Drepper <drepper@redhat.com>
44802
44803 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44804 for ld.so.
44805
deb9cabb
AS
448062010-07-27 Andreas Schwab <schwab@redhat.com>
44807
44808 * manual/memory.texi (Malloc Tunable Parameters): Document
44809 M_PERTURB.
44810
1c7570ff
RM
448112010-07-26 Roland McGrath <roland@redhat.com>
44812
44813 [BZ #11840]
44814 * configure.in (-fgnu89-inline check): Set and substitute
44815 gnu89_inline, not libc_cv_gnu89_inline.
44816 * configure: Regenerated.
44817 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44818
24fb0f88
UD
448192010-07-26 Ulrich Drepper <drepper@redhat.com>
44820
44821 * string/test-strnlen.c: New file.
44822 * string/Makefile (strop-tests): Add strnlen.
44823 * string/tester.c (test_strnlen): Add a few more test cases.
44824 * string/tst-strlen.c: Better error reporting.
44825
44826 * sysdeps/x86_64/strnlen.S: New file.
44827
8e96b93a
UD
448282010-07-24 Ulrich Drepper <drepper@redhat.com>
44829
44830 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44831 lower-latency instructions.
44832
dbc676d4
UD
448332010-07-23 Ulrich Drepper <drepper@redhat.com>
44834
44835 * string/test-strcasestr.c: New file.
44836 * string/test-strstr.c: New file.
44837 * string/Makefile (strop-tests): Add strstr and strcasestr.
44838 * string/str-two-way.h: Don't undefine MAX.
44839 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44840
f6a31e0e
AS
448412010-07-21 Andreas Schwab <schwab@redhat.com>
44842
44843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44844 strcasestr-nonascii.
44845 (CFLAGS-strcasestr-nonascii.c): Define.
44846 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44848 Remove unused attribute.
44849
5dbc3b6c
RM
448502010-07-20 Roland McGrath <roland@redhat.com>
44851
44852 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44853 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44854 ld.so.cache was broken. With it, there is no way to disable dsocaps
44855 like LD_HWCAP_MASK can disable hwcaps.
44856
23d101d8
EPM
448572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44858
44859 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44860
cc9f2e47
UD
448612010-07-16 Ulrich Drepper <drepper@redhat.com>
44862
44863 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44864 call in strcasestr.
44865 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44866 __strcasestr_sse42_nonascii.
44867 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44868 strcasestr-nonascii.c.
44869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44870
77c1b069
LM
448712010-06-15 Luis Machado <luisgpm@br.ibm.com>
44872
44873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44874 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44875 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44877
440566c3
UD
448782010-07-09 Ulrich Drepper <drepper@redhat.com>
44879
44880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44881 fcntl.
44882
5be9d05d
AS
448832010-07-06 Andreas Schwab <schwab@redhat.com>
44884
c30b7ee2 44885 [BZ #11577]
5be9d05d
AS
44886 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44887 dl_signal_cerror.
44888
8a492a67
UD
448892010-07-06 Ulrich Drepper <drepper@redhat.com>
44890
44891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44892 _PC_PIPE_BUF using F_GETPIPE_SZ.
44893
713df3d5
RM
448942010-07-05 Roland McGrath <roland@redhat.com>
44895
44896 * manual/arith.texi (Rounding Functions): Fix rint description
44897 implicit in round description.
44898
702e8f14
UD
448992010-07-02 Ulrich Drepper <drepper@redhat.com>
44900
44901 * elf/Makefile: Fix linking for a few tests to make recent linker
44902 happy.
44903
52ed8be9
AS
449042010-06-30 Andreas Schwab <schwab@redhat.com>
44905
44906 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44907 $(common-objpfx)libc_nonshared.a.
44908
f47c9a11
LM
449092010-06-21 Luis Machado <luisgpm@br.ibm.com>
44910
44911 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44912 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44913 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44914 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44915 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44916 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44917 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44918 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44933 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44934 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44935 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44936 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44937 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44938 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44939 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44940 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44941 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44942 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44943 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44944 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44959
6fb8cbcb
L
449602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44961
44962 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44963 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44964 * string/memmove.c (memmove): Renamed to ...
44965 (MEMMOVE): ...this. Default to memmove.
44966 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44967 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44968 (END_CHK): Define.
44969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44970 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44971 mempcpy-ssse3-back memmove-ssse3-back.
44972 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44974 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44975 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44976 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44977 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44978 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44979 * sysdeps/x86_64/multiarch/memmove.c: New file.
44980 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44981 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44982 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44983 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44984 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44986 Define.
44987 (index_Fast_Copy_Backward): Define.
44988 (HAS_ARCH_FEATURE): Define.
44989 (HAS_FAST_REP_STRING): Define.
44990 (HAS_FAST_COPY_BACKWARD): Define.
44991
4e733bac 449922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44993
44994 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44995 Restore proper fallback handling.
44996
63c4ed22
UD
449972010-06-19 Ulrich Drepper <drepper@redhat.com>
44998
ac2b484c
UD
44999 [BZ #11701]
45000 * posix/group_member.c (__group_member): Correct checking loop.
45001
63c4ed22
UD
45002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45003 OOM in getpwuid_r correctly. Return error number when the caller
45004 should return, otherwise -1.
45005 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45006 call returning > 0 value.
45007 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45008
765ade4b
AS
450092010-06-07 Andreas Schwab <schwab@redhat.com>
45010
45011 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45012 libc_nonshared.a from targets in modules-names.
45013
80da2e09
KS
450142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45015
45016 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45017 requires it.
45018
158db122
LM
450192010-06-10 Luis Machado <luisgpm@br.ibm.com>
45020
45021 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45025
caa78cf8
AS
450262010-06-02 Andreas Schwab <schwab@redhat.com>
45027
45028 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45029
b2ef2c01
UD
450302010-06-14 Ulrich Drepper <drepper@redhat.com>
45031
45032 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45033 and F_GETPIPE_SZ.
45034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45039 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45040
fbd643b6
RM
450412010-06-14 Roland McGrath <roland@redhat.com>
45042
45043 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45044
f32f2869
JJ
450452010-06-07 Jakub Jelinek <jakub@redhat.com>
45046
45047 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45048 __REDIRECT followed by __THROW.
45049 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45050 * posix/getopt.h (getopt): Likewise.
45051
2a50c078
EPM
450522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45053
45054 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45055 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45056 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45057 in AT_FLAGS.
45058 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45059 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45060
eb5ad2eb
LM
450612010-05-28 Luis Machado <luisgpm@br.ibm.com>
45062
45063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45064
3c88fe1e
L
450652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45066
45067 [BZ #11640]
45068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45069 Properly check family and model.
45070
d2f73151
TY
450712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45072
45073 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45074
ebd2e13d
LM
450752010-05-24 Luis Machado <luisgpm@br.ibm.com>
45076
45077 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45078
b32b8b45
UD
450792010-05-21 Ulrich Drepper <drepper@redhat.com>
45080
45081 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45082 symbol reference.
45083
9acbe24d
AS
450842010-05-19 Andreas Schwab <schwab@redhat.com>
45085
45086 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45087 symbol reference.
45088
f0ccf6ea
AS
450892010-05-21 Andreas Schwab <schwab@redhat.com>
45090
3d04ff3a
AS
45091 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45092 and internal_recvmmsg.
45093 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45094 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45096 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45097
f0ccf6ea
AS
45098 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45099 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45100 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45101
5b08ac57
AS
451022010-05-20 Andreas Schwab <schwab@redhat.com>
45103
45104 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45105
4828935d
LM
451062010-05-17 Luis Machado <luisgpm@br.ibm.com>
45107
45108 POWER7 optimizations.
45109 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45110 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45111
373d545e
UD
451122010-05-19 Ulrich Drepper <drepper@redhat.com>
45113
45114 * version.h: Update for 2.13 development version.
45115
21a2b1ae
AS
451162010-05-12 Andrew Stubbs <ams@codesourcery.com>
45117
45118 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45119 exceptions. Return 0.
45120
3f7dcb2b
RM
451212010-05-07 Roland McGrath <roland@redhat.com>
45122
45123 * elf/ldconfig.c (main): Add a const.
45124
5f24d53a 451252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45126
a160f8d8
UD
45127 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45128 (args_options): Add no-idn option.
45129 (ahosts_keys_int): Add idn_flags to ai_flags.
45130 (parse_option): Handle 'i' option to clear idn_flags.
45131
5f24d53a
UD
45132 * malloc/malloc.c (_int_free): Possible race in the most recently
45133 added check. Only act on the data if no current modification
45134 happened.
265bb1ce
UD
45135
45136See ChangeLog.17 for earlier changes.