]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e81a4f9a
JM
12014-06-11 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4 type.
5 [POSIX] (off_t): Likewise.
6 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7 [POSIX] (S_ISBLK): Require macro.
8 [POSIX] (S_ISCHR): Likewise.
9 [POSIX] (S_ISDIR): Likewise.
10 [POSIX] (S_ISFIFO): Likewise.
11 [POSIX] (S_ISREG): Likewise.
12 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13 optional-macro.
14 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15 type.
16 [POSIX] (time_t): Likewise.
17 [POSIX] (timer_t): Likewise.
18
89e435f3
FW
192014-06-11 Florian Weimer <fweimer@redhat.com>
20
21 [BZ #17048]
22 * posix/spawn_int.h (struct __spawn_action): Make the path string
23 non-const to support deallocation.
24 * posix/spawn_faction_addopen.c
25 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26 * posix/spawn_faction_destroy.c
27 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
28 path in all spawn_do_open actions.
29 * posix/tst-spawn.c (do_test): Exercise the copy operation in
30 posix_spawn_file_actions_addopen.
31
c3a2ebe1
CM
322014-06-11 Chris Metcalf <cmetcalf@tilera.com>
33
34 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37 conditional code always true.
38 (__libc_vfork): New alias.
39
9503784a
RM
402014-06-11 Roland McGrath <roland@hack.frob.com>
41
c9cab3d2
RM
42 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44
d3996c79
RM
45 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46
ba5ec611
RM
47 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49
f12b4814
RM
50 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
51 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
52
9503784a
RM
53 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
54 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
55
e23d3d26
VR
562014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
57
58 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
59 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
60 multiarch strcmp for PPC64.
61 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
62 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
63 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
64 multiarch optimizations.
65 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
66 (__libc_ifunc_impl_list): Likewise.
67
42b1161e
SP
682014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
69
70 * benchtests/scripts/validate_benchout.py: New script.
71 * benchtests/Makefile (bench-func): Call it.
72 * benchtests/scripts/benchout.schema.json: New file.
73
2d0fc4dc
CM
742014-06-10 Chris Metcalf <cmetcalf@tilera.com>
75
4a594c34
AZ
76 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
77 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
78 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
79 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
80 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
81 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
82 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
83 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
84 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
85 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
86 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
87 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
88 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
89 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
90 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
91 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
92 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 93 Moved ...
4a594c34 94 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 95 ... here.
4a594c34 96 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 97 Moved ...
4a594c34
AZ
98 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
99 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 100 Moved ...
4a594c34 101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 102 ... here.
4a594c34 103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 104 Moved ...
4a594c34 105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 106 ... here.
4a594c34 107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 108 Moved ...
4a594c34
AZ
109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 111 Moved ...
4a594c34 112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 113 ... here.
4a594c34 114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 115 Moved ...
4a594c34 116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 117 ... here.
4a594c34 118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 119 Moved ...
4a594c34
AZ
120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 122 Moved ...
4a594c34 123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 124 ... here.
4a594c34 125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 126 Moved ...
4a594c34 127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 128 ... here.
4a594c34 129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 130 Moved ...
4a594c34 131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 132 ... here.
4a594c34 133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 134 Moved ...
4a594c34
AZ
135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 137 Moved ...
4a594c34 138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 139 ... here.
4a594c34 140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 141 Moved ...
4a594c34 142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 143 ... here.
4a594c34 144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 145 Moved ...
4a594c34 146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 147 ... here.
4a594c34 148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 149 Moved ...
4a594c34
AZ
150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 152 Moved ...
4a594c34 153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 154 ... here.
4a594c34 155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 156 Moved ...
4a594c34 157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 158 ... here.
4a594c34 159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 160 Moved ...
4a594c34
AZ
161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 163 Moved ...
4a594c34 164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 165 ... here.
4a594c34 166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 167 Moved ...
4a594c34
AZ
168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 170 Moved ...
4a594c34
AZ
171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 173 Moved ...
4a594c34 174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 175 ... here.
4a594c34 176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 177 Moved ...
4a594c34 178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 179 ... here.
4a594c34 180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 181 Moved ...
4a594c34 182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 183 ... here.
4a594c34 184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 185 Moved ...
4a594c34
AZ
186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 188 Moved ...
4a594c34 189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 190 ... here.
4a594c34 191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 192 Moved ...
4a594c34 193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 194 ... here.
4a594c34
AZ
195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
196 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
198 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 200 Moved ...
4a594c34 201 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 202 ... here.
4a594c34
AZ
203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
204 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
206 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
208 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
210 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
212 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
214 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
215 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 216 Moved ...
4a594c34
AZ
217 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
218 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 219 Moved ...
4a594c34
AZ
220 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
223 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 224 Moved ...
4a594c34
AZ
225 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
226 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
227 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
228 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
229 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
230 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
231 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 232
0570cfed
W
2332014-06-10 Wilco <wdijkstr@arm.com>
234
235 * math/test-fenv-return.c: New file.
236 * math/Makefile: Add new test test-fenv-return.
237
f8ba1b56
JM
2382014-06-10 Joseph Myers <joseph@codesourcery.com>
239
240 [BZ #17042]
241 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
242 when x - 1 is zero.
243 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
244 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
245 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
246 0.0L for an argument of 1.0L.
247 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
248 Likewise.
249 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
250 value when x - 1 is zero.
251 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
252 * sysdeps/i386/fpu/libm-test-ulps: Update.
253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
254
2c3520d9
BO
2552014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
256
257 [BZ #15119]
258 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
259
acaa4d24
RM
2602014-06-09 Roland McGrath <roland@hack.frob.com>
261
262 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
263 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
264
962b744d
RM
2652014-06-09 Roland McGrath <roland@hack.frob.com>
266
d752f0cc
RM
267 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
268 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
269
34eda6d1
RM
270 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
271 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
272
50f0a637
RM
273 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
274 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
275
08f41f04
RM
276 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
277 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
278
962b744d
RM
279 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
280 if not already defined.
281 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
282 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
283 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
284 (TLS_INIT_TP): Use it.
285 (TLS_DEFINE_INIT_TP): New macro.
286 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
287
09f19b05
JM
2882014-06-09 Joseph Myers <joseph@codesourcery.com>
289
290 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
291 constant.
292 [POSIX] (IXANY): Likewise.
293 [POSIX] (OLCUC): Likewise.
294 [POSIX || POSIX2008] (CBAUD): Do not allow.
295 [POSIX || POSIX2008] (DEFECHO): Likewise.
296 [POSIX || POSIX2008] (ECHOCTL): Likewise.
297 [POSIX || POSIX2008] (ECHOKE): Likewise.
298 [POSIX || POSIX2008] (ECHOPRT): Likewise.
299 [POSIX || POSIX2008] (EXTA): Likewise.
300 [POSIX || POSIX2008] (EXTB): Likewise.
301 [POSIX || POSIX2008] (FLUSHO): Likewise.
302 [POSIX || POSIX2008] (LOBLK): Likewise.
303 [POSIX || POSIX2008] (PENDIN): Likewise.
304 [POSIX || POSIX2008] (SWTCH): Likewise.
305 [POSIX || POSIX2008] (VDISCARD): Likewise.
306 [POSIX || POSIX2008] (VDSUSP): Likewise.
307 [POSIX || POSIX2008] (VLNEXT): Likewise.
308 [POSIX || POSIX2008] (VREPRINT): Likewise.
309 [POSIX || POSIX2008] (VSTATUS): Likewise.
310 [POSIX || POSIX2008] (VWERASE): Likewise.
311 (B*): Change to B[0123456789]*.
312 * conform/data/time.h-data [POSIX || UNIX98]
313 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
314 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
315 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
316 [POSIX] (tm_*): Do not allow.
317
686554bf
JM
3182014-06-07 Joseph Myers <joseph@codesourcery.com>
319
320 * Makefile (install): Don't set LANGUAGE.
321 * Makefile.in (install): Likewise.
322 * assert/Makefile (test-assert-ENV): Remove variable.
323 (test-assert-perr-ENV): Likewise.
324 * elf/Makefile (neededtest4-ENV): Likewise.
325 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
326 [$(cross-compiling) = no]: Don't set LANGUAGE.
327 * io/ftwtest-sh (LANG): Remove variable.
328 * libio/Makefile (tst-widetext-ENV): Likewise.
329 * manual/install.texi (Running make install): Don't refer to
330 environment settings for make install.
331 * INSTALL: Regenerated.
332 * nptl/tst-tls6.sh: Don't set LANG.
333 * posix/globtest.sh (LANG): Remove variable.
334 * string/Makefile (tester-ENV): Likewise.
335 (inl-tester-ENV): Likewise.
336 (noinl-tester-ENV): Likewise.
337 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
338 [$(cross-compiling) = no]: Don't set LANGUAGE.
339 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
340 without explicit environment settings.
341
68e6b6b1
RM
3422014-06-06 Roland McGrath <roland@hack.frob.com>
343
344 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
345 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
346 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
347 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
348
4d3ae034
CM
3492014-06-06 Chris Metcalf <cmetcalf@tilera.com>
350
351 * crypt/crypt-private.h [DOS]: Add some includes taken from the
352 other files in the crypt directory.
353 * crypt/crypt.c: Remove duplicate includes.
354 * crypt/crypt-entry.c: Likewise.
355 * crypt/crypt_util.c: Likewise.
356
8540f6d2
JM
3572014-06-06 Joseph Myers <joseph@codesourcery.com>
358
359 * Makeconfig (run-program-env): New variable.
360 (run-program-prefix-before-env): Likewise.
361 (run-program-prefix-after-env): Likewise.
362 (run-program-prefix): Define in terms of new variables.
363 (built-program-cmd-before-env): New variable.
364 (built-program-cmd-after-env): Likewise.
365 (built-program-cmd): Define in terms of new variables.
366 (test-program-prefix-before-env): New variable.
367 (test-program-prefix-after-env): Likewise.
368 (test-program-prefix): Define in terms of new variables.
369 (test-program-cmd-before-env): New variable.
370 (test-program-cmd-after-env): Likewise.
371 (test-program-cmd): Define in terms of new variables.
372 * Rules (make-test-out): Use $(run-program-env).
373 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
374 (help): Do not mention environment variables. Mention
375 --timeoutfactor option.
376 (timeoutfactor): New variable.
377 (blacklist_exports): Remove function.
378 (exports): Remove variable.
379 (command): Do not include ${exports}.
380 * manual/install.texi (Configuring and compiling): Do not mention
381 test wrappers preserving environment variables. Mention that last
382 assignment to a variable must take precedence.
383 * INSTALL: Regenerated.
384 * benchtests/Makefile (run-bench): Use $(run-program-env).
385 * catgets/Makefile ($(objpfx)test1.cat): Use
386 $(built-program-cmd-before-env), $(run-program-env) and
387 $(built-program-cmd-after-env).
388 ($(objpfx)test2.cat): Do not specify environment variables
389 explicitly.
390 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
391 $(run-program-env) and $(built-program-cmd-after-env).
392 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
393 $(run-program-env) and $(test-program-cmd-after-env).
394 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
395 explicitly.
396 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
397 run_program_env and test_program_cmd_after_env arguments.
398 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
399 * elf/tst-pathopt.sh: Use run_program_env argument.
400 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
401 $(test-wrapper-env) and $(run-program-env).
402 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
403 run_program_env arguments.
404 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
405 * intl/Makefile ($(objpfx)tst-gettext.out): Use
406 $(test-program-prefix-before-env), $(run-program-env) and
407 $(test-program-prefix-after-env).
408 ($(objpfx)tst-gettext2.out): Likewise.
409 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
410 run_program_env and test_program_prefix_after_env arguments.
411 * intl/tst-gettext2.sh: Likewise.
412 * intl/tst-gettext4.sh: Do not set environment variables
413 explicitly.
414 * intl/tst-gettext6.sh: Likewise.
415 * intl/tst-translit.sh: Likewise.
416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
417 $(test-program-prefix-before-env), $(run-program-env) and
418 $(test-program-prefix-after-env).
419 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
420 run_program_env and test_program_prefix_after_env arguments.
421 * math/Makefile (run-regen-ulps): Use $(run-program-env).
422 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
423 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
424 explicitly with each use of ${test_wrapper_env}.
425 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
426 $(test-program-prefix-before-env), $(run-program-env) and
427 $(test-program-prefix-after-env).
428 * posix/tst-getconf.sh: Do not set environment variables
429 explicitly.
430 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
431 run_program_env and test_program_prefix_after_env arguments.
432 * stdio-common/tst-printf.sh: Do not set environment variables
433 explicitly.
434 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
435 $(test-program-prefix-before-env), $(run-program-env) and
436 $(test-program-prefix-after-env).
437 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
438 run_program_env and test_program_prefix_after_env arguments.
439 Split $test calls into $test_pre and $test.
440 * timezone/Makefile (build-testdata): Use
441 $(built-program-cmd-before-env), $(run-program-env) and
442 $(built-program-cmd-after-env).
443
ed36bfa1
AZ
4442014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
445
446 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
447 strlen for non SHARED builds.
448
fc75bf46
SP
4492014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
450
451 * nptl/allocatestack.c (check_list): Inlined function...
452 (__reclaim_stacks): ... here.
453
d89b3d80
OB
4542014-06-05 Ondřej Bílka <neleai@seznam.cz>
455
456 [BZ #15698]
457 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
458 memory overrun.
459
2bf18041
JM
4602014-06-05 Joseph Myers <joseph@codesourcery.com>
461
462 * Rules (make-test-out): Include
463 LOCPATH=$(common-objpfx)localedata in default environment.
464 * debug/Makefile (tst-chk1-ENV): Remove variable.
465 (tst-chk2-ENV): Likewise.
466 (tst-chk3-ENV): Likewise.
467 (tst-chk4-ENV): Likewise.
468 (tst-chk5-ENV): Likewise.
469 (tst-chk6-ENV): Likewise.
470 (tst-lfschk1-ENV): Likewise.
471 (tst-lfschk2-ENV): Likewise.
472 (tst-lfschk3-ENV): Likewise.
473 (tst-lfschk4-ENV): Likewise.
474 (tst-lfschk5-ENV): Likewise.
475 (tst-lfschk6-ENV): Likewise.
476 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
477 (tst-iconv7-ENV): Likewise.
478 * intl/Makefile (LOCPATH-ENV): Likewise.
479 (tst-codeset-ENV): Likewise.
480 (tst-gettext3-ENV): Likewise.
481 (tst-gettext5-ENV): Likewise.
482 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
483 (tst-fopenloc-ENV): Likewise.
484 (tst-fgetws-ENV): Remove variable.
485 (tst-ungetwc1-ENV): Likewise.
486 (tst-ungetwc2-ENV): Likewise.
487 (bug-ungetwc2-ENV): Likewise.
488 (tst-swscanf-ENV): Likewise.
489 (bug-ftell-ENV): Likewise.
490 (tst-fgetwc-ENV): Likewise.
491 (tst-fseek-ENV): Likewise.
492 (tst-ftell-partial-wide-ENV): Likewise.
493 (tst-ftell-active-handler-ENV): Likewise.
494 (tst-ftell-append-ENV): Likewise.
495 * posix/Makefile (tst-fnmatch-ENV): Likewise.
496 (tst-regexloc-ENV): Likewise.
497 (bug-regex1-ENV): Likewise.
498 (tst-regex-ENV): Likewise.
499 (tst-regex2-ENV): Likewise.
500 (bug-regex5-ENV): Likewise.
501 (bug-regex6-ENV): Likewise.
502 (bug-regex17-ENV): Likewise.
503 (bug-regex18-ENV): Likewise.
504 (bug-regex19-ENV): Likewise.
505 (bug-regex20-ENV): Likewise.
506 (bug-regex22-ENV): Likewise.
507 (bug-regex23-ENV): Likewise.
508 (bug-regex25-ENV): Likewise.
509 (bug-regex26-ENV): Likewise.
510 (bug-regex30-ENV): Likewise.
511 (bug-regex32-ENV): Likewise.
512 (bug-regex33-ENV): Likewise.
513 (bug-regex34-ENV): Likewise.
514 (bug-regex35-ENV): Likewise.
515 (tst-rxspencer-ENV): Likewise.
516 (tst-rxspencer-no-utf8-ENV): Likewise.
517 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
518 (tst-sscanf-ENV): Likewise.
519 (tst-swprintf-ENV): Likewise.
520 (tst-swscanf-ENV): Likewise.
521 (test-vfprintf-ENV): Likewise.
522 (scanf13-ENV): Likewise.
523 (bug14-ENV): Likewise.
524 (tst-grouping-ENV): Likewise.
525 * stdlib/Makefile (tst-strtod-ENV): Likewise.
526 (tst-strtod3-ENV): Likewise.
527 (tst-strtod4-ENV): Likewise.
528 (tst-strtod5-ENV): Likewise.
529 (testmb2-ENV): Likewise./
530 * string/Makefile (tst-strxfrm-ENV): Likewise.
531 (tst-strxfrm2-ENV): Likewise.
532 (bug-strcoll1-ENV): Likewise.
533 (test-strcasecmp-ENV): Likewise.
534 (test-strncasecmp-ENV): Likewise.
535 * time/Makefile (tst-strptime-ENV): Likewise.
536 (tst-ftime_l-ENV): Likewise.
537 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
538 (tst-mbrtowc-ENV): Likewise.
539 (tst-wcrtomb-ENV): Likewise.
540 (tst-mbrtowc2-ENV): Likewise.
541 (tst-c16c32-1-ENV): Likewise.
542 (tst-mbsnrtowcs-ENV): Likewise.
543
cd1fb604
OB
5442014-06-05 Ondřej Bílka <neleai@seznam.cz>
545
546 * manual/resource.texi (How to get information about the memory
547 subsystem?): Fix typo.
548 Reported by Peon de la Parra Ivan <peon@keba.com>
549
b42eca7d
GY
5502014-06-03 Guo Yixuan <culu.gyx@gmail.com>
551
552 [BZ #16882]
553 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
554 (pthread_spin_lock): Branch out of spin loop to proper location.
555 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
556 (pthread_spin_lock): Likewise.
557
902b71f9
DM
558 * nptl/tst-spin4.c: New test.
559 * nptl/Makefile (tests): Add tst-spin4.
560
f9d2d032
AS
5612014-06-03 Andreas Schwab <schwab@suse.de>
562
563 [BZ #15946]
564 * resolv/res_send.c (send_dg): Reload file descriptor after
565 calling reopen.
566
cf7bfd28
SL
5672014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
568
569 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
570
111cc714
RH
5712014-06-03 Richard Henderson <rth@redhat.com>
572
89b4bd6b
RH
573 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
574 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
575 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
576 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
577 in the SAVE_PID block.
578 (__libc_vfork): New alias.
71840409 579 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 580
111cc714
RH
581 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
582 child in registers, not on the stack. Remove RESET_PID conditionals.
583 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
584
ccc39911
MS
5852014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
586
587 * sysdeps/aarch64/libm-test-ulps: Regenerate.
588
693096cc
W
5892014-06-03 Wilco <wdijkstr@arm.com>
590
591 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
592 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
593 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
594 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
595 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
596 Likewise.
597
0b4366bc
W
5982014-06-03 Wilco <wdijkstr@arm.com>
599
600 * sysdeps/aarch64/fpu/math_private.h
601 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
602 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
603 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
604 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
605 Fix declarations.
606
8747cd03
KS
6072014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
608
609 * crypt/crypt-private.h: Include ufc-crypt.h.
610 (__b64_from_24bit): Declare extern.
611 * crypt/crypt_util.c(__b64_from_24bit): New function.
612 (b64t): New static const variable.
613 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
614 (b64t): Remove variable.
615 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
616 * crypt/sha256-crypt.c: Include crypt-private.h.
617 (b64t): Remove variable.
618 (__sha256_crypt_r): Remove b64_from_24bit and replace
619 with __b64_from_24bit.
620 * crypt/sha512-crypt.c: Likewise.
621
d936d379
RM
6222014-06-02 Roland McGrath <roland@hack.frob.com>
623
624 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
625 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
626 Label the code __libc_vfork rather than __vfork.
627 [!NOT_IN_libc] (vfork): Define as weak alias.
628 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
629 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
630 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
631
9fa76613
SP
6322014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
633
634 * malloc/malloc.c (malloc_info): Fix format specifier for
635 n_mmaps.
636
a88dadbe
W
6372014-06-02 Wilco <wdijkstr@arm.com>
638
639 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
640 FPCR write.
641
c95b3011
W
6422014-06-02 Wilco <wdijkstr@arm.com>
643
644 [BZ #17009]
645 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
646 Rewrite to reduce FPCR/FPSR accesses.
647
6b4d7a90
DM
6482014-06-01 David S. Miller <davem@davemloft.net>
649
650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
651
30f3d07c
DM
6522014-05-31 David S. Miller <davem@davemloft.net>
653
654 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
655 to occur in round to nearest mode when |x| >= 2.0
656
74f31c18
RH
6572014-05-30 Richard Henderson <rth@twiddle.net>
658
f0712b54
RH
659 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
660 (PSEUDO_RET_NOERRNO): Remove.
661 (ret): Don't redefine.
662 (ret_NOERRNO): Define in terms of ret.
663 (ret_ERRVAL): Likewise.
664
74f31c18
RH
665 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
666 use of PSEUDO_RET; perform the error check directly.
667
30477995
MM
6682014-05-30 Marko Myllynen <myllynen@redhat.com>
669
670 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
671 with __int128_t.
672
62a58816
SP
6732014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
674
675 * malloc/malloc (malloc_info): Fix formatting.
676
4d653a59
SP
6772014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
678 Roland McGrath <roland@hack.frob.com>
679
680 * malloc/malloc (malloc_info): Also print mmapped statistics.
681
5190c17f
RM
6822014-05-30 Roland McGrath <roland@hack.frob.com>
683
684 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
685 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
686
987c0269
OB
6872014-05-30 Ondřej Bílka <neleai@seznam.cz>
688
689 * malloc/malloc.c (malloc_info): Inline mi_arena.
690
af4e8ef9
RH
6912014-05-29 Richard Henderson <rth@twiddle.net>
692
1670e207
RH
693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
694 Remove comma before expanding ASM_ARGS_##nr.
695 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
696 Make _x0 a strict output; make _x8 a strict input; adjust expansion
697 of ASM_ARGS_##nr.
698 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
699 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
700 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
701 (ASM_ARGS_1): Add leading comma.
702
11a28aee
RH
703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
704 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
705 to __errno_location.
706 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
707 Remove the expected plt for __errno_location.
708
a17e5ffb 709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 710 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
711 call to __read_tp.
712
b5be4597
RH
713 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
714 Always allocate 64 bytes of stack frame. Use ldp/stp to create
715 it and break it down.
716 (DOCARGS_0, DOCARGS_1): Do nothing.
717 (DOCARGS_2): Update to store into the new stack frame.
718 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
719 (UNDOCARGS_1): Update to restore from the new stack frame.
720 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
721 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
722
645d44ab
RH
723 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
724 (SINGLE_THREAD_P): New parameter for result regno.
725 (PSEUDO): Update to match; use cbz instead of beq.
726
a8b4f04a
RH
727 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
728 Use ENTRY to define the _nocancel entry point. Share the syscall
729 and syscall error check paths with the cancel path.
730 (PSEUDO_END): New.
731
af4e8ef9
RH
732 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
733 whitespace; tabs before and after asm mnemonics.
734
26b0d2e1
EW
7352014-05-29 Eric Wong <normalperson@yhbt.net>
736
737 [BZ #15132]
738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
739 Call fstat64 or stat64 internally, depending on arguments passed.
740 Replace stat buffer argument with file descriptor argument.
741 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
742 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
743 Pass fd to __internal_statvfs instead of calling fstat64.
744 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
745 Pass fd to __internal_statvfs64 instead of calling fstat64.
746 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
747 Pass -1 to __internal_statvfs instead of calling stat64.
748 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
749 Pass -1 to __internal_statvfs64 instead of calling stat64.
750
1efe2bd9
RM
7512014-05-28 Roland McGrath <roland@hack.frob.com>
752
0d3b7a19
RM
753 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
754 that was previously under [RESET_PID].
755 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
756
1efe2bd9
RM
757 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
758 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
759
a6bea3ca
RM
7602014-05-27 Roland McGrath <roland@hack.frob.com>
761
30b6629e
RM
762 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
763
a6bea3ca
RM
764 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
765 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
766
3dfb9a5c
OB
7672014-05-27 Ondřej Bílka <neleai@seznam.cz>
768
769 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
770
774f9285
AS
7712014-05-27 Andreas Schwab <schwab@suse.de>
772
773 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
774 TLS_INIT_TP macro.
775 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
776 * elf/rtld.c (init_tls, dl_main): Likewise.
777 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
778 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
779 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
780 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
781 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
782 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
783 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
784 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
785 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
786 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
787 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
788 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
789 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
790 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
791 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
792 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
793 * sysdeps/generic/tls.h: Update description.
794
36ffe739
WN
7952014-05-27 Will Newton <will.newton@linaro.org>
796
797 [BZ #16990]
798 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
799 and restore r2 rather than just restoring.
800
2482ae43
SP
8012014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 [BZ #16724]
804 * libio/tst-ftell-append.c: New test case.
805 * libio/Makefile (tests): Add test case.
806 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
807 append mode.
808 * libio/wfileops.c (do_ftell_wide): Likewise.
809
3d1024e8
AZ
8102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
bab90016
AZ
812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
813
c7a8d667
AZ
814 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
815 ...
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
818 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
819 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
820 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
821 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
822 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
823 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
825 Moved ...
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
828 Moved ...
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
830 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
831 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
833 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
834 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
835 ...
836 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
837 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
838 Moved ...
839 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
840 here.
841 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
842 ...
843 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
844 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
845 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
846
daee7851
AZ
847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
848 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
850 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
851
50a40819
AZ
852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
853 merge into ...
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
856 ...
857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
859 ...
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
862 Moved ...
863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
864 here.
865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
866 Moved ...
867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
869 Moved ...
870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
871
8464c2a1
AZ
872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
873 conditional [RESET_PID].
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
876 removed.
877 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
878 removed.
879
3d1024e8
AZ
880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
881 <tcb-offsets.h>.
882 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
883 (__libc_vfork): New strong alias.
884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
885 removed.
886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
887 Removed.
888
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
890 <tcb-offsets.h>.
891 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
892 (__libc_vfork): New strong alias.
893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
894 removed.
895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
896 removed.
897
fdfd175d
CD
8982014-05-26 Carlos O'Donell <carlos@redhat.com>
899
900 * malloc/malloc.c (mi_arena): New function.
901 (malloc_info): Remove nested function mi_arena. Call non-nosted
902 function mi_arena.
903
d298c416
AZ
9042014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905
906 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
907 by insrwi.
908 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
909 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
910 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
911 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
912 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
913 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
915
b60ea6ff
AS
9162014-05-26 Andreas Schwab <schwab@suse.de>
917
918 [BZ #16984]
919 * locale/programs/repertoire.c (repertoire_read): Add slash
920 between I18NPATH element and file name.
921 * locale/programs/locfile.c (locfile_read): Likewise.
922
67365926
SL
9232014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
924
925 * nptl/pthread_mutexattr_settype.c
926 (__pthread_mutexattr_settype):
927 Disable lock elision for PTHREAD_MUTEX_NORMAL.
928
f8bdf1f0
SL
9292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
930
931 * nptl/tst-mutex5 (do_test):
932 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
933
15eaf6ff
SP
9342014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
935
936 * benchtests/README: Document 'init' directive.
937 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
938 BENCH_INIT.
939 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
940 (parse_file): Recognize 'init' directive.
941
75f11331
KM
9422014-05-26 Kyle McMartin <kyle@redhat.com>
943
944 [BZ #16796]
945 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
946 alignment of struct pthread.
947
c3ec475c
SP
9482014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
949
950 [BZ #16878]
951 * nscd/netgroupcache.c (addgetnetgrentX): Look for
952 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
953 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
954 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
955
82aab97c
RH
9562014-05-25 Richard Henderson <rth@twiddle.net>
957
aa2f176d
RH
958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
959 (SINGLE_THREAD_P_PIC): Remove.
960 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
961 (SINGLE_THREAD_P_PIC): Remove.
962
ca3cfa40
RH
963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
964 branch to syscall error ...
965 (PSEUDO): ... here.
966 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
967 from __local_syscall_error to .Lsyscall_error.
968 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
969 (SYSCALL_ERROR): Update label name.
970
6e6c2d01
RH
971 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
972 Do not use DOARGS/UNDOARGS.
973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
974 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
975 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
976 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
977 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
978
c69abcee
RH
979 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
980 block comment.
981
82aab97c
RH
982 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
983 define if !NOT_IN_libc.
984 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
985 define with non-default symbol versions.
986
8820e3ac
RH
9872014-05-23 Richard Henderson <rth@twiddle.net>
988
900e445f
RH
989 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
990 (vfork, __vfork): Define via compat_symbol.
991
8820e3ac
RH
992 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
993 [!HAVE_IFUNC] (vfork_compat): Remove.
994 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
995
e59252a5
JM
9962014-05-23 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #16978]
999 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1000 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1001 variable.
1002
132c7f5f
RH
10032014-05-23 Richard Henderson <rth@twiddle.net>
1004
bc89e962
RH
1005 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1006 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1007 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1008 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1009
1010 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1011 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1013 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1014 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1015 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1016 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1017 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1018 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1019 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1020 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1021 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1022 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1031 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1033 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1037 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1039 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1040 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1049 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1050 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1051 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1052 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1053 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1054 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1055 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1057 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1059 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1061 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1063 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1065 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1066
e2fa4bc2
RH
1067 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1068 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1069 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1070 before exiting on error.
1071 (__libc_vfork): New strong alias.
1072 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1073 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1074
279b24e2
RH
1075 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1076 that was previously under [RESET_PID].
1077 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1078
132c7f5f
RH
1079 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1080
b72592e7
JM
10812014-05-23 Joseph Myers <joseph@codesourcery.com>
1082
1083 [BZ #16977]
1084 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1085 value when x - 1 is zero.
1086 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1087 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1088 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1089 0.0L for an argument of 1.0L.
1090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1091 Likewise.
1092 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1093 value when x - 1 is zero.
1094 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1097
2302d679
RV
10982014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1099
1100 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1101 alphasort and versionsort.
1102
32999d63
AZ
11032014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104
1105 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1106 macro.
1107 [copysignf]: Likewise.
1108
019324d0
SP
11092014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1110
1111 * crypt/md5-crypt.c: Fix formatting.
1112
34fff5c2
KS
11132014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1114
1115 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1116 (b64_from_24bit): New function.
1117
3d2badac
AZ
11182014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1121 libc_hidden_builtin_def to ifunc.
1122 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1123 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1124
f7bb179f 11252014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1126
1127 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1128 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1129
4134b50d
JM
11302014-05-21 Joseph Myers <joseph@codesourcery.com>
1131
bb7d0337
JM
1132 * nscd/Depend (linuxthreads): Remove.
1133 (nptl): Add.
1134 * resolv/Depend (linuxthreads): Remove.
1135 * rt/Depend (linuxthreads): Remove.
1136
4134b50d
JM
1137 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1138 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1139 $(common-objpfx)elf/.
1140 (link-libc-before-gnulib): Likewise.
1141 (elfobjdir): Remove variable.
1142 * Makefile (install): Use $(elf-objpfx) instead of
1143 $(common-objpfx)elf/.
1144 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1145 $(elfobjdir)/.
1146 (link-libc-deps): Likewise.
1147 ($(common-objpfx)libc.so): Likewise.
1148 ($(common-objpfx)linkobj/libc.so): Likewise.
1149 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1150 instead of $(common-objpfx)elf/.
1151 (symbolic-link-list): Likewise.
1152 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1153 [$(cross-compiling) = no]: Likewise.
1154 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1155 $(elfobjdir)/.
1156 (static-gnulib-arch): Likewise.
1157 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1158 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1159 $(common-objpfx)elf/.
1160
3612eb8f
RH
11612014-05-21 Richard Henderson <rth@redhat.com>
1162
a6b3657b
RH
1163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1164 (SINGLE_THREAD_P): Use the correct width load. Fold
1165 into the ldr offset.
1166
3612eb8f
RH
1167 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1168 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1169
175cef41
JM
11702014-05-20 Joseph Myers <joseph@codesourcery.com>
1171
1172 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1173 (libgcc_s_resume): Use __attribute_used__.
1174 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1175 Likewise.
1176
e13bccd3
AZ
11772014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178
1179 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1180 optimization when used with float constants.
1181
7c112a38
AZ
1182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1183
ae75a883
AJ
11842014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1185
1186 [BZ #16915]
1187 * locale/nl_langinfo_l.c: Make direct reference to every
1188 _nl_current_CATEGORY symbol.
1189 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1190 (tests-static): Add tst-langinfo-static.
1191 (tests-special): Add tst-langinfo-static.out.
1192 ($(objpfx)tst-langinfo.out): Redirect output.
1193 ($(objpfx)tst-langinfo-static.out): New.
1194 * localedata/tst-langinfo.sh: Send output to stdout.
1195 * localedata/tst-langinfo-static.c: New file.
1196
4406c41c
AJ
1197 [BZ #16965]
1198 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1199 when the shift amount is modulo the limb size.
1200
4c0a1e63
RH
12012014-05-20 Richard Henderson <rth@redhat.com>
1202
de9d8f20
RH
1203 [BZ #16967]
1204 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1205 Change type of sa_flags from unsigned int to int.
1206
4c0a1e63
RH
1207 [BZ #16966]
1208 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1209
1210 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1211
a60339aa
WN
12122014-05-20 Will Newton <will.newton@linaro.org>
1213
1214 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1215 Test the return value of the system call in the nocancel case.
1216
7d05a816
YR
12172014-05-20 Will Newton <will.newton@linaro.org>
1218 Yvan Roux <yvan.roux@linaro.org>
1219
1220 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1221 #include of asm/ptrace.h.
1222 (PTRACE_GET_THREAD_AREA): Remove #undef.
1223 (PTRACE_GETHBPREGS): Likewise.
1224 (PTRACE_SETHBPREGS): Likewise.
1225 (struct user_regs_struct): New structure.
1226 (struct user_fpsimd_struct): New structure.
1227 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1228 #include of asm/ptrace.h and second #include of sys/user.h.
1229 (PTRACE_GET_THREAD_AREA): Remove #undef.
1230 (PTRACE_GETHBPREGS): Likewise.
1231 (PTRACE_SETHBPREGS): Likewise.
1232 (ELF_NGREG): Use new struct user_regs_struct.
1233 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1234
af121e37
AZ
12352014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1238 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1239
834caf06
JM
12402014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1241
1242 [BZ #16958]
1243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1244 membar to avoid block loads/stores to overlap previous stores.
1245
e184a918
RH
12462014-05-17 Richard Henderson <rth@redhat.com>
1247
1248 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1249 Create the __##syscall_name##_nocancel entry point.
1250 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1251 Remove; let the sysdep-cancel.h code create it.
1252
f56c7a6a
DM
12532014-05-17 David S. Miller <davem@davemloft.net>
1254
1255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1256 Protect with __USE_GNU.
1257 (TIOCSET_TEMPT): Likewise.
1258 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1259 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1260 these are already provided in bits/ioctl-types.h
1261
f75616b2
RM
12622014-05-16 Roland McGrath <roland@hack.frob.com>
1263
3edeca86
RM
1264 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1265 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1266
f75616b2
RM
1267 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1268 Use wait4 regardless of [__NR_waitpid].
1269
deb0f7f6
MR
12702014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1271
1272 PR libgcc/60166
1273 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1274 (_FP_NANSIGN_Q): Set the quiet bit.
1275
79520f4b
JM
12762014-05-16 Joseph Myers <joseph@codesourcery.com>
1277
1278 * benchtests/Makefile
1279 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1280 not $(common-objpfx)math/libm.so.
1281 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1282 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1283 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1284 $(common-objpfx)dlfcn/libdl.so.
1285 ($(objpfx)tst-audit8): Depend on $(libm), not
1286 $(common-objpfx)math/libm.so.
1287 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1288 not $(common-objpfx)dlfcn/libdl.so.
1289 * math/Makefile
1290 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1291 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1292 [$(build-shared) = yes].
1293 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1294 $(common-objpfx)nptl/libpthread.so.
1295 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1296 $(common-objpfx)math/libm.so$(libm.so-version) or
1297 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1298 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1299 $(common-objpfx)dlfcn/libdl.so.
1300 * setjmp/Makefile (link-libm): Remove variable.
1301 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1302 * stdio-common/Makefile (link-libm): Remove variable.
1303 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1304 * stdlib/Makefile (link-libm): Remove variable.
1305 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1306 ($(objpfx)tst-strtod-round): Likewise.
1307 ($(objpfx)tst-tininess): Likewise.
1308 ($(objpfx)tst-strtod-underflow): Likewise.
1309 ($(objpfx)tst-strtod6): Likewise.
1310 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1311 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1312 $(common-objpfx)dlfcn/libdl.so.
1313
026b0fe4
AZ
13142014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1317 BSD terminal modes definitions.
1318
def4bcb2
RM
13192014-05-16 Roland McGrath <roland@hack.frob.com>
1320
fe39b021
RM
1321 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1322 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1323
1d1fc46e 1324 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1325 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1326 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1327 Don't do #include_next.
1328 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1329 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1330 Don't do #include_next.
1331 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1332 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1333 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1334 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1335
c72399fb
AM
13362014-05-16 Allan McRae <allan@archlinux.org>
1337
d51d659d
AM
1338 * po/sv.po: Update Swedish translation from translation project.
1339
c72399fb
AM
1340 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1341 in sed expression.
1342
d0583c40
AJ
13432014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1344
1345 [BZ #16917]
1346 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1347 errno if the TIOCGPTN ioctl fails with an error different than
1348 EINVAL.
1349 * login/tst-ptsname.c: New file.
1350 * login/Makefile (tests): Add tst-ptsname.
1351
d16e6ec7
AJ
1352 [BZ #16943]
1353 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1354 and prlimit64.
1355
cf26a0cb
SP
13562014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1357
1358 [BZ #16849]
1359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1360 herrno to return EAI_AGAIN.
1361
5675da1e
RM
13622014-05-14 Roland McGrath <roland@hack.frob.com>
1363
a5d87b3d
RM
1364 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1365 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1366 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1393 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1395 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1399 Moved ...
1400 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1402 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1404 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1406 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1412 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1414 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1416 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1418 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1420 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1422 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1424 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1428 Moved ...
1429 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1433 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1435 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1437 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1453
039890a6
RM
1454 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1455 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1456 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1457 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1458 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1460 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1461 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1462 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1463 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1464 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1466 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1467 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1468 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1469 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1470 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1471 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1472 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1474 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1475 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1476 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1477 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1478 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1479 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1481 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1482 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1483 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1484 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1485
65c89320
RM
1486 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1487 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1488
348f8e8c
RM
1489 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1490 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1491 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1493 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1494 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1495 Moved ...
1496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1497 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1498 Moved ...
1499 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1500 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1501 Moved ...
1502 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1504 Moved ...
1505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1506 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1507 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1509 Moved ...
1510 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1511 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1512 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1513 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1514 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1515 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1516 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1517 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1518 Moved ...
1519 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1520 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1521 Moved ...
1522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1523 ... here.
1524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1525 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1526 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1527 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1529 Moved ...
1530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1531 ... here.
1532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1533 Moved ...
1534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1535 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1536 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1538 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1539 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1543 Moved ...
1544 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1546 Moved ...
1547 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1549 Moved ...
1550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1551 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1552 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1554 Moved ...
1555 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1557 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1559 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1560 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1561 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1562 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1563 Moved ...
1564 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1566 Moved ...
1567 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1568 ... here.
1569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1570 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1571 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1572 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1574 Moved ...
1575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1576 ... here.
1577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1578 Moved ...
1579 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1580 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1581 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1582 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1583 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1584 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1585 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1586 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1587 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1588 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1589 Moved ...
1590 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1591 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1592 Moved ...
1593 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1594 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1595 Moved ...
1596 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1597 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1598 Moved ...
1599 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1600 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1601 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1602 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1603 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1604 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1605 Moved ...
1606 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1607 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1608 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1609 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1610 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1611 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1612 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1613 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1614 Moved ...
1615 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1616 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1617 Moved ...
1618 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1619 ... here.
1620 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1621 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1622 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1623 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1625 Moved ...
1626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1627 ... here.
1628 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1629 Moved ...
1630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1631 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1632 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1633 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1634 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1635 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1636 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1637 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1638 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1639 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1640 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1641
5085af05
RM
1642 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1643 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1644
708f0813
RM
1645 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1646 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1647
c96067bc
RM
1648 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1649 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1650 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1652 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1654 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1656 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1658 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1660 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1662 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1664 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1666 Moved ...
1667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1669 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1670 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1671 Moved ...
1672 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1674 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1676 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1678 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1680 Moved ...
1681 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1682 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1683 Moved ...
1684 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1686 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1688 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1690 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1692 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1694 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1696 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1698 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1700 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1701
ec136444
RM
1702 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1703 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1704 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1705 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1706 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1707
2fbdf533
RM
1708 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1709 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1711 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1712 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1713 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1714 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1715 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1716 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1717 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1718
4c68138b
RM
1719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1720 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1721
4eaae765
RM
1722 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1723 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1724 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1725 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1727 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1728 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1729 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1730 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1731 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1732 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1733 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1734 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1735 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1737 Update #include.
1738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1739 Likewise.
1740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1741 Likewise.
1742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1743 Likewise.
1744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1745 Likewise.
1746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1747 Likewise.
1748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1749 Likewise.
1750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1751 Likewise.
1752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1753 Likewise.
1754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1755 Likewise.
4ef6befa
RM
1756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1759 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1764 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1765 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1766 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1768 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1769 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1770 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1771
941d7dfd
RM
1772 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1773 that was previously under [RESET_PID].
1774 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1775 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1776 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1777
1b731c35
RM
1778 * sysdeps/i386/nptl/Implies: New file.
1779 * sysdeps/x86_64/nptl/Implies: New file.
1780 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1781 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1783 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1784
e2787137
RM
1785 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1786 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1787 (__libc_vfork): New strong alias.
1788 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1789 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1790
1791 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1792 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1793 (__libc_vfork): New strong alias.
1794 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1795 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1796
5675da1e
RM
1797 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1798 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1799 (__libc_vfork): New strong alias.
1800 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1801 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1802 * nptl/pt-vfork.c: New file.
1803 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1804 (libpthread: GLIBC_2.20): New version set (empty).
1805
4f02e2b8
WN
18062014-05-14 Will Newton <will.newton@linaro.org>
1807
1808 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1809 rather than #if.
1810
0bf061d3
JM
18112014-05-14 Joseph Myers <joseph@codesourcery.com>
1812
1a84c3d6
JM
1813 [BZ #16564]
1814 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1815 arguments with exponent 65 or above.
1816 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1817 arguments 0x1p113L or above.
1818 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1819 to arguments 0x1p107L or above.
1820 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1821 positive arguments with exponent 65 or above.
1822 * math/auto-libm-test-in: Add more tests of log1p.
1823 * math/auto-libm-test-out: Regenerated.
1824
01dbacd2
JM
1825 [BZ #16928]
1826 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1827 non-finite arguments is +0.
1828 * math/s_cacosf.c (__cacosf): Likewise.
1829 * math/s_cacosl.c (__cacosl): Likewise.
1830 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1831 * sysdeps/i386/fpu/libm-test-ulps: Update.
1832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1833
913d03c8
JM
1834 [BZ #16927]
1835 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1836 value.
1837 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1838 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1839 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1840 for explicit high bit of mantissa when testing for argument equal
1841 to 1.
1842 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1843 * sysdeps/i386/fpu/libm-test-ulps: Update.
1844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1845
0bf061d3
JM
1846 [BZ #16516]
1847 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1848 (__erf): Scale by 16 instead of 8 in potentially underflowing
1849 case. Ensure exception if result actually underflows.
1850 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1851 (__erff): Scale by 16 instead of 8 in potentially underflowing
1852 case. Ensure exception if result actually underflows.
1853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1854 (efx8): Remove variable.
1855 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1856 case. Ensure exception if result actually underflows.
1857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1858 (efx8): Remove variable.
1859 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1860 case. Ensure exception if result actually underflows.
1861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1862 (efx8): Remove variable.
1863 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1864 case. Ensure exception if result actually underflows.
1865 * math/auto-libm-test-in: Add more tests of erf.
1866 * math/auto-libm-test-out: Regenerated.
1867
73ba67cb
AS
18682014-05-14 Andreas Schwab <schwab@suse.de>
1869
3d8c8bff
AS
1870 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1871 Remove code conditionalized on USE___THREAD.
1872
73ba67cb
AS
1873 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1874 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1875 not definedness.
1876
5c521ecd
JM
18772014-05-14 Joseph Myers <joseph@codesourcery.com>
1878
5e7698c6
JM
1879 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1880 Define unconditionally.
1881 (__ASSUME_O_CLOEXEC): Likewise.
1882 (__ASSUME_SOCK_CLOEXEC): Likewise.
1883 (__ASSUME_IN_NONBLOCK): Likewise.
1884 (__ASSUME_PIPE2): Likewise.
1885 (__ASSUME_EVENTFD2): Likewise.
1886 (__ASSUME_SIGNALFD4): Likewise.
1887 (__ASSUME_DUP3): Likewise.
1888 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1889 (__ASSUME_DUP3): Do not define.
1890 (__ASSUME_EVENTFD2): Likewise.
1891 (__ASSUME_IN_NONBLOCK): Likewise.
1892 (__ASSUME_O_CLOEXEC): Likewise.
1893 (__ASSUME_PIPE2): Likewise.
1894 (__ASSUME_SIGNALFD4): Likewise.
1895 (__ASSUME_SOCK_CLOEXEC): Likewise.
1896 (__ASSUME_UTIMES): Undefine.
1897 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1898 (__ASSUME_UTIMES): Do not define.
1899 (__ASSUME_O_CLOEXEC): Likewise.
1900 (__ASSUME_SOCK_CLOEXEC): Likewise.
1901 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1902 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1903 0x020621].
1904 (__ASSUME_PIPE2): Likewise.
1905 (__ASSUME_EVENTFD2): Likewise.
1906 (__ASSUME_SIGNALFD4): Likewise.
1907 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1908 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1909 Do not define.
1910 (__ASSUME_EVENTFD2): Likewise.
1911 (__ASSUME_SIGNALFD4): Likewise.
1912 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1913 (__ASSUME_32BITUIDS): Likewise.
1914 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1915 (__ASSUME_IPC64): Likewise.
1916 (__ASSUME_ST_INO_64_BIT): Likewise.
1917 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1918 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1919 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1920 (__ASSUME_UTIMES): Do not define.
1921 (__ASSUME_PSELECT): Likewise.
1922 (__ASSUME_PPOLL): Likewise.
1923 (__ASSUME_O_CLOEXEC): Likewise.
1924 (__ASSUME_SOCK_CLOEXEC): Likewise.
1925 (__ASSUME_IN_NONBLOCK): Likewise.
1926 (__ASSUME_PIPE2): Likewise.
1927 (__ASSUME_EVENTFD2): Likewise.
1928 (__ASSUME_SIGNALFD4): Likewise.
1929 (__ASSUME_DUP3): Likewise.
1930 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1931 (__ASSUME_UTIMES): Likewise.
1932 (__ASSUME_O_CLOEXEC): Likewise.
1933 (__ASSUME_SOCK_CLOEXEC): Likewise.
1934 (__ASSUME_IN_NONBLOCK): Likewise.
1935 (__ASSUME_PIPE2): Likewise.
1936 (__ASSUME_EVENTFD2): Likewise.
1937 (__ASSUME_SIGNALFD4): Likewise.
1938 (__ASSUME_DUP3): Likewise.
1939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1940 (__ASSUME_UTIMES): Likewise.
1941 (__ASSUME_O_CLOEXEC): Likewise.
1942 (__ASSUME_SOCK_CLOEXEC): Likewise.
1943 (__ASSUME_IN_NONBLOCK): Likewise.
1944 (__ASSUME_PIPE2): Likewise.
1945 (__ASSUME_EVENTFD2): Likewise.
1946 (__ASSUME_SIGNALFD4): Likewise.
1947 (__ASSUME_DUP3): Likewise.
1948 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1949 Likewise.
1950 (__ASSUME_UTIMES): Likewise.
1951 (__ASSUME_EVENTFD2): Likewise.
1952 (__ASSUME_SIGNALFD4): Likewise.
1953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1954 (__ASSUME_O_CLOEXEC): Likewise.
1955 (__ASSUME_SOCK_CLOEXEC): Likewise.
1956 (__ASSUME_IN_NONBLOCK): Likewise.
1957 (__ASSUME_PIPE2): Likewise.
1958 (__ASSUME_EVENTFD2): Likewise.
1959 (__ASSUME_SIGNALFD4): Likewise.
1960 (__ASSUME_DUP3): Likewise.
1961 (__ASSUME_UTIMES): Undefine.
1962
5c521ecd
JM
1963 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1964 feclearexcept. Remove symbol versioning code.
1965 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1966 symbol versioning code.
1967 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1968 symbol versioning code.
1969 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1970 feupdateenv. Remove symbol versioning code.
1971 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1972 fegetexceptflag. Remove symbol versioning code.
1973 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1974 fesetexceptflag. Remove symbol versioning code.
1975 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1976 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1977 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1978 (__posix_fadvise64_l32): Remove prototype.
1979 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1980 code.
1981
5da9dfad
RM
19822014-05-13 Roland McGrath <roland@hack.frob.com>
1983
1984 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1985 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1986 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1987 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1988
893b4f37
SK
19892014-05-13 Sami Kerola <kerolasa@iki.fi>
1990
1991 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1992 current working directory
1993
e0db6517
RM
19942014-05-13 Roland McGrath <roland@hack.frob.com>
1995
58aa195d
RM
1996 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1997 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1998 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1999 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2000 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2001 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2002 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2011 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2012 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2013 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2015 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2016 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2017 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2019 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2020 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2021 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2022 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2023 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2024 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2027 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2029 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2030 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2032 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2033 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2034 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2036 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2038
8c6d01f0
RM
2039 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2040 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2041
2042 * sysdeps/unix/sysv/linux/arm/Makefile
2043 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2044 Add rt-aeabi_unwind_cpp_pr1.
2045 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2046 Add nptl-aeabi_unwind_cpp_pr1.
2047 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2048 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2049 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2050 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2051 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2052 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2053
2054 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2055 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2056 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2057 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2058
bba6da4e
RM
2059 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2060 Deconditionalize the code that was previously under [RESET_PID].
2061 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2062
e0db6517
RM
2063 * sysdeps/generic/exit-thread.h: New file.
2064 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2065 * include/unistd.h (__exit_thread): Remove declaration.
2066 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2067 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2068 * csu/libc-start.c: Include <exit-thread.h>.
2069 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2070 * nptl/pthread_create.c: Include <exit-thread.h>.
2071 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2072 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2073 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2074 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2075 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2076 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2077 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2078 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2079 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2080 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2081 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2082 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2083 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2084 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2085 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2086 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2087 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2088
01eb16fd
AS
20892014-05-13 Andreas Schwab <schwab@suse.de>
2090
2091 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2092
637461d9
JM
20932014-05-12 Joseph Myers <joseph@codesourcery.com>
2094
2095 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2096 (__ASSUME_UTIMES): Do not condition on kernel version.
2097 (__ASSUME_PSELECT): Define unconditionally.
2098 (__ASSUME_PPOLL): Likewise.
2099 (__ASSUME_ATFCTS): Likewise.
2100 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2101 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2102 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2103 (__ASSUME_UTIMENSAT): Define unconditionally.
2104 (__ASSUME_PRIVATE_FUTEX): Likewise.
2105 (__ASSUME_FALLOCATE): Likewise.
2106 (__ASSUME_O_CLOEXEC): Likewise.
2107 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2108 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2109 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2110 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2111 (__ASSUME_IN_NONBLOCK): Likewise.
2112 (__ASSUME_PIPE2): Likewise.
2113 (__ASSUME_EVENTFD2): Likewise.
2114 (__ASSUME_SIGNALFD4): Likewise.
2115 (__ASSUME_DUP3): Likewise.
2116 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2117 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2118 (__ASSUME_AT_RANDOM): Likewise.
2119 (__ASSUME_PREADV): Likewise.
2120 (__ASSUME_PWRITEV): Likewise.
2121 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2122 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2123 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2124 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2125 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2126 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2127 (__ASSUME_O_CLOEXEC): Define unconditionally.
2128 (__ASSUME_PSELECT): Do not undefine conditionally.
2129 (__ASSUME_PPOLL): Likewise.
2130 (__ASSUME_ATFCTS): Likewise.
2131 (__ASSUME_SET_ROBUST_LIST): Likewise.
2132 (__ASSUME_UTIMENSAT): Likewise.
2133 (__ASSUME_FDATASYNC): Define unconditionally.
2134 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2135 (__ASSUME_SIGFRAME_V2): Likewise.
2136 )__ASSUME_EVENTFD2): Likewise.
2137 (__ASSUME_SIGNALFD4): Likewise.
2138 (__ASSUME_PSELECT): Do not undefine conditionally.
2139 (__ASSUME_PPOLL): Likewise.
2140 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2141 (__ASSUME_PSELECT): Define unconditionally.
2142 (__ASSUME_PPOLL): Likewise.
2143 (__ASSUME_O_CLOEXEC): Likewise.
2144 (__ASSUME_SOCK_CLOEXEC): Likewise.
2145 (__ASSUME_IN_NONBLOCK): Likewise.
2146 (__ASSUME_PIPE2): Likewise.
2147 (__ASSUME_EVENTFD2): Likewise.
2148 (__ASSUME_SIGNALFD4): Likewise.
2149 (__ASSUME_DUP3): Likewise.
2150 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2151 (__ASSUME_O_CLOEXEC): Likewise.
2152 (__ASSUME_SOCK_CLOEXEC): Likewise.
2153 (__ASSUME_IN_NONBLOCK): Likewise.
2154 (__ASSUME_PIPE2): Likewise.
2155 (__ASSUME_EVENTFD2): Likewise.
2156 (__ASSUME_SIGNALFD4): Likewise.
2157 (__ASSUME_DUP3): Likewise.
2158 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2159 (__ASSUME_EVENTFD2): Likewise.
2160 (__ASSUME_SIGNALFD4): Likewise.
2161 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2162
315eb1d8
AS
21632014-05-12 Andreas Schwab <schwab@suse.de>
2164
2165 [BZ #16932]
2166 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2167 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2168 than maximum RPC packet size.
2169 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2170 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2171 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2172 (_nss_nis_getservbyport_r): Likewise.
2173
91df99f7
WN
21742014-05-12 Will Newton <will.newton@linaro.org>
2175
2176 * malloc/Makefile (tests): Add tst-mallopt.
2177 * malloc/tst-mallopt.c: New file.
2178
0a982a29
RM
21792014-05-09 Roland McGrath <roland@hack.frob.com>
2180
2181 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2182 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2183
0ded08a5
AZ
21842014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185
2186 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2187 (tst-tlsmod6.so): Likewise.
2188
55d4d550
RM
21892014-05-09 Roland McGrath <roland@hack.frob.com>
2190
2191 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2192
77d08aca
JM
21932014-05-09 Joseph Myers <joseph@codesourcery.com>
2194
2195 [BZ #16064]
2196 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2197 and <dl-procinfo.h>.
2198 (__fegetenv): Save SSE state in envp->__eip if supported.
2199 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2200 envp->__eip if supported.
2201 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2202 and <dl-procinfo.h>.
2203 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2204 __data_offset and __data_selector in environment to 0. Set SSE
2205 state if supported.
2206 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2207 test-fenv-sse.
2208 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2209 -mfpmath=sse.
2210 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2211
28162f4d
WN
22122014-05-09 Will Newton <will.newton@linaro.org>
2213
2214 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2215 and libc_relro_required for ARM.
2216 * sysdeps/arm/preconfigure: Regenerate.
2217
5a414ff7
DV
22182014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2219 Stefan Liebler <stli@linux.vnet.ibm.com>
2220
2221 * config.make.in (enable-lock-elision): New Makefile variable.
2222 * configure.ac: Likewise.
2223 * configure: Regenerate.
2224 * sysdeps/s390/configure.ac:
2225 Add check for gcc transactions support.
2226 * sysdeps/s390/configure: Regenerate.
2227 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2228 Build elision files if enabled.
2229 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2230 Add lock elision support for s390.
2231 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2232 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2233 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2234 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2235 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2236 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2238 Likewise.
2239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2240 Likewise.
2241 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2242 Likewise.
2243 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2244 Likewise.
2245 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2246 (__lll_timedlock_elision, __lll_lock_elision)
2247 (__lll_unlock_elision, __lll_trylock_elision)
2248 (lll_timedlock_elision, lll_lock_elision)
2249 (lll_unlock_elision, lll_trylock_elision): Add.
2250 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2251 (pthread_mutex_t): Add lock elision support for s390.
2252
1a2f40e5
W
22532014-05-14 Wilco <wdijkstr@arm.com>
2254
2255 * sysdeps/arm/fclrexcpt.c: Cleanup.
2256 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2257 * sysdeps/arm/feenablxcpt.c: Cleanup.
2258 * sysdeps/arm/fegetenv.c: Cleanup.
2259 * sysdeps/arm/fegetexcept.c: Cleanup.
2260 * sysdeps/arm/fegetround.c: Cleanup.
2261 * sysdeps/arm/feholdexcpt.c: Cleanup.
2262 * sysdeps/arm/fesetenv.c: Cleanup.
2263 * sysdeps/arm/fesetround.c: Cleanup.
2264 * sysdeps/arm/feupdateenv.c: Cleanup.
2265 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2266 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2267 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2268 * sysdeps/arm/ftestexcept.c: Cleanup.
2269 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2270 * sysdeps/arm/setfpucw.c: Cleanup.
2271
f63c86fe
WN
22722014-05-09 Will Newton <will.newton@linaro.org>
2273
2274 * sysdeps/arm/armv7/strcmp.S: New file.
2275 * NEWS: Mention addition of ARMv7 optimized strcmp.
2276
7a1a51b5
RM
22772014-05-08 Roland McGrath <roland@hack.frob.com>
2278
95afbbe5
RM
2279 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2280 look for %.ac rather than %.in.
2281
2282 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2283 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2284 * sysdeps/mach/hurd/configure: Regenerated.
2285 * sysdeps/unix/sysv/linux/configure: Regenerated.
2286
7a1a51b5
RM
2287 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2288
5057ad3b
SE
22892014-05-07 Steve Ellcey <sellcey@mips.com>
2290
2291 [BZ# 16922]
2292 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2293 (LONG_SUB): Ditto.
2294 (PTR_SUB): Ditto.
2295
8dc97517
AS
22962014-05-07 Andreas Schwab <schwab@suse.de>
2297
2298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2299 when skipping over non-matching result from nscd.
2300
ce0c5b8f
OB
23012014-05-07 Ondřej Bílka <neleai@seznam.cz>
2302
2303 [BZ #16876]
2304 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2305
a1189263
OB
2306 [BZ #16877]
2307 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2308 nscd security class.
ce0c5b8f 2309
0f58d252
RM
23102014-05-06 Roland McGrath <roland@hack.frob.com>
2311
2312 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2313 * sysdeps/arm/unwind.h: ... here.
2314
83df9ad0
AJ
23152014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2316
ce0c5b8f
OB
2317 [BZ# 16916]
2318 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2319 Define.
83df9ad0 2320
f360f94a
VR
23212014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2322
2323 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2324 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2325 multiarch strncpy for PPC64.
2326 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2327 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2329 multiarch optimizations.
2330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2331 (__libc_ifunc_impl_list): Likewise.
2332 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2334 multiarch stpncpy for PPC64.
2335 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2336 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2337
978a41c3
AS
23382014-05-06 Andreas Schwab <schwab@suse.de>
2339
2340 [BZ #16912]
2341 * gmon/mcount.c (_MCOUNT_DECL): Use
2342 atomic_compare_and_exchange_bool_acq instead of
2343 catomic_compare_and_exchange_bool_acq.
2344
eb1ed03d
RM
23452014-05-05 Roland McGrath <roland@hack.frob.com>
2346
fe658845
RM
2347 * elf/Makefile (others, install-bin): Remove pldd.
2348 (pldd-modules): Variable removed.
2349 ($(objpfx)pldd): Target removed.
2350 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2351 (others, install-bin): Append pldd here.
2352 ($(objpfx)pldd): New target.
2353
eb1ed03d
RM
2354 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2355 to 0, so the first #if test emitted later doesn't see it undefined.
2356 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2357 * sysdeps/gnu/errlist.c: Regenerated.
2358
19c4bec0
AZ
23592014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2360
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2362 [libc_hidden_builtin_def]: Define to empty value.
2363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2364 [libc_hidden_builtin_def]: Likewise.
2365 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2366 [libc_hidden_builtin_def]: Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2368 [libc_hidden_builtin_def]: Likewise.
2369 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2370 __redirect_memcpy and define ifunc as default hidden symbol.
2371 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2373
7776e669
AC
23742014-05-04 Adam Conrad <adconrad@0c3.net>
2375
2376 * locale/iso-4217.def: Reintroduce XDR currency.
2377
d69aeb12
AM
23782014-05-04 Allan McRae <allan@archlinux.org>
2379
2380 * po/eo.po: Update Esperanto translation from translation project.
2381
8f1df5cf
CD
23822014-05-02 Carlos O'Donell <carlos@redhat.com>
2383
2384 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2385 and FEATURE_INDEX_MAX to 1.
2386 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2387
13e402e7
SE
23882014-05-01 Steve Ellcey <sellcey@mips.com>
2389
2390 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2391 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2392 * iconvdata/big5.c (ONE_DIRECTION): Define.
2393 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2394 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2395 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2396 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2397 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2398 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2399 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2400 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2401 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2402 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2403 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2404 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2405 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2406 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2407 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2408 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2409 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2410 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2411 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2412 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2413 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2414 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2415 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2416 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2417 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2418 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2419 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2420 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2421 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2422 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2423 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2424 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2425 * iconvdata/johab.c (ONE_DIRECTION): Define.
2426 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2427 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2428 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2429 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2430 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2431 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2432 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2433 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2434 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2435 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2436
c727f032
RM
24372014-05-01 Roland McGrath <roland@hack.frob.com>
2438
8f2f08d0
RM
2439 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2440 (_IO_JUMPS_OFFSET): Define to 0.
2441
c727f032
RM
2442 * nptl/sysdeps/pthread/bits/libc-lock.h
2443 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2444 (__libc_lock_define_initialized_recursive): Always define using
2445 initializer. Modern compilers treat uninitialized (implicit zero) and
2446 explicit zero initializers the same (i.e. put the datum in bss).
2447
a849e800
AS
24482014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2449
2450 * nscd/nscd-client.h: Include <string.h>.
2451
5331255b
DM
24522014-05-01 David S. Miller <davem@davemloft.net>
2453
2454 [BZ #16885]
2455 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2456 multiple zero bytes exist at the end of a string.
2457 Reported by Aurelien Jarno <aurelien@aurel32.net>
2458
2459 * string/test-strcmp.c (check): Add explicit test for situations where
2460 there are multiple zero bytes after the first.
2461
4fdfe821
AS
24622014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2463
2464 [BZ #16890]
2465 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2466 when compiling wprintf.
2467 * stdio-common/tstdiomisc.c (t3): New function.
2468 (main): Call it.
2469
0cdddc25
SE
24702014-05-01 Steve Ellcey <sellcey@mips.com>
2471
2472 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2473 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2474 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2475 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2476
6426d77e
SE
24772014-05-01 Steve Ellcey <sellcey@mips.com>
2478
2479 * stdlib/longlong.h: Updated from GCC.
2480
6d96f5e4
WN
24812014-05-01 Will Newton <will.newton@linaro.org>
2482 Bernard Ogden <bernie.ogden@linaro.org>
2483
7470db0c
WN
2484 * NEWS: Update fixed bug list.
2485
6d96f5e4
WN
2486 [BZ #15119]
2487 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2488
211d653c
DM
24892014-04-30 David S. Miller <davem@davemloft.net>
2490
4fa262fa
DM
2491 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2492 (libc_feholdexcept_setround_sparc_ctx): New function.
2493 (libc_fesetenv_sparc_ctx): Likewise.
2494 (libc_feupdateenv_sparc_ctx): Likewise.
2495 (libc_feholdsetround_sparc_ctx): Likewise.
2496 (libc_feholdexcept_setround_ctx): Define.
2497 (libc_feholdexcept_setroundf_ctx): Likewise.
2498 (libc_feholdexcept_setroundl_ctx): Likewise.
2499 (libc_fesetenv_ctx): Likewise.
2500 (libc_fesetenvf_ctx): Likewise.
2501 (libc_fesetenvl_ctx): Likewise.
2502 (libc_feupdateenv_ctx): Likewise.
2503 (libc_feupdateenvf_ctx): Likewise.
2504 (libc_feupdateenvl_ctx): Likewise.
2505 (libc_feresetround_ctx): Likewise.
2506 (libc_feresetroundf_ctx): Likewise.
2507 (libc_feresetroundl_ctx): Likewise.
2508 (libc_feholdsetround_ctx): Likewise.
2509 (libc_feholdsetroundf_ctx): Likewise.
2510 (libc_feholdsetroundl_ctx): Likewise.
2511
1d3d93ef
DM
2512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2513 with __USE_GNU instead of XOPEN cpp guards.
2514
8aa583c3
DM
2515 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2516 0.
2517
211d653c
DM
2518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2519 with XOPEN cpp guards.
2520
60c8f1f6
JB
25212014-04-30 Julian Brown <julian@codesourcery.com>
2522
2523 [BZ #16888]
2524 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2525 handling.
2526
9a461d46
JM
25272014-04-30 Joseph Myers <joseph@codesourcery.com>
2528
d0f5b3f8
JM
2529 [BZ #9894]
2530 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2531 Change to 2.6.32.
2532 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2533 * sysdeps/unix/sysv/linux/configure: Regenerated.
2534 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2535 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2536 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2537 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2538 * README: Update reference to required Linux kernel version.
2539 * manual/install.texi (Linux): Update reference to required Linux
2540 kernel headers version.
2541 * INSTALL: Regenerated.
2542
9a461d46
JM
2543 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2544 header inclusion.
2545 [POSIX] (limits.h): Likewise.
2546 [POSIX] (math.h): Likewise.
2547 [POSIX] (sys/wait.h): Likewise.
2548 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2549 function.
2550 [POSIX] (stddef.h): Do not allow header inclusion.
2551
1775babf
AZ
25522014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2553
57f41c40 2554 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2555
8f630cca
YY
25562014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2557
2558 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2559 Return immediately after lll_futex_wake.
2560
1cdeb237
SP
25612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
bc8f194c
SP
2563 [BZ #16791]
2564 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2565 structure.
2566 (datahead_init_pos): Call datahead_init_common early.
2567 (datahead_init_neg): Likewise.
2568
1cdeb237
SP
2569 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2570 datahead_init_neg): New functions.
2571 * nscd/aicache.c (addhstaiX): Use them.
2572 * nscd/grpcache.c (cache_addgr): Likewise.
2573 * nscd/hstcache.c (cache_addhst): Likewise.
2574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2575 * nscd/netgroupcache.c (do_notfound): Likewise.
2576 (addgetnetgrentX): Likewise.
2577 (addinnetgrX): Likewise.
2578 * nscd/pwdcache.c (cache_addpw): Likewise.
2579 * nscd/servicescache.c (cache_addserv): Likewise.
2580
16b293a7
SP
25812014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2582 Atsushi Onoe <atsushi@onoe.org>
2583
2584 [BZ #14308]
2585 [BZ #12994]
2586 [BZ #13651]
2587 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2588 one response is valid.
2589 * resolv/res_send.c (send_dg): Check for validity of other
2590 response if the current response is a referral.
2591
a28a9b94
SE
25922014-04-29 Steve Ellcey <sellcey@mips.com>
2593
2594 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2595
2ca180e9
SL
25962014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2597
2598 [BZ #16823]
2599 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2600 Always divide by positive zero when computing -Inf result.
2601 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2602 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2603
18f2945a
AZ
26042014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605
2606 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2607 FPSCR if value do not change.
2608 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2610 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2611 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2612 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2613 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2614 function.
2615
5abebba4
CD
26162014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2617
2618 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2619 * sysdeps/unix/sysv/linux/hppa: Move directory from
2620 ports/systeps/unix/sysv/linux/hppa.
2621 * README: Update listing for hppa-*-linux-gnu.
2622
f7ed60c2
OB
26232014-04-28 Ondřej Bílka <neleai@seznam.cz>
2624
fff763a5
OB
2625 [BZ #16754]
2626 * manual/stdio.texi (Hook functions): Fix types of stream hook
2627 functions.
f7ed60c2
OB
2628 [BZ #16854]
2629 * socket/sys/socket.h: Fix typo in comment.
2630
df639d73
WD
26312014-04-28 Wilco <wdijkstr@arm.com>
2632
f7ed60c2 2633 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2634 * sysdeps/arm/math_private.h: New file.
2635 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2636
48332d82
L
26372014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2638
2639 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2640 with __int128_t.
2641 (La_x86_64_retval): Likewise.
2642
e5e0d9a4
IB
26432014-04-24 Ian Bolton <ian.bolton@arm.com>
2644
2645 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2646 fpsr if value didn't change.
2647 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2648 to fpcr if value didn't change.
2649 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2650 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2651 fpsr or fpcr if value didn't change.
2652 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2653 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2654 fpcr if value didn't change.
2655 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2656 to fpsr if value didn't change.
2657
bacc75f7
SP
26582014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
2660 * nptl/tst-sem3.c: Use test-skeleton.c
2661 (main): Rename to do_test. Use return instead of
2662 exit.
2663 * nptl/tst-sem4.c: Use test-skeleton.c
2664 (main): Rename to do_test.
2665
a059d359
DM
26662014-04-22 David S. Miller <davem@davemloft.net>
2667
2668 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2669 (struct sigaction): New struct member __glibc_reserved0, change
2670 type of sa_flags to int.
2671
ea6c92f3
YZ
26722014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2673
2674 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2675 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2676
766c4a36
SP
26772014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2678
2679 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2680 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2681
140cc7ab
VK
26822014-04-22 Will Newton <will.newton@linaro.org>
2683 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2684
2685 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2686 (__longjmp): Add longjmp and longjmp_target SystemTap
2687 probes.
2688 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2689 (__sigsetjmp): Add setjmp SystemTap probe.
2690
c54e5cf7
CD
26912014-04-17 Carlos O'Donell <carlos@redhat.com>
2692
2693 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2694 match manual order.
2695
75ffb047
AZ
26962014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2697
2698 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2699
2cd925f7
AZ
2700 * sysdeps/powerpc/fpu/fenv_private.h
2701 (libc_feholdexcept_setroundl_ctx): Define to
2702 libc_feholdexcept_setround_ppc_ctx.
2703 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2704 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2705 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2706 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2707
39e6cd8d
IB
27082014-04-17 Ian Bolton <ian.bolton@arm.com>
2709
2710 * sysdeps/aarch64/math-tests.h: New file.
2711
f9281df9
SY
27122014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2713
2714 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2715 New.
2716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2717 Check and set bit_AVX2_Usable.
2718 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2719 macro.
2720 (bit_AVX2): Likewise.
2721 (index_AVX2_Usable): Likewise.
2722 (CPUID_AVX2): Likewise.
2723 (HAS_AVX2): Likewise.
2724
37d35007
WN
27252014-04-17 Will Newton <will.newton@linaro.org>
2726
7c677662
WN
2727 * manual/setjmp.texi (System V contexts): Add note that
2728 calling setcontext on a context created by a call to a
2729 signal handler is undefined. Update text to note that
2730 setcontext from a signal handler is possible but not
2731 recommended.
2732
37d35007 2733 [BZ #16629]
e04a4e9d
WN
2734 * stdlib/tst-setcontext.c: Include signal.h.
2735 (main): Check that the signal stack before and
2736 after swapcontext is the same.
2737
37d35007
WN
2738 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2739 Re-implement to restore registers in user code and avoid
2740 rt_sigreturn system call.
2741
423a7160
W
27422014-04-17 Wilco <wdijkstr@arm.com>
2743
2744 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2745 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2746 * math/test-fenv.c: Skip exception trap tests on targets which only
2747 support non-stop mode.
2748
bc93ab29
IB
27492014-04-17 Ian Bolton <ian.bolton@arm.com>
2750 Wilco Dijkstra <wilco.dijkstra@arm.com>
2751
2752 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2753 (libc_feholdsetround_aarch64_ctx)
2754 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2755 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2756 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2757 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2758 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2759 (libc_feresetround_noexl_ctx): Define.
2760
95fc5fa3
RH
27612014-04-16 Richard Henderson <rth@redhat.com>
2762
ddb04724
RH
2763 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2764
d77c0899
RH
2765 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2766 unwind tables.
2767
a3df56fc
RH
2768 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2769 const from the non-libc, non-ldso copy.
2770
95fc5fa3
RH
2771 * sysdeps/alpha/libm-test-ulps: Regenerate.
2772
7e0b6763
IB
27732014-04-16 Ian Bolton <ian.bolton@arm.com>
2774 Wilco Dijkstra <wilco.dijkstra@arm.com>
2775
2776 * sysdeps/aarch64/fpu/math_private.h: New file.
2777
a9ea2e0c
MS
27782014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2779
2780 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2781
ea8ba7cd
IZ
27822014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2783
2784 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2785 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2787 Intel MPX bound registers before _dl_profile_fixup.
2788 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2789 registers after _dl_profile_fixup. Save and restore bound
2790 registers bnd0/bnd1 when calling _dl_call_pltexit.
2791 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2792 (LR_BND_OFFSET): Likewise.
2793 (LRV_BND0_OFFSET): Likewise.
2794 (LRV_BND1_OFFSET): Likewise.
2795
9f2a4fbc
ST
27962014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2797
2798 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2799 to...
2800 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2801 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2802 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2803 fields.
9f2a4fbc 2804
fd15a59b
ST
28052014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2806
2807 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2808
f19dfa0a
SL
28092014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2810
2811 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2812
4fa8bc3b
SL
28132014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2814
2815 [BZ #14770]
2816 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2817 * sysdeps/s390/configure: Regenerate.
2818
8ea587db
SL
2819 [BZ #16824]
2820 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2821 Set round-to-nearest internally to reduce error accumulation.
2822
aa5f0ff1
AM
28232014-04-16 Alan Modra <amodra@gmail.com>
2824
2825 [BZ #16740]
2826 [BZ #16619]
2827 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2828 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2829 * NEWS: Update fixed bug list.
aa5f0ff1 2830
bb9c256f
SP
28312014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2832
2833 * benchtests/Makefile: Depend on libraries in build directory.
2834 (bench-math): Separate out math tests.
2835 (bench-pthread): Separate out pthread tests.
2836 (bench): Include math and pthread tests.
2837
f737dfd0
CD
28382014-04-14 Carlos O'Donell <carlos@redhat.com>
2839
2840 [BZ #16831]
2841 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2842 _dl_debug_initialize.
2843
0699f766
CD
2844 * configure.ac: Remove SELinux header check.
2845 * configure: Regenerate.
2846 * nscd/selinux.c (perms): Array of const char* to permission names.
2847 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2848 default policy. Call string_to_security_class and string_to_av_perm to
2849 translate strings. Enforce default policy and call avs_has_perm with
2850 results of translated strings.
2851
809bd45f
DM
28522014-04-13 David S. Miller <davem@davemloft.net>
2853
2854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2855
89e691f2
AM
28562014-04-12 Allan McRae <allan@archlinux.org>
2857
2858 [BZ #16838]
2859 * manual/string.texi (Collation Functions): Fix qsort argument
2860 order in example.
2861 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2862
9c9daaeb
CM
28632014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2864
2865 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2866 Make the test a no-op if there are no exceptions defined.
2867
95561fb9
PP
28682014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2869
fe8d072c 2870 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2871 enable-hardcoded-path-in-tests
2872
970c602a
WN
28732014-04-11 Will Newton <will.newton@linaro.org>
2874
2875 * benchtests/Makefile (extra-objs): Add json-lib.o.
2876 (bench-func): Tidy up JSON output.
2877 * benchtests/bench-skeleton.c: Include json-lib.h.
2878 (main): Use JSON library functions to do output of
2879 benchmark results.
2880 * benchtests/bench-timing-type.c (main): Output the
2881 timing type simply, leaving formatting to the user.
2882 * benchtests/json-lib.c: New file.
2883 * benchtests/json-lib.h: Likewise.
2884
36875b06
TR
28852014-04-11 Torvald Riegel <triegel@redhat.com>
2886
2887 [BZ #15215]
2888 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2889 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2890 memory barriers. Add comments.
2891 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2892 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2893 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2894 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2895 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2896 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2897
579db35a
SL
28982014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2899
2900 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2901 * sysdeps/s390/s390-64/configure.ac: ... this ...
2902 * sysdeps/s390/configure.ac: ... to here.
2903 * sysdeps/s390/s390-32/configure: Delete file.
2904 * sysdeps/s390/s390-64/configure: Delete file.
2905 * sysdeps/s390/configure: Regenerate.
2906
c12e9f37
JAPH
29072014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2908
2909 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2910
439bda32
WN
29112014-04-11 Will Newton <will.newton@linaro.org>
2912
2913 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2914 to zero if it is not defined elsewhere. (mtrim): Test
2915 the value of MALLOC_DEBUG with #if rather than #ifdef.
2916
6a5d6ea1
TR
29172014-04-10 Torvald Riegel <triegel@redhat.com>
2918
2919 * benchtests/pthread_once-inputs: New file.
2920 * benchtests/pthread_once-source.c: New file.
2921 * benchtests/README: Update documentation.
2922
a4c75cfd
IZ
29232014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2924 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2927 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2928 * sysdeps/x86_64/configure: Regenerated.
2929 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2930 macro.
2931 (REGISTER_SAVE_RAX): Likewise.
2932 (REGISTER_SAVE_RCX): Likewise.
2933 (REGISTER_SAVE_RDX): Likewise.
2934 (REGISTER_SAVE_RSI): Likewise.
2935 (REGISTER_SAVE_RDI): Likewise.
2936 (REGISTER_SAVE_R8): Likewise.
2937 (REGISTER_SAVE_R9): Likewise.
2938 (REGISTER_SAVE_BND0): Likewise.
2939 (REGISTER_SAVE_BND1): Likewise.
2940 (REGISTER_SAVE_BND2): Likewise.
2941 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2942 bound registers when calling _dl_fixup.
2943
27822ce6
AZ
29442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2945
2946 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2947 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2948 of its definition.
27822ce6
AZ
2949 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2950 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2951 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2952 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2953 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2954 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2955 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2956
a88ddc90
PTB
29572014-04-09 Peter Brett <peter@peter-b.co.uk>
2958
2959 [BZ #15514]
2960 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2961 pathconf(_PC_NAME_MAX).
2962
01f8eac2
AZ
29632014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2964
2965 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2966 Remove macro usage.
2967 (__PTHREAD_SPINS): Move definition to ...
2968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2969 (__PTHREAD_SPINS): ... here.
2970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2971 (__PTHREAD_SPIN): Likewise.
2972 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2973 (__PTHREAD_SPIN): Likewise.
2974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2975 (__PTHREAD_SPIN): Likewise.
2976 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2977 (__PTHREAD_SPIN): Likewise.
2978 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2979 (__PTHREAD_SPIN): Likewise.
2980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2981 (__PTHREAD_SPIN): Likewise.
2982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2983 (__PTHREAD_SPIN): Likewise.
2984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2985 (__PTHREAD_SPIN): Likewise.
2986 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2987 (__PTHREAD_SPIN): Likewise.
2988 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2989 (__PTHREAD_SPIN): Likewise.
2990 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2991 (__PTHREAD_SPIN): Likewise.
2992 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2993 (__PTHREAD_SPIN): Likewise.
2994
de21c33c
AZ
2995 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2997 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2998 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2999 imply folder.
3000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3001 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3002 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3003 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3004 correct imply path.
3005 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3006 strlen symbol for non multi-arch builds.
3007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3008 missing hidden_def and weak_alias.
3009
862c472e
CD
30102014-04-08 Carlos O'Donell <carlos@redhat.com>
3011
3012 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3013
8667f90e
WN
30142014-04-07 Will Newton <will.newton@linaro.org>
3015
3016 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3017 and contents. [!_LIBC] Remove #ifndef and contents.
3018 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3019 * string/memccpy.c (__memccpy): Use ANSI prototype.
3020 * string/memfrob.c (memfrob): Likewise.
3021 * string/strcoll.c (STRCOLL): Likewise.
3022 * string/strlen.c (strlen): Likewise.
3023 * string/strtok.c (STRTOK): Likewise.
3024 * string/strcat.c: Remove unused #include of memcopy.h.
3025 (strcat): Use ANSI prototype.
3026 * string/strchr.c: Remove unused #include of memcopy.h.
3027 (strchr): Use ANSI prototype.
3028 * string/strcmp.c: Remove unused #include of memcopy.h.
3029 (strcmp): Use ANSI prototype.
3030 * string/strcpy.c: Remove unused #include of memcopy.h.
3031 (strcpy): Use ANSI prototype.
3032
7ffa9423
AZ
30332014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034
3035 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3036 * config.make.in (config-extra-cppflags): Set it from
3037 libc_extra_cppflags.
3038 * configure.ac (libc_extra_cflags): Make it accumulate over
3039 configure fragments.
3040 (libc_extra_cppflags): New flag.
3041 * configure. Regenerate.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3043 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3044 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3046
8bd70862
AZ
3047 [BZ #16815]
3048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3049 result for FE_DOWNWARD rounding mode.
3050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3051 Likewise.
3052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3053
d42f3448
CM
30542014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3055
3056 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3057 in function argument name.
3058
1c21d115
DS
30592014-04-03 David Svoboda <svoboda@cert.org>
3060
3061 [BZ #5666]
3062 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3063 explicitly.
3064
fcccd512
RM
30652014-04-03 Roland McGrath <roland@hack.frob.com>
3066
3067 * elf/dl-unmap-segments.h: New file.
3068 * sysdeps/generic/ldsodefs.h
3069 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3070 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3071 * elf/dl-fptr.c: Likewise.
3072 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3073 * sysdeps/aarch64/tlsdesc.c: Likewise.
3074 * sysdeps/arm/tlsdesc.c: Likewise.
3075 * sysdeps/i386/tlsdesc.c: Likewise.
3076 * sysdeps/tile/dl-runtime.c: Likewise.
3077 * sysdeps/x86_64/tlsdesc.c: Likewise.
3078 * elf/dl-load.h: New file.
3079 * elf/dl-load.c: Include it.
3080 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3081 Macros moved to dl-load.h.
3082 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3083 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3084 Use _dl_unmap_segments in place of __munmap.
3085 Break out segment-mapping loop into ...
3086 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3087
f6488e2b
WN
30882014-04-03 Will Newton <will.newton@linaro.org>
3089
3090 * elf/dl-lookup.c (do_lookup_x): Remove comment
3091 referring to nested function and move variable
3092 declarations down to before first use.
3093
6f05bafe
JM
30942014-04-02 Joseph Myers <joseph@codesourcery.com>
3095
a84e78c8
JM
3096 [BZ #16799]
3097 [BZ #16800]
3098 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3099 with 0 numerator.
3100 * math/s_catanf.c (__catanf): Likewise.
3101 * math/s_catanh.c (__catanh): Likewise.
3102 * math/s_catanhf.c (__catanhf): Likewise.
3103 * math/s_catanhl.c (__catanhl): Likewise.
3104 * math/s_catanl.c (__catanl): Likewise.
3105 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3106 by positive zero when computing -Inf result.
3107 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3108 (catanh_test): Likewise.
3109 * sysdeps/i386/fpu/libm-test-ulps: Update.
3110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3111
6f05bafe
JM
3112 [BZ #16789]
3113 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3114 instead of using underflowing value in computing result.
3115 * math/s_clog10.c (__clog10): Likewise.
3116 * math/s_clog10f.c (__clog10f): Likewise.
3117 * math/s_clog10l.c (__clog10l): Likewise.
3118 * math/s_clogf.c (__clogf): Likewise.
3119 * math/s_clogl.c (__clogl): Likewise.
3120 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3121 (clog10_test): Likewise.
3122 * sysdeps/i386/fpu/libm-test-ulps: Update.
3123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124
b0abbc21
AM
31252014-04-02 Alan Modra <amodra@gmail.com>
3126
3127 [BZ #16739]
3128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3129 output when value is near a power of two. Use int64_t for lx and
3130 remove casts. Use decimal rather than hex exponent constants.
3131 Don't use long double multiplication when double will suffice.
3132 * math/libm-test.inc (nextafter_test_data): Add tests.
3133 * NEWS: Add 16739 and 16786 to bug list.
3134
af6b1797
AM
3135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3136
483818d7
AM
3137 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3138
f6c55796
WN
31392014-04-01 Will Newton <will.newton@linaro.org>
3140
3141 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3142 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3143
13f7fe35
FW
31442014-04-01 Florian Weimer <fweimer@redhat.com>
3145
3146 [BZ #13347]
3147 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3148 * nptl/tst-setuid2.c: New file.
3149 * nptl/Makefile (xtests): Add tst-setuid2.
3150
c859b32e
AM
31512014-04-01 Alan Modra <amodra@gmail.com>
3152
3153 [BZ #16786]
3154 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3155
54fa2475
JM
31562014-03-31 Joseph Myers <joseph@codesourcery.com>
3157
8795b4a4
JM
3158 [BZ #6803]
3159 [BZ #6804]
3160 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3161 set errno as appropriate.
3162 * math/w_scalbf.c (__scalbf): Likewise.
3163 * math/w_scalbl.c (__scalbl): Likewise.
3164 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3165 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3166 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3167 Add more NaN tests.
3168
54fa2475
JM
3169 [BZ #16349]
3170 * math/w_atan2.c: Include <errno.h>.
3171 (__atan2): Set errno for result underflowing to zero.
3172 * math/w_atan2f.c: Include <errno.h>.
3173 (__atan2f): Set errno for result underflowing to zero.
3174 * math/w_atan2l.c: Include <errno.h>.
3175 (__atan2l): Set errno for result underflowing to zero.
3176 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3177 tests.
3178 * math/auto-libm-test-out: Regenerated.
3179
757d9dd5
AZ
31802014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3183 Encode instruction correctly in little endian.
3184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3185 Likewise.
3186 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3187 Likewise.
3188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3189 Likewise.
3190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3191 Likewise.
3192
d7a68734
JM
31932014-03-31 Joseph Myers <joseph@codesourcery.com>
3194
47c5adeb
JM
3195 [BZ #9894]
3196 * sysdeps/unix/sysv/linux/kernel-features.h
3197 [__sparc__ && !__arch64__ && !__sparc_v9__]
3198 (__ASSUME_SET_ROBUST_LIST): Do not define.
3199 [__sparc__ && !__arch64__ && !__sparc_v9__]
3200 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3201 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3202 Likewise.
3203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3204 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3205 (__ASSUME_REQUEUE_PI): Likewise.
3206 (__ASSUME_SET_ROBUST_LIST): Likewise.
3207 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3208 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3209 Undefine.
3210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3212 Likewise.
3213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3214 Likewise.
3215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3219 Undefine.
3220 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3221 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3222 Likewise.
3223
d7a68734
JM
3224 [BZ #16648]
3225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3227 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3228
c760f5c2
WN
32292014-03-31 Will Newton <will.newton@linaro.org>
3230
3231 * benchtests/Makefile (bench): Add ffs and ffsll to list
3232 of tests.
3233 * benchtests/ffs-inputs: New file.
3234 * benchtests/ffsll-inputs: Likewise.
3235
ea6029b1
JM
32362014-03-29 Joseph Myers <joseph@codesourcery.com>
3237
3238 [BZ #16770]
3239 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3240 too large before casting to int.
3241 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3242 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3243 * math/libm-test.inc (scalb_test_data): Add more tests.
3244
cf806aff
SP
32452014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3246
56737508
SP
3247 * benchtests/Makefile (DETAILED_OPT): New make option.
3248 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3249 set.
3250 * benchtests/bench-skeleton.c: Include stdbool.h.
3251 (main): Store and print timings per input.
3252 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3253 member to each argument value.
3254 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3255 (_print_arg_data): Initialize per-input timing to 0.
3256
cb5e4aad
SP
3257 * benchtests/Makefile (timing-type): New binary.
3258 (bench-clean): Also remove bench-timing-type.
3259 (bench): New target for timing-type.
3260 (bench-func): Print output in JSON format.
3261 * benchtests/bench-skeleton.c (main): Print output in JSON
3262 format.
3263 * benchtests/bench-timing-type.c: New file.
3264 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3265 (TIMING_PRINT_STATS): Remove.
3266 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3267 name separately.
3268
cf806aff
SP
3269 * benchtests/bench-modf.c: Remove.
3270 * benchtests/modf-inputs: New inputs file.
3271
289e0779
JM
32722014-03-28 Joseph Myers <joseph@codesourcery.com>
3273
3274 [BZ #16362]
3275 * math/s_clog10.c (M_PI_LOG10E): New macro.
3276 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3277 imaginary parts are 0.
3278 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3279 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3280 imaginary parts are 0.
3281 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3282 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3283 imaginary parts are 0.
3284 * math/libm-test.inc (clog10_test_data): Update expected results
3285 for when real and imaginary parts are 0.
3286
277ae3f1
PP
32872014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3288
3289 * elf/dl-load.c: Finish conversion of __builtin_expect into
3290 __glibc_{un}likely.
3291
03a7091f
JM
32922014-03-27 Joseph Myers <joseph@codesourcery.com>
3293
3294 [BZ #16348]
3295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3296 1+x for argument with exponent below -67.
3297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3298 Likewise.
3299 * math/auto-libm-test-in: Add more tests of exp.
3300 * math/auto-libm-test-out: Regenerated.
3301
ea7d8b95
SP
33022014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3303
dd3022d7
SP
3304 [BZ #16759]
3305 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3306 (nscd_getnetgrent): Use it.
3307
ea7d8b95
SP
3308 [BZ #16760]
3309 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3310 of stpcpy.
3311
df5b85da
AK
33122014-03-27 Andi Kleen <ak@linux.intel.com>
3313
57f41c40
AS
3314 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3315 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3316 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3317 (lll_robust_unlock): Remove out of line section. Use cfi
3318 intrinsics.
df5b85da 3319 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3320 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3321 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3322 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3323 (lll_robust_unlock): Remove out of line section. Use cfi
3324 intrinsics.
df5b85da
AK
3325 (LLL_STUB_UNWIND_INFO*): Remove.
3326
fbd6b5a4
SP
33272014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3328
3329 [BZ #16758]
3330 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3331 blank values.
3332
1b26b855
PP
33332014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3334
3335 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3336
9be36fb8
JM
33372014-03-26 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #16198]
3340 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3341 fnstenv.
3342 * math/test-fenv-preserve.c: New file.
3343 * math/Makefile (tests): Add test-fenv-preserve.
3344
60a2f3c1
WN
33452014-03-26 Will Newton <will.newton@linaro.org>
3346
3347 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3348
a5e5f1e2
RM
33492014-03-25 Roland McGrath <roland@hack.frob.com>
3350
3351 * scripts/versionlist.awk: Partition the version sets and emit all
3352 GLIBC_* (sorted) before all others (sorted).
3353
00f4012a
JM
33542014-03-25 Joseph Myers <joseph@codesourcery.com>
3355
3356 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3357 GLIBC_2.2.5 version.
3358
7bc5a741
AZ
33592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360
3361 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3362 calls.
3363
7578473b
AZ
3364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3365 previous change.
3366
f3f1dab3
AZ
3367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3368
6da36183
AS
33692014-03-25 Andreas Schwab <schwab@suse.de>
3370
3371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3372 label to be used after in6ailist is initialized.
3373
f3f1dab3 33742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3375
7578473b 3376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3377 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3378
046651c1
JM
33792014-03-25 Joseph Myers <joseph@codesourcery.com>
3380
3381 [BZ #16357]
3382 [BZ #16599]
3383 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3384 min_plus_half.
3385 (fp_formats): Update initializers.
3386 (init_fp_formats): Initialize new field.
3387 (output_for_one_input_case): Allow underflow for results up to
3388 min_plus_half.
3389 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3390 * math/auto-libm-test-in: Don't mark some underflows from asin and
3391 atanh as spurious.
3392 * math/auto-libm-test-out: Regenerated.
3393 * sysdeps/i386/fpu/libm-test-ulps: Update.
3394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3395
003e49ed
AS
33962014-03-25 Andreas Schwab <schwab@suse.de>
3397
3398 * libio/Makefile (tst-ftell-partial-wide-ENV)
3399 (tst-ftell-active-handler-ENV): Define.
3400
de031874
SL
34012014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3402
3403 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3404
55a81e3b
PP
34052014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3406
3407 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3408
f3426898
JM
34092014-03-24 Joseph Myers <joseph@codesourcery.com>
3410
3411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3412 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3413 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3414
a42faf59
PP
34152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3416
3417 [BZ #16634]
a42faf59 3418 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3419 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3420 (open_path): Change from boolean 'secure' to complete flag 'mode'
3421 (_dl_map_object): Adjust.
a42faf59
PP
3422 * elf/Makefile (tests): Add tst-dlopen-aout.
3423 * elf/tst-dlopen-aout.c: New test.
3424
50936127
SL
34252014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3426
3427 [BZ #16714]
3428 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3429 (struct stat): Rename member pad0 to __glibc_reserved0.
3430
26011b5c
SL
3431 [BZ #16712]
3432 * sysdeps/s390/s390-32/bits/wordsize.h
3433 (__WORDSIZE32_SIZE_ULONG): New define.
3434 * sysdeps/s390/s390-64/bits/wordsize.h
3435 (__WORDSIZE32_SIZE_ULONG): Likewise.
3436 * sysdeps/generic/stdint.h (SIZE_MAX):
3437 Define as UL if __WORDSIZE32_SIZE_ULONG.
3438
a2d86bf1
SL
3439 [BZ #16713]
3440 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3441 (__glibc_reserved0): New variable.
3442 (sa_flags): Change type to int.
3443
78b6eebc
SL
3444 * posix/Makefile (before-compile): Use += before-compile instead
3445 of a :=.
3446
f1399b5a
SL
3447 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3448 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3449
a071766e
AS
34502014-03-20 Andreas Schwab <schwab@suse.de>
3451
3452 [BZ #16743]
3453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3454 non-matching result from nscd.
3455
27c673b8
SP
34562014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3457
3458 * scripts/bench.py: Moved to ...
3459 * benchtests/scripts/bench.py: ... here.
3460 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3461
44152e4b
AS
34622014-03-24 Andreas Schwab <schwab@suse.de>
3463
3464 [BZ #16002]
3465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3466 alloca_account and account alloca use for struct in6ailist.
3467
b376a11a
JM
34682014-03-24 Joseph Myers <joseph@codesourcery.com>
3469
3470 [BZ #16284]
3471 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3472 rounding mode to recompute results that overflow to infinity or
3473 underflow to zero.
3474 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3475 bug 16284.
3476 * math/auto-libm-test-out: Regenerated.
3477 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3478 (ccosh_test): Likewise.
3479 (csin_test_data): Use plus_oflow.
3480 (csin_test): Use ALL_RM_TEST.
3481 (csinh_test_data): Use plus_oflow.
3482 (csinh_test): Use ALL_RM_TEST.
3483 * sysdeps/i386/fpu/libm-test-ulps: Update.
3484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3485
f7be7376
JM
34862014-03-21 Joseph Myers <joseph@codesourcery.com>
3487
1ca2d03e
JM
3488 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3489 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3490 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3491
f7be7376
JM
3492 [BZ #16731]
3493 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3494 when x - 1 is zero.
3495 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3496 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3497 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3498 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3499 argument is 1.
3500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3501 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3502 zero.
3503 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3504 * sysdeps/i386/fpu/libm-test-ulps: Update.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506
fdf4534d
SP
35072014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3508
df26ea53
SP
3509 * scripts/bench.pl: Remove file.
3510 * scripts/bench.py: New benchmark script.
3511 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3512 * benchtests/README: Mention python dependency.
3513 * scripts/pylintrc: New file.
3514 * scripts/pylint: New file.
3515
fdf4534d
SP
3516 * bits/mathdef.h: Use #ifdef instead of #if.
3517 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3518 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3519 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3521 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3522 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3523
6f23d093
AZ
35242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3526
3527 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3529 and strpbrk-ppc64 objects.
3530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3531 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3532 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3533 multiarch strpbrk for POWER7.
3534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3535 multiarch strpbrk for PPC64.
3536 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3537 ifunc selector.
3538 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3539 strpbrk for POWER7.
3540
8c92dfff
JM
35412014-03-20 Joseph Myers <joseph@codesourcery.com>
3542
3543 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3544 (atan_test): Likewise.
3545 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3546 (atanh_test): Use ALL_RM_TEST.
3547 (atan2_test_data): Likewise.
3548 (cabs_test): Likewise.
3549 (cacosh_test): Likewise.
3550 (carg_test): Likewise.
3551 (casin_test): Likewise.
3552 (casinh_test): Likewise.
3553 (cbrt_test): Likewise.
3554 (csqrt_test): Likewise.
3555 (erf_test): Likewise.
3556 (erfc_test): Likewise.
3557 (pow10_test): Likewise.
3558 (exp2_test): Likewise.
3559 (hypot_test): Likewise.
3560 (j0_test): Likewise.
3561 (j1_test): Likewise.
3562 (lgamma_test): Likewise.
3563 (gamma_test): Likewise.
3564 (sincos_test): Likewise.
3565 (tanh_test): Likewise.
3566 (y0_test): Likewise.
3567 (y1_test): Likewise.
3568 * sysdeps/i386/fpu/libm-test-ulps: Update.
3569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3570
6eaf95cb
AZ
35712014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3572
a387428c
SP
3573 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3575 and strcspn-ppc64 objects.
3576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3577 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3578 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3579 multiarch strcspn for POWER7.
3580 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3581 multiarch strcspn for PPC64.
3582 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3583 ifunc selector.
3584 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3585 strcspn for POWER7.
3586
ae3a5dff
JM
35872014-03-20 Joseph Myers <joseph@codesourcery.com>
3588
3589 * math/gen-libm-test.pl (generate_testfile): Expect only function
3590 name as argument to AUTO_TESTS_* and pass results for all rounding
3591 modes to parse_args.
3592 (parse_auto_input): Separate inputs of automatic tests from
3593 outputs before storing in %auto_tests.
3594 * math/libm-test.inc (acos_test_data): Update call to
3595 AUTO_TESTS_f_f.
3596 (acos_test): Use ALL_RM_TEST.
3597 (acos_tonearest_test_data): Remove.
3598 (acos_test_tonearest): Likewise.
3599 (acos_towardzero_test_data): Likewise.
3600 (acos_test_towardzero): Likewise.
3601 (acos_downward_test_data): Likewise.
3602 (acos_test_downward): Likewise.
3603 (acos_upward_test_data): Likewise.
3604 (acos_test_upward): Likewise.
3605 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3606 (asin_test_data): Likewise.
3607 (asin_test): Use ALL_RM_TEST.
3608 (asin_tonearest_test_data): Remove.
3609 (asin_test_tonearest): Likewise.
3610 (asin_towardzero_test_data): Likewise.
3611 (asin_test_towardzero): Likewise.
3612 (asin_downward_test_data): Likewise.
3613 (asin_test_downward): Likewise.
3614 (asin_upward_test_data): Likewise.
3615 (asin_test_upward): Likewise.
3616 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3617 (atan_test_data): Likewise.
3618 (atanh_test_data): Likewise.
3619 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3620 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3621 (carg_test_data): Likewise.
3622 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3623 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3624 (ccosh_test_data): Likewise.
3625 (cexp_test_data): Likewise.
3626 (clog_test_data): Likewise.
3627 (clog10_test_data): Likewise.
3628 (cos_test_data): Update call to AUTO_TESTS_f_f.
3629 (cos_test): Use ALL_RM_TEST.
3630 (cos_tonearest_test_data): Remove.
3631 (cos_test_tonearest): Likewise.
3632 (cos_towardzero_test_data): Likewise.
3633 (cos_test_towardzero): Likewise.
3634 (cos_downward_test_data): Likewise.
3635 (cos_test_downward): Likewise.
3636 (cos_upward_test_data): Likewise.
3637 (cos_test_upward): Likewise.
3638 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3639 (cosh_test): Use ALL_RM_TEST.
3640 (cosh_tonearest_test_data): Remove.
3641 (cosh_test_tonearest): Likewise.
3642 (cosh_towardzero_test_data): Likewise.
3643 (cosh_test_towardzero): Likewise.
3644 (cosh_downward_test_data): Likewise.
3645 (cosh_test_downward): Likewise.
3646 (cosh_upward_test_data): Likewise.
3647 (cosh_test_upward): Likewise.
3648 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3649 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3650 (ctan_test_data): Likewise.
3651 (ctan_test): Use ALL_RM_TEST.
3652 (ctan_tonearest_test_data): Remove.
3653 (ctan_test_tonearest): Likewise.
3654 (ctan_towardzero_test_data): Likewise.
3655 (ctan_test_towardzero): Likewise.
3656 (ctan_downward_test_data): Likewise.
3657 (ctan_test_downward): Likewise.
3658 (ctan_upward_test_data): Likewise.
3659 (ctan_test_upward): Likewise.
3660 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3661 (ctanh_test): Use ALL_RM_TEST.
3662 (ctanh_tonearest_test_data): Remove.
3663 (ctanh_test_tonearest): Likewise.
3664 (ctanh_towardzero_test_data): Likewise.
3665 (ctanh_test_towardzero): Likewise.
3666 (ctanh_downward_test_data): Likewise.
3667 (ctanh_test_downward): Likewise.
3668 (ctanh_upward_test_data): Likewise.
3669 (ctanh_test_upward): Likewise.
3670 (erf_test_data): Update call to AUTO_TESTS_f_f.
3671 (erfc_test_data): Likewise.
3672 (exp_test_data): Likewise.
3673 (exp_test): Use ALL_RM_TEST.
3674 (exp_tonearest_test_data): Remove.
3675 (exp_test_tonearest): Likewise.
3676 (exp_towardzero_test_data): Likewise.
3677 (exp_test_towardzero): Likewise.
3678 (exp_downward_test_data): Likewise.
3679 (exp_test_downward): Likewise.
3680 (exp_upward_test_data): Likewise.
3681 (exp_test_upward): Likewise.
3682 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3683 (exp10_test): Use ALL_RM_TEST.
3684 (exp10_tonearest_test_data): Remove.
3685 (exp10_test_tonearest): Likewise.
3686 (exp10_towardzero_test_data): Likewise.
3687 (exp10_test_towardzero): Likewise.
3688 (exp10_downward_test_data): Likewise.
3689 (exp10_test_downward): Likewise.
3690 (exp10_upward_test_data): Likewise.
3691 (exp10_test_upward): Likewise.
3692 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3693 (expm1_test_data): Likewise.
3694 (expm1_test): Use ALL_RM_TEST.
3695 (expm1_tonearest_test_data): Remove.
3696 (expm1_test_tonearest): Likewise.
3697 (expm1_towardzero_test_data): Likewise.
3698 (expm1_test_towardzero): Likewise.
3699 (expm1_downward_test_data): Likewise.
3700 (expm1_test_downward): Likewise.
3701 (expm1_upward_test_data): Likewise.
3702 (expm1_test_upward): Likewise.
3703 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3704 (fma_test): Use ALL_RM_TEST.
3705 (fma_towardzero_test_data): Remove.
3706 (fma_test_towardzero): Likewise.
3707 (fma_downward_test_data): Likewise.
3708 (fma_test_downward): Likewise.
3709 (fma_upward_test_data): Likewise.
3710 (fma_test_upward): Likewise.
3711 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3712 (j0_test_data): Update call to AUTO_TESTS_f_f.
3713 (j1_test_data): Likewise.
3714 (jn_test_data): Update call to AUTO_TESTS_if_f.
3715 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3716 (log_test_data): Update call to AUTO_TESTS_f_f.
3717 (log10_test_data): Likewise.
3718 (log1p_test_data): Likewise.
3719 (log2_test_data): Likewise.
3720 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3721 (pow_tonearest_test_data): Likewise.
3722 (sin_test_data): Update call to AUTO_TESTS_f_f.
3723 (sin_test): Use ALL_RM_TEST.
3724 (sin_tonearest_test_data): Remove.
3725 (sin_test_tonearest): Likewise.
3726 (sin_towardzero_test_data): Likewise.
3727 (sin_test_towardzero): Likewise.
3728 (sin_downward_test_data): Likewise.
3729 (sin_test_downward): Likewise.
3730 (sin_upward_test_data): Likewise.
3731 (sin_test_upward): Likewise.
3732 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3733 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3734 (sinh_test): Use ALL_RM_TEST.
3735 (sinh_tonearest_test_data): Remove.
3736 (sinh_test_tonearest): Likewise.
3737 (sinh_towardzero_test_data): Likewise.
3738 (sinh_test_towardzero): Likewise.
3739 (sinh_downward_test_data): Likewise.
3740 (sinh_test_downward): Likewise.
3741 (sinh_upward_test_data): Likewise.
3742 (sinh_test_upward): Likewise.
3743 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3744 (sqrt_test): Use ALL_RM_TEST.
3745 (sqrt_tonearest_test_data): Remove.
3746 (sqrt_test_tonearest): Likewise.
3747 (sqrt_towardzero_test_data): Likewise.
3748 (sqrt_test_towardzero): Likewise.
3749 (sqrt_downward_test_data): Likewise.
3750 (sqrt_test_downward): Likewise.
3751 (sqrt_upward_test_data): Likewise.
3752 (sqrt_test_upward): Likewise.
3753 (tan_test_data): Update call to AUTO_TESTS_f_f.
3754 (tan_test): Use ALL_RM_TEST.
3755 (tan_tonearest_test_data): Remove.
3756 (tan_test_tonearest): Likewise.
3757 (tan_towardzero_test_data): Likewise.
3758 (tan_test_towardzero): Likewise.
3759 (tan_downward_test_data): Likewise.
3760 (tan_test_downward): Likewise.
3761 (tan_upward_test_data): Likewise.
3762 (tan_test_upward): Likewise.
3763 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3764 (tgamma_test_data): Likewise.
3765 (y0_test_data): Likewise.
3766 (y1_test_data): Likewise.
3767 (yn_test_data): Update call to AUTO_TESTS_if_f.
3768 (main): Do not call removed functions.
3769
d71aeee8
JM
37702014-03-19 Joseph Myers <joseph@codesourcery.com>
3771
3772 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3773 (ldexp_test_data): Remove.
3774 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3775 scalbn_test_data.
3776 (scalb_test): Use ALL_RM_TEST.
3777
baaf1ded
AS
37782014-03-19 Andreas Schwab <schwab@suse.de>
3779
3780 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3781
b1115e91
JM
37822014-03-19 Joseph Myers <joseph@codesourcery.com>
3783
3784 [BZ #16649]
3785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3789 (__ASSUME_PREADV): Undefine.
3790 (__ASSUME_PWRITEV): Likewise.
3791
0283ecca
RM
37922014-03-18 Roland McGrath <roland@hack.frob.com>
3793
7d375303
RM
3794 * bits/mman-linux.h: Add comment about non-Linux use.
3795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3796 bits/mman-linux.h resting place.
3797
0283ecca
RM
3798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3799 * bits/mman-linux.h: ... here.
3800
aebe1003
AZ
38012014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3802
3803 * conform/conformtest.pl: Add standard definition when calling C
3804 preprocessor on data files.
3805 (checknamespace): Remove unused variable.
3806
b29b6bb8
JM
38072014-03-18 Joseph Myers <joseph@codesourcery.com>
3808
3809 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3810 minus_oflow, plus_uflow and minus_uflow in expected results.
3811 * math/libm-test.inc (scalbn_test_data): Add more tests of
3812 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3813 minus_uflow.
3814 (scalbn_test): Use ALL_RM_TEST.
3815 (scalbln_test_data): Add more tests of negative arguments. Use
3816 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3817 (scalbln_test): Use ALL_RM_TEST.
3818
c8f8fa15
RM
38192014-03-18 Roland McGrath <roland@hack.frob.com>
3820
3821 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3822
fede7a5f
WN
38232014-03-18 Will Newton <will.newton@linaro.org>
3824
3825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3826 inaccurate comment.
3827
80cf0a58
JM
38282014-03-18 Joseph Myers <joseph@codesourcery.com>
3829
3830 * Makerules [!subdir] (check-abi): Exit with error status if a
3831 test failed.
3832
b3620862
JM
38332014-03-17 Joseph Myers <joseph@codesourcery.com>
3834
3835 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3836 for rint. Include results for all rounding modes.
3837 (nearbyint_test): Use ALL_RM_TEST.
3838 (rint_test_data): Include all tests used for nearbyint.
3839
788bba36
WN
38402014-03-17 Will Newton <will.newton@linaro.org>
3841
04ec140a
WN
3842 * nptl/sysdeps/pthread/pthread.h: Revert previous
3843 change.
3844
7579d8d5
WN
3845 * sysdeps/generic/ldsodefs.h: Revert previous
3846 change.
3847
c15cf13a
WN
3848 * libio/genops.c: Revert previous change.
3849 * libio/libioP.h: Likewise.
3850 * stdio-common/vfprintf.c: Likewise.
3851
d0ac1324
WN
3852 * sysdeps/generic/math_private.h: Revert previous
3853 change.
3854
9290130a
WN
3855 * sysdeps/generic/math_private.h: Check whether
3856 HAVE_RM_CTX is defined with #ifdef rather
3857 than #if.
3858
afb466fc
WN
3859 * argp/argp-fmtstream.h: Check whether
3860 __STRICT_ANSI__ is defined with #ifdef rather
3861 than #if.
3862 * argp/argp.h: Likewise.
3863
f7efd7c3
WN
3864 * libio/genops.c: Check whether
3865 _IO_JUMPS_OFFSET is defined with #ifdef rather
3866 than #if.
3867 * libio/libioP.h: Likewise.
3868 * stdio-common/vfprintf.c: Likewise.
3869
53f1bed3
WN
3870 * sysdeps/generic/ldsodefs.h: Check whether
3871 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3872 than #if.
3873
788bba36
WN
3874 * nptl/sysdeps/pthread/pthread.h: Check
3875 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3876 its value.
3877
fcd89ebe
SP
38782014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3879
ae42bbc5
SP
3880 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3881 setting O_APPEND.
3882 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3883 test case.
3884
ea33158c
SP
3885 [BZ #16680]
3886 * libio/fileops.c (_IO_file_open): Seek to end of file but
3887 don't cache the offset.
3888 (get_file_offset): Remove function.
3889 (do_ftell): Use cached offset when available.
3890 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3891 don't cache the offset.
3892 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3893 case.
3894 (do_one_test): Call it.
3895 (do_ftell_test): Fix up expected old offset for a+ mode.
3896 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3897 available.
3898
b1dbb426
SP
3899 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3900 up test status with function return status.
3901 (do_write_test): Likewise.
3902 (do_append_test): Likewise.
3903
fcd89ebe
SP
3904 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3905 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3906 Remove.
3907
9962a2d3
JM
39082014-03-17 Joseph Myers <joseph@codesourcery.com>
3909
3910 * math/gen-libm-test.pl (parse_args): Handle results specified for
3911 each rounding mode separately.
3912 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3913 tests and results from lrint_tonearest_test_data,
3914 lrint_towardzero_test_data, lrint_downward_test_data and
3915 lrint_upward_test_data.
3916 (lrint_test): Use ALL_RM_TEST.
3917 (lrint_tonearest_test_data): Remove.
3918 (lrint_test_tonearest): Likewise.
3919 (lrint_towardzero_test_data): Likewise.
3920 (lrint_test_towardzero): Likewise.
3921 (lrint_downward_test_data): Likewise.
3922 (lrint_test_downward): Likewise.
3923 (lrint_upward_test_data): Likewise.
3924 (lrint_test_upward): Likewise.
3925 (llrint_test_data): Merge in per-rounding-mode tests and results
3926 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3927 llrint_downward_test_data and llrint_upward_test_data.
3928 (llrint_test): Use ALL_RM_TEST.
3929 (llrint_tonearest_test_data): Remove.
3930 (llrint_test_tonearest): Likewise.
3931 (llrint_towardzero_test_data): Likewise.
3932 (llrint_test_towardzero): Likewise.
3933 (llrint_downward_test_data): Likewise.
3934 (llrint_test_downward): Likewise.
3935 (llrint_upward_test_data): Likewise.
3936 (llrint_test_upward): Likewise.
3937 (rint_test_data): Merge in per-rounding-mode tests and results
3938 from rint_tonearest_test_data, rint_towardzero_test_data,
3939 rint_downward_test_data and rint_upward_test_data. Add
3940 per-rounding-mode results for tests not in those arrays.
3941 (rint_test): Use ALL_RM_TEST.
3942 (rint_tonearest_test_data): Remove.
3943 (rint_test_tonearest): Likewise.
3944 (rint_towardzero_test_data): Likewise.
3945 (rint_test_towardzero): Likewise.
3946 (rint_downward_test_data): Likewise.
3947 (rint_test_downward): Likewise.
3948 (rint_upward_test_data): Likewise.
3949 (rint_test_upward): Likewise.
3950 (main): Don't call removed functions.
3951
5006148e
RM
39522014-03-14 Roland McGrath <roland@hack.frob.com>
3953
3954 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3955 "Compiled on ..." crapola. It is anti-useful.
3956
d6fe5e58
JM
39572014-03-14 Joseph Myers <joseph@codesourcery.com>
3958
3959 * scripts/evaluate-test.sh: Handle fourth argument to determine
3960 whether test run should stop on failure.
3961 * Makeconfig (stop-on-test-failure): New variable.
3962 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3963 $(stop-on-test-failure).
3964 * Makefile (tests): Give a summary of results from testing and
3965 exit with failure status if they include an ERROR or FAIL.
3966 (xtests): Likewise.
3967 * manual/install.texi (Configuring and compiling): Mention
3968 stop-on-test-failure=y.
3969 * INSTALL: Regenerated.
3970
498a2233
RM
39712014-03-14 Roland McGrath <roland@hack.frob.com>
3972
22dbc19d
RM
3973 * scripts/versionlist.awk: New file.
3974 * Makerules [$(build-shared) = yes]
3975 (postclean-generated): Add Versions.def, not Versions.def.v and
3976 Versions.def.v.i.
3977 ($(common-objpfx)Versions.def.v.i): Target removed.
3978 ($(common-objpfx)Versions.def): New target.
3979 ($(common-objpfx)Versions.all): Depend on that rather that
3980 $(common-objpfx)Versions.def.v.
3981 * Versions.def: File removed.
3982
498a2233
RM
3983 * Makeconfig (+gccwarn): Add -Wundef.
3984 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3985 a dl-sysdep.h breaking its contract.
3986 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3987 * include/stackinfo.h: New file.
3988 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3989 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3990 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3991 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3992 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3993 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3994 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3995 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3996 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3997 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3998 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3999 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4000 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4001 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4002 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4003
c7de5025
AZ
40042014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005
4006 [BZ #16707]
4007 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4008 implementation.
4009 * math/libm-test.inc (round_test_data): Add more tests.
4010
98fb27a3
AZ
4011 [BZ #16706]
4012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4013 implementation.
4014 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4015
374f7f61
AZ
4016 [BZ #16701]
4017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4018 implementation.
4019 * math/libm-test.inc (ceil_test_data): Add more tests.
4020
4655c291
AZ
4021 * math/libm-test.inc (trunc_test_data): Add more tests related to
4022 BZ#16414.
4023
d7329d4b
RM
40242014-03-14 Roland McGrath <roland@hack.frob.com>
4025
4026 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4027 with #if rather than #ifdef.
4028 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4029
aa4de9ce
L
40302014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4031
4032 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4033 first. Disable AVX-512 GCC support if assembler doesn't support
4034 it.
4035 * sysdeps/x86_64/configure: Regenerated.
4036
2e03fae7
CD
40372014-03-13 Carlos O'Donell <carlos@redhat.com>
4038
4039 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4040 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4041 (__old_pthread_attr_setstack): Likewise.
4042 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4043 [!_STACK_GROWS_DOWN]: Likewise.
4044
43ca83ec
MF
40452014-03-13 Mike Frysinger <vapier@gentoo.org>
4046
4047 * config.make.in (have-bash2): Delete.
4048 * configure.ac (libc_cv_have_bash2): Delete.
4049 * configure: Regenerate.
4050 * elf/Makefile (common-ldd-rewrite): Rename to ...
4051 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4052 (sh-ldd-rewrite): Delete.
4053 (bash-ldd-rewrite): Delete.
4054 (have-bash2): Delete checks.
57f41c40
AS
4055 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4056 ldd-rewrite.
c66e48b4
MF
4057
4058 * config.make.in (have-ksh): Delete.
4059 (KSH): Delete.
4060 * configure.ac (libc_cv_have_ksh): Delete.
4061 * configure: Regenerate.
4062
b93834ef
MF
4063 * elf/Makefile: Delete $(have-ksh) check.
4064 ($(objpfx)sotruss): Change KSH to BASH.
4065 * elf/sotruss.ksh: Rename to ...
4066 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4067 function style to match POSIX. Drop ksh vim mode setting.
4068
f3a4632a
MF
4069 * manual/time.texi (Specifying the Time Zone with TZ): Change
4070 Tuesday to Thursday.
4071
5896c8bd
MF
4072 * debug/tst-longjmp_chk2.c: Update header comment.
4073 (stackoverflow_handler): Add comment. Call assert on pass value.
4074
2d63a517
IZ
40752014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4076
4077 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4078 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4079 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4080 (La_x86_64_vector): Add zmm.
4081 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4082 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4083 ($(objpfx)tst-audit10): New target.
4084 ($(objpfx)tst-audit10.out): Likewise.
4085 (tst-audit10-ENV): New.
4086 (AVX512-CFLAGS): Likewise.
4087 (CFLAGS-tst-audit10.c): Likewise.
4088 (CFLAGS-tst-auditmod10a.c): Likewise.
4089 (CFLAGS-tst-auditmod10b.c): Likewise.
4090 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4091 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4092 * sysdeps/x86_64/configure: Regenerated.
4093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4094 AVX-512 zmm register support.
4095 (_dl_x86_64_save_sse): Likewise.
4096 (_dl_x86_64_restore_sse): Likewise.
4097 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4098 size vector registers.
4099 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4100 (ZMM_SIZE): Likewise.
4101 * sysdeps/x86_64/tst-audit10.c: New file.
4102 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4103 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4104
44c4e5d5
RM
41052014-03-13 Roland McGrath <roland@hack.frob.com>
4106
4107 * configure.ac (HAVE_EHDR_START): New check.
4108 * configure: Regenerated.
4109 * config.h.in (HAVE_EHDR_START): New #undef.
4110 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4111 assuming the lowest-addressed segment maps the start of the file.
4112
acd6e389
JM
41132014-03-13 Joseph Myers <joseph@codesourcery.com>
4114
4115 * INSTALL: Regenerated.
4116
6f918f36
WN
41172014-03-13 Will Newton <will.newton@linaro.org>
4118
4119 * manual/setjmp.texi (System V contexts): Improve
4120 clarity and grammar of documentation.
4121
798212a0
PP
41222014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4123
4124 [BZ #16381]
798212a0 4125 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4126 (tests-pie): Add tst-pie2.
798212a0
PP
4127 * elf/tst-pie2.c: New file.
4128 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4129 for ET_EXEC.
4130 * elf/rtld.c (map_doit): Load executable as lt_executable.
4131 (dl_main): Likewise.
4132
abe6d90c
JM
41332014-03-12 Joseph Myers <joseph@codesourcery.com>
4134
4135 [BZ #16642]
4136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4137 (__ASSUME_PSELECT): Undefine.
4138
dd3946c6
AZ
41392014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4140
4141 [BZ #16689]
4142 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4143 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4144 static build.
4145 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4146 selector for static builds.
4147
c44496df
SP
41482014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4149
4150 [BZ #16695]
4151 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4152 key in the buffer.
4153
27c7220a
AZ
41542014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4155
57f41c40
AS
4156 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4157 IFUNC selector for static builds.
27c7220a 4158
600fa361
JM
41592014-03-11 Joseph Myers <joseph@codesourcery.com>
4160
76c96cf7
JM
4161 * sysdeps/mips/math_private.h [__mips_hard_float]
4162 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4163 libc_feresetround_mips_ctx.
4164 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4165 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4166 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4167
600fa361
JM
4168 [BZ #16677]
4169 * math/s_nextafter.c (__nextafter): Do not return value from
4170 overflowing computation.
4171 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4172 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4174 Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4176 Likewise.
4177 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4178 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4179
d7706c32
RM
41802014-03-11 Roland McGrath <roland@hack.frob.com>
4181
4182 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4183 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4184 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4185 the new mov targetting sp.
4186
4facea47
AZ
41872014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4188
4189 [BZ #16683]
4190 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4191 Define it for static builds as well.
4192 (NO_BZERO_IMPL): Likewise.
4193
e65caf1f
VR
41942014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4195
4196 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4197 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4198 multiarch strspn for PPC64.
4199 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4200 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4202 (__libc_ifunc_impl_list): Likewise.
4203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4204 multiarch optimizations
4205 * string/strspn.c (strspn): Using macro to redefine symbol name.
4206
ba9cc071
AZ
42072014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4208 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4211 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4212 multiarch strncat for PPC64.
4213 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4214 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4216 (__libc_ifunc_impl_list): Likewise.
4217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4218 multiarch optimizations
4219
8b4ff974
SP
42202014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4221
4222 [BZ #16639]
4223 * nscd/nscd.service: Make service type forking.
4224
54b46a4b
AZ
42252014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4226
4227 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4228 sign in non default rounding modes.
4229 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4230
e9996ef7
JM
42312014-03-08 Joseph Myers <joseph@codesourcery.com>
4232
4233 * math/libm-test.inc (ALL_RM_TEST): New macro.
4234 (ceil_test): Use ALL_RM_TEST.
4235 (cimag_test): Likewise.
4236 (conj_test): Likewise.
4237 (copysign_test): Likewise.
4238 (cproj_test): Likewise.
4239 (creal_test): Likewise.
4240 (fabs_test): Likewise.
4241 (floor_test): Likewise.
4242 (fmax_test): Likewise.
4243 (fmin_test): Likewise.
4244 (fmod_test): Likewise.
4245 (fpclassify_test): Likewise.
4246 (frexp_test): Likewise.
4247 (ilogb_test): Likewise.
4248 (isfinite_test): Likewise.
4249 (finite_test): Likewise.
4250 (isgreater_test): Likewise.
4251 (isgreaterequal_test): Likewise.
4252 (isinf_test): Likewise.
4253 (isless_test): Likewise.
4254 (islessequal_test): Likewise.
4255 (islessgreater_test): Likewise.
4256 (isnan_test): Likewise.
4257 (isnormal_test): Likewise.
4258 (issignaling_test): Likewise.
4259 (isunordered_test): Likewise.
4260 (logb_test): Likewise.
4261 (logb_downward_test_data): Remove.
4262 (logb_test_downward): Likewise.
4263 (lround_test): Use ALL_RM_TEST.
4264 (llround_test): Likewise.
4265 (modf_test): Likewise.
4266 (nexttoward_test): Likewise.
4267 (remainder_test): Likewise.
4268 (drem_test): Likewise.
4269 (remainder_tonearest_test_data): Likewise.
4270 (remainder_test_tonearest): Likewise.
4271 (drem_test_tonearest): Likewise.
4272 (remainder_towardzero_test_data): Likewise.
4273 (remainder_test_towardzero): Likewise.
4274 (drem_test_towardzero): Likewise.
4275 (remainder_downward_test_data): Likewise.
4276 (remainder_test_downward): Likewise.
4277 (drem_test_downward): Likewise.
4278 (remainder_upward_test_data): Likewise.
4279 (remainder_test_upward): Likewise.
4280 (drem_test_upward): Likewise.
4281 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4282 (round_test): Use ALL_RM_TEST.
4283 (signbit_test): Likewise.
4284 (trunc_test): Likewise.
4285 (significand_test): Likewise.
4286 (main): Don't call removed functions.
4287
bc61d27c
JM
42882014-03-07 Joseph Myers <joseph@codesourcery.com>
4289
5c780849
JM
4290 [BZ #16674]
4291 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4292 || __USE_XOPEN2K8].
4293 (ILL_ILLOPN): Likewise.
4294 (ILL_ILLADR): Likewise.
4295 (ILL_ILLTRP): Likewise.
4296 (ILL_PRVOPC): Likewise.
4297 (ILL_PRVREG): Likewise.
4298 (ILL_COPROC): Likewise.
4299 (ILL_BADSTK): Likewise.
4300 (FPE_INTDIV): Likewise.
4301 (FPE_INTOVF): Likewise.
4302 (FPE_FLTDIV): Likewise.
4303 (FPE_FLTOVF): Likewise.
4304 (FPE_FLTUND): Likewise.
4305 (FPE_FLTRES): Likewise.
4306 (FPE_FLTINV): Likewise.
4307 (FPE_FLTSUB): Likewise.
4308 (SEGV_MAPERR): Likewise.
4309 (SEGV_ACCERR): Likewise.
4310 (BUS_ADRALN): Likewise.
4311 (BUS_ADRERR): Likewise.
4312 (BUS_OBJERR): Likewise.
4313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4314 (TRAP_TRACE): Likewise.
4315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4316 __USE_XOPEN2K8].
4317 (CLD_KILLED): Likewise.
4318 (CLD_DUMPED): Likewise.
4319 (CLD_TRAPPED): Likewise.
4320 (CLD_STOPPED): Likewise.
4321 (CLD_CONTINUED): Likewise.
4322 (POLL_IN): Likewise.
4323 (POLL_OUT): Likewise.
4324 (POLL_MSG): Likewise.
4325 (POLL_ERR): Likewise.
4326 (POLL_PRI): Likewise.
4327 (POLL_HUP): Likewise.
4328 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4329 Likewise.
4330 (ILL_ILLOPN): Likewise.
4331 (ILL_ILLADR): Likewise.
4332 (ILL_ILLTRP): Likewise.
4333 (ILL_PRVOPC): Likewise.
4334 (ILL_PRVREG): Likewise.
4335 (ILL_COPROC): Likewise.
4336 (ILL_BADSTK): Likewise.
4337 (FPE_INTDIV): Likewise.
4338 (FPE_INTOVF): Likewise.
4339 (FPE_FLTDIV): Likewise.
4340 (FPE_FLTOVF): Likewise.
4341 (FPE_FLTUND): Likewise.
4342 (FPE_FLTRES): Likewise.
4343 (FPE_FLTINV): Likewise.
4344 (FPE_FLTSUB): Likewise.
4345 (SEGV_MAPERR): Likewise.
4346 (SEGV_ACCERR): Likewise.
4347 (BUS_ADRALN): Likewise.
4348 (BUS_ADRERR): Likewise.
4349 (BUS_OBJERR): Likewise.
4350 (BUS_MCEERR_AR): Likewise.
4351 (BUS_MCEERR_AO): Likewise.
4352 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4353 (TRAP_TRACE): Likewise.
4354 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4355 __USE_XOPEN2K8].
4356 (CLD_KILLED): Likewise.
4357 (CLD_DUMPED): Likewise.
4358 (CLD_TRAPPED): Likewise.
4359 (CLD_STOPPED): Likewise.
4360 (CLD_CONTINUED): Likewise.
4361 (POLL_IN): Likewise.
4362 (POLL_OUT): Likewise.
4363 (POLL_MSG): Likewise.
4364 (POLL_ERR): Likewise.
4365 (POLL_PRI): Likewise.
4366 (POLL_HUP): Likewise.
4367 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4368 (ILL_ILLOPN): Likewise.
4369 (ILL_ILLADR): Likewise.
4370 (ILL_ILLTRP): Likewise.
4371 (ILL_PRVOPC): Likewise.
4372 (ILL_PRVREG): Likewise.
4373 (ILL_COPROC): Likewise.
4374 (ILL_BADSTK): Likewise.
4375 (FPE_INTDIV): Likewise.
4376 (FPE_INTOVF): Likewise.
4377 (FPE_FLTDIV): Likewise.
4378 (FPE_FLTOVF): Likewise.
4379 (FPE_FLTUND): Likewise.
4380 (FPE_FLTRES): Likewise.
4381 (FPE_FLTINV): Likewise.
4382 (FPE_FLTSUB): Likewise.
4383 (SEGV_MAPERR): Likewise.
4384 (SEGV_ACCERR): Likewise.
4385 (BUS_ADRALN): Likewise.
4386 (BUS_ADRERR): Likewise.
4387 (BUS_OBJERR): Likewise.
4388 (BUS_MCEERR_AR): Likewise.
4389 (BUS_MCEERR_AO): Likewise.
4390 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4391 (TRAP_TRACE): Likewise.
4392 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4393 __USE_XOPEN2K8].
4394 (CLD_KILLED): Likewise.
4395 (CLD_DUMPED): Likewise.
4396 (CLD_TRAPPED): Likewise.
4397 (CLD_STOPPED): Likewise.
4398 (CLD_CONTINUED): Likewise.
4399 (POLL_IN): Likewise.
4400 (POLL_OUT): Likewise.
4401 (POLL_MSG): Likewise.
4402 (POLL_ERR): Likewise.
4403 (POLL_PRI): Likewise.
4404 (POLL_HUP): Likewise.
4405 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4406 Likewise.
4407 (ILL_ILLOPN): Likewise.
4408 (ILL_ILLADR): Likewise.
4409 (ILL_ILLTRP): Likewise.
4410 (ILL_PRVOPC): Likewise.
4411 (ILL_PRVREG): Likewise.
4412 (ILL_COPROC): Likewise.
4413 (ILL_BADSTK): Likewise.
4414 (ILL_BADIADDR): Likewise.
4415 (ILL_BREAK): Likewise.
4416 (FPE_INTDIV): Likewise.
4417 (FPE_INTOVF): Likewise.
4418 (FPE_FLTDIV): Likewise.
4419 (FPE_FLTOVF): Likewise.
4420 (FPE_FLTUND): Likewise.
4421 (FPE_FLTRES): Likewise.
4422 (FPE_FLTINV): Likewise.
4423 (FPE_FLTSUB): Likewise.
4424 (FPE_DECOVF): Likewise.
4425 (FPE_DECDIV): Likewise.
4426 (FPE_DECERR): Likewise.
4427 (FPE_INVASC): Likewise.
4428 (FPE_INVDEC): Likewise.
4429 (SEGV_MAPERR): Likewise.
4430 (SEGV_ACCERR): Likewise.
4431 (SEGV_PSTKOVF): Likewise.
4432 (BUS_ADRALN): Likewise.
4433 (BUS_ADRERR): Likewise.
4434 (BUS_OBJERR): Likewise.
4435 (BUS_MCEERR_AR): Likewise.
4436 (BUS_MCEERR_AO): Likewise.
4437 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4438 (TRAP_TRACE): Likewise.
4439 (TRAP_BRANCH): Likewise.
4440 (TRAP_HWBKPT): Likewise.
4441 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4442 __USE_XOPEN2K8].
4443 (CLD_KILLED): Likewise.
4444 (CLD_DUMPED): Likewise.
4445 (CLD_TRAPPED): Likewise.
4446 (CLD_STOPPED): Likewise.
4447 (CLD_CONTINUED): Likewise.
4448 (POLL_IN): Likewise.
4449 (POLL_OUT): Likewise.
4450 (POLL_MSG): Likewise.
4451 (POLL_ERR): Likewise.
4452 (POLL_PRI): Likewise.
4453 (POLL_HUP): Likewise.
4454 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4455 (ILL_ILLOPN): Likewise.
4456 (ILL_ILLADR): Likewise.
4457 (ILL_ILLTRP): Likewise.
4458 (ILL_PRVOPC): Likewise.
4459 (ILL_PRVREG): Likewise.
4460 (ILL_COPROC): Likewise.
4461 (ILL_BADSTK): Likewise.
4462 (FPE_INTDIV): Likewise.
4463 (FPE_INTOVF): Likewise.
4464 (FPE_FLTDIV): Likewise.
4465 (FPE_FLTOVF): Likewise.
4466 (FPE_FLTUND): Likewise.
4467 (FPE_FLTRES): Likewise.
4468 (FPE_FLTINV): Likewise.
4469 (FPE_FLTSUB): Likewise.
4470 (SEGV_MAPERR): Likewise.
4471 (SEGV_ACCERR): Likewise.
4472 (BUS_ADRALN): Likewise.
4473 (BUS_ADRERR): Likewise.
4474 (BUS_OBJERR): Likewise.
4475 (BUS_MCEERR_AR): Likewise.
4476 (BUS_MCEERR_AO): Likewise.
4477 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4478 (TRAP_TRACE): Likewise.
4479 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4480 __USE_XOPEN2K8].
4481 (CLD_KILLED): Likewise.
4482 (CLD_DUMPED): Likewise.
4483 (CLD_TRAPPED): Likewise.
4484 (CLD_STOPPED): Likewise.
4485 (CLD_CONTINUED): Likewise.
4486 (POLL_IN): Likewise.
4487 (POLL_OUT): Likewise.
4488 (POLL_MSG): Likewise.
4489 (POLL_ERR): Likewise.
4490 (POLL_PRI): Likewise.
4491 (POLL_HUP): Likewise.
4492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4493 (ILL_ILLOPN): Likewise.
4494 (ILL_ILLADR): Likewise.
4495 (ILL_ILLTRP): Likewise.
4496 (ILL_PRVOPC): Likewise.
4497 (ILL_PRVREG): Likewise.
4498 (ILL_COPROC): Likewise.
4499 (ILL_BADSTK): Likewise.
4500 (FPE_INTDIV): Likewise.
4501 (FPE_INTOVF): Likewise.
4502 (FPE_FLTDIV): Likewise.
4503 (FPE_FLTOVF): Likewise.
4504 (FPE_FLTUND): Likewise.
4505 (FPE_FLTRES): Likewise.
4506 (FPE_FLTINV): Likewise.
4507 (FPE_FLTSUB): Likewise.
4508 (SEGV_MAPERR): Likewise.
4509 (SEGV_ACCERR): Likewise.
4510 (BUS_ADRALN): Likewise.
4511 (BUS_ADRERR): Likewise.
4512 (BUS_OBJERR): Likewise.
4513 (BUS_MCEERR_AR): Likewise.
4514 (BUS_MCEERR_AO): Likewise.
4515 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4516 (TRAP_TRACE): Likewise.
4517 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4518 __USE_XOPEN2K8].
4519 (CLD_KILLED): Likewise.
4520 (CLD_DUMPED): Likewise.
4521 (CLD_TRAPPED): Likewise.
4522 (CLD_STOPPED): Likewise.
4523 (CLD_CONTINUED): Likewise.
4524 (POLL_IN): Likewise.
4525 (POLL_OUT): Likewise.
4526 (POLL_MSG): Likewise.
4527 (POLL_ERR): Likewise.
4528 (POLL_PRI): Likewise.
4529 (POLL_HUP): Likewise.
4530 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4531 (ILL_ILLOPN): Likewise.
4532 (ILL_ILLADR): Likewise.
4533 (ILL_ILLTRP): Likewise.
4534 (ILL_PRVOPC): Likewise.
4535 (ILL_PRVREG): Likewise.
4536 (ILL_COPROC): Likewise.
4537 (ILL_BADSTK): Likewise.
4538 (FPE_INTDIV): Likewise.
4539 (FPE_INTOVF): Likewise.
4540 (FPE_FLTDIV): Likewise.
4541 (FPE_FLTOVF): Likewise.
4542 (FPE_FLTUND): Likewise.
4543 (FPE_FLTRES): Likewise.
4544 (FPE_FLTINV): Likewise.
4545 (FPE_FLTSUB): Likewise.
4546 (SEGV_MAPERR): Likewise.
4547 (SEGV_ACCERR): Likewise.
4548 (BUS_ADRALN): Likewise.
4549 (BUS_ADRERR): Likewise.
4550 (BUS_OBJERR): Likewise.
4551 (BUS_MCEERR_AR): Likewise.
4552 (BUS_MCEERR_AO): Likewise.
4553 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4554 (TRAP_TRACE): Likewise.
4555 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4556 __USE_XOPEN2K8].
4557 (CLD_KILLED): Likewise.
4558 (CLD_DUMPED): Likewise.
4559 (CLD_TRAPPED): Likewise.
4560 (CLD_STOPPED): Likewise.
4561 (CLD_CONTINUED): Likewise.
4562 (POLL_IN): Likewise.
4563 (POLL_OUT): Likewise.
4564 (POLL_MSG): Likewise.
4565 (POLL_ERR): Likewise.
4566 (POLL_PRI): Likewise.
4567 (POLL_HUP): Likewise.
4568 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4569 (ILL_ILLOPN): Likewise.
4570 (ILL_ILLADR): Likewise.
4571 (ILL_ILLTRP): Likewise.
4572 (ILL_PRVOPC): Likewise.
4573 (ILL_PRVREG): Likewise.
4574 (ILL_COPROC): Likewise.
4575 (ILL_BADSTK): Likewise.
4576 (ILL_DBLFLT): Likewise.
4577 (ILL_HARDWALL): Likewise.
4578 (FPE_INTDIV): Likewise.
4579 (FPE_INTOVF): Likewise.
4580 (FPE_FLTDIV): Likewise.
4581 (FPE_FLTOVF): Likewise.
4582 (FPE_FLTUND): Likewise.
4583 (FPE_FLTRES): Likewise.
4584 (FPE_FLTINV): Likewise.
4585 (FPE_FLTSUB): Likewise.
4586 (SEGV_MAPERR): Likewise.
4587 (SEGV_ACCERR): Likewise.
4588 (BUS_ADRALN): Likewise.
4589 (BUS_ADRERR): Likewise.
4590 (BUS_OBJERR): Likewise.
4591 (BUS_MCEERR_AR): Likewise.
4592 (BUS_MCEERR_AO): Likewise.
4593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4594 (TRAP_TRACE): Likewise.
4595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4596 __USE_XOPEN2K8].
4597 (CLD_KILLED): Likewise.
4598 (CLD_DUMPED): Likewise.
4599 (CLD_TRAPPED): Likewise.
4600 (CLD_STOPPED): Likewise.
4601 (CLD_CONTINUED): Likewise.
4602 (POLL_IN): Likewise.
4603 (POLL_OUT): Likewise.
4604 (POLL_MSG): Likewise.
4605 (POLL_ERR): Likewise.
4606 (POLL_PRI): Likewise.
4607 (POLL_HUP): Likewise.
4608 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4609 (ILL_ILLOPN): Likewise.
4610 (ILL_ILLADR): Likewise.
4611 (ILL_ILLTRP): Likewise.
4612 (ILL_PRVOPC): Likewise.
4613 (ILL_PRVREG): Likewise.
4614 (ILL_COPROC): Likewise.
4615 (ILL_BADSTK): Likewise.
4616 (FPE_INTDIV): Likewise.
4617 (FPE_INTOVF): Likewise.
4618 (FPE_FLTDIV): Likewise.
4619 (FPE_FLTOVF): Likewise.
4620 (FPE_FLTUND): Likewise.
4621 (FPE_FLTRES): Likewise.
4622 (FPE_FLTINV): Likewise.
4623 (FPE_FLTSUB): Likewise.
4624 (SEGV_MAPERR): Likewise.
4625 (SEGV_ACCERR): Likewise.
4626 (BUS_ADRALN): Likewise.
4627 (BUS_ADRERR): Likewise.
4628 (BUS_OBJERR): Likewise.
4629 (BUS_MCEERR_AR): Likewise.
4630 (BUS_MCEERR_AO): Likewise.
4631 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4632 (TRAP_TRACE): Likewise.
4633 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4634 __USE_XOPEN2K8].
4635 (CLD_KILLED): Likewise.
4636 (CLD_DUMPED): Likewise.
4637 (CLD_TRAPPED): Likewise.
4638 (CLD_STOPPED): Likewise.
4639 (CLD_CONTINUED): Likewise.
4640 (POLL_IN): Likewise.
4641 (POLL_OUT): Likewise.
4642 (POLL_MSG): Likewise.
4643 (POLL_ERR): Likewise.
4644 (POLL_PRI): Likewise.
4645 (POLL_HUP): Likewise.
4646 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4647 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4648
bc61d27c
JM
4649 [BZ #16670]
4650 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4651 before #include of <time.h>.
4652 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4653 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4654 (test-xfail-UNIX98/sched.h/conform): Likewise.
4655
302949e2
MS
46562014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4657
4658 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4659 error absence of trapping exception support.
4660 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4661
a00f522a
JM
46622014-03-07 Joseph Myers <joseph@codesourcery.com>
4663
6f99f280
JM
4664 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4665 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4666 * timezone/Makefile (testdata): Move definition above include of
4667 Rules.
4668 (test-zones): New variable.
4669 (tests-special): Add zone files.
4670 (build-testdata): Use $(evaluate-test).
4671
0b20a9e8
JM
4672 * elf/Makefile (tests-special): Rename tests to end with .out.
4673 ($(objpfx)noload-mem): Likewise.
4674 ($(objpfx)tst-leaks1-mem): Likewise.
4675 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4676 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4677 $(objpfx)test-iconvconfig.out.
4678 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4679 set -e inside subshell and redirect output to file.
4680 * iconvdata/Makefile (generated): Rename tests to end with .out.
4681 Correct type.
4682 (tests-special): Rename tests to end with .out.
4683 ($(objpfx)mtrace-tst-loading): Likewise.
4684 * intl/Makefile (generated): Likewise.
4685 (tests-special): Likewise.
4686 ($(objpfx)mtrace-tst-gettext): Likewise.
4687 * misc/Makefile (generated): Likewise.
4688 (tests-special): Likewise.
4689 ($(objpfx)tst-error1-mem): Likewise.
4690 * nptl/Makefile (tests-special): Likewise.
4691 ($(objpfx)tst-stack3-mem): Likewise.
4692 (generated): Likewise.
4693 * posix/Makefile (generated): Likewise.
4694 (tests-special): Likewise.
4695 (xtests-special): Likewise.
4696 ($(objpfx)tst-fnmatch-mem): Likewise.
4697 ($(objpfx)bug-regex2-mem): Likewise.
4698 ($(objpfx)bug-regex14-mem): Likewise.
4699 ($(objpfx)bug-regex21-mem): Likewise.
4700 ($(objpfx)bug-regex31-mem): Likewise.
4701 ($(objpfx)tst-vfork3-mem): Likewise.
4702 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4703 ($(objpfx)tst-pcre-mem): Likewise.
4704 ($(objpfx)tst-boost-mem): Likewise.
4705 ($(objpfx)bug-ga2-mem): Likewise.
4706 ($(objpfx)bug-glob2-mem): Likewise.
4707 * resolv/Makefile (generate): Likewise.
4708 (tests-special): Likewise.
4709 (xtests-special): Likewise.
4710 (generated): Likewise.
4711 ($(objpfx)mtrace-tst-leaks): Likewise.
4712 ($(objpfx)mtrace-tst-leaks2): Likewise.
4713
265d52ab
JM
4714 * scripts/merge-test-results.sh: New file.
4715 * Makefile (tests-special-notdir): New variable.
4716 (tests): Run merge-test-results.sh.
4717 (xtests): Likewise.
4718 * Rules (tests-special-notdir): New variable.
4719 (xtests-special-notdir): Likewise.
4720 (tests): Run merge-test-results.sh
4721 (xtests): Likewise.
4722
54ee292d
JM
4723 * Makeconfig (test-xfail-name): New variable.
4724 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4725 compute variable name for expected failures.
4726 * conform/Makefile (conformtest-headers-data): New variable.
4727 (conformtest-standards): Likewise.
4728 (conformtest-headers-ISO): Likewise.
4729 (conformtest-headers-ISO99): Likewise.
4730 (conformtest-headers-ISO11): Likewise.
4731 (conformtest-headers-POSIX): Likewise.
4732 (conformtest-headers-XPG3): Likewise.
4733 (conformtest-headers-XPG4): Likewise.
4734 (conformtest-headers-UNIX98): Likewise.
4735 (conformtest-headers-XOPEN2K): Likewise.
4736 (conformtest-headers-POSIX2008): Likewise.
4737 (conformtest-headers-XOPEN2K8): Likewise.
4738 (conformtest-header-list-base): Likewise.
4739 (conformtest-header-list-tests): Likewise.
4740 (conformtest-header-base): Likewise.
4741 (conformtest-header-tests): Likewise.
4742 (tests-special): Add $(conformtest-header-list-tests). If
4743 [$(fast-check) && !$(cross-compiling)], add
4744 $(conformtest-header-tests) instead of
4745 $(objpfx)run-conformtest.out.
4746 (generated): Add $(conformtest-header-list-base). If
4747 [$(fast-check) && !$(cross-compiling)], add
4748 $(conformtest-header-base). Remove previous setting.
4749 ($(conformtest-header-list-tests)): New target.
4750 (test-xfail-run-conformtest): Remove variable.
4751 ($(objpfx)run-conformtest.out): Remove target.
4752 (test-xfail-ISO11/complex.h/conform): New variable.
4753 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4754 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4755 (test-xfail-XPG3/varargs.h/conform): Likewise.
4756 (test-xfail-XPG4/varargs.h/conform): Likewise.
4757 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4758 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4759 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4760 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4761 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4762 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4763 (test-xfail-XPG3/ftw.h/conform): Likewise.
4764 (test-xfail-XPG3/grp.h/conform): Likewise.
4765 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4766 (test-xfail-XPG3/limits.h/conform): Likewise.
4767 (test-xfail-XPG3/pwd.h/conform): Likewise.
4768 (test-xfail-XPG3/search.h/conform): Likewise.
4769 (test-xfail-XPG3/signal.h/conform): Likewise.
4770 (test-xfail-XPG3/stdio.h/conform): Likewise.
4771 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4772 (test-xfail-XPG3/string.h/conform): Likewise.
4773 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4774 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4775 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4776 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4777 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4778 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4779 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4780 (test-xfail-XPG3/termios.h/conform): Likewise.
4781 (test-xfail-XPG3/time.h/conform): Likewise.
4782 (test-xfail-XPG3/unistd.h/conform): Likewise.
4783 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4784 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4785 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4786 (test-xfail-XPG4/netdb.h/conform): Likewise.
4787 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4788 (test-xfail-XPG4/signal.h/conform): Likewise.
4789 (test-xfail-XPG4/stdio.h/conform): Likewise.
4790 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4791 (test-xfail-XPG4/stropts.h/conform): Likewise.
4792 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4793 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4794 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4795 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4796 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4797 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4798 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4799 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4800 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4801 (test-xfail-XPG4/termios.h/conform): Likewise.
4802 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4803 (test-xfail-XPG4/unistd.h/conform): Likewise.
4804 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4805 (test-xfail-POSIX/sched.h/conform): Likewise.
4806 (test-xfail-POSIX/signal.h/conform): Likewise.
4807 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4808 (test-xfail-POSIX/tar.h/conform): Likewise.
4809 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4810 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4811 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4812 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4813 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4814 (test-xfail-UNIX98/sched.h/conform): Likewise.
4815 (test-xfail-UNIX98/signal.h/conform): Likewise.
4816 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4817 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4818 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4819 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4820 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4821 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4822 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4823 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4824 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4825 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4826 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4827 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4828 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4829 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4830 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4831 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4832 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4833 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4834 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4835 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4836 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4837 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4838 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4839 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4840 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4841 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4842 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4843 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4844 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4845 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4846 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4847 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4848 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4849 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4850 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4851 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4852 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4853 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4854 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4855 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4856 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4857 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4858 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4859 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4860 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4861 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4862 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4863 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4864 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4865 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4866 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4867 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4868 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4869 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4870 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4871 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4872 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4873 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4874 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4875 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4876 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4877 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4878 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4879 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4880 (conformtest-cc-flags): Likewise.
4881 ($(conformtest-header-tests): New target.
4882 * conform/check-header-lists.sh: New file.
4883 * conform/run-conformtest.sh: Remove.
4884
a00f522a
JM
4885 * conform/conformtest.pl: Allow ' and \ in values given for
4886 constants.
4887 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4888 inclusion.
4889 [POSIX] (sys/types.h): Likewise.
4890 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4891 inclusion.
4892 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4893 inclusion.
4894 * conform/data/signal.h-data (SIGIO): Remove expectation.
4895 [XPG3] (SIGBUS): Do not expect.
4896 [POSIX || XPG3] (SIGPOLL): Likewise.
4897 [POSIX || XPG3] (SIGPROF): Likewise.
4898 [POSIX || XPG3] (SIGSYS): Likewise.
4899 [XPG3] (SIGTRAP): Likewise.
4900 [POSIX || XPG3] (SIGURG): Likewise.
4901 [POSIX || XPG3] (SIGVTALRM): Likewise.
4902 [POSIX || XPG3] (SIGXCPU): Likewise.
4903 [POSIX || XPG3] (SIGXFSZ): Likewise.
4904 [POSIX] (SA_SIGINFO): Expect.
4905 [XPG3] (siginfo_t): Do not expect type or contents.
4906 [POSIX] (si_pid): Do not expect element.
4907 [POSIX] (si_uid): Likewise.
4908 [POSIX] (si_addr): Likewise.
4909 [POSIX] (si_status): Likewise.
4910 [POSIX] (si_band): Likewise.
4911 [XPG4] (si_value): Likewise.
4912 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4913 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4914 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4915 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4916 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4917 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4918 [POSIX || XPG3] (ILL_COPROC): Likewise.
4919 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4920 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4921 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4922 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4923 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4924 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4925 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4926 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4927 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4928 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4929 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4930 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4931 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4932 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4933 [POSIX || XPG3] (CLD_EXITED): Likewise.
4934 [POSIX || XPG3] (CLD_KILLED): Likewise.
4935 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4936 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4937 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4938 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4939 [POSIX || XPG3] (POLL_IN): Likewise.
4940 [POSIX || XPG3] (POLL_OUT): Likewise.
4941 [POSIX || XPG3] (POLL_MSG): Likewise.
4942 [POSIX || XPG3] (POLL_ERR): Likewise.
4943 [POSIX || XPG3] (POLL_PRI): Likewise.
4944 [POSIX || XPG3] (POLL_HUP): Likewise.
4945 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4946 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4947 (SIG*): Do not allow.
4948 [XPG3] (si_*): Likewise.
4949 [XPG3] (SI_*): Likewise.
4950 [XPG3 || XPG4] (sigev_*): Likewise.
4951 [XPG3 || XPG4] (SIGEV_*): Likewise.
4952 [XPG3 || XPG4] (sival_*): Likewise.
4953 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4954 [POSIX || XPG3] (BUS_*): Likewise.
4955 [POSIX || XPG3] (CLD_*): Likewise.
4956 [POSIX || XPG3] (FPE_*): Likewise.
4957 [POSIX || XPG3] (ILL_*): Likewise.
4958 [POSIX || XPG3] (POLL_*): Likewise.
4959 [POSIX || XPG3] (SEGV_*): Likewise.
4960 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4961 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4962 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4963 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4964 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4965 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4966 Specify type and value.
4967 (TVERSLEN): Likewise.
4968 (REGTYPE): Likewise.
4969 (AREGTYPE): Likewise.
4970 (LNKTYPE): Likewise.
4971 (SYMTYPE): Likewise.
4972 (CHRTYPE): Likewise.
4973 (BLKTYPE): Likewise.
4974 (DIRTYPE): Likewise.
4975 (FIFOTYPE): Likewise.
4976 (CONTTYPE): Likewise.
4977 (TSUID): Likewise.
4978 (TSGID): Likewise.
4979 (TSVTX): Likewise.
4980 (TUREAD): Likewise.
4981 (TUWRITE): Likewise.
4982 (TUEXEC): Likewise.
4983 (TGREAD): Likewise.
4984 (TGWRITE): Likewise.
4985 (TGEXEC): Likewise.
4986 (TOREAD): Likewise.
4987 (TOWRITE): Likewise.
4988 (TOEXEC): Likewise.
4989 [POSIX] (TSVTX): Expect constant.
4990
aa97dee1
JM
49912014-03-06 Joseph Myers <joseph@codesourcery.com>
4992
f214606a
JM
4993 * Makefile (tests): Change dependencies to ....
4994 (tests-special): ... additions to this variable.
4995 (tests): Depend on $(tests-special).
4996 * Makerules (check-abi-list): New variable.
4997 (check-abi): Depend on $(check-abi-list).
4998 [$(subdir) = elf] (tests-special): Add
4999 $(objpfx)check-abi-libc.out.
5000 [$(build-shared) = yes && subdir] (tests-special): Add
5001 $(check-abi-list).
5002 [$(build-shared) = yes && subdir] (tests): Do not depend on
5003 check-abi.
5004 * Rules (tests): Depend on $(tests-special).
5005 (xtests): Depend on $(xtests-special).
5006 * catgets/Makefile (tests): Change dependencies to ....
5007 (tests-special): ... additions to this variable.
5008 * conform/Makefile (tests): Change dependencies to ....
5009 (tests-special): ... additions to this variable.
5010 * elf/Makefile (tests): Change dependencies to ....
5011 (tests-special): ... additions to this variable.
5012 * grp/Makefile (tests): Change dependencies to ....
5013 (tests-special): ... additions to this variable.
5014 * iconv/Makefile (xtests): Change dependencies to ....
5015 (xtests-special): ... additions to this variable.
5016 * iconvdata/Makefile (tests): Change dependencies to ....
5017 (tests-special): ... additions to this variable.
5018 * intl/Makefile (tests): Change dependencies to ....
5019 (tests-special): ... additions to this variable. Also add
5020 $(objpfx)tst-gettext.out.
5021 * io/Makefile (tests): Change dependencies to ....
5022 (tests-special): ... additions to this variable.
5023 * libio/Makefile (tests): Change dependencies to ....
5024 (tests-special): ... additions to this variable.
5025 * malloc/Makefile (tests): Change dependencies to ....
5026 (tests-special): ... additions to this variable.
5027 * misc/Makefile (tests): Change dependencies to ....
5028 (tests-special): ... additions to this variable.
5029 * nptl/Makefile (tests): Change dependencies to ....
5030 (tests-special): ... additions to this variable.
5031 * nptl_db/Makefile (tests): Change dependencies to ....
5032 (tests-special): ... additions to this variable.
5033 * posix/Makefile (tests): Change dependencies to ....
5034 (tests-special): ... additions to this variable.
5035 (xtests): Change dependencies to ....
5036 (xtests-special): ... additions to this variable.
5037 * resolv/Makefile (tests): Change dependencies to ....
5038 (tests-special): ... additions to this variable.
5039 (xtests): Change dependencies to ....
5040 (xtests-special): ... additions to this variable.
5041 * stdio-common/Makefile (tests): Change dependencies to ....
5042 (tests-special): ... additions to this variable.
5043 (do-tst-unbputc): Remove target.
5044 (do-tst-printf): Likewise.
5045 * stdlib/Makefile (tests): Change dependencies to ....
5046 (tests-special): ... additions to this variable.
5047 * string/Makefile (tests): Change dependencies to ....
5048 (tests-special): ... additions to this variable.
5049 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5050 (tests-special): ... additions to this variable.
5051
81700b53
JM
5052 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5053 whole file.
5054 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5055 whole file.
5056 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5057 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5058
2ea18461
JM
5059 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5060 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5061 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5062 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5063 * conform/data/libgen.h-data [XPG3]: Likewise.
5064 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5065 * conform/data/ndbm.h-data [XPG3]: Likewise.
5066 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5067 * conform/data/netdb.h-data [XPG3]: Likewise.
5068 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5069 * conform/data/poll.h-data [XPG3]: Likewise.
5070 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5071 * conform/data/strings.h-data [XPG3]: Likewise.
5072 * conform/data/stropts.h-data [XPG3]: Likewise.
5073 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5074 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5075 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5076 Likewise.
5077 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5078 * conform/data/sys/time.h-data [XPG3]: Likewise.
5079 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5080 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5081 * conform/data/sys/un.h-data [XPG3]: Likewise.
5082 * conform/data/syslog.h-data [XPG3]: Likewise.
5083 * conform/data/ucontext.h-data [XPG3]: Likewise.
5084 * conform/data/utmpx.h-data [XPG3]: Likewise.
5085 * conform/data/varargs.h-data [UNIX98]: Enable file.
5086
355bc986
JM
5087 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5088
215db402
JM
5089 * math/libm-test.inc (struct test_f_f_data): Move expected results
5090 into structure for each rounding mode.
5091 (struct test_ff_f_data): Likewise.
5092 (struct test_ff_f_data_nexttoward): Likewise.
5093 (struct test_fi_f_data): Likewise.
5094 (struct test_fl_f_data): Likewise.
5095 (struct test_if_f_data): Likewise.
5096 (struct test_fff_f_data): Likewise.
5097 (struct test_c_f_data): Likewise.
5098 (struct test_f_f1_data): Likewise.
5099 (struct test_fF_f1_data): Likewise.
5100 (struct test_ffI_f1_data): Likewise.
5101 (struct test_c_c_data): Likewise.
5102 (struct test_cc_c_data): Likewise.
5103 (struct test_f_i_data): Likewise.
5104 (struct test_ff_i_data): Likewise.
5105 (struct test_f_l_data): Likewise.
5106 (struct test_f_L_data): Likewise.
5107 (struct test_fFF_11_data): Likewise.
5108 (RM_): New macro.
5109 (RM_FE_DOWNWARD): Likewise.
5110 (RM_FE_TONEAREST): Likewise.
5111 (RM_FE_TOWARDZERO): Likewise.
5112 (RM_FE_UPWARD): Likewise.
5113 (RUN_TEST_LOOP_f_f): Update references to expected results.
5114 (RUN_TEST_LOOP_2_f): Likewise.
5115 (RUN_TEST_LOOP_fff_f): Likewise.
5116 (RUN_TEST_LOOP_c_f): Likewise.
5117 (RUN_TEST_LOOP_f_f1): Likewise.
5118 (RUN_TEST_LOOP_fF_f1): Likewise.
5119 (RUN_TEST_LOOP_fI_f1): Likewise.
5120 (RUN_TEST_LOOP_ffI_f1): Likewise.
5121 (RUN_TEST_LOOP_c_c): Likewise.
5122 (RUN_TEST_LOOP_cc_c): Likewise.
5123 (RUN_TEST_LOOP_f_i): Likewise.
5124 (RUN_TEST_LOOP_f_i_tg): Likewise.
5125 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5126 (RUN_TEST_LOOP_f_b): Likewise.
5127 (RUN_TEST_LOOP_f_b_tg): Likewise.
5128 (RUN_TEST_LOOP_f_l): Likewise.
5129 (RUN_TEST_LOOP_f_L): Likewise.
5130 (RUN_TEST_LOOP_fFF_11): Likewise.
5131 * math/gen-libm-test.pl (parse_args): Output four copies of
5132 expected results for each test.
5133
67737b8f
JM
5134 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5135 (__ASSUME_UTIMES): Remove.
5136 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5137 (__ASSUME_UTIMES): Likewise.
5138
aa97dee1
JM
5139 * math/gen-auto-libm-tests.c: Update comment on output format.
5140 (output_for_one_input_case): Generate before-rounding and
5141 after-rounding information as conditions on output flags not
5142 floating-point format.
5143 * math/auto-libm-test-out: Regenerated.
5144 * math/gen-libm-test.pl (cond_value): New function.
5145 (or_cond_value): Use cond_value.
5146 (generate_testfile): Handle conditional exceptions.
5147
e6b6a857
JM
51482014-03-05 Joseph Myers <joseph@codesourcery.com>
5149
2f0a0f44
JM
5150 * math/libm-test.inc (max_valid_error): New variable.
5151 (init_max_error): Take new argument specifying whether function
5152 results are exactly determined. Set max_valid_error and bound
5153 other variables for errors based on this argument.
5154 (set_max_error): Do not record results above max_valid_error.
5155 (check_float_internal): Only accept errors of up to 0.5ulps if
5156 also at most max_valid_error.
5157 (START): Take new argument EXACT and pass it to init_max_error.
5158 (acos_test): Update call to START.
5159 (acos_test_tonearest): Likewise.
5160 (acos_test_towardzero): Likewise.
5161 (acos_test_downward): Likewise.
5162 (acos_test_upward): Likewise.
5163 (acosh_test): Likewise.
5164 (asin_test): Likewise.
5165 (asin_test_tonearest): Likewise.
5166 (asin_test_towardzero): Likewise.
5167 (asin_test_downward): Likewise.
5168 (asin_test_upward): Likewise.
5169 (asinh_test): Likewise.
5170 (atan_test): Likewise.
5171 (atanh_test): Likewise.
5172 (atan2_test): Likewise.
5173 (cabs_test): Likewise.
5174 (cacos_test): Likewise.
5175 (cacosh_test): Likewise.
5176 (carg_test): Likewise.
5177 (casin_test): Likewise.
5178 (casinh_test): Likewise.
5179 (catan_test): Likewise.
5180 (catanh_test): Likewise.
5181 (cbrt_test): Likewise.
5182 (ccos_test): Likewise.
5183 (ccosh_test): Likewise.
5184 (ceil_test): Likewise.
5185 (cexp_test): Likewise.
5186 (cimag_test): Likewise.
5187 (clog_test): Likewise.
5188 (clog10_test): Likewise.
5189 (conj_test): Likewise.
5190 (copysign_test): Likewise.
5191 (cos_test): Likewise.
5192 (cos_test_tonearest): Likewise.
5193 (cos_test_towardzero): Likewise.
5194 (cos_test_downward): Likewise.
5195 (cos_test_upward): Likewise.
5196 (cosh_test): Likewise.
5197 (cosh_test_tonearest): Likewise.
5198 (cosh_test_towardzero): Likewise.
5199 (cosh_test_downward): Likewise.
5200 (cosh_test_upward): Likewise.
5201 (cpow_test): Likewise.
5202 (cproj_test): Likewise.
5203 (creal_test): Likewise.
5204 (csin_test): Likewise.
5205 (csinh_test): Likewise.
5206 (csqrt_test): Likewise.
5207 (ctan_test): Likewise.
5208 (ctan_test_tonearest): Likewise.
5209 (ctan_test_towardzero): Likewise.
5210 (ctan_test_downward): Likewise.
5211 (ctan_test_upward): Likewise.
5212 (ctanh_test): Likewise.
5213 (ctanh_test_tonearest): Likewise.
5214 (ctanh_test_towardzero): Likewise.
5215 (ctanh_test_downward): Likewise.
5216 (ctanh_test_upward): Likewise.
5217 (erf_test): Likewise.
5218 (erfc_test): Likewise.
5219 (exp_test): Likewise.
5220 (exp_test_tonearest): Likewise.
5221 (exp_test_towardzero): Likewise.
5222 (exp_test_downward): Likewise.
5223 (exp_test_upward): Likewise.
5224 (exp10_test): Likewise.
5225 (exp10_test_tonearest): Likewise.
5226 (exp10_test_towardzero): Likewise.
5227 (exp10_test_downward): Likewise.
5228 (exp10_test_upward): Likewise.
5229 (pow10_test): Likewise.
5230 (exp2_test): Likewise.
5231 (expm1_test): Likewise.
5232 (expm1_test_tonearest): Likewise.
5233 (expm1_test_towardzero): Likewise.
5234 (expm1_test_downward): Likewise.
5235 (expm1_test_upward): Likewise.
5236 (fabs_test): Likewise.
5237 (fdim_test): Likewise.
5238 (floor_test): Likewise.
5239 (fma_test): Likewise.
5240 (fma_test_towardzero): Likewise.
5241 (fma_test_downward): Likewise.
5242 (fma_test_upward): Likewise.
5243 (fmax_test): Likewise.
5244 (fmin_test): Likewise.
5245 (fmod_test): Likewise.
5246 (fpclassify_test): Likewise.
5247 (frexp_test): Likewise.
5248 (hypot_test): Likewise.
5249 (ilogb_test): Likewise.
5250 (isfinite_test): Likewise.
5251 (finite_test): Likewise.
5252 (isgreater_test): Likewise.
5253 (isgreaterequal_test): Likewise.
5254 (isinf_test): Likewise.
5255 (isless_test): Likewise.
5256 (islessequal_test): Likewise.
5257 (islessgreater_test): Likewise.
5258 (isnan_test): Likewise.
5259 (isnormal_test): Likewise.
5260 (issignaling_test): Likewise.
5261 (isunordered_test): Likewise.
5262 (j0_test): Likewise.
5263 (j1_test): Likewise.
5264 (jn_test): Likewise.
5265 (ldexp_test): Likewise.
5266 (lgamma_test): Likewise.
5267 (gamma_test): Likewise.
5268 (lrint_test): Likewise.
5269 (lrint_test_tonearest): Likewise.
5270 (lrint_test_towardzero): Likewise.
5271 (lrint_test_downward): Likewise.
5272 (lrint_test_upward): Likewise.
5273 (llrint_test): Likewise.
5274 (llrint_test_tonearest): Likewise.
5275 (llrint_test_towardzero): Likewise.
5276 (llrint_test_downward): Likewise.
5277 (llrint_test_upward): Likewise.
5278 (log_test): Likewise.
5279 (log10_test): Likewise.
5280 (log1p_test): Likewise.
5281 (log2_test): Likewise.
5282 (logb_test): Likewise.
5283 (logb_test_downward): Likewise.
5284 (lround_test): Likewise.
5285 (llround_test): Likewise.
5286 (modf_test): Likewise.
5287 (nearbyint_test): Likewise.
5288 (nextafter_test): Likewise.
5289 (nexttoward_test): Likewise.
5290 (pow_test): Likewise.
5291 (pow_test_tonearest): Likewise.
5292 (pow_test_towardzero): Likewise.
5293 (pow_test_downward): Likewise.
5294 (pow_test_upward): Likewise.
5295 (remainder_test): Likewise.
5296 (drem_test): Likewise.
5297 (remainder_test_tonearest): Likewise.
5298 (drem_test_tonearest): Likewise.
5299 (remainder_test_towardzero): Likewise.
5300 (drem_test_towardzero): Likewise.
5301 (remainder_test_downward): Likewise.
5302 (drem_test_downward): Likewise.
5303 (remainder_test_upward): Likewise.
5304 (drem_test_upward): Likewise.
5305 (remquo_test): Likewise.
5306 (rint_test): Likewise.
5307 (rint_test_tonearest): Likewise.
5308 (rint_test_towardzero): Likewise.
5309 (rint_test_downward): Likewise.
5310 (rint_test_upward): Likewise.
5311 (round_test): Likewise.
5312 (scalb_test): Likewise.
5313 (scalbn_test): Likewise.
5314 (scalbln_test): Likewise.
5315 (signbit_test): Likewise.
5316 (sin_test): Likewise.
5317 (sin_test_tonearest): Likewise.
5318 (sin_test_towardzero): Likewise.
5319 (sin_test_downward): Likewise.
5320 (sin_test_upward): Likewise.
5321 (sincos_test): Likewise.
5322 (sinh_test): Likewise.
5323 (sinh_test_tonearest): Likewise.
5324 (sinh_test_towardzero): Likewise.
5325 (sinh_test_downward): Likewise.
5326 (sinh_test_upward): Likewise.
5327 (sqrt_test): Likewise.
5328 (sqrt_test_tonearest): Likewise.
5329 (sqrt_test_towardzero): Likewise.
5330 (sqrt_test_downward): Likewise.
5331 (sqrt_test_upward): Likewise.
5332 (tan_test): Likewise.
5333 (tan_test_tonearest): Likewise.
5334 (tan_test_towardzero): Likewise.
5335 (tan_test_downward): Likewise.
5336 (tan_test_upward): Likewise.
5337 (tanh_test): Likewise.
5338 (tgamma_test): Likewise.
5339 (trunc_test): Likewise.
5340 (y0_test): Likewise.
5341 (y1_test): Likewise.
5342 (yn_test): Likewise.
5343 (significand_test): Likewise.
5344
e6b6a857
JM
5345 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5346 individual tests in comment.
5347 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5348 (prev_max_error): New variable.
5349 (prev_real_max_error): Likewise.
5350 (prev_imag_max_error): Likewise.
5351 (compare_ulp_data): Don't refer to test names in comment.
5352 (find_test_ulps): Remove function.
5353 (find_function_ulps): Likewise.
5354 (find_complex_function_ulps): Likewise.
5355 (init_max_error): Take function name as argument. Look up ulps
5356 for that function.
5357 (print_ulps): Remove function.
5358 (print_max_error): Use prev_max_error instead of calling
5359 find_function_ulps.
5360 (print_complex_max_error): Use prev_real_max_error and
5361 prev_imag_max_error instead of calling find_complex_function_ulps.
5362 (check_float_internal): Take max_ulp parameter instead of calling
5363 find_test_ulps. Don't call print_ulps.
5364 (check_float): Update call to check_float_internal.
5365 (check_complex): Update calls to check_float_internal.
5366 (START): Pass argument to init_max_error.
5367 * math/gen-libm-test.pl (%results): Don't include "kind"
5368 information.
5369 (parse_ulps): Don't handle ulps of individual tests.
5370 (print_ulps_file): Likewise.
5371 (output_ulps): Likewise.
5372 * math/README.libm-test: Update.
5373 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5374 individual tests.
5375 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5376 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5377 * sysdeps/arm/libm-test-ulps: Likewise.
5378 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5379 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5380 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5381 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5382 * sysdeps/microblaze/libm-test-ulps: Likewise.
5383 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5384 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5386 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5387 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5388 * sysdeps/sh/libm-test-ulps: Likewise.
5389 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5390 * sysdeps/tile/libm-test-ulps: Likewise.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392
45adef3c
JM
53932014-03-04 Joseph Myers <joseph@codesourcery.com>
5394
5395 * math/libm-test.inc (print_complex_max_error): Check separately
5396 whether real and imaginary errors are within allowed range and
5397 pass 0 to print_complex_function_ulps instead of value within
5398 allowed range.
5399
000232b9
SP
54002014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5401
d4b17258
SP
5402 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5403 formatting.
5404 (get_handles_fopen): Likewise.
5405 (do_write_test): Likewise.
5406
091eff71
SP
5407 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5408
fa3cd248
SP
5409 * libio/fileops.c (do_ftell): Use cached offset when
5410 available.
5411 * libio/iofwide.c (do_ftell_wide): Likewise.
5412 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5413 _IO_file_attach.
5414 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5415
000232b9
SP
5416 [BZ #16532]
5417 * libio/libioP.h (get_file_offset): New function.
5418 * libio/fileops.c (get_file_offset): Likewise.
5419 (do_ftell): Likewise.
5420 (_IO_new_file_seekoff): Split out ftell logic.
5421 * libio/wfileops.c (do_ftell_wide): Likewise.
5422 (_IO_wfile_seekoff): Split out ftell logic.
5423 * libio/tst-ftell-active-handler.c: New test case.
5424 * libio/Makefile (tests): Add it.
5425
116f4d1a
RM
54262014-03-03 Roland McGrath <roland@hack.frob.com>
5427
5428 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5429 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5430
532a6035
SP
54312014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5432
5433 [BZ #16639]
5434 * nscd/connections.c (nscd_init): Call do_exit.
5435 (start_threads): Call do_exit and notify_parent.
5436 (begin_drop_privileges): Call do_exit.
5437 (finish_drop_privileges): Likewise.
5438 * nscd/selinux.c (preserve_capabilities): Likewise.
5439 (install_real_capabilities): Likewise.
5440 (nscd_selinux_enabled): Likewise.
5441 (avc_create_thread): Likewise.
5442 (avc_alloc_lock): Likewise.
5443 (nscd_avc_init): Likewise.
5444 * nscd/nscd.c (parent_fd): New static variable.
5445 (main): Create a pipe between parent and child processes.
5446 Skip closing parent_fd.
5447 (monitor_child): New function.
5448 (do_exit): Likewise.
5449 (notify_parent): Likewise.
5450 * nscd/nscd.h (notify_parent): Likewise.
5451 (do_exit): Likewise.
5452
d6285c9f
CD
54532014-03-03 Carlos O'Donell <carlos@redhat.com>
5454
5455 * malloc/malloc.c (__libc_calloc): Revert last change.
5456
2b85d2a0
AZ
54572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5458
5459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5460
c7debbdf
RS
54612014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5462
5463 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5465 implementation.
5466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5467 (__libc_ifunc_impl_list): Likewise.
5468 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5469 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5470 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5471 * string/strrchr.c: Define STRRCHR.
5472
235eed86
OB
54732014-02-28 Ondřej Bílka <neleai@seznam.cz>
5474
5475 * benchtest/bench-strtok.c (simple_strtok): Delete.
5476 (strtok_string): Use as benchmark.
5477 * string/strtok (STRTOK): New macro.
5478
8e25d1e7
CD
54792014-02-28 Carlos O'Donell <carlos@redhat.com>
5480
ef563f92
CD
5481 * manual/threads.texi: Add header and standard comments to all
5482 functions.
5483
8e25d1e7
CD
5484 * elf/dl-lookup.c (check_match): New function.
5485 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5486 (do_lookup_x): Remove nested function check_match. Use non-nested
5487 function check_match.
5488
ff71cc37
RM
54892014-02-28 Roland McGrath <roland@hack.frob.com>
5490
f08e9a26
RM
5491 * csu/Makefile (generated, before-compile): Use += rather than =.
5492 * catgets/Makefile (generated, generated-dirs): Likewise.
5493 * debug/Makefile (generated): Likewise.
5494 * dlfcn/Makefile (generated): Likewise.
5495 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5496 * iconvdata/Makefile (before-compile, generated): Likewise.
5497 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5498 * libio/Makefile (generated): Likewise.
5499 * malloc/Makefile (generated): Likewise.
5500 * manual/Makefile (generated, generated-dirs): Likewise.
5501 * misc/Makefile (generated): Likewise.
5502 * posix/Makefile (generated): Likewise.
5503 * resolv/Makefile (generated): Likewise.
5504 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5505 * timezone/Makefile (generated, generated-dirs): Likewise.
5506
ff71cc37
RM
5507 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5508
fe13a20c
AZ
55092014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5510
57f41c40
AS
5511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5512 power8 implementation.
5513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5514 file: POWER8 llround ifunc implementation.
5515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5516 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5517 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5518 POWER8 llround implementation.
5519
57f41c40
AS
5520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5521 power8 implementation.
5522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5523 file: POWER8 llrint ifunc implementation.
5524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5525 Add POWER8 implementation.
1ad8950a
AZ
5526 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5527 POWER8 llrint implementation.
5528
57f41c40
AS
5529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5530 power8 implementation.
5531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5532 file: POWER8 finite ifunc implementation.
5533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5534 Add POWER8 implementation.
cac626d6
AZ
5535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5536 Likewise.
5537 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5538 POWER8 finite implementation.
5539 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5540
57f41c40
AS
5541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5542 power8 implementation.
5543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5544 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5546 POWER8 implementation.
5547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5548 Likewise.
57f41c40
AS
5549 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5550 isinf implementation.
4393fc11
AZ
5551 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5552
57f41c40
AS
5553 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5554 (INIT_ARCH): Add hwcap2 initialization.
5555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5556 power8 implementation.
5557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5558 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5560 POWER8 implementation.
5561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5562 Likewise.
57f41c40
AS
5563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5564 isnan implementation.
487972ae
AZ
5565 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5566
7d92b787
JY
55672014-02-27 Joey Ye <joey.ye@arm.com>
5568
5569 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5570 (_FP_NANFRAC_Q): Set to zero.
5571
1cadc858
SP
55722014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5573
5574 [BZ #16623]
5575 * math/auto-libm-test-in: New test inputs.
5576 * math/auto-libm-test-out: Regenerate.
5577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5578 and DA.
5579 (__cos): Likewise.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5581
f8c17e79
JM
55822014-02-27 Joseph Myers <joseph@codesourcery.com>
5583
5584 * scripts/evaluate-test.sh: Take new argument indicating whether
5585 failure is expected.
5586 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5587 indicating whether failure is expected.
5588 * conform/Makefile (test-xfail-run-conformtest): New variable.
5589 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5590 level.
5591 * posix/Makefile (test-xfail-annexc): New variable.
5592 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5593
a5f891ac
JM
55942014-02-26 Joseph Myers <joseph@codesourcery.com>
5595
5596 * argp/Makefile: Include Makeconfig immediately after defining
5597 subdir.
5598 * assert/Makefile: Likewise.
5599 * benchtests/Makefile: Likewise.
5600 * catgets/Makefile: Likewise.
5601 * conform/Makefile: Likewise.
5602 * crypt/Makefile: Likewise.
5603 * csu/Makefile: Likewise.
5604 (all): Remove target.
5605 * ctype/Makefile: Include Makeconfig immediately after defining
5606 subdir.
5607 * debug/Makefile: Likewise.
5608 * dirent/Makefile: Likewise.
5609 * dlfcn/Makefile: Likewise.
5610 * gmon/Makefile: Likewise.
5611 * gnulib/Makefile: Likewise.
5612 * grp/Makefile: Likewise.
5613 * gshadow/Makefile: Likewise.
5614 * hesiod/Makefile: Likewise.
5615 * hurd/Makefile: Likewise.
5616 (all): Remove target.
5617 * iconvdata/Makefile: Include Makeconfig immediately after
5618 defining subdir.
5619 * inet/Makefile: Likewise.
5620 * intl/Makefile: Likewise.
5621 * io/Makefile: Likewise.
5622 * libio/Makefile: Likewise.
5623 (all): Remove target.
5624 * locale/Makefile: Include Makeconfig immediately after defining
5625 subdir.
5626 * login/Makefile: Likewise.
5627 * mach/Makefile: Likewise.
5628 (all): Remove target.
5629 * malloc/Makefile: Include Makeconfig immediately after defining
5630 subdir.
5631 (all): Remove target.
5632 * manual/Makefile: Include Makeconfig immediately after defining
5633 subdir.
5634 * math/Makefile: Likewise.
5635 * misc/Makefile: Likewise.
5636 * nis/Makefile: Likewise.
5637 * nss/Makefile: Likewise.
5638 * po/Makefile: Likewise.
5639 (all): Remove target.
5640 * posix/Makefile: Include Makeconfig immediately after defining
5641 subdir.
5642 * pwd/Makefile: Likewise.
5643 * resolv/Makefile: Likewise.
5644 * resource/Makefile: Likewise.
5645 * rt/Makefile: Likewise.
5646 * setjmp/Makefile: Likewise.
5647 * shadow/Makefile: Likewise.
5648 * signal/Makefile: Likewise.
5649 * socket/Makefile: Likewise.
5650 * soft-fp/Makefile: Likewise.
5651 * stdio-common/Makefile: Likewise.
5652 * stdlib/Makefile: Likewise.
5653 * streams/Makefile: Likewise.
5654 * string/Makefile: Likewise.
5655 * sunrpc/Makefile: Likewise.
5656 (all): Remove target.
5657 * sysvipc/Makefile: Include Makeconfig immediately after defining
5658 subdir.
5659 * termios/Makefile: Likewise.
5660 * time/Makefile: Likewise.
5661 * timezone/Makefile: Likewise.
5662 (all): Remove target.
5663 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5664 subdir.
5665 * wctype/Makefile: Likewise.
5666
5b456e9d
SE
56672014-02-26 Steve Ellcey <sellcey@mips.com>
5668
5669 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5670 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5671 (libc_feholdexcept_setround_mips): Ditto.
5672 (libc_feholdsetround): New.
5673 (libc_feholdsetroundf): New.
5674 (libc_feholdsetroundl): New.
5675 (libc_feupdateenv_test_mips): New.
5676 (libc_feupdateenv_test): New.
5677 (libc_feupdateenv_testf): New.
5678 (libc_feupdateenv_testl): New.
5679 (libc_feresetround): New.
5680 (libc_feresetroundf): New.
5681 (libc_feresetroundl): New.
5682 (libc_fetestexcept_mips): New.
5683 (libc_fetestexcept): New.
5684 (libc_fetestexceptf): New.
5685 (libc_fetestexceptl): New.
5686 (HAVE_RM_CTX): New.
5687 (libc_feholdexcept_setround_mips_ctx): New.
5688 (libc_feholdexcept_setround_ctx): New.
5689 (libc_feholdexcept_setroundf_ctx): New.
5690 (libc_feholdexcept_setroundl_ctx): New.
5691 (libc_fesetenv_mips_ctx): New.
5692 (libc_fesetenv_ctx): New.
5693 (libc_fesetenv_ctxf): New.
5694 (libc_fesetenv_ctxl): New.
5695 (libc_feupdateenv_mips_ctx): New.
5696 (libc_feupdateenv_ctx): New.
5697 (libc_feupdateenvf_ctx): New.
5698 (libc_feupdateenvl_ctx): New.
5699 (libc_feholdsetround_mips_ctx): New.
5700 (libc_feholdsetround_ctx): New.
5701 (libc_feholdsetroundf_ctx): New.
5702 (libc_feholdsetroundl_ctx): New.
5703 (libc_feresetround_mips_ctx): New.
5704 (libc_feresetround_ctx): New.
5705 (libc_feresetroundf_ctx): New.
5706 (libc_feresetroundl_ctx): New.
5707
085d0e35
CD
57082014-02-26 Carlos O'Donell <carlos@redhat.com>
5709
f067bf1f
CD
5710 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5711
085d0e35
CD
5712 * manual/ipc.texi: New file.
5713 * manual/Makefile (chapters): Add ipc.
5714 * manual/job.texi: Add "Inter-Process Communication" to next.
5715 * manual/process.texi: Add "Inter-Process Communication" to prev.
5716
86e58c08
AZ
57172014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5718
5719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5720
4248f0da
OB
57212014-02-26 Ondřej Bílka <neleai@seznam.cz>
5722
5723 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5724
cf822e3c
OB
5725 * manual/arith.texi: Fix spaces after sentences.
5726 * manual/charset.texi: Likewise.
5727 * manual/errno.texi: Likewise.
5728 * manual/install.texi: Likewise.
5729 * manual/llio.texi: Likewise.
5730 * manual/locale.texi: Likewise.
5731 * manual/maint.texi: Likewise.
5732 * manual/math.texi: Likewise.
5733 * manual/memory.texi: Likewise.
5734 * manual/message.texi: Likewise.
5735 * manual/probes.texi: Likewise.
5736 * manual/resource.texi: Likewise.
5737 * manual/signal.texi: Likewise.
5738 * manual/socket.texi: Likewise.
5739 * manual/stdio.texi: Likewise.
5740 * manual/string.texi: Likewise.
5741 * manual/time.texi: Likewise.
5742 * manual/users.texi: Likewise.
5743
ade40b10
CD
57442014-02-25 Carlos O'Donell <carlos@redhat.com>
5745
5746 [BZ #16632]
5747 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5748 _DEFAULT_SOURCE is defined.
5749
d0503676
CD
57502014-02-25 Ulrich Drepper <drepper@gmail.com>
5751 Carlos O'Donell <carlos@redhat.com>
5752
5753 [BZ #16613]
5754 * elf/dl-tls.c (_dl_count_modids): New function.
5755 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5756 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5757 audit library and increment generation counter.
5758 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5759 * elf/tst-audit9.c: New file.
5760 * elf/tst-auditmod9a.c: New file.
5761 * elf/tst-auditmod9b.c: New file.
5762 * elf/Makefile: Add rules to build and run tst-audit9.
5763
4cbf380c
FW
57642014-02-25 Florian Weimer <fweimer@redhat.com>
5765
5766 [BZ #15347]
5767 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5768
80a56cc3
WN
57692014-02-25 Will Newton <will.newton@linaro.org>
5770
5771 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5772 (__longjmp): Restore sp and lr before restoring callee
5773 saved registers. Add longjmp and longjmp_target
5774 SystemTap probe point.
5775 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5776 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5777 Define to zero to match jmpbuf layout.
5778 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5779 (__sigsetjmp): Save sp and lr before saving callee
5780 saved registers. Add setjmp SystemTap probe point.
5781
3ea0f74e
SL
57822014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5783
5784 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5785
b04acb26
AS
57862014-02-24 Andreas Schwab <schwab@suse.de>
5787
5788 [BZ #15804]
5789 * elf/pldd.c (wait_for_ptrace_stop): New function.
5790 (main): Call it after attaching.
5791
098ad55c
RM
57922014-02-22 Roland McGrath <roland@hack.frob.com>
5793
d4ec6ae1
RM
5794 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5795 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5796 Versions files is now verboten.
5797 * hurd/Versions (libc: GLIBC_2.0):
5798 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5799 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5800 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5801 * mach/Versions: Likewise.
5802
098ad55c
RM
5803 * csu/Versions: Remove unused %include.
5804 * resolv/Versions: Likewise.
5805
acd7f096
JM
58062014-02-21 Joseph Myers <joseph@codesourcery.com>
5807
f0881698
JM
5808 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5809 ($(objpfx)check-local-headers.out): Likewise.
5810 ($(objpfx)begin-end-check.out): Likewise.
5811 * Makerules (check-abi-%.out): Likewise.
5812 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5813 ($(objpfx)test2.cat): Likewise.
5814 ($(objpfx)de/libc.cat): Likewise.
5815 ($(objpfx)test-gencat.out): Likewise.
5816 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5817 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5818 ($(objpfx)noload-mem): Likewise.
5819 ($(objpfx)tst-pathopt.out): Likewise.
5820 ($(objpfx)tst-rtld-load-self.out): Likewise.
5821 ($(objpfx)tst-array1-cmp.out): Likewise.
5822 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5823 ($(objpfx)tst-array2-cmp.out): Likewise.
5824 ($(objpfx)tst-array3-cmp.out): Likewise.
5825 ($(objpfx)tst-array4-cmp.out): Likewise.
5826 ($(objpfx)tst-array5-cmp.out): Likewise.
5827 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5828 ($(objpfx)check-textrel.out): Likewise.
5829 ($(objpfx)check-execstack.out): Likewise.
5830 ($(objpfx)check-localplt.out): Likewise.
5831 ($(objpfx)order2-cmp.out): Likewise.
5832 ($(objpfx)tst-leaks1-mem): Likewise.
5833 ($(objpfx)tst-leaks1-static-mem): Likewise.
5834 ($(objpfx)tst-initorder-cmp.out): Likewise.
5835 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5836 ($(objpfx)tst-unused-dep.out): Likewise.
5837 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5838 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5839 * iconv/Makefile (test-iconvconfig): Likewise.
5840 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5841 ($(objpfx)iconv-test.out): Likewise.
5842 ($(objpfx)tst-tables.out): Likewise.
5843 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5844 ($(objpfx)tst-gettext.out): Likewise.
5845 ($(objpfx)tst-translit.out): Likewise.
5846 ($(objpfx)tst-gettext2.out): Likewise.
5847 ($(objpfx)tst-gettext4.out): Likewise.
5848 ($(objpfx)tst-gettext6.out): Likewise.
5849 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5850 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5851 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5852 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5854 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5855 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5856 ($(objpfx)wordexp-tst.out): Likewise.
5857 ($(objpfx)annexc.out): Likewise.
5858 ($(objpfx)tst-fnmatch-mem): Likewise.
5859 ($(objpfx)bug-regex2-mem): Likewise.
5860 ($(objpfx)bug-regex14-mem): Likewise.
5861 ($(objpfx)bug-regex21-mem): Likewise.
5862 ($(objpfx)bug-regex31-mem): Likewise.
5863 ($(objpfx)tst-vfork3-mem): Likewise.
5864 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5865 ($(objpfx)tst-pcre-mem): Likewise.
5866 ($(objpfx)tst-boost-mem): Likewise.
5867 ($(objpfx)tst-getconf.out): Likewise.
5868 ($(objpfx)bug-ga2-mem): Likewise.
5869 ($(objpfx)bug-glob2-mem): Likewise.
5870 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5871 ($(objpfx)mtrace-tst-leaks2): Likewise.
5872 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5873 ($(objpfx)tst-printf.out): Likewise.
5874 ($(objpfx)tst-setvbuf1.out): Likewise.
5875 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5876 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5877 ($(objpfx)tst-fmtmsg.out): Likewise.
5878 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5879 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5880
acd7f096
JM
5881 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5882 * bits/sigaction.h [__USE_MISC]: Likewise.
5883 * bits/waitstatus.h: Update #endif comments.
5884 * ctype/ctype.h: Likewise.
5885 * dirent/dirent.h: Likewise.
5886 [__USE_MISC]: Remove redundant conditionals.
5887 * grp/grp.h: Update #endif comments.
5888 [__USE_GNU]: Remove redundant conditionals.
5889 [__USE_MISC]: Likewise.
5890 * inet/netinet/in.h [__USE_GNU]: Likewise.
5891 * io/sys/stat.h [__USE_MISC]: Likewise.
5892 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5893 * libio/bits/stdio.h: Update #endif comments.
5894 [__USE_MISC]: Remove redundant conditionals.
5895 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5896 * libio/stdio.h: Update #endif comments.
5897 [__USE_MISC]: Remove redundant conditionals.
5898 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5899 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5900 * math/math.h: Update #else and #endif comments.
5901 [__USE_MISC]: Remove redundant conditionals.
5902 * misc/sys/uio.h: Update #endif comments.
5903 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5904 * posix/glob.h [__USE_MISC]: Likewise.
5905 * posix/sys/types.h: Update #endif comments.
5906 [__USE_MISC]: Remove redundant conditionals.
5907 * posix/sys/wait.h: Update #endif comments.
5908 [__USE_MISC]: Remove redundant conditionals.
5909 * posix/unistd.h: Update #endif comments.
5910 [__USE_MISC]: Remove redundant conditionals.
5911 * pwd/pwd.h [__USE_GNU]: Likewise.
5912 [__USE_MISC]: Likewise.
5913 * resolv/netdb.h [__USE_GNU]: Likewise.
5914 * signal/signal.h: Update #endif comments.
5915 [__USE_MISC]: Remove redundant conditionals.
5916 * stdlib/stdlib.h: Update #else and #endif comments.
5917 [__USE_MISC]: Remove redundant conditionals.
5918 [__USE_GNU]: Likewise.
5919 * string/bits/string2.h [__USE_MISC]: Likewise.
5920 * string/string.h: Update #endif comments.
5921 [__USE_MISC]: Remove redundant conditionals.
5922 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5923 Likewise.
5924 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5925 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5926 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5927 Likewise.
5928 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5929 Likewise.
5930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5931 comments.
5932 [__USE_MISC]: Remove redundant conditionals.
5933 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5934 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5935 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5936 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5937 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5938 Likewise.
5939 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5940 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5941 Likewise.
5942 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5943 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5944 Likewise.
5945 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5946 Likewise.
5947 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5949 Likewise.
5950 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5951 Likewise.
5952 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5953 * sysdeps/x86/bits/string.h: Update #endif comments.
5954 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5955 conditionals.
5956 * time/sys/time.h: Update #endif comments.
5957 * time/time.h: Likewise.
5958 [__USE_MISC]: Remove redundant conditionals.
5959
a5d82e4e
YG
59602014-02-21 Yury Gribov <y.gribov@samsung.com>
5961
5962 [BZ #16600]
5963 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5964
9a80491d
AS
59652014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5966
5967 * Versions.def (librt): Add GLIBC_2.17.
5968
105fa381
AC
59692014-02-21 Adam Conrad <adconrad@0c3.net>
5970
5971 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5972 synonym for _SYS_AUXV_H to allow direct inclusion.
5973 * sysdeps/sparc/bits/hwcap.h: Likewise.
5974 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5975 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5976 * sysdeps/sparc/sysdep.h: Likewise.
5977
b8cd1c4e
SP
59782014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5979
5980 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5981
bd939d23
RS
59822014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5983
5984 * benchtests/bench-strrchr.c: Print length instead of position.
5985
5d7b57ca
JM
59862014-02-20 Joseph Myers <joseph@codesourcery.com>
5987
bc688c10
JM
5988 [BZ #16611]
5989 * sysdeps/unix/sysv/linux/kernel-features.h
5990 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5991 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5992 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5993 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5994 Likewise.
5995 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5996 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5997 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5998 (__ASSUME_SENDMMSG): Define instead of using previous
5999 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6001 (__ASSUME_SENDMMSG_SYSCALL): Define.
6002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6003 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6004 Likewise.
6005 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6006 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6007 Likewise.
6008 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6009 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6010 Likewise.
6011 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6012 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6013 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6014 [__ASSUME_SENDMMSG]: Change conditionals to
6015 [__ASSUME_SENDMMSG_SOCKETCALL].
6016 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6017 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6018 Define.
6019 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6020 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6021 Likewise.
6022 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6023 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6024 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6025 [!__ASSUME_SENDMMSG]: Change conditional to
6026 [!__ASSUME_SENDMMSG_SOCKETCALL].
6027 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6028 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6029 Define.
6030
0e31b18c
JM
6031 [BZ #16610]
6032 * sysdeps/unix/sysv/linux/kernel-features.h
6033 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6034 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6035 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6036 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6037 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6038 [__i386__ || __sparc__]
6039 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6040 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6041 (__ASSUME_RECVMMSG): Define instead of using previous
6042 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6043 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6044 (__ASSUME_RECVMMSG_SYSCALL): Define.
6045 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6047 Likewise.
6048 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6049 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6050 Likewise.
6051 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6052 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6053 Likewise.
6054 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6055 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6056 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6057 [__ASSUME_RECVMMSG]: Change condition to
6058 [__ASSUME_RECVMMSG_SOCKETCALL].
6059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6060 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6061 Define.
6062 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6063 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6064 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6065 Likewise.
6066 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6067 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6068 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6069 [!__ASSUME_RECVMMSG]: Change condition to
6070 [!__ASSUME_RECVMMSG_SOCKETCALL].
6071 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6072 (__ASSUME_RECVMMSG_SYSCALL): Define.
6073
dd481ccf
JM
6074 [BZ #16609]
6075 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6076 __powerpc__ || __s390__ || __sh__ || __sparc__]
6077 (__ASSUME_SOCKETCALL): Define.
6078 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6079 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6080 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6081 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6082 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6083 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6084 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6085 (__ASSUME_ACCEPT4): Define instead of using previous
6086 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6087 __powerpc__ || __sparc__ || __s390__)] condition.
6088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6089 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6090 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6091 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6092 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6093 [!__ASSUME_ACCEPT4]: Change condition to
6094 [!__ASSUME_ACCEPT4_SOCKETCALL].
6095 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6096 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6097 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6098 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6099 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6100 __ASSUME_ACCEPT4_SYSCALL.
6101 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6102 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6103 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6104 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6105 __ASSUME_ACCEPT4_SYSCALL.
6106 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6107 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6108 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6109 [__ASSUME_ACCEPT4]: Change condition to
6110 [__ASSUME_ACCEPT4_SOCKETCALL].
6111 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6112 (__ASSUME_SOCKETCALL): Define.
6113 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6114 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6115 (__ASSUME_SOCKETCALL): Define.
6116 (__ASSUME_ACCEPT4): Remove.
6117 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6118 Define.
6119 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6120 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6121 Likewise.
6122 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6123 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6124
5d7b57ca
JM
6125 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6126 macro.
6127 (HWCAP_ARM_LPAE): Likewise.
6128 (HWCAP_ARM_EVTSTRM): Likewise.
6129 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6130 Add vpfd32, lpae and evtstrm.
6131 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6132 Increase to 22.
6133
63689d61
JM
61342014-02-19 Joseph Myers <joseph@codesourcery.com>
6135
6136 * math/auto-libm-test-in: Add tests of clog10.
6137 * math/auto-libm-test-out: Regenerated.
6138 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6139 * sysdeps/i386/fpu/libm-test-ulps: Update.
6140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6141
ab09bf61
AS
61422014-02-18 Andreas Schwab <schwab@suse.de>
6143
6144 [BZ #16574]
6145 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6146 Store non-zero if the second buffer was newly allocated.
6147 (send_dg): Likewise.
6148 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6149 to send_vc and send_dg.
6150 (res_nsend): Pass NULL for ansp2_malloced.
6151 * resolv/res_query.c (__libc_res_nquery): Add parameter
6152 answerp2_malloced and pass it down to __libc_res_nsend.
6153 (res_nquery): Pass additional NULL to __libc_res_nquery.
6154 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6155 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6156 second answer buffer if answerp2_malloced was set.
6157 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6158 (__libc_res_nquerydomain): Add parameter
6159 answerp2_malloced and pass it down to __libc_res_nquery.
6160 (res_nquerydomain): Pass additional NULL to
6161 __libc_res_nquerydomain.
6162 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6163 additional NULL to __libc_res_nsend and __libc_res_nquery.
6164 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6165 additional NULL to __libc_res_nsearch.
6166 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6167 parameter of __libc_res_nsearch to check for separately allocated
6168 second buffer.
6169 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6170 __libc_res_nquery.
6171 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6172 additional NULL to __libc_res_nquery.
6173 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6174 __libc_res_nsearch.
6175 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6176 * include/resolv.h: Update prototypes of __libc_res_nquery,
6177 __libc_res_nsearch, __libc_res_nsend.
6178
a4fb7861
JM
61792014-02-18 Joseph Myers <joseph@codesourcery.com>
6180
c6af2d89
JM
6181 * math/auto-libm-test-in: Add tests of fma.
6182 * math/auto-libm-test-out: Regenerated.
6183 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6184 (fma_towardzero_test_data): Likewise.
6185 (fma_downward_test_data): Likewise.
6186 (fma_upward_test_data): Likewise.
6187 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6188 mpc_mode.
6189 (rounding_modes): Add values for new field.
6190 (func_calc_method): Add value mpfr_fff_f.
6191 (func_calc_desc): Add mpfr_fff_f union field.
6192 (test_function): Add field exact_args.
6193 (FUNC): Add macro argument EXACT_ARGS.
6194 (FUNC_mpfr_f_f): Update call to FUNC.
6195 (FUNC_mpfr_f_f): Likewise.
6196 (FUNC_mpfr_ff_f): Likewise.
6197 (FUNC_mpfr_if_f): Likewise.
6198 (FUNC_mpc_c_f): Likewise.
6199 (FUNC_mpc_c_c): Likewise.
6200 (test_functions): Add fma. Update calls to FUNC.
6201 (handle_input_arg): Add argument exact_args.
6202 (add_test): Update call to handle_input_arg.
6203 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6204 (output_for_one_input_case): Update call to calc_generic_results.
6205 Recalculate exact zero results in each rounding mode.
6206
a4fb7861
JM
6207 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6208 non-negative before setting low bit.
6209 * math/auto-libm-test-in: Mark one asin test possibly having
6210 spurious underflow.
6211 * math/auto-libm-test-out: Regenerated.
6212 * sysdeps/i386/fpu/libm-test-ulps: Update.
6213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6214
ef114eaf
DH
62152014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6216
2b7f4f2c
SP
6217 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6218 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6219 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6220 * README: Add missing listing for microblaze*-*-linux-gnu.
6221
c70a4b1d
MF
62222014-02-16 Mike Frysinger <vapier@gentoo.org>
6223
6224 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6225 * sysdeps/unix/sysv/linux/ia64: Move directory from
6226 ports/sysdeps/unix/sysv/linux/ia64.
6227 * README: Update listing for ia64-*-linux-gnu.
6228
591aeaf7
TD
62292014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6230 Joseph Myers <joseph@codesourcery.com>
6231
6232 * Makeconfig (test-name): New variable.
6233 (evaluate-test): Likewise.
6234 * Makerules (do-test-clean): Remove .test-result files.
6235 (common-mostlyclean): Likewise.
6236 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6237 * scripts/evaluate-test.sh: New file.
6238
6e89caf1
JM
62392014-02-14 Joseph Myers <joseph@codesourcery.com>
6240
7f98f180
JM
6241 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6242 separate $(objpfx)tst-fopenloc-cmp.out and
6243 $(objpfx)tst-fopenloc-mem.out targets.
6244 (tests): Update dependencies.
6245 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6246 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6247 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6248 (tst-rxspencer-no-utf8-ARGS): New variable.
6249 (tst-rxspencer-no-utf8-ENV): Likewise.
6250 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6251 instead of $(objpfx)tst-rxspencer-mem.
6252 ($(objpfx)tst-rxspencer-mem): Change target to
6253 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6254 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6255 * posix/tst-rxspencer-no-utf8.c: New file.
6256
6e89caf1
JM
6257 * elf/Makefile ($(objpfx)order.out): Remove rule.
6258 [$(run-built-tests) = yes] (tests): Depend on
6259 $(objpfx)order-cmp.out.
6260 ($(objpfx)order-cmp.out): New rule.
6261 [$(run-built-tests) = yes] (tests): Depend on
6262 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6263 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6264 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6265 $(objpfx)tst-array5-static-cmp.out.
6266 ($(objpfx)tst-array1.out): Remove rule.
6267 ($(objpfx)tst-array1-cmp.out): New rule.
6268 ($(objpfx)tst-array1-static.out): Remove rule.
6269 ($(objpfx)tst-array1-static-cmp.out): New rule.
6270 ($(objpfx)tst-array2.out): Remove rule.
6271 ($(objpfx)tst-array2-cmp.out): New rule.
6272 ($(objpfx)tst-array3.out): Remove rule.
6273 ($(objpfx)tst-array3-cmp.out): New rule.
6274 ($(objpfx)tst-array4.out): Remove rule.
6275 ($(objpfx)tst-array4-cmp.out): New rule.
6276 ($(objpfx)tst-array5.out): Remove rule.
6277 ($(objpfx)tst-array5-cmp.out): New rule.
6278 ($(objpfx)tst-array5-static.out): Remove rule.
6279 ($(objpfx)tst-array5-static-cmp.out): New rule.
6280 [$(run-built-tests) = yes] (tests): Depend on
6281 $(objpfx)order2-cmp.out.
6282 ($(objpfx)order2.out): Remove rule.
6283 ($(objpfx)order2-cmp.out): New rule.
6284 ($(objpfx)tst-initorder.out): Remove rule.
6285 [$(run-built-tests) = yes] (tests): Depend on
6286 $(objpfx)tst-initorder-cmp.out.
6287 ($(objpfx)tst-initorder-cmp.out): New rule.
6288 ($(objpfx)tst-initorder2.out): Remove rule.
6289 [$(run-built-tests) = yes] (tests): Depend on
6290 $(objpfx)tst-initorder2-cmp.out.
6291 ($(objpfx)tst-initorder2-cmp.out): New rule.
6292 [$(run-built-tests) = yes] (tests): Depend on
6293 $(objpfx)tst-unused-dep-cmp.out.
6294 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6295 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6296 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6297 on $(objpfx)tst-setvbuf1-cmp.out.
6298 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6299 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6300 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6301 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6302 ($(objpfx)tst-svc.out): Remove rule.
6303 ($(objpfx)tst-svc-cmp.out): New rule.
6304
ed9a38e2
JM
63052014-02-13 Joseph Myers <joseph@codesourcery.com>
6306
6307 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6308 * ctype/ctype.h [__USE_MISC]: Likewise.
6309 * dirent/dirent.h [__USE_MISC]: Likewise.
6310 * grp/grp.h [__USE_MISC]: Likewise.
6311 * io/fcntl.h [__USE_MISC]: Likewise.
6312 * io/sys/stat.h [__USE_MISC]: Likewise.
6313 * libio/stdio.h [__USE_MISC]: Likewise.
6314 * posix/unistd.h [__USE_MISC]: Likewise.
6315 * pwd/pwd.h [__USE_MISC]: Likewise.
6316 * stdlib.h [__USE_MISC]: Likewise.
6317 * string/bits/string2.h [__USE_MISC]: Likewise.
6318 * string/string.h [__USE_MISC]: Likewise.
6319 * time/time.h [__USE_MISC]: Likewise.
6320
d6680619
AS
63212014-02-13 Andreas Schwab <schwab@suse.de>
6322
6323 [BZ #16574]
6324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6325 second answer buffer if it was separately allocated.
6326
ace614b8
JM
63272014-02-12 Joseph Myers <joseph@codesourcery.com>
6328
743151ae
JM
6329 * sysdeps/mips/math-tests.h: Include <features.h>.
6330 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6331 (ROUNDING_TESTS_long_double): Do not define.
6332 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6333 (EXCEPTION_TESTS_long_double): Likewise.
6334 * sysdeps/mips/mips64/libm-test-ulps: Update.
6335
498afc54
JM
6336 * include/features.h (__USE_BSD): Remove macro definitions.
6337 (__USE_SVID): Likewise.
6338 (_BSD_SOURCE): Likewise.
6339 (_SVID_SOURCE): Likewise.
6340 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6341 from definition of _DEFAULT_SOURCE.
6342 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6343 [_DEFAULT_SOURCE].
6344 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6345 * bits/mman.h [__USE_BSD]: Likewise.
6346 * bits/termios.h [__USE_BSD]: Likewise.
6347 * bits/waitstatus.h [__USE_BSD]: Likewise.
6348 * ctype/ctype.h [__USE_SVID]: Likewise.
6349 * dirent/dirent.h [__USE_BSD]: Likewise.
6350 * grp/grp.h [__USE_SVID]: Likewise.
6351 [__USE_BSD]: Likewise.
6352 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6353 * io/fcntl.h [__USE_BSD]: Likewise.
6354 * io/ftw.h [__USE_BSD]: Likewise.
6355 * io/sys/stat.h [__USE_BSD]: Likewise.
6356 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6357 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6358 * libio/stdio.h [__USE_SVID]: Likewise.
6359 [__USE_BSD]: Likewise.
6360 * math/math.h [__USE_SVID]: Likewise.
6361 [__USE_BSD]: Likewise.
6362 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6363 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6364 * misc/search.h [__USE_SVID]: Likewise.
6365 * misc/sys/mman.h [__USE_BSD]: Likewise.
6366 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6367 * misc/sys/uio.h [__USE_BSD]: Likewise.
6368 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6369 * posix/glob.h [__USE_BSD]: Likewise.
6370 * posix/regex.h [__USE_BSD]: Likewise.
6371 * posix/sys/types.h [__USE_BSD]: Likewise.
6372 [__USE_SVID]: Likewise.
6373 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6374 * posix/sys/wait.h [__USE_BSD]: Likewise.
6375 [__USE_SVID]: Likewise.
6376 * posix/unistd.h [__USE_BSD]: Likewise.
6377 [__USE_SVID]: Likewise.
6378 * pwd/pwd.h [__USE_SVID]: Likewise.
6379 * resolv/netdb.h [__USE_BSD]: Likewise.
6380 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6381 * signal/signal.h [__USE_BSD]: Likewise.
6382 [__USE_SVID]: Likewise.
6383 * socket/sys/socket.h [__USE_BSD]: Likewise.
6384 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6385 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6386 [__USE_SVID]: Likewise.
6387 * string/bits/string2.h [__USE_BSD]: Likewise.
6388 [__USE_SVID]: Likewise.
6389 * string/bits/string3.h [__USE_BSD]: Likewise.
6390 * string/endian.h [__USE_BSD]: Likewise.
6391 * string/string.h [__USE_SVID]: Likewise.
6392 [__USE_BSD]: Likewise.
6393 * string/strings.h [__USE_BSD]: Likewise.
6394 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6395 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6396 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6397 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6398 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6399 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6400 Likewise.
6401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6402 Likewise.
6403 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6405 Likewise.
6406 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6407 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6408 Likewise.
6409 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6410 Likewise.
6411 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6412 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6413 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6414 Likewise.
6415 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6416 Likewise.
6417 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6418 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6419 * termios/termios.h [__USE_BSD]: Likewise.
6420 * time/sys/time.h [__USE_BSD]: Likewise.
6421 * time/time.h [__USE_BSD]: Likewise.
6422 [__USE_SVID]: Likewise.
6423
dd7b064c
JM
6424 * Makefile (subdir_targets): Remove subdir_lint.out.
6425
a2c4c199
JM
6426 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6427 (do-tst-printf): Likewise.
6428 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6429 $(objpfx)tst-printf.out.
6430
8756f740
JM
6431 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6432
1b6dd3f1
JM
6433 * Makerules (check-abi-%): Change target to
6434 $(objpfx)check-abi-%.out.
6435 (check-abi target): Update dependencies.
6436 (check-abi-pattern variable): Redirect output of diff to $@.
6437 (check-abi variable): Likewise.
6438 * elf/Makefile (check-abi): Update dependencies.
6439
ace614b8
JM
6440 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6441 unused.
6442 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6443 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6444 subnormal range.
6445 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6446 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6447 value has largest subnormal exponent.
6448 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6449 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6450 * sysdeps/aarch64/soft-fp/sfp-machine.h
6451 (_FP_TININESS_AFTER_ROUNDING): New macro.
6452 * sysdeps/alpha/soft-fp/sfp-machine.h
6453 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6454 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6455 Likewise.
6456 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6458 * sysdeps/mips/soft-fp/sfp-machine.h
6459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6460 * sysdeps/powerpc/soft-fp/sfp-machine.h
6461 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6462 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6463 Likewise.
6464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6468 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6469 Likewise.
6470
fbfdf9cb
DAS
64712014-02-12 Dylan Alex Simon <dylan@dylex.net>
6472
6473 [BZ #16545]
6474 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6475 model 1.
6476
68b7efaa
RH
64772014-02-12 Richard Henderson <rth@redhat.com>
6478
c70a4b1d 6479 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6480 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6481 * sysdeps/unix/sysv/linux/alpha: Move directory from
6482 ports/sysdeps/unix/sysv/linux/alpha.
6483 * README: Update listing for alpha-*-linux-gnu.
6484
cb4a2928
JM
64852014-02-11 Joseph Myers <joseph@codesourcery.com>
6486
c941736c
JM
6487 * include/features.h: Update comment documenting feature test
6488 macros.
6489 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6490 _DEFAULT_SOURCE.
6491 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6492 (_SVID_SOURCE): Likewise.
6493 (_DEFAULT_SOURCE): Update description of default features.
6494 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6495 with _GNU_SOURCE.
6496 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6497 (S_ISVTX): Likewise.
6498 * manual/math.texi (Mathematical Constants): Likewise.
6499 * manual/signal.texi (Interrupted Primitives): Likewise.
6500 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6501 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6502 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6503 Don't refer to _SVID_SOURCE in warning text.
6504
e8d8d7ec
JM
6505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6506
cb4a2928
JM
6507 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6508 already defined.
6509 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6510 * sysdeps/mips/dl-lookup.c: Remove.
6511 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6512
7e6424e3
AK
65132014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6514
6515 [BZ #16447]
6516 * math/auto-libm-test-in: Add testcase for expl.
6517 * math/auto-libm-test-out: Regenerate.
6518 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6519 calculation of unsafe.
6520 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6521
75eff3fe
MS
65222014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6523
6524 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6525 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6526 ports/sysdeps/unix/sysv/linux/aarch64.
6527 * README: Update listing for aarch64*-*-linux-gnu.
6528
d35f1e80
WN
65292014-02-11 Will Newton <will.newton@linaro.org>
6530
6531 * manual/probes.texi (Mathematical Function Probes): Use
6532 "triggered" instead of "hit".
6533
7b3436d4
WN
6534 * manual/probes.texi (Internal Probes): Add documentation
6535 of setjmp, longjmp and longjmp_target probes.
6536
b4f12ca3
WN
6537 * include/stap-probe.h: Add comment about probe argument
6538 format.
6539
c13a72b7
WN
6540 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6541 definition. (tr_where, tr_freehook, tr_mallochook,
6542 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6543
195b8165
DM
65442014-02-11 David S. Miller <davem@davemloft.net>
6545
6546 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6547 processing int_tests.
6548
2ad7600b
JM
65492014-02-10 Joseph Myers <joseph@codesourcery.com>
6550
6551 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6552 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6553 * sysdeps/unix/sysv/linux/mips: Move directory from
6554 ports/sysdeps/unix/sysv/linux/mips.
6555 * README: Update listing for mips-*-linux-gnu and
6556 mips64-*-linux-gnu.
6557
73588a72
AS
65582014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6559
6560 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6561 * sysdeps/unix/sysv/linux/m68k: Move directory from
6562 ports/sysdeps/unix/sysv/linux/m68k.
6563 * README: Update listing for m68k-*-linux-gnu.
6564
4372980f
CM
65652014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6566
6567 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6568 * sysdeps/unix/sysv/linux/generic: Move directory from
6569 ports/sysdeps/unix/sysv/linux/generic.
6570 * sysdeps/unix/sysv/linux/tile: Move directory from
6571 ports/sysdeps/unix/sysv/linux/tile.
6572 * README: Update listing for tile*-*-linux-gnu.
6573
a1ffb40e
OB
65742014-02-10 Ondřej Bílka <neleai@seznam.cz>
6575
57f41c40
AS
6576 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6577 __builtin_expect.
a1ffb40e
OB
6578 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6579 * catgets/open_catalog.c (__open_catalog): Likewise.
6580 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6581 * debug/confstr_chk.c: Likewise.
6582 * debug/fread_chk.c (__fread_chk): Likewise.
6583 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6584 * debug/getgroups_chk.c: Likewise.
6585 * debug/mbsnrtowcs_chk.c: Likewise.
6586 * debug/mbsrtowcs_chk.c: Likewise.
6587 * debug/mbstowcs_chk.c: Likewise.
6588 * debug/memcpy_chk.c: Likewise.
6589 * debug/memmove_chk.c: Likewise.
6590 * debug/mempcpy_chk.c: Likewise.
6591 * debug/memset_chk.c: Likewise.
6592 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6593 * debug/strcat_chk.c (__strcat_chk): Likewise.
6594 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6595 * debug/strncat_chk.c (__strncat_chk): Likewise.
6596 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6597 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6598 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6599 * debug/wcpncpy_chk.c: Likewise.
6600 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6601 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6602 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6603 * debug/wcsncpy_chk.c: Likewise.
6604 * debug/wcsnrtombs_chk.c: Likewise.
6605 * debug/wcsrtombs_chk.c: Likewise.
6606 * debug/wcstombs_chk.c: Likewise.
6607 * debug/wmemcpy_chk.c: Likewise.
6608 * debug/wmemmove_chk.c: Likewise.
6609 * debug/wmempcpy_chk.c: Likewise.
6610 * debug/wmemset_chk.c: Likewise.
6611 * dirent/scandirat.c (SCANDIRAT): Likewise.
6612 * dlfcn/dladdr1.c (dladdr1): Likewise.
6613 * dlfcn/dladdr.c (dladdr): Likewise.
6614 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6615 * dlfcn/dlerror.c (__dlerror): Likewise.
6616 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6617 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6618 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6619 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6620 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6621 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6622 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6623 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6624 Likewise.
6625 * elf/dl-conflict.c: Likewise.
6626 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6627 * elf/dl-dst.h: Likewise.
6628 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6629 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6631 * elf/dl-init.c (call_init, _dl_init): Likewise.
6632 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6633 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6634 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6635 Likewise.
a1ffb40e
OB
6636 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6637 Likewise.
6638 * elf/dl-minimal.c (__libc_memalign): Likewise.
6639 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6640 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6641 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6642 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6643 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6644 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6645 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6646 * elf/dl-writev.h (_dl_writev): Likewise.
6647 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6648 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6649 (dl_main): Likewise.
a1ffb40e
OB
6650 * elf/setup-vdso.h (setup_vdso): Likewise.
6651 * grp/compat-initgroups.c (compat_call): Likewise.
6652 * grp/fgetgrent.c (fgetgrent): Likewise.
6653 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6654 * grp/putgrent.c (putgrent): Likewise.
6655 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6656 Likewise.
6657 * hurd/hurdinit.c: Likewise.
6658 * iconvdata/8bit-gap.c (struct): Likewise.
6659 * iconvdata/ansi_x3.110.c : Likewise.
6660 * iconvdata/big5.c : Likewise.
6661 * iconvdata/big5hkscs.c : Likewise.
6662 * iconvdata/cp1255.c: Likewise.
6663 * iconvdata/cp1258.c : Likewise.
6664 * iconvdata/cp932.c : Likewise.
6665 * iconvdata/euc-cn.c: Likewise.
6666 * iconvdata/euc-jisx0213.c : Likewise.
6667 * iconvdata/euc-jp.c: Likewise.
6668 * iconvdata/euc-jp-ms.c : Likewise.
6669 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6670 * iconvdata/gb18030.c : Likewise.
6671 * iconvdata/gbbig5.c (const): Likewise.
6672 * iconvdata/gbgbk.c: Likewise.
6673 * iconvdata/gbk.c : Likewise.
6674 * iconvdata/ibm1364.c : Likewise.
6675 * iconvdata/ibm930.c : Likewise.
6676 * iconvdata/ibm932.c: Likewise.
6677 * iconvdata/ibm933.c : Likewise.
6678 * iconvdata/ibm935.c : Likewise.
6679 * iconvdata/ibm937.c : Likewise.
6680 * iconvdata/ibm939.c : Likewise.
6681 * iconvdata/ibm943.c: Likewise.
6682 * iconvdata/iso_11548-1.c: Likewise.
6683 * iconvdata/iso-2022-cn.c : Likewise.
6684 * iconvdata/iso-2022-cn-ext.c : Likewise.
6685 * iconvdata/iso-2022-jp-3.c: Likewise.
6686 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6687 * iconvdata/iso-2022-kr.c : Likewise.
6688 * iconvdata/iso646.c (gconv_end): Likewise.
6689 * iconvdata/iso_6937-2.c : Likewise.
6690 * iconvdata/iso_6937.c : Likewise.
6691 * iconvdata/iso8859-1.c: Likewise.
6692 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6693 * iconvdata/shift_jisx0213.c : Likewise.
6694 * iconvdata/sjis.c : Likewise.
6695 * iconvdata/t.61.c : Likewise.
6696 * iconvdata/tcvn5712-1.c : Likewise.
6697 * iconvdata/tscii.c: Likewise.
6698 * iconvdata/uhc.c : Likewise.
6699 * iconvdata/unicode.c (gconv_end): Likewise.
6700 * iconvdata/utf-16.c (gconv_end): Likewise.
6701 * iconvdata/utf-32.c (gconv_end): Likewise.
6702 * iconvdata/utf-7.c (base64): Likewise.
6703 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6704 * iconv/gconv_close.c (__gconv_close): Likewise.
6705 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6706 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6707 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6708 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6709 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6710 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6711 * iconv/iconv.c (iconv): Likewise.
6712 * iconv/iconv_close.c: Likewise.
6713 * iconv/loop.c (SINGLE): Likewise.
6714 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6715 * include/atomic.h: Likewise.
6716 * inet/inet6_option.c (option_alloc): Likewise.
6717 * intl/bindtextdom.c (set_binding_values): Likewise.
6718 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6719 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6720 * intl/localealias.c (read_alias_file): Likewise.
6721 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6722 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6723 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6724 * libio/fmemopen.c (fmemopen): Likewise.
6725 * libio/iofgets.c (_IO_fgets): Likewise.
6726 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6727 * libio/iofgetws.c (fgetws): Likewise.
6728 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6729 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6730 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6731 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6732 * locale/findlocale.c (_nl_find_locale): Likewise.
6733 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6734 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6735 Likewise.
6736 * locale/setlocale.c (setlocale): Likewise.
6737 * login/programs/pt_chown.c (main): Likewise.
6738 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6739 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6740 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6741 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6742 * math/e_exp2l.c: Likewise.
6743 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6744 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6745 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6746 * math/s_catan.c (__catan): Likewise.
6747 * math/s_catanf.c (__catanf): Likewise.
6748 * math/s_catanh.c (__catanh): Likewise.
6749 * math/s_catanhf.c (__catanhf): Likewise.
6750 * math/s_catanhl.c (__catanhl): Likewise.
6751 * math/s_catanl.c (__catanl): Likewise.
6752 * math/s_ccosh.c (__ccosh): Likewise.
6753 * math/s_ccoshf.c (__ccoshf): Likewise.
6754 * math/s_ccoshl.c (__ccoshl): Likewise.
6755 * math/s_cexp.c (__cexp): Likewise.
6756 * math/s_cexpf.c (__cexpf): Likewise.
6757 * math/s_cexpl.c (__cexpl): Likewise.
6758 * math/s_clog10.c (__clog10): Likewise.
6759 * math/s_clog10f.c (__clog10f): Likewise.
6760 * math/s_clog10l.c (__clog10l): Likewise.
6761 * math/s_clog.c (__clog): Likewise.
6762 * math/s_clogf.c (__clogf): Likewise.
6763 * math/s_clogl.c (__clogl): Likewise.
6764 * math/s_csin.c (__csin): Likewise.
6765 * math/s_csinf.c (__csinf): Likewise.
6766 * math/s_csinh.c (__csinh): Likewise.
6767 * math/s_csinhf.c (__csinhf): Likewise.
6768 * math/s_csinhl.c (__csinhl): Likewise.
6769 * math/s_csinl.c (__csinl): Likewise.
6770 * math/s_csqrt.c (__csqrt): Likewise.
6771 * math/s_csqrtf.c (__csqrtf): Likewise.
6772 * math/s_csqrtl.c (__csqrtl): Likewise.
6773 * math/s_ctan.c (__ctan): Likewise.
6774 * math/s_ctanf.c (__ctanf): Likewise.
6775 * math/s_ctanh.c (__ctanh): Likewise.
6776 * math/s_ctanhf.c (__ctanhf): Likewise.
6777 * math/s_ctanhl.c (__ctanhl): Likewise.
6778 * math/s_ctanl.c (__ctanl): Likewise.
6779 * math/w_pow.c: Likewise.
6780 * math/w_powf.c: Likewise.
6781 * math/w_powl.c: Likewise.
6782 * math/w_scalb.c (sysv_scalb): Likewise.
6783 * math/w_scalbf.c (sysv_scalbf): Likewise.
6784 * math/w_scalbl.c (sysv_scalbl): Likewise.
6785 * misc/error.c (error_tail): Likewise.
6786 * misc/pselect.c (__pselect): Likewise.
6787 * nis/nis_callback.c (__nis_create_callback): Likewise.
6788 * nis/nis_call.c (__nisfind_server): Likewise.
6789 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6790 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6791 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6792 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6793 * nis/nis_lookup.c (nis_lookup): Likewise.
6794 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6795 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6796 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6797 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6798 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6799 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6800 * nis/nss_compat/compat-initgroups.c (add_group)
6801 (internal_getgrent_r): Likewise.
6802 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6803 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6804 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6805 (internal_getspnam_r): Likewise.
6806 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6807 (_nss_nis_getaliasbyname_r): Likewise.
6808 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6809 (_nss_nis_getntohost_r): Likewise.
6810 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6811 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6812 (_nss_nis_getgrgid_r): Likewise.
6813 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6814 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6815 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6816 (_nss_nis_gethostbyname4_r): Likewise.
6817 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6818 (initgroups_netid): Likewise.
a1ffb40e 6819 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6820 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6821 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6822 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6823 (_nss_nis_getprotobynumber_r): Likewise.
6824 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6825 (_nss_nis_getsecretkey): Likewise.
6826 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6827 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6828 (_nss_nis_getpwuid_r): Likewise.
6829 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6830 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6831 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6832 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6833 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6834 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6835 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6836 Likewise.
57f41c40
AS
6837 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6838 (_nss_nisplus_getntohost_r): Likewise.
6839 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6840 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6841 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6842 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6843 Likewise.
57f41c40
AS
6844 * nis/nss_nisplus/nisplus-initgroups.c
6845 (_nss_nisplus_initgroups_dyn): Likewise.
6846 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6847 (_nss_nisplus_getnetbyaddr_r): Likewise.
6848 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6849 (_nss_nisplus_getprotobynumber_r): Likewise.
6850 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6851 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6852 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6853 Likewise.
57f41c40
AS
6854 * nis/nss_nisplus/nisplus-service.c
6855 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6856 (_nss_nisplus_getservbyport_r): Likewise.
6857 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6858 (_nss_nisplus_getspnam_r): Likewise.
6859 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6860 Likewise.
a1ffb40e
OB
6861 * nscd/aicache.c (addhstaiX): Likewise.
6862 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6863 * nscd/connections.c (register_traced_file, send_ro_fd)
6864 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6865 (main_loop_epoll): Likewise.
a1ffb40e
OB
6866 * nscd/grpcache.c (addgrbyX): Likewise.
6867 * nscd/hstcache.c (addhstbyX): Likewise.
6868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6869 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6870 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6871 (addinnetgrX): Likewise.
6872 * nscd/nscd-client.h (__nscd_acquire_maplock)
6873 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6874 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6875 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6876 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6877 Likewise.
6878 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6880 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6881 (__nscd_get_map_ref): Likewise.
a1ffb40e 6882 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6883 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6884 Likewise.
a1ffb40e
OB
6885 * nscd/pwdcache.c (addpwbyX): Likewise.
6886 * nscd/selinux.c (preserve_capabilities): Likewise.
6887 * nscd/servicescache.c (addservbyX): Likewise.
6888 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6889 * posix/fnmatch.c (fnmatch): Likewise.
6890 * posix/getopt.c (_getopt_internal_r): Likewise.
6891 * posix/glob.c (glob, glob_in_dir): Likewise.
6892 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6893 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6894 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6895 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6896 * resolv/res_init.c: Likewise.
6897 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6898 * resolv/res_query.c (__libc_res_nquery): Likewise.
6899 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6900 Likewise.
6901 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6902 * stdio-common/perror.c (perror): Likewise.
6903 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6904 * stdio-common/tmpnam.c (tmpnam): Likewise.
6905 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6906 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6907 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6908 Likewise.
a1ffb40e
OB
6909 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6910 * stdlib/putenv.c (putenv): Likewise.
6911 * stdlib/setenv.c (__add_to_environ): Likewise.
6912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6913 * stdlib/strtol_l.c (INTERNAL): Likewise.
6914 * string/memmem.c (memmem): Likewise.
6915 * string/strerror.c (strerror): Likewise.
6916 * string/strnlen.c (__strnlen): Likewise.
6917 * string/test-memmem.c (simple_memmem): Likewise.
6918 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6919 * sunrpc/pm_getport.c (__get_socket): Likewise.
6920 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6921 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6922 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6923 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6924 Likewise.
6925 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6927 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6928 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6929 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6930 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6931 Likewise.
6932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6933 Likewise.
a1ffb40e
OB
6934 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6935 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6937 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6938 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6941 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6942 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6943 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6944 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6946 Likewise.
6947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6948 Likewise.
6949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6950 Likewise.
6951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6953 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6954 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6955 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6956 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6957 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6966 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6967 Likewise.
a1ffb40e
OB
6968 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6969 Likewise.
6970 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6971 Likewise.
6972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6973 Likewise.
6974 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6976 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6977 Likewise.
6978 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6979 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6980 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6981 * sysdeps/posix/sleep.c: Likewise.
6982 * sysdeps/posix/tempname.c: Likewise.
6983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6984 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6985 Likewise.
57f41c40
AS
6986 * sysdeps/powerpc/powerpc32/dl-machine.h
6987 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6988 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6990 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6992 Likewise.
6993 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6994 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6995 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6996 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6997 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6998 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6999 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7000 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7001 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7002 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7004 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7005 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7007 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7008 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7009 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7010 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7011 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7012 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7013 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7016 Likewise.
7017 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7018 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7019 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7020 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7021 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7023 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7024 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7027 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7028 Likewise.
7029 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7030 (__posix_fallocate64_l64): Likewise.
7031 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7032 (posix_fallocate): Likewise.
57f41c40
AS
7033 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7034 Likewise.
a1ffb40e 7035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7036 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7037 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7038 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7039 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7040 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7041 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7042 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7043 (__posix_fallocate64_l64): Likewise.
7044 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7045 Likewise.
7046 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7048 (__get_clockfreq): Likewise.
a1ffb40e
OB
7049 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7050 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7051 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7054 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7055 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7056 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7057 Likewise.
7058 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7059 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7060 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7063 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7064 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7065 Likewise.
7066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7067 (posix_fallocate): Likewise.
7068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7069 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7070 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7071 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7072 (elf_machine_rela, elf_machine_rela_relative)
7073 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7074 * time/asctime.c (asctime_internal): Likewise.
7075 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7076 * time/tzset.c (__tzset_parse_tz): Likewise.
7077 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7078 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7079 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7080 * wcsmbs/wcsmbsload.h: Likewise.
7081
f3d338c9
OB
7082 [BZ #15894]
7083 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7084
57f41c40
AS
7085 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7086 (arena_get2): Remove THREAD_STATS conditionals.
7087 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7088 (__malloc_stats, int): Likewise.
bdfe308a 7089
d674667c
MF
70902014-02-08 Mike Frysinger <vapier@gentoo.org>
7091
7092 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7093 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7094
6349768c
MF
7095 * manual/setjmp.texi: Fix typos/grammar errors.
7096
0b7c7473
MF
7097 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7098 Only return early when n is <= 0. Delete unused return statement.
7099
ac8cc9e3
MF
7100 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7101 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7102 * debug/tst-longjmp_chk3.c: New file.
7103
c5bb8e23
MF
7104 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7105 (test_main): Replace code with set_fortify_handler call.
7106 * debug/test-strcpy_chk.c: Likewise.
7107 * debug/tst-chk1.c: Likewise.
7108 * debug/tst-longjmp_chk.c: Likewise.
7109 * test-skeleton.c: Include fcntl.h & paths.h
7110 (set_fortify_handler): Define.
7111
10444e42
MF
7112 * debug/tst-longjmp_chk.c: Add header comment and include
7113 ../test-skeleton.c.
7114 (do_test): Mark static.
7115 (TEST_FUNCTION): Define.
7116
1e805e8d
MF
7117 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7118 (IP_PMTUDISC_INTERFACE): Likewise.
7119 (IP_MULTICAST_IF): Likewise.
7120 (IP_MULTICAST_TTL): Likewise.
7121 (IP_MULTICAST_LOOP): Likewise.
7122 (IP_ADD_MEMBERSHIP): Likewise.
7123 (IP_DROP_MEMBERSHIP): Likewise.
7124 (IP_UNBLOCK_SOURCE): Likewise.
7125 (IP_BLOCK_SOURCE): Likewise.
7126 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7127 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7128 (IP_MSFILTER): Likewise.
7129 (MCAST_JOIN_GROUP): Likewise.
7130 (MCAST_BLOCK_SOURCE): Likewise.
7131 (MCAST_UNBLOCK_SOURCE): Likewise.
7132 (MCAST_LEAVE_GROUP): Likewise.
7133 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7134 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7135 (MCAST_MSFILTER): Likewise.
7136 (IP_MULTICAST_ALL): Likewise.
7137 (IP_UNICAST_IF): Likewise.
7138
73f79bb7
MF
7139 * timezone/Makefile: Delete $(have-ksh) check.
7140 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7141 * timezone/tzselect.ksh: Add +x mode bits.
7142
8da79b60
MF
7143 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7144 (ANON_INODE_FS_MAGIC): Likewise.
7145 (BDEVFS_MAGIC): Likewise.
7146 (BINFMTFS_MAGIC): Likewise.
7147 (BTRFS_TEST_MAGIC): Likewise.
7148 (CRAMFS_MAGIC_WEND): Likewise.
7149 (DEBUGFS_MAGIC): Likewise.
7150 (ECRYPTFS_SUPER_MAGIC): Likewise.
7151 (EXT3_SUPER_MAGIC): Likewise.
7152 (EXT4_SUPER_MAGIC): Likewise.
7153 (FUTEXFS_SUPER_MAGIC): Likewise.
7154 (HOSTFS_SUPER_MAGIC): Likewise.
7155 (HUGETLBFS_MAGIC): Likewise.
7156 (MINIX3_SUPER_MAGIC): Likewise.
7157 (MTD_INODE_FS_MAGIC): Likewise.
7158 (NILFS_SUPER_MAGIC): Likewise.
7159 (OPENPROM_SUPER_MAGIC): Likewise.
7160 (PIPEFS_MAGIC): Likewise.
7161 (PSTOREFS_MAGIC): Likewise.
7162 (QNX6_SUPER_MAGIC): Likewise.
7163 (RAMFS_MAGIC): Likewise.
7164 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7165 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7166 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7167 (SECURITYFS_MAGIC): Likewise.
7168 (SELINUX_MAGIC): Likewise.
7169 (SMACK_MAGIC): Likewise.
7170 (SOCKFS_MAGIC): Likewise.
7171 (SQUASHFS_MAGIC): Likewise.
7172 (STACK_END_MAGIC): Likewise.
7173 (TMPFS_MAGIC): Likewise.
7174 (USBDEVICE_SUPER_MAGIC): Likewise.
7175 (V9FS_MAGIC): Likewise.
7176 (XENFS_SUPER_MAGIC): Likewise.
7177 (CRAMFS_MAGIC): Fix typo in comment.
7178 (EXT2_SUPER_MAGIC): Update comment.
7179 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7180
464263cc
JM
71812014-02-08 Joseph Myers <joseph@codesourcery.com>
7182
c6bfe5c4
JM
7183 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7184 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7185 * sysdeps/unix/sysv/linux/arm: Move directory from
7186 ports/sysdeps/unix/sysv/linux/arm.
7187 * README: Update listing for arm-*-linux-gnueabi.
7188
464263cc
JM
7189 * README: Remove mention of am33.
7190
32749f6c
RM
71912014-02-07 Roland McGrath <roland@hack.frob.com>
7192
7193 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7194 than the comma operator, to avoid "rhs of comma has no effect"
7195 compiler warnings.
7196 (__sigfillset, __sigandset, __sigorset): Likewise.
7197 * include/signal.h (__sigemptyset): Likewise.
7198 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7199
d5b396c1
AM
72002014-02-07 Allan McRae <allan@archlinux.org>
7201
7202 * version.h (RELEASE): Set to "development".
7203 (VERSION): Set to "2.19.90"
7204 * NEWS: Add 2.20 section.
7205
3bfff2ed
CD
72062014-02-06 Carlos O'Donell <carlos@redhat.com>
7207
7208 [BZ #16529]
7209 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7210
ee7cc385
SP
72112014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7212
7213 * manual/contrib.texi: Update entry for Carlos O'Donell,
7214 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7215
f877c4f2
CD
72162014-02-05 Carlos O'Donell <carlos@rehdat.com>
7217
27e839f6
CD
7218 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7219
f877c4f2
CD
7220 * sysdeps/unix/sysv/linux/kernel-features.h
7221 [__LINUX_KERNEL_VERSION >= 0x020621]
7222 (__ASSUME_PROC_PID_TASK_COMM): Define.
7223
68159946
SP
72242014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
ba17cdbd
SP
7226 [BZ #16398]
7227 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7228 conversion when destination buffer does not have enough space.
7229 * libio/tst-ftell-partial-wide.c: New test case.
7230 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7231
68159946
SP
7232 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7233 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7234 Leonard and Allan McRae.
7235
2b528732
DM
72362014-02-04 David S. Miller <davem@davemloft.net>
7237
7238 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7239 32-bit.
7240
0ff82463
AZ
72412014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7242
57f41c40
AS
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7244 New file
c01603f7
AZ
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7246 New file
57f41c40
AS
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7248 New file.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7250 New file.
c01603f7
AZ
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7252 New file.
57f41c40
AS
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7254 New file.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7256 New file.
c01603f7
AZ
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7258 New file.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7260 New file.
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7262 New file.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7264 New file.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7266 New file.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7268 New file.
7269
72702014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7271
0ff82463
AZ
7272 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7273 * shlib-versions: Likewise.
7274
1695c773
AZ
72752014-02-04 Roland McGrath <roland@hack.frob.com>
7276 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7277
7278 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7279 (abilist-pattern): New variable, set to %-le.abilist.
7280
7281 * Makerules (abilist-pattern): New variable.
7282 (vpath): Use $(abilist-pattern) in place of %.abilist.
7283 (check-abi-% pattern rule): Likewise.
7284 (check-abi, update-abi): Likewise.
7285
6c0ce4b4
EW
72862014-02-04 Eric Wong <normalperson@yhbt.net>
7287
7288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7289
481e3524
CD
72902014-02-03 Carlos O'Donell <carlos@redhat.com>
7291
7292 * manual/startup.texi: Add next, previous, and top entries for
7293 the `Program Arguments' and `Environment Variables' nodes.
7294
375592d3
AO
72952014-02-03 Alexandre Oliva <aoliva@redhat.com>
7296
7297 * manual/macros.texi: Add comments before MTASC-safety macros.
7298
f54838ba
AO
7299 * manual/users.texi: Document MTASC-safety properties.
7300
57f41c40
AS
7301 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7302 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7303 @deftypefun, and add @safety note.
7304 * manual/signal.texi: Move comments that analyze the above
7305 functions to their home place.
7306
fd3daba4
AM
73072014-02-03 Allan McRae <allan@archlinux.org>
7308
7309 * po/sl.po: Update Slovenian translation from translation project.
7310
597636d7
AO
73112014-02-02 Alexandre Oliva <aoliva@redhat.com>
7312
7313 * manual/time.texi (timegm): Add missing blank after @c.
7314 Reported by Joseph Myers <joseph@codesourcery.com>.
7315
ee196e3c
AO
73162014-02-01 Alexandre Oliva <aoliva@redhat.com>
7317
7318 * manual/check-safety.sh: New.
7319 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7320
f8d529d5
AO
7321 * manual/terminal.texi: Document MTASC-safety properties.
7322
de55fdf4
AO
7323 * manual/filesys.texi: Document MTASC-safety properties.
7324
c3299c08
AO
7325 * manual/errno.texi: Document MTASC-safety properties.
7326
06e90b14
AO
7327 * manual/intro.texi: Document safety identifiers and
7328 conditionals.
7329
1acd4371
AO
7330 * manual/string.texi (wcstok): Fix prototype.
7331 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7332
23e5b8cb
AO
7333 * manual/time.texi: Document MTASC-safety properties.
7334
11087373
AO
7335 * manual/string.texi: Document MTASC-safety properties.
7336
5da2c93d
AO
7337 * manual/threads.texi: Document MTASC-safety properties.
7338
171e9210
AO
7339 * manual/stdio.texi: Document MTASC-safety properties.
7340
d9e02532
AO
7341 * manual/syslog.texi: Document MTASC-safety properties.
7342
6af8bab7
AO
7343 * manual/sysinfo.texi: Document MTASC-safety properties.
7344
663b02d7
AO
7345 * manual/startup.texi: Document MTASC-safety properties.
7346
973f180b
AO
7347 * manual/socket.texi: Document MTASC-safety properties.
7348
8f3c25c8
AO
7349 * manual/signal.texi: Document MTASC-safety properties.
7350
542210fb
AO
73512014-01-31 Alexandre Oliva <aoliva@redhat.com>
7352
7353 * manual/setjmp.texi: Document MTASC-safety properties.
7354
433c45a2
AO
7355 * manual/search.texi: Document MTASC-safety properties.
7356
c8ce789c
AO
7357 * manual/resource.texi: Document MTASC-safety properties.
7358
19f5d29c
AO
7359 * manual/process.texi: Document MTASC-safety properties.
7360
e2dfb7f4
AO
7361 * manual/platform.texi: Document MTASC-safety properties.
7362
8c1413f5
AO
7363 * manual/pipe.texi: Document MTASC-safety properties.
7364
03483ada
AO
7365 * manual/pattern.texi: Document MTASC-safety properties.
7366
29e7e2df
AO
7367 * manual/message.texi: Document MTASC-safety properties.
7368
9f529d7c
AO
7369 [BZ #12751]
7370 * manual/memory.texi: Document MTASC-safety properties.
7371
27aaa791
AO
7372 * manual/math.texi: Document MTASC-safety properties.
7373
f2d58726
AO
7374 * manual/locale.texi: Document MTASC-safety properties.
7375
2cc3615c
AO
7376 * manual/llio.texi: Document MTASC-safety properties.
7377
d9f0ec97
AO
7378 * manual/libdl.texi: New.
7379
e7c4409a
AO
7380 * manual/lang.texi: Document MTASC-safety properties.
7381
27bdc63c
AO
7382 * manual/job.texi: Document MTASC-safety properties.
7383
a7b90ea9
AO
7384 * manual/getopt.texi: Document MTASC-safety properties.
7385
c49130e3
AO
7386 * manual/ctype.texi: Document MTASC-safety properties.
7387
0d23a5c1
MR
73882014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7389
7390 [BZ #16046]
7391 * csu/libc-tls.c (static_map): Remove variable.
7392 (__libc_setup_tls): Use main executable's link map for TLS data.
7393 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7394 casing for LM_ID_BASE and GL(dl_nns).
7395 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7396 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7397 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7398 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7399 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7400 member.
7401 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7402 l_phnum members.
7403
0037bb60
AO
74042014-01-30 Alexandre Oliva <aoliva@redhat.com>
7405
7406 * manual/debug.texi: Document MTASC-safety properties.
7407
409e00bd
L
74082014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7409
7410 [BZ #16510]
7411 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7412 of __x86_64__ when disabling x87 inline functions.
7413
86e60666
AO
74142014-01-29 Alexandre Oliva <aoliva@redhat.com>
7415
7416 * manual/charset.texi: Document MTASC-safety properties.
7417
76167637
AO
7418 * manual/crypt.texi: Document MTASC-safety properties.
7419
e567f2a0
AO
7420 * manual/conf.texi: Document MTASC-safety properties.
7421
b719dafd
AO
7422 * manual/arith.texi: Document MTASC-safety properties.
7423
4a16c662
AO
7424 * manual/argp.texi: Document MTASC-safety properties.
7425
0a57b83e
AO
7426 * manual/macros.texi: Introduce macros to document multi
7427 thread, asynchronous signal and asynchronous cancellation
7428 safety properties.
7429 * manual/intro.texi: Introduce the properties themselves.
7430
feab2397
KK
74312014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7432
7433 * sysdeps/sh/sh4/Makefile: New file.
7434
1c0d11bc
AS
74352014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7436
7437 * math/gen-libm-test.pl ($srcdir): New variable.
7438 ($auto_input): Use it.
7439
af37a8a3
SP
74402014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7441
d7b00f98
SP
7442 [BZ #16506]
7443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7444 access beyond array bounds when parsing netgroups file.
7445
af37a8a3
SP
7446 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7447 the old buffer before realloc.
7448
0c00f062
AM
74492014-01-27 Allan McRae <allan@archlinux.org>
7450
7451 * po/fr.po: Update French translation from translation project.
7452
7d69a1b0
KK
74532014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7454
7455 * sysdeps/sh/libm-test-ulps: Regenerate.
7456
6e697ff7
DM
74572014-01-24 David S. Miller <davem@davemloft.net>
7458
7459 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7460
9cadb35c
KK
74612014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7462
7463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7464 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7465
5d41dadf
SP
74662013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7467
7468 [BZ #16474]
7469 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7470 string pointers after reallocation.
7471
0bad441c
KK
74722014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7473
7474 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7475 __SH4A__ instead of __SH_FPU_ANY__.
7476
7007c661
KK
74772014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7478
7479 * sysdeps/sh/fpu_control.h: New file.
7480 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7481 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7482 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7483 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7484 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7485 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7486 * sysdeps/sh/sys/ucontext.h: Remove.
7487 * sysdeps/sh/sys: Remove directory.
7488
0f0c35e4
AK
74892014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7490
7491 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7492 s390/sys/ucontext.h.
7493 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7495
4959e284
L
74962014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 [BZ #15605]
7499 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7500
d98720e0
AZ
75012014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7502
7503 [BZ#16431]
7504 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7505 Adjust the vDSO correctly for internal calls.
7506 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7507
91cbd0bc
AM
75082014-01-20 Allan McRae <allan@archlinux.org>
7509
7510 * po/ca.po: Update Catalan translation from translation project.
7511
7a02cfad
MF
75122014-01-16 Mike Frysinger <vapier@gentoo.org>
7513
7514 * sysdeps/s390/sotruss-lib.c: New file.
7515
736c304a
AZ
75162014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 [BZ#16430]
6e077ee5 7519 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7520 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7521 local calls issues by not having a PLT stub required for IFUNC calls.
7522 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7523
94d0cea0
JM
75242014-01-16 Joseph Myers <joseph@codesourcery.com>
7525
7526 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7527 * math/test-fpucw-static.c: Likewise.
7528
980cb518
SP
75292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7530
7531 [BZ #16453]
7532 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7533
2393fc01
AZ
75342014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7535
7536 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7537 implementation for powerpc.
7538
d359bcc2
OB
75392014-01-15 Ondřej Bílka <neleai@seznam.cz>
7540
7541 [BZ #14782]
7542 * sysdeps/posix/system.c (__libc_system): Do not enable
7543 asynchronous cancellation.
7544
7beb48cb
AK
75452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7546
7547 [BZ #16427]
7548 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7549 handling only for numbers special also in the IEEE case.
7550
c20d5bf5
AK
75512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7552
7553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7554
e83bd4ee
AM
75552014-01-11 Allan McRae <allan@archlinux.org>
7556
76d0ea69
AM
7557 * po/bg.po: Update Bulgarian translation from translation project.
7558
e83bd4ee
AM
7559 * po/de.po: Update German translation from translation project.
7560
bc2ba20a
RM
75612014-01-10 Roland McGrath <roland@hack.frob.com>
7562
7563 * sysdeps/generic/gcc-compat.h: New file.
7564
649ecea2
SP
75652014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7566
7567 * benchtests/asin-inputs: Correct slow inputs.
7568 * benchtests/acos-inputs: Likewise.
7569
1b19c006
AM
75702014-01-10 Allan McRae <allan@archlinux.org>
7571
a46dab08
AM
7572 * po:sv.po: Update Swedish translation from translation project.
7573
421df74a
AM
7574 * po/vi.po: Update Vietnamese translation from translation project.
7575
d61c51a7
AM
7576 * po/eo.po: Update Esperanto translation from translation project.
7577
0339a319
AM
7578 * po/cs.po: Update Czech translation from translation project.
7579
94ad3e99
AM
7580 * po/nl.po: Update Dutch translation from translation project.
7581
e349ca71
AM
7582 * po/pl.po: Update Polish translation from translation project.
7583
ddf930c1
AM
7584 * po/ru.po: Update Russian translation from translation project.
7585
1b19c006
AM
7586 * po/uk.po: Update Ukrainian translation from translation project.
7587
9f236c49
BM
75882014-01-08 Brooks Moses <bmoses@google.com>
7589
7590 * elf/dl-load.c: Fix comment typo.
7591
cd6701cf
CD
75922014-01-08 Carlos O'Donell <carlos@redhat.com>
7593
7594 * po/header.pot: Rename to...
7595 * po/pot.header: ... this.
7596 * po/Makefile: Use pot.header.
7597
66671c84
YK
75982014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7599 Maxim Kuvyrkov <maxim@kugelworks.com>
7600
7601 [BZ #16394]
cd6701cf
CD
7602 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7603 SRC and DEST against LEN.
66671c84 7604
38f34581
AZ
76052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7606
7607 [BZ #16414]
7608 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7609 implementation.
7610 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7611
76122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7613
7614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7615
4c327f2a
JM
76162014-01-08 Joseph Myers <joseph@codesourcery.com>
7617
7618 [BZ #16408]
7619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7620 for large positive arguments.
7621
b821f414
JM
76222014-01-07 Joseph Myers <joseph@codesourcery.com>
7623
1f0f2067
JM
7624 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7625
a5a326f6
JM
7626 * math/auto-libm-test-in: Mark various tests with
7627 xfail-rounding:ldbl-128ibm.
7628 * math/auto-libm-test-out: Regenerated.
7629
b821f414
JM
7630 [BZ #16407]
7631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7632 Increase overflow threshold.
7633
94c8a4bc
OB
76342014-01-07 Ondřej Bílka <neleai@seznam.cz>
7635
7636 [BZ #14286]
7637 * stdio-common/vfprintf.c: Check for integer overflow.
7638
87ded0c3
AK
76392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7640
7641 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7642 the first argument and return value of __tls_get_addr_internal.
7643
c5eebdd0
AK
76442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7645
7646 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7647 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7648
05d138ef
AK
76492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7650
7651 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7652 * sysdeps/s390/rtld-global-offsets.sym: New file.
7653 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7654 GLIBC_2.19 symbol.
7655 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7658 ... this.
7659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7660 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7661 ... this.
7662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7663 Regenerate.
7664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7665 Regenerate.
7666 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7667 halfs of GPRs for high_gprs contexts.
7668 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7669 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7670 field.
7671 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7672 uc_flags field.
7673 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7674 64 bit versions:
7675 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7676 for high GPRs (uc_high_gprs) and for future extensions
7677 (__reserved).
7678 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7679 for future extensions (__reserved).
7680 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7681 64 bit versions:
7682 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7683 SC_HIGHGPRS offset definition.
7684 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7685 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7686
93a45ff1
AK
7687 * Versions.def: Add GLIBC_2.19 for libpthread.
7688 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7689 siglongjmp for libpthread with GLIBC_2.19 symver.
7690 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7691 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7692 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7693 * sysdeps/s390/__longjmp.c: New file.
7694 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7695 * sysdeps/s390/longjmp.c: New file.
7696 * sysdeps/s390/setjmp.S: New file.
7697 * sysdeps/s390/sigjmp.S: New file.
7698 * sysdeps/s390/v1-longjmp.c: New file.
7699 * sysdeps/s390/v1-setjmp.h: New file.
7700 * sysdeps/s390/v1-sigjmp.c: New file.
7701 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7702 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7703 GLIBC_2.19 version.
7704 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7705 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7706 versioned symbols for ____longjmp_chk.
7707 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7708 Likewise.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7710 Regenerate.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7712 Regenerate.
7713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7714 Regenerate.
7715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7716 Regenerate.
7717 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7718 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7719 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7720 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7721 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7722 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7723 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7724 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7725 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7726 * sysdeps/s390/rtld-__longjmp.c: New file.
7727 * sysdeps/s390/rtld-setjmp.S: New file.
7728
eb3fc44b
JM
77292014-01-06 Joseph Myers <joseph@codesourcery.com>
7730
7731 [BZ #16400]
7732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7733 Return -__logl (x) for small positive arguments without evaluating
7734 a polynomial.
7735
9341dde4
MF
77362014-01-06 Mike Frysinger <vapier@gentoo.org>
7737
7738 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7739 Rename to ...
7740 (__ptrace_peeksiginfo_args): ... this.
7741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7744
4cff0293
AM
77452014-01-06 Allan McRae <allan@archlinux.org>
7746
7747 * inet/netinet/in.h: Fix typo in comment.
7748
75595dcf
AJ
77492014-01-05 Andreas Jaeger <aj@suse.de>
7750
7751 * sysdeps/i386/fpu/libm-test-ulps: Update.
7752
79c1e109
AM
77532014-01-05 Allan McRae <allan@archlinux.org>
7754
dd804818
AM
7755 * po/libc.pot: Regenerated.
7756
79c1e109
AM
7757 * malloc/memusagestat.c: Fix gettext call formatting.
7758
0c813d1f
SK
77592014-01-04 Sami Kerola <kerolasa@iki.fi>
7760
7761 * nscd/nscd.c: Improve usage() output.
7762
20f4a8d9
MF
77632014-01-04 Mike Frysinger <vapier@gentoo.org>
7764
7765 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7766 * sysdeps/unix/sysv/linux/configure: Regenerated.
7767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7768 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7769
22562bb2
JM
77702014-01-03 Joseph Myers <joseph@codesourcery.com>
7771
7772 [BZ #16390]
7773 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7774 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7775
d7ad2d9b
AZ
77762014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7777
7778 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7779 extra tokens at end of #undef directive.
7780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7781 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7783
7dd009d8
JM
77842014-01-03 Joseph Myers <joseph@codesourcery.com>
7785
24db925a
JM
7786 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7787
7dd009d8
JM
7788 * math/auto-libm-test-in: Mark various tests with
7789 xfail-rounding:ldbl-128ibm.
7790 * math/auto-libm-test-out: Regenerated.
7791
396e3ecf
JM
77922014-01-02 Joseph Myers <joseph@codesourcery.com>
7793
819e5d50
JM
7794 [BZ #16386]
7795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7796 numbers with subnormal high part when calculating exponent.
7797
90b6a1e5
JM
7798 [BZ #16385]
7799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7800 fabs.
7801
396e3ecf
JM
7802 [BZ #16384]
7803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7804 M_LN2l.
7805 (__ieee754_acoshl): Use __log1pl not __log1p.
7806
6c8dbf00
OB
78072013-01-02 Ondřej Bílka <neleai@seznam.cz>
7808
57f41c40
AS
7809 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7810 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7811 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7812 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7813 (reused_arena, arena_get2): Convert to GNU style.
7814 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7815 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7816 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7817 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7818 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7819 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7820 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7821 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7822 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7823 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7824 * malloc/malloc.h: Likewise.
57f41c40
AS
7825 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7826 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7827 * malloc/mcheck.h: Likewise.
57f41c40
AS
7828 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7829 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7830 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7831 * malloc/morecore.c (__default_morecore): Likewise.
7832 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7833 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7834 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7835 (print_and_abort): Likewise.
6c8dbf00
OB
7836 * malloc/obstack.h: Likewise.
7837 * malloc/set-freeres.c (__libc_freeres): Likewise.
7838 * malloc/tst-mallocstate.c (main): Likewise.
7839 * malloc/tst-mtrace.c (main): Likewise.
7840 * malloc/tst-realloc.c (do_test): Likewise.
7841
d4124212
SP
78422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7843
9a3c6a6f
SP
7844 [BZ #16366]
7845 * nscd/netgroupcache.c (do_notfound): New function.
7846 (addgetnetgrentX): Use it.
7847
d4124212
SP
7848 [BZ # 16365]
7849 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7850 NSS_STATUS_NOTFOUND.
7851
97b9a009
JM
78522014-01-01 Joseph Myers <joseph@codesourcery.com>
7853
7854 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7856
d4697bc9
AM
78572014-01-01 Allan McRae <allan@archlinux.org>
7858
ddb3687f
AM
7859 * scripts/update-copyrights: Update configure input file suffix.
7860
88726d48
AM
7861 * NEWS: Update copyright year.
7862 * catgets/gencat.c: Likewise.
7863 * csu/version.c: Likewise.
7864 * debug/catchsegv.sh: Likewise.
7865 * debug/pcprofiledump.c: Likewise.
7866 * debug/xtrace.sh: Likewise.
7867 * elf/ldconfig.c: Likewise.
7868 * elf/ldd.bash.in: Likewise.
7869 * elf/pldd.c: Likewise.
7870 * elf/sotruss.ksh: Likewise.
7871 * elf/sprof.c: Likewise.
7872 * iconv/iconv_prog.c: Likewise.
7873 * iconv/iconvconfig.c: Likewise.
7874 * locale/programs/locale.c: Likewise.
7875 * locale/programs/localedef.c: Likewise.
7876 * login/programs/pt_chown.c: Likewise.
7877 * malloc/memusage.sh: Likewise.
7878 * malloc/memusagestat.c: Likewise.
7879 * malloc/mtrace.pl: Likewise.
7880 * manual/libc.texinfo: Likewise.
7881 * nscd/nscd.c: Likewise.
7882 * nss/getent.c: Likewise.
7883 * nss/makedb.c: Likewise.
7884 * posix/getconf.c: Likewise.
7885 * scripts/test-installation.pl: Likewise.
7886
d4697bc9
AM
7887 * All files with FSF copyright notices: Update copyright dates
7888 using scripts/update-copyrights.
7889 * intl/plural.c: Regenerated.
7890 * locale/programs/charmap-kw.h: Likewise.
7891 * locale/programs/locfile-kw.h: Likewise.
7892
c8590f9d
MF
78932013-12-31 Mike Frysinger <vapier@gentoo.org>
7894
7895 * sysdeps/unix/sysv/linux/configure: Regenerated.
7896 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7897 the linux/fanotify.h header.
7898 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7899 HAVE_LINUX_FANOTIFY_H is defined.
7900
b19221b9
SP
79012013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7902
dd1d85e5
SP
7903 * benchtests/cos-inputs: New inputs.
7904 * benchtests/sin-inputs: Likewise.
7905
1acbb90f
SP
7906 * benchtests/atan-inputs: New inputs. Fix name of multiple
7907 precision fallback inputs.
7908
4c012ed3
SP
7909 * benchtests/atanh-inputs: New inputs.
7910 * benchtests/tanh-inputs: Likewise.
7911
eff98324
SP
7912 * benchtests/acosh-inputs: New inputs.
7913 * benchtests/asinh-inputs: Likewise.
7914
ce641152
SP
7915 * benchtests/cosh-inputs: New inputs.
7916 * benchtests/sinh-inputs: Likewise.
7917
b19221b9
SP
7918 * benchtests/acos-inputs: Add more inputs.
7919 * benchtests/asin-inputs: Likewise.
7920
030a4976 79212013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7922
030a4976 7923 [BZ #16375]
9dcc8f11
VS
7924 * manual/arith.texi: Fix spelling.
7925 * manual/charset.texi: Likewise.
7926 * manual/errno.texi: Likewise.
7927 * manual/filesys.texi: Likewise.
7928 * manual/lang.texi: Likewise.
7929 * manual/llio.texi: Likewise.
7930 * manual/locale.texi: Likewise.
7931 * manual/message.texi: Likewise.
7932 * manual/resource.texi: Likewise.
7933 * manual/search.texi: Likewise.
7934 * manual/setjmp.texi: Likewise.
7935 * manual/stdio.texi: Likewise.
7936 * manual/string.texi: Likewise.
7937 * manual/sysinfo.texi: Likewise.
7938 * manual/time.texi: Likewise.
7939
11520a57
CD
79402013-12-27 Carlos O'Donell <carlos@redhat.com>
7941
7942 * po/sl.po: New file.
7943
471103ae
MF
79442013-12-27 Mike Frysinger <vapier@gentoo.org>
7945
7946 * .gitignore: Add core/.gdbinit/.gdb_history.
7947
6c9642ed
AM
79482013-12-27 Allan McRae <allan@archlinux.org>
7949
7950 [BZ #16369]
7951 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7952 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7953
3f637079
BM
79542013-12-24 Brooks Moses <bmoses@google.com>
7955
7956 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7957 all compilers that claim C++98 compliance, not just GCC.
7958 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7959 Likewise.
7960
abc26e99
MK
79612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7962
7963 * NEWS: Restore accidentally deleted bug-fix entries.
7964
362b47fe
MK
79652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7966 Ondřej Bílka <neleai@seznam.cz>
7967
7968 [BZ #15073]
7969 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7970 have_lock.
362b47fe 7971
b9bcbbcb
OB
79722013-12-23 Ondřej Bílka <neleai@seznam.cz>
7973
7974 [BZ #12986]
7975 * manual/stdio.texi (String Input Conversions): Clarify that character
7976 classes are not supported.
7977
fb55fcd2
AZ
79782013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7979
7980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7981
ef7344f0
JM
79822013-12-22 Joseph Myers <joseph@codesourcery.com>
7983
4f40e4b3
JM
7984 [BZ #16337]
7985 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7986 Calculate results for small negative arguments directly rather
7987 than using reflection formula with special underflow handling.
7988
ef7344f0
JM
7989 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7990 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7991 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7992 (fchflags): Likewise.
7993 (revoke): Likewise.
7994 (setlogin): Likewise.
7995 (sigaltstack): Likewise.
7996 (wait4): Likewise.
7997 (sigblock): Remove.
7998 (sigsetmask): Likewise.
7999 (wait3): Likewise.
8000 (waitpid): Likewise.
8001 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8002 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8003 file.
8004 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8005 * sysdeps/unix/bsd/Makefile: ... here.
8006 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8007 * sysdeps/unix/bsd/Versions: ... here.
8008 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8009 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8010 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8011 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8012 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8013 * sysdeps/unix/bsd/sigblock.c: ... here.
8014 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8015 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8016 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8017 * sysdeps/unix/bsd/sigvec.c: ... here.
8018 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8019 * sysdeps/unix/bsd/tcdrain.c: ... here.
8020 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8021 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8022 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8023 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8024 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8025 * sysdeps/unix/bsd/wait.c: ... here.
8026 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8027 * sysdeps/unix/bsd/wait3.c: ... here.
8028 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8029 * sysdeps/unix/bsd/waitpid.c: ... here.
8030
5b0626b9
JM
80312013-12-21 Joseph Myers <joseph@codesourcery.com>
8032
8033 [BZ #16356]
8034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8035 round-to-nearest for [!USE_AS_EXPM1L].
8036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8037 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8038 more tests of exp and exp10. Expect some exp10 tests to miss
8039 exceptions or fail in directed rounding modes.
8040 * math/auto-libm-test-out: Regenerated.
8041 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8042 (exp10_test_tonearest): New function.
8043 (exp10_towardzero_test_data): New array.
8044 (exp10_test_towardzero): New function.
8045 (exp10_downward_test_data): New array.
8046 (exp10_test_downward): New function.
8047 (exp10_upward_test_data): New array.
8048 (exp10_test_upward): New function.
8049 (main): Call the new functions.
8050 * sysdeps/i386/fpu/libm-test-ulps: Update.
8051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052
7fda5682
JM
80532013-12-20 Joseph Myers <joseph@codesourcery.com>
8054
31e3a405
JM
8055 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8056 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8057 * math/auto-libm-test-out: Regenerated.
8058 * math/libm-test.inc (acosh_test_data): Add more tests.
8059 (atanh_test_data): Likewise.
8060 (ceil_test_data): Likewise.
8061 (copysign_test_data): Likewise.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8064
85bff96a
JM
8065 * timezone/checktab.awk: Update from tzcode 2013i.
8066 * timezone/private.h: Likewise.
8067 * timezone/scheck.c: Likewise.
8068 * timezone/tzfile.h: Likewise.
8069 * timezone/tzselect.ksh: Likewise.
8070 * timezone/zdump.c: Likewise.
8071 * timezone/zic.c: Likewise.
8072
b7867a3b
JM
8073 * math/auto-libm-test-in: Add tests of cpow.
8074 * math/auto-libm-test-out: Regenerated.
8075 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8076 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8077 mpc_cc_c.
8078 (func_calc_desc): Add mpc_cc_c union field.
8079 (test_functions): Add cpow.
8080 (special_fill_2pi): New function.
8081 (special_real_inputs): Add 2pi.
8082 (calc_generic_results): Handle mpc_cc_c.
8083 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8085
7fda5682
JM
8086 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8087 csqrt, ctan and ctanh.
8088 * math/auto-libm-test-out: Regenerated.
8089 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8090 (TEST_COND_x86): Likewise.
8091 (ccos_test_data): Use AUTO_TESTS_c_c.
8092 (ccosh_test_data): Likewise.
8093 (cexp_test_data): Likewise.
8094 (clog_test_data): Likewise.
8095 (csqrt_test_data): Likewise.
8096 (ctan_test_data): Likewise.
8097 (ctan_tonearest_test_data): Likewise.
8098 (ctan_towardzero_test_data): Likewise.
8099 (ctan_downward_test_data): Likewise.
8100 (ctan_upward_test_data): Likewise.
8101 (ctanh_test_data): Likewise.
8102 (ctanh_tonearest_test_data): Likewise.
8103 (ctanh_towardzero_test_data): Likewise.
8104 (ctanh_downward_test_data): Likewise.
8105 (ctanh_upward_test_data): Likewise.
8106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8107 mpc_c_c.
8108 (func_calc_desc): Add mpc_c_c union field.
8109 (FUNC_mpc_c_c): New macro.
8110 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8111 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8112 ctanh.
8113 (special_fill_min_subnorm_p120): New function.
8114 (special_real_inputs): Add min_subnorm_p120.
8115 (calc_generic_results): Handle mpc_c_c.
8116 * sysdeps/i386/fpu/libm-test-ulps: Update.
8117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8118
5ff8d60e
SP
81192013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8120
57f41c40
AS
8121 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8122 (do_sin_slow): New functions.
8123 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8124 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8125
84ba214c
SP
8126 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8127 Use M to change sign of result instead of X. Assume X is
8128 positive.
8129 (csloww1): Likewise.
8130 (__sin): Adjust.
8131 (__cos): Adjust.
8132
975195e4
SP
8133 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8134 arguments A and DA.
8135 (__sin): Adjust.
8136 (__cos): Likewise.
8137
5ff8d60e
SP
8138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8139 (__cos): Likewise.
8140 (sloww1): Don't adjust sign of DX.
8141 (csloww1): Likewise.
8142 (sloww2): Use X directly and don't adjust sign of DX.
8143 (csloww2): Likewise.
8144
eb983568
JM
81452013-12-19 Joseph Myers <joseph@codesourcery.com>
8146
64a17f1a
JM
8147 * math/auto-libm-test-in: Add tests of cabs and carg.
8148 * math/auto-libm-test-out: Regenerated.
8149 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8150 (carg_test_data): Likewise.
8151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8152 mpc_c_f.
8153 (func_calc_desc): Add mpc_c_f union field.
8154 (test_functions): Add cabs and carg.
8155 (calc_generic_results): Handle mpc_c_f.
8156
eb983568
JM
8157 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8158 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8159 as a macro and a compat symbol.
8160 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8161 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8162 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8163 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8164 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8165 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8166 not use .hidden.
8167 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8168 Likewise.
8169 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8170 Likewise.
8171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8172 Likewise.
8173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8174 Likewise.
8175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8176 Likewise.
8177 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8178 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8179 from GLIBC_2.3.2.
8180
6eeb678a
AZ
81812013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182
8183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8184
6f6fc482
JM
81852013-12-19 Joseph Myers <joseph@codesourcery.com>
8186
21fea2e2
JM
8187 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8188 trailing whitespace removed.
8189 * scripts/config.guess: Update to version 2013-11-29.
8190 * scripts/config.sub: Update to version 2013-10-01.
8191
6f6fc482
JM
8192 * math/auto-libm-test-in: Add tests of sincos.
8193 * math/auto-libm-test-out: Regenerated.
8194 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8195 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8196 mpfr_f_11.
8197 (func_calc_desc): Add mpfr_f_11 union field.
8198 (test_functions): Add sincos.
8199 (calc_generic_results): Handle mpfr_f_11.
8200 * sysdeps/i386/fpu/libm-test-ulps: Update.
8201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202
83f5c32d
AS
82032013-12-19 Andreas Schwab <schwab@suse.de>
8204
8205 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8206 CALL_MCOUNT.
8207 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8208 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8209 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8210
c688b419
JM
82112013-12-19 Joseph Myers <joseph@codesourcery.com>
8212
335ee092
JM
8213 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8214 * sysdeps/i386/fpu/libm-test-ulps: Update.
8215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8216
f88acd39
JM
8217 [BZ #16293]
8218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8219 round-to-nearest mode when using frndint.
8220 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8221 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8223 Likewise.
8224 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8225 sinh test to fail.
8226 * math/auto-libm-test-out: Regenerated.
8227 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8228 (TEST_COND_x86): Likewise.
8229 (expm1_tonearest_test_data): New array.
8230 (expm1_test_tonearest): New function.
8231 (expm1_towardzero_test_data): New array.
8232 (expm1_test_towardzero): New function.
8233 (expm1_downward_test_data): New array.
8234 (expm1_test_downward): New function.
8235 (expm1_upward_test_data): New array.
8236 (expm1_test_upward): New function.
8237 (main): Run the new test functions.
8238 * sysdeps/i386/fpu/libm-test-ulps: Update.
8239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8240
c688b419
JM
8241 * include/features.h: Update comment documenting feature test
8242 macros. Mention _DEFAULT_SOURCE in comment.
8243 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8244 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8245 _BSD_SOURCE and _SVID_SOURCE.
8246 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8247 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8248 !_SVID_SOURCE]: Likewise.
8249 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8250 (__USE_POSIX_IMPLICITLY): Define.
8251 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8252 (_POSIX_SOURCE): Undefine and redefine.
8253 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8254 (_POSIX_C_SOURCE): Likewise.
8255 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8256 (Feature Test Macros): Update documentation of default features.
8257
9f6e964c
RS
82582013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8259
8260 * benchtests/Makefile: Add bench-strtok.
8261 * benchtests/bench-strtok.c: New file: strtok benchtest.
8262
ee0a148a
AM
82632013-12-19 Allan McRae <allan@archlinux.org>
8264
8265 * manual/install.texi: Suppress menu for plain text output.
8266 * INSTALL: Regenerated.
8267
b9ab448f
BM
82682013-12-18 Brooks Moses <bmoses@google.com>
8269
8270 [BZ #15846]
8271 * misc/getauxval.c: Include errno.h.
8272 (__getauxval): Set errno to ENOENT if the requested type is not
8273 found.
8274 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8275 don't declare with __attribute_const__.
8276 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8277 * manual/startup.texi: Document that getauxval sets errno.
8278
23776487
JM
82792013-12-18 Joseph Myers <joseph@codesourcery.com>
8280
f889953b
JM
8281 * math/auto-libm-test-in: Add tests of jn and yn.
8282 * math/auto-libm-test-out: Regenerated.
8283 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8284 (yn_test_data): Likewise.
8285 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8286 mpfr_if_f.
8287 (func_calc_desc): Add mpfr_if_f union field.
8288 (FUNC_mpfr_if_f): New macro.
8289 (test_functions): Add jn and yn.
8290 (calc_generic_results): Assert type of second input for
8291 mpfr_ff_f. Handle mpfr_if_f.
8292 (output_for_one_input_case): Disable all checking for arguments
8293 fitting floating-point types in case of an integer argument.
8294 * sysdeps/i386/fpu/libm-test-ulps: Update.
8295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8296
23776487
JM
8297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8298 Don't expect fegetround reference in libm.so.
8299
cb756c6d
MS
83002013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8301
8302 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8303 $(config-cflags-nofma).
8304
2dec468f
JM
83052013-12-18 Joseph Myers <joseph@codesourcery.com>
8306
5953eb3a
JM
8307 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8308 * math/auto-libm-test-out: Regenerated.
8309
2dec468f
JM
8310 [BZ #16338]
8311 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8312 to determine exponent and adjust argument to have exponent of -1.
8313 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8314 log2.
8315 * math/auto-libm-test-out: Regenerated.
8316 * sysdeps/i386/fpu/libm-test-ulps: Update.
8317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8318
4d84e6ad
OB
83192013-12-18 Ondřej Bílka <neleai@seznam.cz>
8320
8321 * manual/probes.texi: Remove cases when per-thread arenas are
8322 disabled.
8323
1818483b
AS
83242013-12-18 Andreas Schwab <schwab@suse.de>
8325
8326 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8327 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8328 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8329 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8330 * sysdeps/i386/i686/multiarch/Makefile: Update.
8331 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8332
25de95bf
JM
83332013-12-17 Joseph Myers <joseph@codesourcery.com>
8334
8335 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8336 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8337
674762d9
PE
83382013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8339
ed27ed83 8340 [BZ #15968]
0748546f
PE
8341 Support TZ transition times < 00:00:00.
8342 This is needed for version-3 tz-format files; it supports time
8343 stamps past 2037 for America/Godthab (the only entry in the tz
8344 database for which this change is relevant).
8345 * manual/time.texi (TZ Variable): Document transition times
8346 from -167:59:59 through -00:00:01.
8347 * time/tzset.c (tz_rule): Time of day is now signed.
8348 (__tzset_parse_tz): Parse negative time of day.
8349
4480e934
PE
8350 Document TZ transition times >= 25:00:00.
8351 * manual/time.texi (TZ Variable): Document transition times from
8352 25:00:00 through 167:59:59. These are already supported, and this
8353 support will help with version-3 tz-format files.
8354
69947401
PE
8355 * manual/time.texi (TZ Variable): Modernize North America example
8356 to reflect current (i.e., 2007-and-later) daylight saving rules.
8357
674762d9
PE
8358 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8359
7011c262
JM
83602013-12-17 Joseph Myers <joseph@codesourcery.com>
8361
2fc6557e
JM
8362 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8363 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8366 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8367 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8368 * sysdeps/unix/bsd/clock.c: Likewise.
8369 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8370 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8371 * sysdeps/unix/bsd/init-posix.c: Likewise.
8372 * sysdeps/unix/bsd/poll.c: Likewise.
8373 * sysdeps/unix/bsd/ptsname.c: Likewise.
8374 * sysdeps/unix/bsd/seekdir.c: Likewise.
8375 * sysdeps/unix/bsd/setegid.c: Likewise.
8376 * sysdeps/unix/bsd/seteuid.c: Likewise.
8377 * sysdeps/unix/bsd/setgid.c: Likewise.
8378 * sysdeps/unix/bsd/setrgid.c: Likewise.
8379 * sysdeps/unix/bsd/setruid.c: Likewise.
8380 * sysdeps/unix/bsd/setsid.c: Likewise.
8381 * sysdeps/unix/bsd/setuid.c: Likewise.
8382 * sysdeps/unix/bsd/sigaction.c: Likewise.
8383 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8384 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8385 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8386 * sysdeps/unix/bsd/telldir.c: Likewise.
8387 * sysdeps/unix/bsd/times.c: Likewise.
8388 * sysdeps/unix/bsd/usleep.c: Likewise.
8389
029c7b25
JM
8390 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8391 ($(objpfx)libbsd-compat.a): Remove rule.
8392
7011c262
JM
8393 * include/features.h (__FAVOR_BSD): Do not define.
8394 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8395 features conflicting with POSIX.
8396 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8397 (_BSD_SOURCE): Remove description of not being a subset of other
8398 feature test macros.
8399 * manual/job.texi (getpgrp): Do not document BSD version.
8400 (getpgid): Do not document by reference to BSD getpgrp.
8401 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8402 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8403 * signal/signal.h [__FAVOR_BSD]: Likewise.
8404 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8405 instead of making contents conditional on [__FAVOR_BSD].
8406 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8407
affb6f78
AZ
84082013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409
8410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8411
c88769dd
JM
84122013-12-17 Joseph Myers <joseph@codesourcery.com>
8413
6432a540
JM
8414 [BZ #16314]
8415 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8416 values below 2**-450, not 2**-500.
8417 * math/auto-libm-test-in: Don't allow spurious underflow from
8418 hypot.
8419 * math/auto-libm-test-out: Regenerated.
8420
c88769dd
JM
8421 [BZ #16316]
8422 [BZ #16330]
8423 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8424 values of ha and hb and sort them after adjusting subnormal
8425 arguments.
8426 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8427 Likewise.
8428 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8429 values of ea and eb and sort them after adjusting subnormal
8430 arguments.
8431 * math/auto-libm-test-in: Do not expect some hypot tests of
8432 subnormals to fail. Add more hypot tests.
8433 * math/auto-libm-test-out: Regenerated.
8434
29618f6b
KK
84352013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8436
8437 [BZ #13304]
8438 * sysdeps/sh/s_fma.c: New file.
8439 * sysdeps/sh/s_fmaf.c: New file.
8440 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8441 version.
8442 * sysdeps/sh/Implies: Add sh/soft-fp.
8443
eacfdfbf
RM
84442013-12-16 Roland McGrath <roland@hack.frob.com>
8445
8446 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8447 level of indirection to members `objname', `errstring', `malloced'.
8448 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8449 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8450 it as the __longjmp argument (just pass 1 instead).
8451 (_dl_catch_error): Initialize C with argument pointers and address of
8452 volatile local ERRCODE rather than copying values out of C at return.
8453
ff362e5b
JM
84542013-12-16 Joseph Myers <joseph@codesourcery.com>
8455
8456 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8457 * math/auto-libm-test-out: Regenerated.
8458 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8459 (hypot_test_data): Likewise.
8460 (pow_test_data): Likewise.
8461 (pow_tonearest_test_data): Likewise.
8462 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8463 mpfr_ff_f.
8464 (func_calc_desc): Add mpfr_ff_f union field.
8465 (FUNC_mpfr_ff_f): New macro.
8466 (test_functions): Add atan2, hypot and pow.
8467 (special_fill_min): New function.
8468 (special_fill_minus_min): Likewise.
8469 (special_fill_min_subnorm): Likewise.
8470 (special_fill_minus_min_subnorm): Likewise.
8471 (special_real_inputs): Add min, -min, min_subnorm and
8472 -min_subnorm.
8473 (calc_generic_results): Handle mpfr_ff_f.
8474 * sysdeps/i386/fpu/libm-test-ulps: Update.
8475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8476
5764c27f
WN
84772013-12-16 Will Newton <will.newton@linaro.org>
8478
8479 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8480 (Aligned Memory Blocks): Add documentation for aligned_alloc
8481 and suggest it as an alternative to posix_memalign.
8482 (Hooks for Malloc): Document __memalign_hook is also called
8483 for aligned_alloc. (Summary of Malloc): Add summary for
8484 aligned alloc. Document __memalign_hook is also called
8485 for aligned_alloc.
8486
0a096e44
WN
84872013-12-16 Will Newton <will.newton@linaro.org>
8488
8489 * manual/memory.texi (Malloc Examples): Clarify default
8490 alignment documentation. Suggest posix_memalign rather
8491 than memalign or valloc.
8492 (Aligned Memory Blocks): Remove suggestion to use memalign
8493 or valloc. Remove obsolete comment about BSD.
8494 Document memalign errno values and mark the function obsolete.
8495 Document posix_memalign returned error codes. Mark valloc
8496 as obsolete. (Hooks for Malloc): __memalign_hook is also
8497 called for posix_memalign and valloc.
8498 (Summary of Malloc): Add posix_memalign to function summary.
8499 __memalign_hook is also called for posix_memalign and valloc.
8500
8d561986
SP
85012013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8504 TAYLOR_SIN.
8505 (__sin): Adjust.
8506 (__cos): Likewise.
8507 (sloww): Use mynumber union. Expand ternary operator into
8508 if-else statements.
8509 (cslow): use mynumber union.
8510
73616a74
AM
85112013-12-16 Allan McRae <allan@archlinux.org>
8512
9e8ac24b
AM
8513 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8514 * configure: Regenerated.
8515
6f8e37eb
AM
8516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8517
8894bad3
AM
8518 [BZ #14120]
8519 * configure.ac: Added --enable-maintainer-mode. Check for
8520 autoconf when enabled.
8521 * configure: Regenerated.
8522
73616a74
AM
8523 * nscd/nscd.service: New file.
8524 * nscd/nscd.tmpfiles: New file.
8525
584b18eb
OB
85262013-12-14 Ondřej Bílka <neleai@seznam.cz>
8527
8528 [BZ #12100]
8529 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8530 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8531 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8532 (strstr): Add __strstr_sse2_unaligned ifunc.
8533 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8534 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8535 (strcasestr): Remove __strcasestr_sse42 ifunc.
8536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8539
8a5c7897
KK
85402013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8541
8542 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8543 * sysdeps/sh/bits/fenv.h: ... here.
8544 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8545
fd712ef3
AZ
85462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8547
8548 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8549
42fcb46c
AZ
8550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8551 hypotf multiarch implementations.
8552 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8553 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8555 multiarch hypot for PPC64.
8556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8559 multiarch hypotf for PPC64.
8560
83efded4
AZ
8561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8562 modff multiarch implementations.
8563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8566 multiarch modf for PPC64.
8567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8570 multiarch modff for PPC64.
8571
43e246d2
AZ
8572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8573 and logl multiarch implementations.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8577 multiarch logb for PPC64.
8578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8581 multiarch logb for PPC64.
8582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8585 multiarch logb for PPC64.
8586
8fdad123
AZ
8587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8588 isinff multiarch implementation.
8589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8590 file.
8591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8593 multiarch isinf for PPC64.
8594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8595 file.
8596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8597 multiarch isinff for PPC64.
8598
1481d706
AZ
8599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8600 finitef multiarch implementation.
8601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8602 file.
8603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8605 multiarch finite for PPC64.
8606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8607 file.
8608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8609 multiarch finitef for PPC64.
8610
5ccd5fc8
AZ
8611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8612 lrint multiarch implementation.
8613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8614 file.
8615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8617 multiarch llrint for PPC64.
8618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8619 multiarch lrint for PPC64.
8620
2568f3fa
AZ
8621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8622 copysignf multiarch implementation.
8623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8624 file.
8625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8626 file.
8627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8628 multiarch copysign for PPC64.
8629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8630 multiarch copysignf for PPC64.
8631
1cb341fd
AZ
8632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8633 multiarch implementation.
8634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8635 file.
8636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8637 file.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8639 file.
8640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8641 file.
8642 multiarch llround for PPC64.
8643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8644 multiarch trunc for PPC64.
8645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8646 multiarch truncf for PPC64.
8647
59a3e194
AZ
8648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8649 multiarch implementation.
8650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8651 file.
8652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8653 file.
8654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8655 file.
8656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8657 file.
8658 multiarch llround for PPC64.
8659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8660 multiarch round for PPC64.
8661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8662 multiarch roundf for PPC64.
8663
357fd3b4
AZ
8664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8665 multiarch implementation.
8666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8667 file.
8668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8669 file.
8670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8671 file.
8672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8673 file.
8674 multiarch llround for PPC64.
8675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8676 multiarch floor for PPC64.
8677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8678 multiarch floorf for PPC64.
8679
96770f12
AZ
8680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8681 multiarch implementation.
8682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8683 file.
8684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8685 file.
8686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8687 file.
8688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8689 file.
8690 multiarch llround for PPC64.
8691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8692 multiarch ceil for PPC64.
8693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8694 multiarch ceilf for PPC64.
8695
c3627f6e
AZ
8696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8697 multiarch implementation.
8698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8699 file.
8700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8701 file.
8702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8703 file.
8704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8705 multiarch llround for PPC64.
8706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8707 multiarch lround for PPC64.
8708
b2284ad7
AZ
8709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8710 multiarch implementation.
8711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8714 file.
8715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8718 multiarch isnan for PPC64.
8719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8720 multiarch isnanf for PPC64.
8721
69bbc63d
AZ
8722 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8723 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8724 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8725 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8726 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8728
c24517c9
AZ
8729 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8730 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8732 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8733
a52374e8
AZ
8734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8735 multiarch implementations.
8736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8737 (__libc_ifunc_impl_list): Likewise.
8738 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8739 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8740 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8741 multiarch stpcpy for PPC64.
8742
7f5ec113
AZ
8743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8744 multiarch implementations.
8745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8746 (__libc_ifunc_impl_list): Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8748 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8749 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8750 multiarch strcpy for PPC64.
8751
e28bcd42
AZ
8752 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8753 redefine function name.
8754 (_wordcopy_fwd_dest_aligned): Likewise.
8755 (_wordcopy_bwd_aligned): Likewise.
8756 (_wordcopy_bwd_dest_aligned): Likewise.
8757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8758 multiarch implementations.
8759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8760 (__libc_ifunc_impl_list): Likewise.
8761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8763 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8765 multiarch wcscpy for PPC64.
8766
92cacfce
AZ
8767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8768 multiarch implementations.
8769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8770 (__libc_ifunc_impl_list): Likewise.
8771 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8772 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8773 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8775 multiarch wcscpy for PPC64.
8776
7b714620
AZ
8777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8778 multiarch implementations.
8779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8780 (__libc_ifunc_impl_list): Likewise.
8781 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8782 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8783 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8784 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8785 multiarch wcsrchr for PPC64.
8786
16fd2ae3
AZ
8787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8788 multiarch implementations.
8789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8790 (__libc_ifunc_impl_list): Likewise.
8791 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8792 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8793 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8794 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8795 multiarch wcschr for PPC64.
8796
9ee2969b
AZ
8797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8798 multiarch implementations.
8799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8800 (__libc_ifunc_impl_list): Likewise.
8801 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8802 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8803 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8804 multiarch strchrnul for PPC64.
8805
372dc060
AZ
8806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8807 implementations.
8808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8809 (__libc_ifunc_impl_list): Likewise.
8810 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8811 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8812 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8813 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8814 strchr for PPC64.
8815
24c2c3b9
AZ
8816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8817 implementations.
8818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8819 (__libc_ifunc_impl_list): Likewise.
8820 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8821 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8822 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8823 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8824 strncmp for PPC64.
8825
1c92d9a0
AZ
8826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8827 multiarch implementations.
8828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8829 (__libc_ifunc_impl_list): Likewise.
8830 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8831 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8832 strncasecmp for PPC64.
8833 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8834 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8835 multiarch strncasecmp_l for PPC64.
8836
17de3ee3
AZ
8837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8838 multiarch implementations.
8839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8840 (__libc_ifunc_impl_list): Likewise.
8841 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8842 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8843 multiarch strcasecmp for PPC64.
8844 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8845 file.
8846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8847 multiarch strcasecmp_l for PPC64.
8848
62982bf9
AZ
8849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8850 implementations.
8851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8852 (__libc_ifunc_impl_list): Likewise.
8853 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8854 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8855 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8856 strnlen for PPC64.
8857
a65f4904
AZ
8858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8859 implementations.
8860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8861 (__libc_ifunc_impl_list): Likewise.
8862 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8863 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8864 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8865 strlen for PPC64.
8866
1fd005ad
AZ
8867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8868 implementations.
8869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8870 (__libc_ifunc_impl_list): Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8872 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8873 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8874 rawmemrchr for PPC64.
8875
cd05ba91
AZ
8876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8877 implementation.
8878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8879 (__libc_ifunc_impl_list): Likewise.
8880 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8881 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8882 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8883 memrchr for PPC64.
8884
870f8676
AZ
8885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8886 implementation.
8887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8888 (__libc_ifunc_impl_list): Likewise.
8889 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8890 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8891 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8892 memchr for PPC64.
8893
f00be62b
AZ
8894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8895 implementation.
8896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8897 (__libc_ifunc_impl_list): Likewise.
8898 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8899 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8900 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8901 mempcpy for PPC64.
8902
8a29a3d0
AZ
8903 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8904 avoid cretion of __bzero symbol.
8905 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8906 Likewise.
8907 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8908 Likewise.
8909 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8910 Likewise.
8911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8912 multiarch implementations.
8913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8914 (__libc_ifunc_impl_list): Likewise.
8915 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8916 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8917 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8918 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8919 bzero for PPC32.
8920 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8921 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8922 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8923 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8924 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8925 memset for PPC64.
8926 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8927
07253fcf
AZ
8928 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8930 implementations.
8931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8932 (__libc_ifunc_impl_list): Likewise.
8933 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8934 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8935 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8936 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8937 memcmp for PPC64.
8938
b5beafbc
AZ
8939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8940 multiarch for POWER/PPC64.
8941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8942 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8949 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8950 memcpy for PPC64.
8951
5e6a4d4b
AZ
8952 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8953 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8954 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8955 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8956 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8957 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8959 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8960 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8961 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8962 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8963 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8964 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8965 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8966 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8974
ddfab6dc
KK
89752013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8976
8977 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8978
19b5525e
SP
89792013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8980
8981 * benchtests/Makefile (bench): Add exp2 and log2.
8982 (LDLIBS-bench-exp2): Add -lm.
8983 (LDLIBS-bench-log2): Likewise.
8984 * benchtests/exp2-inputs: New inputs file.
8985 * benchtests/log2-inputs: New inputs file.
8986 * benchtests/log-inputs: Add new inputs.
8987 * benchtests/tan-inputs: Likewise.
8988
196f7f5d
SP
89892013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8990
7a74607f
SP
8991 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8992 definition...
57f41c40
AS
8993 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8994 (csloww2): ... from here.
7a74607f 8995
196f7f5d
SP
8996 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8997 instead of structures.
8998 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8999 (POLYNOMIAL): Likewise.
9000 (TAYLOR_SLOW): Likewise.
9001 (__sin): Likewise.
9002 (__cos): Likewise.
9003 (slow1): Likewise.
9004 (slow2): Likewise.
9005 (sloww): Likewise.
9006 (sloww1); Likewise.
9007 (sloww2): Likewise.
9008 (bsloww1): Likewise.
9009 (bsloww2): Likewise.
9010 (cslow2): Likewise.
9011 (csloww): Likewise.
9012 (csloww1): Likewise.
9013 (csloww2): Likewise.
9014
0dfa665c
OB
90152013-12-10 Ondřej Bílka <neleai@seznam.cz>
9016
9017 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9018 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9019 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9020 * malloc/hooks.c (realloc_check): Likewise.
9021
5782a80f
OB
9022 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9023 * malloc/arena.c: Remove PER_THREAD conditional.
9024 [!PER_THREAD]: Remove code.
9025 (ptmalloc_unlock_all2): Likewise.
9026 (ptmalloc_init): Likewise.
9027 (_int_new_arena): Likewise.
9028 (arena_get2): Likewise.
9029 * malloc/hooks.c (__malloc_get_state): Likewise.
9030 (__malloc_set_state): Likewise.
9031 * malloc/malloc.c: Likewise.
9032 (struct malloc_state): Likewise.
9033 (struct malloc_par): Likewise.
9034 (__libc_realloc): Likewise.
9035 (__libc_mallopt): Likewise.
9036
aeb95445
AZ
90372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9038
9039 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9040
e8349efd
OB
90412013-12-09 Ondřej Bílka <neleai@seznam.cz>
9042
9043 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9044 macro to a function. Check for zero perturb_byte.
9045 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9046
f3eeb3fc 9047 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9048 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9049 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9050 force_reg by atomic_forced_read.
9051 * malloc/arena.c (ptmalloc_init): Likewise.
9052 * malloc/hooks.c (top_check): Likewise.
9053
be2f9009
AZ
90542013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9055
9056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9057
e7b914bd
MT
90582013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9059
9060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9061
9f0be4f8
JM
90622013-12-08 Joseph Myers <joseph@codesourcery.com>
9063
9064 * math/auto-libm-test-in: Add tests of lgamma.
9065 * math/auto-libm-test-out: Regenerated.
9066 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9067 (M_LOG_2_SQRT_PIl): Likewise.
9068 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9070 mpfr_f_f1.
9071 (func_calc_desc): Add mpfr_f_f1 union field.
9072 (ARGS1): New macro.
9073 (ARGS2): Likewise.
9074 (ARGS3): Likewise.
9075 (ARGS4): Likewise.
9076 (RET1): Likewise.
9077 (RET2): Likewise.
9078 (CALC): Likewise.
9079 (FUNC): Likewise.
9080 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9081 (test_functions): Add lgamma.
9082 (calc_generic_results): Handle mpfr_f_f1.
9083 * sysdeps/i386/fpu/libm-test-ulps: Update.
9084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9085
24eeafdb
AZ
90862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087
9088 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9089 __mpn_add_n for PowerPC64/POWER7.
9090 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9091 __mpn_sub_n for PowerPC64/POWER7.
9092
4a2c0fd4
AZ
9093 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9094 __mpn_addmul_1 for PowerPC64.
9095 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9096 __mpn_submul_1 for PowerPC64.
9097 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9098 for PowerPC64.
9099 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9100 for PowerPC64.
9101
4b5b548c
FS
91022013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9103
9104 [BZ #15089]
9105 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9106
0a3ac0aa
AZ
91072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9108
9109 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9110
ccdc8438
AZ
9111 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9112 add multiarch folders.
9113 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9114 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9115 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9116 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9117 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9118 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9119 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9120 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9121 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9122 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9123 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9130
2e973d99
AZ
9131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9132 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9134 New file.
9135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9136 New file.
9137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9138 multiarch __ieee754_hypot for PowerPC32.
9139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9140 New file.
9141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9142 New file.
9143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9144 multiarch __ieee754_hypotf for PowerPC32.
9145
2d9470b2
AZ
9146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9147 long_double_symbol only if __logbl is defined.
9148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9149 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9151 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9153 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9155 path for implementation.
9156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9159 logb, and logbl multiarch implementations for PowerPC32.
9160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9161 file.
9162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9163 file.
9164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9165 multiarch logb for PowerPC32.
9166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9167 file.
9168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9169 file.
9170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9171 multiarch logbf for PowerPC32.
9172 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9174 file.
9175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9176 multiarch logbl implementation for PowerPC32.
9177
5212ffce
AZ
9178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9179 and modff multiarch implementations.
9180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9181 New file.
9182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9183 New file.
9184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9185 multiarch modf for PowerPC32.
9186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9187 New file.
9188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9189 New file.
9190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9191 multiarch modff for PowerPC32.
9192
79dccf31
AZ
9193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9194 and lrintf multiarch implementations.
9195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9196 New file.
9197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9198 New file.
9199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9200 multiarch lrint for PowerPC32.
9201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9202 file: multiarch lrintf for PowerPC32.
9203
deb66480
AZ
9204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9205 and lroundf multiarch implementations.
9206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9207 New file.
9208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9209 New file.
9210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9211 New file.
9212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9213 multiarch lround for PowerPC32.
9214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9215 file: multiarch lroundf for PowerPC32.
9216
264b036b
AZ
9217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9218 copysign and copysignf multiarch implementations.
9219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9220 New file.
9221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9222 New file.
9223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9224 file: multiarch copysign for PowerPC32.
9225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9226 file: multiarch copysignf for PowerPC32.
9227
d47db6c9
AZ
9228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9229 and truncf multiarch implementations.
9230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9231 New file.
9232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9233 file.
9234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9235 multiarch trunc for PowerPC32.
9236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9237 New file.
9238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9239 New file.
9240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9241 multiarch truncf for PowerPC32.
9242
ddb60b5a
AZ
9243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9244 and roundf multiarch implementations.
9245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9246 New file.
9247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9248 file.
9249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9250 multiarch round for PowerPC32.
9251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9252 New file.
9253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9254 New file.
9255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9256 multiarch roundf for PowerPC32.
9257
bedcf49b
AZ
9258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9259 and floorf multiarch implementations.
9260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9261 New file.
9262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9263 file.
9264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9265 multiarch floor for PowerPC32.
9266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9267 New file.
9268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9269 New file.
9270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9271 multiarch floorf for PowerPC32.
9272
35ae5b40
AZ
9273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9274 and ceilf multiarch implementations.
9275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9276 New file.
9277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9278 file.
9279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9280 multiarch ceil for PowerPC32.
9281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9282 New file.
9283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9284 file.
9285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9286 multiarch ceilf for PowerPC32.
9287
ae1a4cd9
AZ
9288 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9289 is defined.
9290 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9291 FINITEF is defined.
9292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9293 and finitef multiarch implementations.
9294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9295 New file.
9296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9297 file.
9298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9299 multiarch finite for PowerPC32.
9300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9301 New file.
9302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9303 file: multiarch finitef for PowerPC32.
9304
64fffd65
AZ
9305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9306 and isinff multiarch implementations.
9307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9308 file.
9309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9310 file.
9311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9312 multiarch isinf for PowerPC32.
9313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9314 New file.
9315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9316 multiarch isinff for PowerPC32.
9317
8e4e7ba2
AZ
9318 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9319 alias when __isnan is defined.
9320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9321 and isnanf multiarch implementations.
9322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9323 file.
9324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9325 file.
9326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9327 file.
9328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9329 file.
9330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9331 multiarch isnan for PowerPC32.
9332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9333 New file.
9334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9335 New file.
9336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9337 multiarch isnanf for PowerPC32.
9338
ddba588e
AZ
9339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9340 and sqrtf multiarch implementations.
9341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9342 file.
9343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9344 file.
9345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9346 multiarch sqrt for PowerPC32.
9347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9348 file.
9349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9350 file.
9351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9352 multiarch sqrtf for PowerPC32.
9353
0f96a2f0
AZ
9354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9355 and llroundf multiarch implementations.
9356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9357 New file.
9358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9359 New file.
9360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9361 New file.
9362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9363 file: multiarch llround for PowerPC32.
9364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9365 file: multiarch llroundf for PowerPC32.
9366
c9b5d79e
AZ
9367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9368 multiarch PowerPC32 fpu implementations.
9369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9370 New file.
9371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9372 New file.
9373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9374 multiarch llrint for PowerPC32.
9375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9376 New file.
9377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9378 New file.
9379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9380 file.
9381
9cbb3aab
AZ
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9383
ea5a72f8
AZ
9384 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9385 file.
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9387 file.
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9389 file.
9390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9391 multiarch wordcopy for PPC32.
9392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9393 wordcopy objects.
9394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9395 (__libc_ifunc_impl_list): Likewise.
9396 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9397 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9399 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9401 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9402
93be09e7
AZ
9403 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9405 file.
9406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9407 file.
9408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9409 file.
9410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9411 multiarch wcscpy for PPC32.
9412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9413 multiarch objects.
9414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9415 (__libc_ifunc_impl_list): Likewise.
9416 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9417 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9418 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9419 sysdeps/powerpc/power6/wcscpy.c.
9420
bb04e529
AZ
9421 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9423 file.
9424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9425 file.
9426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9427 file.
9428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9429 multiarch wcsrchr for PPC32.
9430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9431 multiarch objects.
9432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9433 (__libc_ifunc_impl_list): Likewise.
9434 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9435 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9436 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9437 sysdeps/powerpc/power6/wcsrchr.c.
9438
05b5cd1c
AZ
9439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9440 file.
9441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9442 file.
9443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9445 multiarch wcschr for PPc32.
9446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9447 multiarch objects.
9448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9449 (__libc_ifunc_impl_list): Likewise.
9450 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9451 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9452 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9453 sysdeps/powerpc/power6/wcschr.c.
9454
ba964147
AZ
9455 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9456 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9457 file.
9458 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9459 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9460 file: multiarch strchr for PPC32.
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9462 multiarch objects.
9463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9464 (__libc_ifunc_impl_list): Likewise.
9465
31c81aaa
AZ
9466 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9467 name.
9468 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9469 file.
9470 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9471 file.
9472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9473 multiarch strchrnul for PPC32.
9474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9475 multiarch objects.
9476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9477 (__libc_ifunc_impl_list): Likewise.
9478
0d0607d9
AZ
9479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9480 file.
9481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9482 multiarch strncasecmp for PPC32.
9483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9484 file.
9485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9486 multiarch strncasecmp_l for PPC32.
9487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9488 strncasecmp multiarch objects.
9489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9490 (__libc_ifunc_impl_list): Likewise.
9491
4dfd5c86
AZ
9492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9493 file.
9494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9495 multiarch strncasecmp for PPC32.
9496 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9497 New file.
9498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9499 multiarch strcasecmp_l for PPC32.
9500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9501 multiarch objects.
9502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9503 (__libc_ifunc_impl_list): Likewise.
9504
a19e01a3
AZ
9505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9506 file.
9507 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9508 file.
9509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9510 multiarch strncmp for PPC32.
9511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9512 multiarch objects.
9513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9514 (__libc_ifunc_impl_list): Likewise.
9515
ae9cf7a2
AZ
9516 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9517 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9518 file.
9519 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9520 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9522 multiarch objects.
9523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9524 (__libc_ifunc_impl_list): Likewise.
9525
3148bb7d
AZ
9526 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9527 file.
9528 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9529 file.
9530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9532 multiarch objects.
9533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9534 (__libc_ifunc_impl_list): Likewise.
9535
7af8b946
AZ
9536 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9537 file.
9538 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9539 file.
9540 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9541 multiarch rawmemchr for PPC32.
9542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9543 multiarch objects.
9544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9545 (__libc_ifunc_impl_list): Likewise.
9546
03a6aa6a
AZ
9547 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9548 file.
9549 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9550 file.
9551 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9552 file: memrchr multiarch for PPC32.
9553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9554 multiarch objects.
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9556 (__libc_ifunc_impl_list): Likewise.
9557
1c62e6d9
AZ
9558 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9560 file.
9561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9562 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9563 multiarch memchr for PPC32.
9564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9565 multiarch objects.
9566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9567 (__libc_ifunc_impl_list): Likewise.
9568
87da8bdb
AZ
9569 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9571 file.
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9573 file.
9574 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9575 file: multiarch mempcpy for PPC32.
9576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9577 multiarch objects.
9578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9579 (__libc_ifunc_impl_list): Likewise.
9580
20ed4714
AZ
9581 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9582 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9583 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9584 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9585 multiarch bzero for PPC32.
9586 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9587 file.
9588 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9589 file.
9590 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9591 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9592 file: multiarch memset for PPC32.
9593 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9595 memset multiarch objects.
9596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9597 (__libc_ifunc_impl_list): Likewise.
9598
ab3e3a46
AZ
9599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9600 file.
9601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9603 memcmp for PPC32.
9604 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9606 multiarch objects.
9607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9608 (__libc_ifunc_impl_list): Likewise.
9609
930de6f0
AZ
9610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9611 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9613 file.
9614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9615 file.
9616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9617 file.
9618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9619 multiarch memcpy for PPC32.
9620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9621 multiarch objects.
9622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9623 (__libc_ifunc_impl_list): Likewise.
9624
4c628e00
AZ
9625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9626 support multiarch for POWER/PPC32.
9627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9628 Likewise.
9629 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9631 Implies file to make multiarch folder appers before the fpu and
9632 default folder for power4 configuration.
9633
f4479220
SP
96342013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9635
9636 * scripts/bench.pl: Append volatile keyword to type.
9637
8517800f
KK
96382013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9639
9640 * sysdeps/sh/sotruss-lib.c: New file.
9641 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9642
180138f1
AZ
96432013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9644
9645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9646
bbf37bdc
JM
96472013-12-05 Joseph Myers <joseph@codesourcery.com>
9648
e47cc4e0
JM
9649 [BZ #6810]
9650 * math/w_tgamma.c: Include <errno.h>.
9651 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9652 * math/w_tgammaf.c: Include <errno.h>.
9653 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9654 * math/w_tgammal.c: Include <errno.h>.
9655 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9656 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9657 underflow. Add more tgamma tests.
9658 * math/auto-libm-test-out: Regenerated.
9659 * sysdeps/i386/fpu/libm-test-ulps: Update.
9660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9661
bbf37bdc
JM
9662 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9663 sin, sinh, tan, tanh, tgamma, y0 and y1.
9664 * math/auto-libm-test-out: Regenerated.
9665 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9666 (TEST_COND_x86): Likewise.
9667 (M_E2l): Remove macro.
9668 (M_E3l): Likewise.
9669 (M_2_SQRT_PIl): Likewise.
9670 (M_SQRT_PIl): Likewise.
9671 (M_1_DIV_El): Likewise.
9672 (log_test_data): Use AUTO_TESTS_f_f.
9673 (log10_test_data): Likewise.
9674 (log1p_test_data): Likewise.
9675 (log2_test_data): Likewise.
9676 (sin_test_data): Likewise.
9677 (sin_tonearest_test_data): Likewise.
9678 (sin_towardzero_test_data): Likewise.
9679 (sin_downward_test_data): Likewise.
9680 (sin_upward_test_data): Likewise.
9681 (sinh_test_data): Likewise.
9682 (sinh_tonearest_test_data): Likewise.
9683 (sinh_towardzero_test_data): Likewise.
9684 (sinh_downward_test_data): Likewise.
9685 (sinh_upward_test_data): Likewise.
9686 (tan_test_data): Likewise.
9687 (tan_tonearest_test_data): Likewise.
9688 (tan_towardzero_test_data): Likewise.
9689 (tan_downward_test_data): Likewise.
9690 (tan_upward_test_data): Likewise.
9691 (tanh_test_data): Likewise.
9692 (tgamma_test_data): Likewise.
9693 (y0_test_data): Likewise.
9694 (y1_test_data): Likewise.
9695 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9696 (special_real_inputs): Add pi/4.
9697 * sysdeps/i386/fpu/libm-test-ulps: Update.
9698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9699
eb5ad6b9
AZ
97002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9701
9702 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9703 "longjmp_target" static probes.
9704 (__longjmp): Rename to __longjmp_symbol.
9705 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9707 on which longjmp to generate.
9708 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9710 probe.
9711 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9712 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9713 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9715 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9716 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9718 __longjmp_symbol based on which __longjmp to generate.
9719 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9720 probe.
9721 (setjmp): Rename to setjmp_symbol.
9722 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9723 (_setjmp): Rename to _setjmp_symbol.
9724 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9725 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9726 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9727 which setjmp to generate.
9728 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9729 "longjmp_target" static probes.
9730
d136c6dc
SP
97312013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9732
9298ecba
SP
9733 * benchtests/README: Add note about output arguments.
9734 * benchtests/bench-sincos.c: Remove file.
9735 * benchtests/sincos-inputs: New file.
9736 * scripts/bench.pl: Identify output arguments and define
9737 static variables for them.
9738
232983e9
SP
9739 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9740
d136c6dc
SP
9741 [BZ #15941]
9742 * Makefile (INSTALL): Add install-plain.texi as the primary
9743 dependency.
9744 * manual/install-plain.texi: New file.
9745 * manual/install.texi: Include node directive only for
9746 non-plaintext output.
9747
699ff837
JM
97482013-12-04 Joseph Myers <joseph@codesourcery.com>
9749
ab07cea8
JM
9750 * stdlib/longlong.h: Update from GCC.
9751
699ff837
JM
9752 [BZ #6807]
9753 [BZ #15901]
9754 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9755 * math/w_j0f.c (y0f): Likewise.
9756 * math/w_j0l.c (__y0l): Likewise.
9757 * math/w_j1.c (y1): Likewise.
9758 * math/w_j1f.c (y1f): Likewise.
9759 * math/w_j1l.c (__y1l): Likewise
9760 * math/w_jn.c (yn): Likewise.
9761 * math/w_jnf.c (ynf): Likewise.
9762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9763 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9764 value for Bessel function domain errors outside _SVID_ mode.
9765 Adjust sign of return value for yn (negative integer, 0).
9766 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9767 by zero in return for negative x and set sign appropriately for
9768 negative n.
9769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9771 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9772 expectations in error cases.
9773 (y1_test_data): Likewise.
9774 (yn_test_data): Likewise.
9775 * sysdeps/i386/fpu/libm-test-ulps: Update.
9776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9777
5b118558
UW
97782013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9779
9780 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9781 "64" to "64-v1". Add "64-v2".
9782 (abi-64-options): Rename to ...
9783 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9784 (abi-64-condition): Rename to ...
9785 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9786 (abi-64-ld-soname): Rename to ...
9787 (abi-64-v1-ld-soname): ... this.
9788 (abi-64-v2-options): Define.
9789 (abi-64-v2-condition): Likewise.
9790 (abi-64-v2-ld-soname): Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9792 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9796
61cd8fe4
UW
97972013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9798 Alan Modra <amodra@gmail.com>
9799
9800 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9801 New versions for use with the ELFv2 ABI.
9802 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9803 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9804 declaration.
9805 (struct La_ppc64v2_retval): Likewise.
9806 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9807 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9808 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9809 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9810 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9812 Do not save or restore CR.
9813 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9814 (_dl_profile_resolve): Do no save or restore CR. Support extended
9815 return values for ELFv2 ABI. Fix location of FPR return registers.
9816 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9817 updated values for _CALL_ELF == 2.
9818 (La_regs, La_retval, int_retval): Likewise.
9819
8b8a692c
UW
98202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9821
9822 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9823 (FRAME_MIN_SIZE_PARM): Likewise.
9824 (FRAME_BACKCHAIN): Likewise.
9825 (FRAME_CR_SAVE): Likewise.
9826 (FRAME_LR_SAVE): Likewise.
9827 (FRAME_TOC_SAVE): Likewise.
9828 (FRAME_PARM_SAVE): Likewise.
9829 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9830 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9831 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9832 (call_mcount_parm_offset): New macro.
9833 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9834 (PROF): Use symbolic stack frame offsets.
9835 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9837 Redefine in terms of FRAME_MIN_SIZE.
9838 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9839 (_dl_profile_resolve): Likewise. Update comment.
9840 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9841 symbols stack frame offsets.
9842 (__sigsetjmp): Likewise.
9843 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9844 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9845 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9846 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9847
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9849 (FRAME_BACKCHAIN): Remove.
9850 (FRAME_CR_SAVE): Likewise.
9851 (FRAME_LR_SAVE): Likewise.
9852 (FRAME_COMPILER_DW): Likewise.
9853 (FRAME_LINKER_DW): Likewise.
9854 (FRAME_TOC_SAVE): Likewise.
9855 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9856 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9857 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9858 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9860 (CHECK_SP): Use symbolic stack frame offsets.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9862 zone" instead of caller's parameter save area for temp storage.
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9864 Likewise. Also, use symbolic stack frame offsets.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9866 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9867 our own stack frame instead of the caller's.
9868 (__socket): Use symbolic stack frame offsets.
9869
122b66de
UW
98702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9871 Alan Modra <amodra@gmail.com>
9872
9873 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9874 Define.
57f41c40
AS
9875 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9876 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9877 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9878 New function.
9879 (elf_machine_fixup_plt): Call it.
9880 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9881 reloc arguments.
9882 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9883 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9884 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9885 r2 before calling target.
9886
696caf1d
UW
98872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9888 Alan Modra <amodra@gmail.com>
9889
9890 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9891 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9892 versions of macros to support ELFv2 ABI.
9893 (LOCALENTRY): New macro.
9894 (ENTRY, EALIGN): Use it.
9895 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9896 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9897 fall through into ENTRY entry point.
9898 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9899 Only define if _CALL_ELF != 2.
9900
9901 (elf_machine_matches_host): Verify ABI version matches.
9902 (RTLD_START): Use LOCALENTRY.
9903 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9904 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9905 (PLT_ENTRY_WORDS): New macro.
9906 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9907 (elf_machine_runtime_setup): Support ELFv2 ABI.
9908 (elf_machine_fixup_plt): Likewise.
9909 (elf_machine_plt_conflict): Likewise.
9910 (resolve_ifunc): Likewise.
9911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9913 Likewise.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9915 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9917 (makecontext): Support ELFv2 ABI.
9918 * elf/elf.h (EF_PPC64_ABI): Define.
9919
d31beafa
UW
99202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9921
57f41c40
AS
9922 * sysdeps/powerpc/powerpc64/sysdep.h
9923 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9924 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9925 (ENTRY) [ASSEMBLER]: ... but instead here ...
9926 (EALIGN) [ASSEMBLER]: ... and here.
9927 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9928 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9929 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9930 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9931 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9932 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9933 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9934 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9936 Use PPC64_LOAD_FUNCPTR.
9937
b525166b
UW
9938 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9939
7ec07d9a
AM
99402013-12-04 Alan Modra <amodra@gmail.com>
9941
9942 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9943 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9944 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9945 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9946
9947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9948 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9949 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9950 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9951 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9952 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9953
5162e7dd
UW
99542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9955
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9957 (__makecontext): Fix incorrect CFI when backtracing out of
9958 context created via makecontext.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9960 (__setcontext): Fix incorrect CFI during switch to new context.
9961 (__novec_setcontext): Likewise.
9962
19e3372b
OB
99632013-12-04 Ondřej Bílka <neleai@seznam.cz>
9964
9965 [BZ #4772]
9966 * time/strptime_l.c (__strptime_internal): Allow modifiers
9967 in strptime.
9968 * time/tst-strptime.c (day_tests): Add testcase.
9969
ecaf142d
SP
99702013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
9972 * scripts/bench.pl: Skip over blank lines.
9973
fbf964ae
PE
99742013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9975
9976 [BZ #926]
9977 * manual/time.texi (Calendar Time): Clarify what timezone functions
9978 use.
9979
fa60a674
AZ
99802013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9981
9982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9983
d674f0ef
OB
99842013-12-04 Ondřej Bílka <neleai@seznam.cz>
9985
9986 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9987 implementation.
9988 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9989 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9990 * debug/memset_chk.c (__memset_chk): Likewise.
9991 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9992 * debug/strncpy_chk.c: Likewise.
9993
17dea188
JM
99942013-12-03 Joseph Myers <joseph@codesourcery.com>
9995
749008ff
JM
9996 [BZ #15268]
9997 [BZ #15425]
9998 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9999 (__ieee754_exp): For possibly underflowing results, check size of
10000 result and force underflow exception if required.
10001 * math/auto-libm-test-in: Add more tests of exp.
10002 * math/auto-libm-test-out: Regenerated.
10003 * sysdeps/i386/fpu/libm-test-ulps: Update.
10004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10005
17dea188
JM
10006 [BZ #16283]
10007 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10008 * math/w_exp2f.c (__exp2f): Likewise.
10009 * math/w_exp2l.c (__exp2l): Likewise.
10010 * math/auto-libm-test-in: Do not allow missing errno on exp2
10011 underflow.
10012 * math/auto-libm-test-out: Regenerated.
10013
b20de2c3
OB
100142013-12-03 Ondřej Bílka <neleai@seznam.cz>
10015
10016 [BZ #16274]
10017 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10018 handle filename validation.
10019 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10020 (do_open): Delete.
10021
d8e2dbe3
JM
100222013-12-03 Joseph Myers <joseph@codesourcery.com>
10023
34e16df5
JM
10024 [BZ #6786]
10025 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10026 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10027 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10028 <float.h>.
10029 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10030 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10031 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10033 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10035 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10036 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10037 Add more erfc tests.
10038 * math/auto-libm-test-out: Regenerated.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10041
d8e2dbe3
JM
10042 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10043 exp2, expm1, j0 and j1.
10044 * math/auto-libm-test-out: Regenerated.
10045 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10046 (erfc_test_data): Likewise.
10047 (exp_test_data): Likewise.
10048 (exp_tonearest_test_data): Likewise.
10049 (exp_towardzero_test_data): Likewise.
10050 (exp_downward_test_data): Likewise.
10051 (exp_upward_test_data): Likewise.
10052 (exp10_test_data): Likewise.
10053 (exp2_test_data): Likewise.
10054 (expm1_test_data): Likewise.
10055 (j0_test_data): Likewise.
10056 (j1_test_data): Likewise.
10057 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10058 (input_flag_type): Add flag_xfail_rounding.
10059 (input_flags): Add xfail-rounding.
10060 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10061 (output_for_one_input_case): Handle flag_xfail_rounding.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10064
18d14251
AJ
100652013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10066
3d2e6075 10067 [BZ #16289]
18d14251
AJ
10068 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10069 division by 0.
10070
520d437b
SP
100712013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10072
10073 [BZ #16195]
10074 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10075 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10076 (STAP_PROBE0): New macro.
10077 (STAP_PROBE1): Likewise.
10078 (STAP_PROBE2): Likewise.
10079 (STAP_PROBE3): Likewise.
10080 (STAP_PROBE4): Likewise.
10081
416e0145
OB
100822013-12-02 Ondřej Bílka <neleai@seznam.cz>
10083
10084 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10085
9d17796a
SE
100862013-12-02 Steve Ellcey <sellcey@mips.com>
10087
10088 * benchtests/Makefile (bench): Add sqrt.
10089 (LDLIBS-bench-sqrt): New.
10090 * benchtests/sqrt-input: New.
10091
f524d6a8
PS
100922013-12-02 Pavel Simerda <psimerda@redhat.com>
10093
639a0ef8
PS
10094 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10095 (GAIH_EAI): Likewise.
10096 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10097 (gaih_inet): Likewise.
10098 (getaddrinfo): Don't use GAIH_EAI.
10099
f524d6a8
PS
10100 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10101 (struct gaih): Remove definition.
10102
df3aedaf
SP
101032013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10104
10105 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10106 Use HERRNOP directly.
10107
1ab19dec
AZ
101082013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10109
b42ad38d 10110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10111
176b0c79
JM
101122013-11-30 Joseph Myers <joseph@codesourcery.com>
10113
10114 * math/gen-auto-libm-tests.c (test_functions): Add more
10115 single-argument functions.
10116 (special_fill_pi_2): New function.
10117 (special_fill_minus_pi_2): Likewise.
10118 (special_fill_pi_6): Likewise.
10119 (special_fill_minus_pi_6): Likewise.
10120 (special_fill_pi_3): Likewise.
10121 (special_fill_2pi_3): Likewise.
10122 (special_fill_e): Likewise.
10123 (special_fill_1_e): Likewise.
10124 (special_fill_e_minus_1): Likewise.
10125 (special_real_inputs): Add more special inputs.
10126 (output_for_one_input_case): Do not require ERANGE on underflow to
10127 zero if round-to-nearest result does not underflow to zero, unless
10128 exact results required.
10129 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10130 atan, atanh, cbrt, cos and cosh.
10131 * math/auto-libm-test-out: Regenerated.
10132 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10133 (acos_tonearest_test_data): Likewise.
10134 (acos_towardzero_test_data): Likewise.
10135 (acos_downward_test_data): Likewise.
10136 (acos_upward_test_data): Likewise.
10137 (acosh_test_data): Likewise.
10138 (asin_test_data): Likewise.
10139 (asin_tonearest_test_data): Likewise.
10140 (asin_towardzero_test_data): Likewise.
10141 (asin_upward_test_data): Likewise.
10142 (asinh_test_data): Likewise.
10143 (atan_test_data): Likewise.
10144 (atanh_test_data): Likewise.
10145 (cbrt_test_data): Likewise.
10146 (cos_test_data): Likewise.
10147 (cos_tonearest_test_data): Likewise.
10148 (cos_towardzero_test_data): Likewise.
10149 (cos_downward_test_data): Likewise.
10150 (cos_upward_test_data): Likewise.
10151 (cosh_test_data): Likewise.
10152 (cosh_tonearest_test_data): Likewise.
10153 (cosh_towardzero_test_data): Likewise.
10154 (cosh_downward_test_data): Likewise.
10155 (cosh_upward_test_data): Likewise.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158
ffb536d0
JM
101592013-11-29 Joseph Myers <joseph@codesourcery.com>
10160
2a77a467
JM
10161 [BZ #6787]
10162 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10163 * math/w_exp10f.c (__exp10f): Likewise.
10164 * math/w_exp10l.c (__exp10l): Likewise.
10165 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10166 errno settings in existing tests.
10167
ea3bc4e8
JM
10168 [BZ #14032]
10169 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10170 precision control set to double precision.
10171 * sysdeps/i386/fpu/w_sqrt.c: New file.
10172 * math/auto-libm-test-in: Add more tests.
10173 * math/auto-libm-test-out: Update.
10174
0712c9d8
JM
10175 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10176 (sqrt_test_tonearest): New function.
10177 (sqrt_towardzero_test_data): New variable.
10178 (sqrt_test_towardzero): New function.
10179 (sqrt_downward_test_data): New variable.
10180 (sqrt_test_downward): New function.
10181 (sqrt_upward_test_data): New variable.
10182 (sqrt_test_upward): New function.
10183 (main): Call the new functions.
10184
ffb536d0
JM
10185 * math/gen-auto-libm-tests.c: New file.
10186 * math/auto-libm-test-in: Likewise.
10187 * math/auto-libm-test-out: New generated file.
10188 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10189 variables.
10190 (%beautify): Add generated representations of zero.
10191 (top level): Set $auto_input and call parse_auto_input.
10192 (beautify): Remove trailing "f" from hex float constants.
10193 (parse_args): Handle XFAIL_TEST.
10194 (convert_condition): New function.
10195 (or_value): Likewise.
10196 (or_cond_value): Likewise.
10197 (generate_testfile): Handle AUTO_TESTS_* lines.
10198 (parse_auto_input): New function.
10199 * math/libm-test.inc (XFAIL_TEST): New macro.
10200 (ERRNO_UNCHANGED): Update value.
10201 (ERRNO_EDOM): Likewise.
10202 (ERRNO_ERANGE): Likewise.
10203 (IGNORE_RESULT): Likewise.
10204 (TEST_COND_flt_32): New macro.
10205 (TEST_COND_dbl_64): Likewise.
10206 (TEST_COND_ldbl_96_intel): Likewise.
10207 (TEST_COND_ldbl_96_m68k): Likewise.
10208 (TEST_COND_ldbl_128): Likewise.
10209 (TEST_COND_ldbl_128ibm): Likewise.
10210 (TEST_COND_long32): Likewise.
10211 (TEST_COND_long64): Likewise.
10212 (TEST_COND_before_rounding): Likewise.
10213 (TEST_COND_after_rounding): Likewise.
10214 (enable_test): Handle XFAIL_TEST flag.
10215 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10216 with finite results.
10217 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10218 auto-libm-test-out.
10219
acd98a8e
AK
102202013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10221 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10222
10223 [BZ #16214]
10224 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10225 __tls_get_addr_internal instead of __tls_get_offset in order to
10226 avoid GOT pointer dependency. Make rtld export
10227 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10228 __tls_get_addr since we are a __tls_get_offset platform.
10229 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10230 GOT pointer being set up before.
10231 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10232
3c1c46a6
JM
102332013-11-28 Joseph Myers <joseph@codesourcery.com>
10234
7475aef5
JM
10235 * manual/math.texi (Errors in Math Functions): Document accuracy
10236 goals.
10237
8bca7cd8
JM
10238 [BZ #15004]
10239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10240 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10243 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10245 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10255
91a1f3fe
JM
10256 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10257 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10258 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10259 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10260 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10261 Likewise.
10262 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10263 Likewise.
10264 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10265 Likewise.
10266 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10267 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10268 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10269 atomic-feupdateenv and flt-rounds.
10270 * sysdeps/powerpc/nofpu/Versions (libc): Add
10271 __atomic_feholdexcept, __atomic_feclearexcept,
10272 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10273 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10274 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10275 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10276 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10277 here.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10279 Update.
10280
c5df7609
JM
10281 * manual/arith.texi (FP Exceptions): Document that exceptions may
10282 not be raised when matherr is used.
10283 (Math Error Reporting): Document overflow in directed rounding
10284 modes. Document that errno may not be set when finite values are
10285 returned on overflow. Document intent to set errno on underflow
10286 only for underflow to zero.
10287
3c1c46a6
JM
10288 [BZ #16271]
10289 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10290 round-to-nearest then adjust result for other rounding modes.
10291 * include/fenv.h (fegetround): Use libm_hidden_proto.
10292 * math/fegetround.c (fegetround): Use libm_hidden_def.
10293 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10294 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10295 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10296 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10297 Likewise.
10298 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10299 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10300 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10301 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10302
5a4c6d53
SP
103032013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
10305 [BZ #16077]
10306 * nss/Versions (libnss_files): Add
10307 _nss_files_gethostbyname3_r.
10308 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10309 New function.
10310 (HOST_DB_LOOKUP): Remove macro.
10311 (_nss_files_gethostbyname_r): Implement function without the
10312 HOST_DB_LOOKUP macro.
10313 (_nss_files_gethostbyname2_r): Likewise.
10314
897b98ba
OB
103152013-11-28 Ondřej Bílka <neleai@seznam.cz>
10316
10317 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10318
6f476861
UB
103192013-11-26 Uros Bizjak <ubizjak@gmail.com>
10320
10321 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10322 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10323 warning.
10324
bd12ab55
AZ
103252013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326
10327 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10328 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10329 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10330 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10331 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10332 __fe_nomask_env_priv and attribute_hidden.
10333 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10334 (libc_feupdateenv_test_ppc): Likewise.
10335 (libc_feresetround_ppc): Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10337 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10338 compat_symbol macro.
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10340 (__fe_nomask_env): Likewise.
10341 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10342
52bb6543
OB
103432013-11-26 Ondřej Bílka <neleai@seznam.cz>
10344
10345 * string/Makefile: Remove ifunc tests.
10346 * string/test-string.h: Define TEST_IFUNC.
10347 * string/test-bcopy-ifunc.c: Remove.
10348 * string/test-bzero-ifunc.c: Likewise.
10349 * string/test-memccpy-ifunc.c: Likewise.
10350 * string/test-memchr-ifunc.c: Likewise.
10351 * string/test-memcmp-ifunc.c: Likewise.
10352 * string/test-memcpy-ifunc.c: Likewise.
10353 * string/test-memmem-ifunc.c: Likewise.
10354 * string/test-memmove-ifunc.c: Likewise.
10355 * string/test-mempcpy-ifunc.c: Likewise.
10356 * string/test-memrchr-ifunc.c: Likewise.
10357 * string/test-memset-ifunc.c: Likewise.
10358 * string/test-rawmemchr-ifunc.c: Likewise.
10359 * string/test-stpcpy-ifunc.c: Likewise.
10360 * string/test-stpncpy-ifunc.c: Likewise.
10361 * string/test-strcasecmp-ifunc.c: Likewise.
10362 * string/test-strcasestr-ifunc.c: Likewise.
10363 * string/test-strcat-ifunc.c: Likewise.
10364 * string/test-strchr-ifunc.c: Likewise.
10365 * string/test-strchrnul-ifunc.c: Likewise.
10366 * string/test-strcmp-ifunc.c: Likewise.
10367 * string/test-strcpy-ifunc.c: Likewise.
10368 * string/test-strcspn-ifunc.c: Likewise.
10369 * string/test-strlen-ifunc.c: Likewise.
10370 * string/test-strncasecmp-ifunc.c: Likewise.
10371 * string/test-strncat-ifunc.c: Likewise.
10372 * string/test-strncmp-ifunc.c: Likewise.
10373 * string/test-strncpy-ifunc.c: Likewise.
10374 * string/test-strnlen-ifunc.c: Likewise.
10375 * string/test-strpbrk-ifunc.c: Likewise.
10376 * string/test-strrchr-ifunc.c: Likewise.
10377 * string/test-strspn-ifunc.c: Likewise.
10378 * string/test-strstr-ifunc.c: Likewise.
10379
ab260039 103802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10381
10382 * benchtests/Makefile: Remove ifunc tests.
10383 * benchtests/bench-string.h: Define TEST_IFUNC.
10384 * benchtests/bench-bcopy-ifunc.c: Remove.
10385 * benchtests/bench-bzero-ifunc.c: Likewise.
10386 * benchtests/bench-memccpy-ifunc.c: Likewise.
10387 * benchtests/bench-memchr-ifunc.c: Likewise.
10388 * benchtests/bench-memcmp-ifunc.c: Likewise.
10389 * benchtests/bench-memcpy-ifunc.c: Likewise.
10390 * benchtests/bench-memmem-ifunc.c: Likewise.
10391 * benchtests/bench-memmove-ifunc.c: Likewise.
10392 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10393 * benchtests/bench-memrchr-ifunc.c: Likewise.
10394 * benchtests/bench-memset-ifunc.c: Likewise.
10395 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10396 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10397 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10398 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10399 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10400 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10401 * benchtests/bench-strcat-ifunc.c: Likewise.
10402 * benchtests/bench-strchr-ifunc.c: Likewise.
10403 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10404 * benchtests/bench-strcmp-ifunc.c: Likewise.
10405 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10406 * benchtests/bench-strcpy-ifunc.c: Likewise.
10407 * benchtests/bench-strcspn-ifunc.c: Likewise.
10408 * benchtests/bench-strlen-ifunc.c: Likewise.
10409 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10410 * benchtests/bench-strncat-ifunc.c: Likewise.
10411 * benchtests/bench-strncmp-ifunc.c: Likewise.
10412 * benchtests/bench-strncpy-ifunc.c: Likewise.
10413 * benchtests/bench-strnlen-ifunc.c: Likewise.
10414 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10415 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10416 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10417 * benchtests/bench-strspn-ifunc.c: Likewise.
10418 * benchtests/bench-strstr-ifunc.c: Likewise.
10419
104202013-11-26 Ondřej Bílka <neleai@seznam.cz>
10421
ab260039
OB
10422 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10423
d1d9eaf4 104242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10425
d1d9eaf4
OB
10426 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10427 * rt/aio.h: Likewise.
10428 * sysdeps/gnu/bits/utmp.h: Likewise.
10429 * sysdeps/gnu/bits/utmpx.h: Likewise.
10430 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10431 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10432 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10433 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10434 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10435 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10436 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10437 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10438 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10439 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10442 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10444 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10445 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10446 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10447 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10448 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10449 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10450 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10451 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10452 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10454 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10456 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10457 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10458 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10459 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10461 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10463 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10464 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10466 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10467 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10469 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10470 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10471 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10472
a7624ed9
CD
104732013-11-25 Carlos O'Donell <carlos@redhat.com>
10474
10475 [BZ #16245]
10476 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10477 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10478
63cfe52b
JM
104792013-11-25 Joseph Myers <joseph@codesourcery.com>
10480
10481 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10483 Likewise.
10484
41e8926a
AZ
104852013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10486
10487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10488 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10489 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10490 (__fesetround): Remove define.
10491 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10492 rounding and exceptions handling.
10493 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10494 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10495 (__fe_nomask_env): Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10497 __fegetround instead of fegetround.
10498 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10500
6851bd4d
RM
105012013-11-21 Roland McGrath <roland@hack.frob.com>
10502
070906ff
RM
10503 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10504 it's there.
10505
6851bd4d
RM
10506 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10507
84ae135d
MI
105082013-11-21 Meador Inge <meadori@codesourcery.com>
10509
10510 [BZ #11157]
10511 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10512 (encrypt_r): Likewise.
10513 * malloc/obstack.h (obstack_free): Likewise.
10514 * posix/unistd.h (encrypt): Likewise.
10515
daf75146
GM
105162013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10517
10518 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10519 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10520 DL_CALL_DT_FINI() that call the functions directly.
10521 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10522 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10523 * elf/dl-fini.c: Likewise.
10524
10ad46bc
OB
105252013-11-20 Ondřej Bílka <neleai@seznam.cz>
10526
10527 * malloc/hooks.c (memalign_check): Add alignment rounding.
10528 * malloc/malloc.c (_mid_memalign): New function.
10529 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10530 Implement by calling _mid_memalign.
10531 * manual/probes.texi (Memory Allocation Probes): Remove
10532 memory_valloc_retry and memory_pvalloc_retry.
10533
f3fd2628
SP
105342013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10535
4712799f
SP
10536 * locale/programs/locarchive.c (open_archive): Add const
10537 qualifier to ARCHIVEFNAME and copy default fname to
10538 DEFAULT_FNAME.
10539
0417b20f
SP
10540 [BZ #15601]
10541 * libio/tst-widetext.input: Rename Oriya to Odia.
10542 * locale/iso-639.def: Likewise.
10543
f3fd2628
SP
10544 * manual/probes.texi (Mathematical Function Probes): Add
10545 documentation for sin, cos, asin and acos probes.
10546 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10547 (__sin32): Add slowasin probe.
10548 (__cos32): Add slowacos probe.
10549 (__mpsin): Add slowsin probe.
10550 (__mpcos): Add slowcos probe.
10551
73c1ce4f
JM
105522013-11-19 Joseph Myers <joseph@codesourcery.com>
10553
10554 [BZ #15483]
10555 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10556 thread-local __sim_exceptions_thread and global
10557 __sim_exceptions_global.
10558 (__sim_disabled_exceptions): Change to thread-local
10559 __sim_disabled_exceptions_thread and global
10560 __sim_disabled_exceptions_global.
10561 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10562 and global __sim_round_mode_global.
10563 (__simulate_exceptions): Use thread-local floating-point state and
10564 set global state from it as needed.
10565 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10566 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10567 __sim_round_mode_thread.
10568 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10569 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10570 and global __sim_exceptions_global.
10571 (__sim_disabled_exceptions): Change to thread-local
10572 __sim_disabled_exceptions_thread and global
10573 __sim_disabled_exceptions_global.
10574 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10575 and global __sim_round_mode_global.
10576 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10577 (SIM_SET_GLOBAL): Likewise.
10578 * sysdeps/powerpc/soft-fp/sfp-machine.h
10579 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10580 __sim_round_mode_thread.
10581 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10582 __sim_disabled_exceptions_thread.
10583 (__sim_exceptions): Change to __sim_exceptions_thread.
10584 (__sim_disabled_exceptions): Change to
10585 __sim_disabled_exceptions_thread.
10586 (__sim_round_mode): Change to __sim_round_mode_thread.
10587 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10588 thread-local floating-point state and set global state from it as
10589 needed.
10590 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10591 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10592 (__sim_disabled_exceptions): Remove extern declaration.
10593 (feenableexcept): Use thread-local floating-point state and set
10594 global state from it as needed.
10595 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10596 extern declaration.
10597 (__sim_disabled_exceptions): Likewise.
10598 (__sim_round_mode): Likewise.
10599 (__fegetenv): Use thread-local floating-point state.
10600 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10601 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10602 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10603 floating-point state and set global state from it as needed.
10604 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10605 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10606 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10607 Likewise.
10608 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10609 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10610 Likewise.
10611 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10612 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10613 Use __sim_round_mode_thread.
10614 * math/test-fenv-tls.c: New file.
10615 * math/Makefile (tests): Add test-fenv-tls.
10616 ($(objpfx)test-fenv-tls): Depend on
10617 $(common-objpfx)nptl/libpthread.so.
10618
b5449b12
AS
106192013-11-19 Andreas Schwab <schwab@suse.de>
10620
10621 * locale/programs/locale.c (show_info): Decode wordarray elements.
10622 * locale/categories.def (LC_MONETARY): Add element for
10623 _NL_MONETARY_CRNCYSTR.
10624 * locale/C-monetary.c (conversion_rate): New variable.
10625 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10626 element.
10627
e186536b
CM
106282013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10629
10630 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10631 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10632
5c349950
PP
106332013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10634
10635 * elf/Makefile (tst-auxv): New test.
10636 * elf/tst-auxv.c: New
10637 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10638
699df45b
JM
106392013-11-18 Joseph Myers <joseph@codesourcery.com>
10640
10641 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10642 (hidden_proto): Caller changed.
10643 (hidden_tls_proto): New macro.
10644 (libc_hidden_tls_proto): Likewise.
10645 (rtld_hidden_tls_proto): Likewise.
10646 (libm_hidden_tls_proto): Likewise.
10647 (libresolv_hidden_tls_proto): Likewise.
10648 (librt_hidden_tls_proto): Likewise.
10649 (libdl_hidden_tls_proto): Likewise.
10650 (libnss_files_hidden_tls_proto): Likewise.
10651 (libnsl_hidden_tls_proto): Likewise.
10652 (libnss_nisplus_hidden_tls_proto): Likewise.
10653 (libutil_hidden_tls_proto): Likewise.
10654
b7589107
OB
106552013-11-18 Ondřej Bílka <neleai@seznam.cz>
10656
10657 [BZ #10253]
10658 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10659 (decompose_rpath): Defer expansion to fillin_rpath.
10660 (_dl_init_paths): Pass linkmap to fillin_rpath.
10661
250c23bd
RS
106622013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10663
10664 * benchtests/Makefile: Add strsep.
10665 * benchtests/bench-strsep.c: New file: strsep benchtest.
10666 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10667
a7931fcf
AS
106682013-11-18 Andreas Schwab <schwab@suse.de>
10669
10670 * locale/programs/locale.c (show_info) [case byte]: Check for
10671 '\377' instead of '\177'.
10672 * locale/C-monetary.c (not_available): Always use "\377".
10673 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10674 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10675 detect unavailable sign_posn locale elements.
10676 * locale/localeconv.c (__localeconv): For grouping and
10677 mon_grouping handle "\177" and "\377" like no grouping.
10678 (INT_ELEM): New macro. Use it to set all numeric members.
10679 * locale/programs/ld-monetary.c (monetary_read)
10680 <tok_mon_grouping>: Normalize single -1 to the empty string.
10681 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10682 Likewise.
10683
728dab0e
OB
106842013-11-07 Ondřej Bílka <neleai@seznam.cz>
10685
10686 [BZ #16055]
10687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10688 when we match (nil).
10689 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10690
66294491
JM
106912013-11-16 Joseph Myers <joseph@codesourcery.com>
10692
ce665817
JM
10693 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10694 (NO_TEST_INLINE): Update value.
10695 (ERRNO_UNCHANGED): Likewise.
10696 (ERRNO_EDOM): Likewise.
10697 (ERRNO_ERANGE): Likewise.
10698 (IGNORE_RESULT): Likewise.
10699 (check_float_internal): Check signs of NaN results if
10700 TEST_NAN_SIGN used.
10701 (check_complex): Pass TEST_NAN_SIGN flag through to second
10702 check_float_internal call.
10703 (copysign_test_data): Add tests with quiet NaNs as second
10704 argument. Use TEST_NAN_SIGN.
10705 (fabs_test_data): Add test of negative quiet NaN argument. Use
10706 TEST_NAN_SIGN.
10707 (signbit_test_data): Add tests of quiet NaN argument.
10708 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10709
ee1466a9
JM
10710 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10711 $ignore_result.
10712 (parse_args): Handle function results specified as IGNORE.
10713 * math/libm-test.inc (IGNORE_RESULT): New macro.
10714 (check_float_internal): Do not check numerical result if flag
10715 IGNORE_RESULT set.
10716 (check_complex): Pass through IGNORE_RESULT to second
10717 check_float_internal call.
10718 (check_int): Do not check numerical result if flag IGNORE_RESULT
10719 set.
10720 (check_long): Likewise.
10721 (check_bool): Likewise.
10722 (check_longlong): Likewise.
10723 (lrint_test_data): Add tests of infinite and NaN arguments.
10724 (lrint_tonearest_test_data): Likewise.
10725 (lrint_towardzero_test_data): Likewise.
10726 (lrint_downward_test_data): Likewise.
10727 (lrint_upward_test_data): Likewise.
10728 (llrint_test_data): Likewise.
10729 (llrint_tonearest_test_data): Likewise.
10730 (llrint_towardzero_test_data): Likewise.
10731 (llrint_downward_test_data): Likewise.
10732 (llrint_upward_test_data): Likewise.
10733 (lround_test_data): Likewise.
10734 (llround_test_data): Likewise.
10735
14407b7e
JM
10736 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10737 (ERRNO_UNCHANGED): Update value.
10738 (ERRNO_EDOM): Likewise.
10739 (ERRNO_ERANGE): Likewise.
10740 (NO_TEST_INLINE_FLOAT): New macro.
10741 (NO_TEST_INLINE_DOUBLE): Likewise.
10742 (enable_test): New function.
10743 (RUN_TEST_f_f): Check enable_test before running test.
10744 (RUN_TEST_2_f): Likewise.
10745 (RUN_TEST_fff_f): Likewise.
10746 (RUN_TEST_c_f): Likewise.
10747 (RUN_TEST_f_f1): Likewise.
10748 (RUN_TEST_fF_f1): Likewise.
10749 (RUN_TEST_fI_f1): Likewise.
10750 (RUN_TEST_ffI_f1): Likewise.
10751 (RUN_TEST_c_c): Likewise.
10752 (RUN_TEST_cc_c): Likewise.
10753 (RUN_TEST_f_i): Likewise.
10754 (RUN_TEST_f_i_tg): Likewise.
10755 (RUN_TEST_ff_i_tg): Likewise.
10756 (RUN_TEST_f_b): Likewise.
10757 (RUN_TEST_f_b_tg): Likewise.
10758 (RUN_TEST_f_l): Likewise.
10759 (RUN_TEST_f_L): Likewise.
10760 (RUN_TEST_fFF_11): Likewise.
10761 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10762 conditionals.
10763 (cosh_test_data): Likewise.
10764 (exp_test_data): Likewise.
10765 (expm1_test_data): Likewise.
10766 (hypot_test_data): Likewise.
10767 (pow_test_data): Likewise.
10768 (sinh_test_data): Likewise.
10769 (tanh_test_data): Likewise.
10770 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10771 flags argument.
10772
ca07f197
JM
10773 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10774 tests with quiet NaN input and output.
10775 (acosh_test_data): Likewise.
10776 (asin_test_data): Likewise.
10777 (asinh_test_data): Likewise.
10778 (atan_test_data): Likewise.
10779 (atanh_test_data): Likewise.
10780 (atan2_test_data): Likewise.
10781 (cbrt_test_data): Likewise.
10782 (cos_test_data): Likewise.
10783 (cosh_test_data): Likewise.
10784 (erf_test_data): Likewise.
10785 (erfc_test_data): Likewise.
10786 (exp_test_data): Likewise.
10787 (exp10_test_data): Likewise.
10788 (exp2_test_data): Likewise.
10789 (expm1_test_data): Likewise.
10790 (hypot_test_data): Likewise.
10791 (j0_test_data): Likewise.
10792 (j1_test_data): Likewise.
10793 (jn_test_data): Likewise.
10794 (lgamma_test_data): Likewise.
10795 (log_test_data): Likewise.
10796 (log10_test_data): Likewise.
10797 (log1p_test_data): Likewise.
10798 (log2_test_data): Likewise.
10799 (pow_test_data): Likewise.
10800 (scalb_test_data): Likewise.
10801 (sin_test_data): Likewise.
10802 (sincos_test_data): Likewise.
10803 (sinh_test_data): Likewise.
10804 (tan_test_data): Likewise.
10805 (tanh_test_data): Likewise.
10806 (tgamma_test_data): Likewise.
10807 (y0_test_data): Likewise.
10808 (y1_test_data): Likewise.
10809 (yn_test_data): Likewise.
10810
66294491
JM
10811 [BZ #16167]
10812 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10813 argument being NaN and avoid computations with second argument in
10814 that case.
10815 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10816 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10817 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10818
1820b143
CL
108192013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10820
10821 * locale/iso-639.def: Add Chitwani Tharu (the).
10822
714bd261
AS
108232013-11-14 Andreas Schwab <schwab@suse.de>
10824
10825 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10826 word instead of empty string.
10827
7ab44563
AZ
108282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10829
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10831 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10833 (__fe_nomask_env): Likewise.
10834
e8470ea2
SE
108352013-11-13 Steve Ellcey <sellcey@mips.com>
10836
10837 * benchtests/bench-timing.h: Include time.h.
10838
17c1d9f0
L
108392013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10840
10841 [BZ #15997]
10842 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10843 to 3.4.0 for x32.
10844 * sysdeps/unix/sysv/linux/configure: Regenerated.
10845
9310c284
JM
108462013-11-13 Joseph Myers <joseph@codesourcery.com>
10847
10848 [BZ #16151]
10849 * stdlib/strtod_l.c (round_and_return): Do not consider
10850 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10851 exponent one less than half the least subnormal exponent.
10852 * stdlib/test-strtod-round-data: Add more tests.
10853 * stdlib/tst-strtod-round.c (tests): Regenerated.
10854
7a2ad8cf
AZ
108552013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10856
10857 [BZ #14143]
10858 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10859 (__fe_mask_env): Likewise.
10860 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10861 libm_hidden_proto and add function prototype.
10862 (__fe_mask_env): Add function prototype.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10864 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10866 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10868 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10869
50727aa7
MS
108702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10871
b2f386c1 10872 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10873 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10874
a615be46
MS
108752013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10876
10877 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10878 of htab_find_slot().
10879
7ddace62
DM
108802013-11-11 David S. Miller <davem@davemloft.net>
10881
10882 [BZ #16150]
10883 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10884 symbol in the non-vis3 case in static builds.
10885 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10886 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10887 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10888 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10889
9182aa67
JK
108902013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10891
10892 [BZ #387]
10893 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10894 it is empty.
10895
450a2e2d
AZ
108962013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10897
b2f386c1
SP
10898 * benchtests/Makefile: Add bench-strtod.
10899 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10900
8ec3f656
AS
109012013-11-11 Andreas Schwab <schwab@suse.de>
10902
10903 [BZ #16153]
10904 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10905 terminating NUL in key length.
10906
76a9b998
AZ
109072013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908
10909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10910 Add artificial ODP entry for vDSO symbol for PPC64.
10911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10912 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10913
e4368156
OB
109142013-11-07 Ondřej Bílka <neleai@seznam.cz>
10915
10916 [BZ #15374]
10917 * nss/getent.c (services_keys): Recognize services starting with digit.
10918
8d6bb57c
DM
109192013-11-06 David S. Miller <davem@davemloft.net>
10920
10921 [BZ #15985]
10922 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10923 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10924
e256c421
WN
109252013-11-06 Will Newton <will.newton@linaro.org>
10926
10927 * manual/memory.texi (Malloc Examples): Remove register
10928 keyword from examples.
10929
f6e12daa 109302013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10931
f6e12daa 10932 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10933
9d880655
AS
109342013-11-04 Joseph Myers <joseph@codesourcery.com>
10935
fd2f9486 10936 [BZ #6981]
9d880655
AS
10937 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10938 depending on [__GCC_IEC_559 > 0].
10939 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10940 depending on [__GCC_IEC_559_COMPLEX > 0].
10941
ae129d3c
CL
109422013-11-03 Chris Leonard <cjl@sugarlabs.org>
10943
10944 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10945 to iso-639.def.
10946
4a15c2a4 109472013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10948
10949 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10950
8b35e35d
OB
109512013-11-01 Ondřej Bílka <neleai@seznam.cz>
10952
10953 [BZ #16112]
10954 * malloc/malloc (malloc_info): Do not handle first bin as
10955 special case.
10956
1d70fd6c
CL
109572013-11-01 Chris Leonard <cjl@sugarlabs.org>
10958
10959 * locale/iso-639.def: Add Central Nahuatl (nhn).
10960
8c5c2600
BH
109612013-11-01 Bruno Haible <bruno@clisp.org>
10962
10963 [BZ #7003]
10964 * manual/math.texi (BSD Random): Specify range upper bound as
10965 in POSIX.
10966
da5579c2
CL
109672013-10-31 Chris Leonard <cjl@sugarlabs.org>
10968
10969 * locale/iso-639.def: Add Meadow Mari (mhr).
10970
5d30d853
OB
109712013-10-31 Ondřej Bílka <neleai@seznam.cz>
10972
10973 [BZ #14752], [BZ #15763]
10974 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10975 Validate name.
10976 * rt/tst_shm.c: Add test for escaping directory.
10977
a4966c61
AS
109782013-10-31 Andreas Schwab <schwab@suse.de>
10979
8a43e768 10980 [BZ #15917]
a4966c61
AS
10981 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10982 followed by 'x' as part of digit sequence.
10983 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10984
28d708c4
MAP
109852013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10986
10987 [BZ #16037]
10988 * configure.ac: allow GNU Make 4.0 and greater.
10989 * configure: Regenerated.
10990
a56ee40b
WN
109912013-10-30 Will Newton <will.newton@linaro.org>
10992
10993 [BZ #16038]
10994 * malloc/hooks.c (memalign_check): Limit alignment to the
10995 maximum representable power of two.
10996 * malloc/malloc.c (__libc_memalign): Likewise.
10997 * malloc/tst-memalign.c (do_test): Add test for very
10998 large alignment values.
10999 * malloc/tst-posix_memalign.c (do_test): Likewise.
11000
c6e4925d
OB
110012013-10-30 Ondřej Bílka <neleai@seznam.cz>
11002
11003 [BZ #11087]
11004 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11005 (munmap_chunk): Likewise.
11006 (mremap_chunk): Likewise.
11007
110082013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11009
8a43e768 11010 [BZ #15799]
bbea82f7
OB
11011 * stdlib/div.c (div): Remove obsolete code.
11012 * stdlib/ldiv.c (ldiv): Likewise.
11013 * stdlib/lldiv.c (lldiv): Likewise.
11014
977f4b31
SP
110152013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11016
11017 [BZ #16071]
11018 * nss/nss_files/files-XXX.c (get_contents_ret): New
11019 enumerator.
11020 (get_contents): New function.
11021 (internal_getent): Use it. Expand size of LINEBUFLEN.
11022
cb8a6dbd
MF
110232013-10-30 Mike Frysinger <vapier@gentoo.org>
11024
11025 * configure.in: Moved to ...
11026 * configure.ac: ... here. Change reference to configure.in
11027 to configure.ac.
11028 * sysdeps/arm/preconfigure.ac: ... here.
11029 configure.in to configure.ac.
11030 * sysdeps/gnu/configure.in: Moved to ...
11031 * sysdeps/gnu/configure.ac: ... here.
11032 * sysdeps/i386/configure.in: Moved to ...
11033 * sysdeps/i386/configure.ac: ... here.
11034 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11035 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11036 * sysdeps/mach/configure.in: Moved to ...
11037 * sysdeps/mach/configure.ac: ... here.
11038 * sysdeps/mach/hurd/configure.in: Moved to ...
11039 * sysdeps/mach/hurd/configure.ac: ... here.
11040 * sysdeps/powerpc/configure.in: Moved to ...
11041 * sysdeps/powerpc/configure.ac: ... here.
11042 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11043 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11044 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11045 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11046 * sysdeps/s390/s390-32/configure.in: Moved to ...
11047 * sysdeps/s390/s390-32/configure.ac: ... here.
11048 * sysdeps/s390/s390-64/configure.in: Moved to ...
11049 * sysdeps/s390/s390-64/configure.ac: ... here.
11050 * sysdeps/sh/configure.in: Moved to ...
11051 * sysdeps/sh/configure.ac: ... here.
11052 * sysdeps/sparc/configure.in: Moved to ...
11053 * sysdeps/sparc/configure.ac: ... here.
11054 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11055 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11056 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11057 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11058 * sysdeps/x86_64/configure.in: Moved to ...
11059 * sysdeps/x86_64/configure.ac: ... here.
11060 * sysdeps/x86_64/preconfigure.in: Moved to ...
11061 * sysdeps/x86_64/preconfigure.ac: ... here.
11062 * aclocal.m4: Change reference to configure.in to configure.ac.
11063 * config.h.in: Likewise.
11064 * manual/install.texi: Likewise.
11065 * manual/maint.texi: Likewise.
11066 * Makefile: Likewise.
11067 * malloc/Makefile: Likewise.
11068 * nscd/Makefile: Likewise.
11069 * Makeconfig: Change reference to configure.in and
11070 preconfigure.in to configure.ac and preconfigure.ac
11071 respectively.
11072 * INSTALL: Regenerated.
11073 * configure: Likewise.
11074 * sysdeps/gnu/configure: Likewise.
11075 * sysdeps/i386/configure: Likewise.
11076 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11077 * sysdeps/mach/configure: Likewise.
11078 * sysdeps/mach/hurd/configure: Likewise.
11079 * sysdeps/powerpc/configure: Likewise.
11080 * sysdeps/powerpc/powerpc32/configure: Likewise.
11081 * sysdeps/powerpc/powerpc64/configure: Likewise.
11082 * sysdeps/s390/s390-32/configure: Likewise.
11083 * sysdeps/s390/s390-64/configure: Likewise.
11084 * sysdeps/sh/configure: Likewise.
11085 * sysdeps/sparc/configure: Likewise.
11086 * sysdeps/unix/sysv/linux/configure: Likewise.
11087 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11088 * sysdeps/x86_64/configure: Likewise.
11089 * sysdeps/x86_64/preconfigure: Likewise.
11090
36a4953a
AS
110912013-10-29 Andreas Schwab <schwab@suse.de>
11092
11093 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11094
c79a1204
SP
110952013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11096
dfa1b402
SP
11097 * benchtests/pow-inputs: Add new inputs.
11098
54f73d9c
SP
11099 * benchtests/exp-inputs: Add new inputs.
11100
c79a1204
SP
11101 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11102 conditional check for return value.
11103 (__cos32): Likewise.
11104
67beb545 111052013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11106
11107 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11108 to provide a boost for large inputs with word alignment.
11109 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11110 implementation based on optimized PPC64 strcpy.
11111 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11112 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11113 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11114 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11115
151659f6
OB
111162013-10-25 Ondřej Bílka <neleai@seznam.cz>
11117
482a077e 11118 [BZ #2801]
151659f6
OB
11119 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11120
10b0f26b
OB
111212013-10-25 Ondřej Bílka <neleai@seznam.cz>
11122
11123 [BZ #14876]
11124 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11125 * time/tst-strptime.c (day_tests): Add testcase.
11126
ca42d35e
OB
111272013-10-25 Ondřej Bílka <neleai@seznam.cz>
11128
482a077e 11129 [BZ #14029]
ca42d35e
OB
11130 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11131
52e6d801
FB
111322013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11133
11134 [BZ #16074]
11135 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11136 MAP_FAILED on error.
11137
7cbcdb36
SP
111382013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11139
11140 [BZ #16072]
11141 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11142 heap for large requests.
11143
894f3f10
AM
111442013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11145
11146 [BZ #9954]
11147 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11148 result if the result has no associated interface.
11149 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11150 interface for all 127.X.Y.Z addresses.
11151
b85545a6
CL
111522013-10-24 Chris Leonard <cjl@sugarlabs.org>
11153
11154 * locale/iso-639.def: Add Ligurian (lij)
11155
d1f23d46
OB
111562013-10-21 Ondřej Bílka <neleai@seznam.cz>
11157
11158 [BZ #15825]
11159 * sunrpc/rpc_main.c: Document rpcgen -5.
11160
4db5b08f
MS
111612013-10-19 Michael Stahl <mstahl@redhat.com>
11162
11163 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11164
a471e96a
OB
111652013-10-19 Ondřej Bílka <neleai@seznam.cz>
11166
d1f23d46 11167 [BZ #10278]
a471e96a
OB
11168 * posix/glob.c: Match only directories when trailing slash is present.
11169 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11170 (main): Add testcase.
11171
45c30c61
OB
111722013-10-19 Ondřej Bílka <neleai@seznam.cz>
11173
11174 [BZ #15670]
11175 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11176
484c12fb
CD
111772013-10-18 Carlos O'Donell <carlos@redhat.com>
11178
3d7dc513
CD
11179 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11180 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11181 AUTH_DES and cindex for FIPS 140-2.
11182 (DES Encryption): Add cindex FIPS 46-3.
11183
484c12fb
CD
11184 * locale/locarchive.h (struct locarhandle): Add fname.
11185 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11186 if an optional argument was specified to --list-archive,
11187 otherwise NULL.
11188 * locale/programs/locarchive.c (show_archive_content): Take new
11189 argument fname and pass it via ah.fname to open_archive.
11190 * locale/programs/localedef.h: Update decl.
11191 (open_archive): If AH->fname is non-null, open that file
11192 rather than the default file name, and don't ignore ENOENT.
11193 (create_archive): Set AH.fname to NULL.
11194 (delete_locales_from_archive): Likewise.
11195 (add_locales_to_archive): Likewise.
11196 * locale/programs/locfile.c (write_all_categories): Likewise.
11197
3c8325fb
JM
111982013-10-18 Joseph Myers <joseph@codesourcery.com>
11199 Aldy Hernandez <aldyh@redhat.com>
11200
11201 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11202 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11203 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11204 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11205 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11206 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11207 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11208 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11209 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11210 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11211 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11212 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11213 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11214 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11215 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11216 Likewise.
11217 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11218 Likewise.
11219 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11220 Likewise.
11221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11222 Likewise.
11223 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11224 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11225 Likewise.
11226 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11227 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11228 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11229 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11230 Likewise.
11231 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11232 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11233 * sysdeps/powerpc/preconfigure: Likewise.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11235 Likewise.
11236 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11237 Replace contents of file by #include of <fenv_libc.h>.
11238 * sysdeps/powerpc/soft-fp/sfp-machine.h
11239 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11240 and <sys/prctl.h>.
11241 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11243 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11254 Allow copysignl PLT reference to be missing.
11255
5abe0682
RS
112562013-10-18 Richard Sandiford <richard@codesourcery.com>
11257 Joseph Myers <joseph@codesourcery.com
11258
11259 [BZ #15948]
11260 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11261 single character.
11262 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11263
c7738d08
SP
112642013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11265
11266 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11267 * elf/tst-tls1.c: Likewise.
11268 * elf/tst-tls10.h: Likewise.
11269 * elf/tst-tls14.c: Likewise.
11270 * elf/tst-tls2.c: Likewise.
11271 * elf/tst-tls3.c: Likewise.
11272 * elf/tst-tls4.c: Likewise.
11273 * elf/tst-tls5.c: Likewise.
11274 * elf/tst-tls6.c: Likewise.
11275 * elf/tst-tls7.c: Likewise.
11276 * elf/tst-tls8.c: Likewise.
11277 * elf/tst-tls9.c: Likewise.
11278 * elf/tst-tlsmod1.c: Likewise.
11279 * elf/tst-tlsmod13.c: Likewise.
11280 * elf/tst-tlsmod13a.c: Likewise.
11281 * elf/tst-tlsmod14a.c: Likewise.
11282 * elf/tst-tlsmod16a.c: Likewise.
11283 * elf/tst-tlsmod16b.c: Likewise.
11284 * elf/tst-tlsmod2.c: Likewise.
11285 * elf/tst-tlsmod3.c: Likewise.
11286 * elf/tst-tlsmod4.c: Likewise.
11287 * elf/tst-tlsmod5.c: Likewise.
11288 * elf/tst-tlsmod6.c: Likewise.
11289
0bfcf2c7
OB
112902013-10-18 Ondřej Bílka <neleai@seznam.cz>
11291
11292 [BZ #12486]
11293 * malloc/malloc.c: remove checks for statistics.
11294
264aad1e
OB
112952013-10-17 Ondřej Bílka <neleai@seznam.cz>
11296
11297 [BZ #15277]
11298 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11299 * inet/tst-network.c: Add testcase.
11300
b957ced8
AS
113012013-10-17 Andreas Schwab <schwab@suse.de>
11302
11303 [BZ #15218]
11304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11305 to determine canonical name.
11306
c5d5d574
OB
113072013-10-17 Ondřej Bílka <neleai@seznam.cz>
11308
11309 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11310 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11333 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11334 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11335 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11336 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11337 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11367
e5c2c2d0
JM
113682013-10-17 Joseph Myers <joseph@codesourcery.com>
11369
11370 [BZ #16041]
11371 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11372 make result into a quiet NaN.
11373
51ca9e29
JM
113742013-10-16 Joseph Myers <joseph@codesourcery.com>
11375
11376 * soft-fp/adddf3.c: Fix horizontal whitespace.
11377 * soft-fp/addsf3.c: Likewise.
11378 * soft-fp/addtf3.c: Likewise.
11379 * soft-fp/divdf3.c: Likewise.
11380 * soft-fp/divsf3.c: Likewise.
11381 * soft-fp/divtf3.c: Likewise.
11382 * soft-fp/double.h: Likewise.
11383 * soft-fp/eqdf2.c: Likewise.
11384 * soft-fp/eqsf2.c: Likewise.
11385 * soft-fp/eqtf2.c: Likewise.
11386 * soft-fp/extenddftf2.c: Likewise.
11387 * soft-fp/extended.h: Likewise.
11388 * soft-fp/extendsfdf2.c: Likewise.
11389 * soft-fp/extendsftf2.c: Likewise.
11390 * soft-fp/extendxftf2.c: Likewise.
11391 * soft-fp/fixdfdi.c: Likewise.
11392 * soft-fp/fixdfsi.c: Likewise.
11393 * soft-fp/fixdfti.c: Likewise.
11394 * soft-fp/fixsfdi.c: Likewise.
11395 * soft-fp/fixsfsi.c: Likewise.
11396 * soft-fp/fixsfti.c: Likewise.
11397 * soft-fp/fixtfdi.c: Likewise.
11398 * soft-fp/fixtfsi.c: Likewise.
11399 * soft-fp/fixtfti.c: Likewise.
11400 * soft-fp/fixunsdfdi.c: Likewise.
11401 * soft-fp/fixunsdfsi.c: Likewise.
11402 * soft-fp/fixunsdfti.c: Likewise.
11403 * soft-fp/fixunssfdi.c: Likewise.
11404 * soft-fp/fixunssfsi.c: Likewise.
11405 * soft-fp/fixunssfti.c: Likewise.
11406 * soft-fp/fixunstfdi.c: Likewise.
11407 * soft-fp/fixunstfsi.c: Likewise.
11408 * soft-fp/fixunstfti.c: Likewise.
11409 * soft-fp/floatdidf.c: Likewise.
11410 * soft-fp/floatdisf.c: Likewise.
11411 * soft-fp/floatditf.c: Likewise.
11412 * soft-fp/floatsidf.c: Likewise.
11413 * soft-fp/floatsisf.c: Likewise.
11414 * soft-fp/floatsitf.c: Likewise.
11415 * soft-fp/floattidf.c: Likewise.
11416 * soft-fp/floattisf.c: Likewise.
11417 * soft-fp/floattitf.c: Likewise.
11418 * soft-fp/floatundidf.c: Likewise.
11419 * soft-fp/floatundisf.c: Likewise.
11420 * soft-fp/floatunditf.c: Likewise.
11421 * soft-fp/floatunsidf.c: Likewise.
11422 * soft-fp/floatunsisf.c: Likewise.
11423 * soft-fp/floatunsitf.c: Likewise.
11424 * soft-fp/floatuntidf.c: Likewise.
11425 * soft-fp/floatuntisf.c: Likewise.
11426 * soft-fp/floatuntitf.c: Likewise.
11427 * soft-fp/fmadf4.c: Likewise.
11428 * soft-fp/fmasf4.c: Likewise.
11429 * soft-fp/fmatf4.c: Likewise.
11430 * soft-fp/gedf2.c: Likewise.
11431 * soft-fp/gesf2.c: Likewise.
11432 * soft-fp/getf2.c: Likewise.
11433 * soft-fp/ledf2.c: Likewise.
11434 * soft-fp/lesf2.c: Likewise.
11435 * soft-fp/letf2.c: Likewise.
11436 * soft-fp/muldf3.c: Likewise.
11437 * soft-fp/mulsf3.c: Likewise.
11438 * soft-fp/multf3.c: Likewise.
11439 * soft-fp/negdf2.c: Likewise.
11440 * soft-fp/negsf2.c: Likewise.
11441 * soft-fp/negtf2.c: Likewise.
11442 * soft-fp/op-1.h: Likewise.
11443 * soft-fp/op-2.h: Likewise.
11444 * soft-fp/op-4.h: Likewise.
11445 * soft-fp/op-8.h: Likewise.
11446 * soft-fp/op-common.h: Likewise.
11447 * soft-fp/quad.h: Likewise.
11448 * soft-fp/single.h: Likewise.
11449 * soft-fp/soft-fp.h: Likewise.
11450 * soft-fp/sqrtdf2.c: Likewise.
11451 * soft-fp/sqrtsf2.c: Likewise.
11452 * soft-fp/sqrttf2.c: Likewise.
11453 * soft-fp/subdf3.c: Likewise.
11454 * soft-fp/subsf3.c: Likewise.
11455 * soft-fp/subtf3.c: Likewise.
11456 * soft-fp/truncdfsf2.c: Likewise.
11457 * soft-fp/trunctfdf2.c: Likewise.
11458 * soft-fp/trunctfsf2.c: Likewise.
11459 * soft-fp/trunctfxf2.c: Likewise.
11460 * soft-fp/unorddf2.c: Likewise.
11461 * soft-fp/unordsf2.c: Likewise.
11462 * soft-fp/unordtf2.c: Likewise.
11463
9ebb0332
JM
114642013-10-15 Joseph Myers <joseph@codesourcery.com>
11465
11466 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11467 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11468
4b1a6d8b
OB
114692013-10-15 Ondřej Bílka <neleai@seznam.cz>
11470
11471 * elf/dl-libc.c: Clear initfini list after freeing.
11472
1e145589
JM
114732013-10-14 Joseph Myers <joseph@codesourcery.com>
11474
11475 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11476 * soft-fp/addsf3.c: Likewise.
11477 * soft-fp/addtf3.c: Likewise.
11478 * soft-fp/divdf3.c: Likewise.
11479 * soft-fp/divsf3.c: Likewise.
11480 * soft-fp/divtf3.c: Likewise.
11481 * soft-fp/double.h: Likewise.
11482 * soft-fp/eqdf2.c: Likewise.
11483 * soft-fp/eqsf2.c: Likewise.
11484 * soft-fp/eqtf2.c: Likewise.
11485 * soft-fp/extenddftf2.c: Likewise.
11486 * soft-fp/extended.h: Likewise.
11487 * soft-fp/extendsfdf2.c: Likewise.
11488 * soft-fp/extendsftf2.c: Likewise.
11489 * soft-fp/extendxftf2.c: Likewise.
11490 * soft-fp/fixdfdi.c: Likewise.
11491 * soft-fp/fixdfsi.c: Likewise.
11492 * soft-fp/fixdfti.c: Likewise.
11493 * soft-fp/fixsfdi.c: Likewise.
11494 * soft-fp/fixsfsi.c: Likewise.
11495 * soft-fp/fixsfti.c: Likewise.
11496 * soft-fp/fixtfdi.c: Likewise.
11497 * soft-fp/fixtfsi.c: Likewise.
11498 * soft-fp/fixtfti.c: Likewise.
11499 * soft-fp/fixunsdfdi.c: Likewise.
11500 * soft-fp/fixunsdfsi.c: Likewise.
11501 * soft-fp/fixunsdfti.c: Likewise.
11502 * soft-fp/fixunssfdi.c: Likewise.
11503 * soft-fp/fixunssfsi.c: Likewise.
11504 * soft-fp/fixunssfti.c: Likewise.
11505 * soft-fp/fixunstfdi.c: Likewise.
11506 * soft-fp/fixunstfsi.c: Likewise.
11507 * soft-fp/fixunstfti.c: Likewise.
11508 * soft-fp/floatdidf.c: Likewise.
11509 * soft-fp/floatdisf.c: Likewise.
11510 * soft-fp/floatditf.c: Likewise.
11511 * soft-fp/floatsidf.c: Likewise.
11512 * soft-fp/floatsisf.c: Likewise.
11513 * soft-fp/floatsitf.c: Likewise.
11514 * soft-fp/floattidf.c: Likewise.
11515 * soft-fp/floattisf.c: Likewise.
11516 * soft-fp/floattitf.c: Likewise.
11517 * soft-fp/floatundidf.c: Likewise.
11518 * soft-fp/floatundisf.c: Likewise.
11519 * soft-fp/floatunsidf.c: Likewise.
11520 * soft-fp/floatunsisf.c: Likewise.
11521 * soft-fp/floatuntidf.c: Likewise.
11522 * soft-fp/floatuntisf.c: Likewise.
11523 * soft-fp/floatuntitf.c: Likewise.
11524 * soft-fp/fmadf4.c: Likewise.
11525 * soft-fp/fmasf4.c: Likewise.
11526 * soft-fp/fmatf4.c: Likewise.
11527 * soft-fp/gedf2.c: Likewise.
11528 * soft-fp/gesf2.c: Likewise.
11529 * soft-fp/getf2.c: Likewise.
11530 * soft-fp/ledf2.c: Likewise.
11531 * soft-fp/lesf2.c: Likewise.
11532 * soft-fp/letf2.c: Likewise.
11533 * soft-fp/muldf3.c: Likewise.
11534 * soft-fp/mulsf3.c: Likewise.
11535 * soft-fp/multf3.c: Likewise.
11536 * soft-fp/negdf2.c: Likewise.
11537 * soft-fp/negsf2.c: Likewise.
11538 * soft-fp/negtf2.c: Likewise.
11539 * soft-fp/op-1.h: Likewise.
11540 * soft-fp/op-2.h: Likewise.
11541 * soft-fp/op-4.h: Likewise.
11542 * soft-fp/op-8.h: Likewise.
11543 * soft-fp/op-common.h: Likewise.
11544 * soft-fp/quad.h: Likewise.
11545 * soft-fp/single.h: Likewise.
11546 * soft-fp/soft-fp.h: Likewise.
11547 * soft-fp/sqrtdf2.c: Likewise.
11548 * soft-fp/sqrtsf2.c: Likewise.
11549 * soft-fp/sqrttf2.c: Likewise.
11550 * soft-fp/subdf3.c: Likewise.
11551 * soft-fp/subsf3.c: Likewise.
11552 * soft-fp/subtf3.c: Likewise.
11553 * soft-fp/truncdfsf2.c: Likewise.
11554 * soft-fp/trunctfdf2.c: Likewise.
11555 * soft-fp/trunctfsf2.c: Likewise.
11556 * soft-fp/trunctfxf2.c: Likewise.
11557 * soft-fp/unorddf2.c: Likewise.
11558 * soft-fp/unordsf2.c: Likewise.
11559 * soft-fp/unordtf2.c: Likewise.
11560
17c48a60
OB
115612013-10-14 Ondřej Bílka <neleai@seznam.cz>
11562
11563 [BZ #15672]
11564 * misc/error.c (error_tail): Fix possible buffer overflow.
11565
cabba934
OB
115662013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11567
11568 [BZ #13028]
11569 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11570 address.
11571
94bf958a
PM
115722013-10-14 P. J. McDermott <pj@pehjota.net>
11573
11574 [BZ #832]
11575 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11576 testing pipefail option.
11577
71b4dea7
JM
115782013-10-12 Joseph Myers <joseph@codesourcery.com>
11579
11580 * soft-fp/double.h: Indent preprocessor directives inside #if.
11581 * soft-fp/extended.h: Likewise.
11582 * soft-fp/op-2.h: Likewise.
11583 * soft-fp/op-4.h: Likewise.
11584 * soft-fp/op-common.h: Likewise.
11585 * soft-fp/quad.h: Likewise.
11586 * soft-fp/single.h: Likewise.
11587 * soft-fp/soft-fp.h: Likewise.
11588
55602758
YC
115892013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11590
11591 * iconv/iconv_prog.c: Fix typos.
11592 * stdio-common/psiginfo-data.h: Likewise.
11593
9cd83302
RT
115942013-10-12 Reuben Thomas <rrt@sc3d.org>
11595
11596 [BZ #15764]
11597 * locale/setlocale.c: Fix typo.
11598
99fd9f47
JM
115992013-10-12 Joseph Myers <joseph@codesourcery.com>
11600
b7ea74f0
JM
11601 [BZ #16036]
11602 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11603 signaling NaN arguments.
11604 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11605 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11606
8a509447
JM
11607 [BZ #14910]
11608 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11609 unordered operands.
11610 * soft-fp/gesf2.c (__gesf2): Likewise.
11611 * soft-fp/getf2.c (__getf2): Likewise.
11612 * soft-fp/ledf2.c (__ledf2): Likewise.
11613 * soft-fp/lesf2.c (__lesf2): Likewise.
11614 * soft-fp/letf2.c (__letf2): Likewise.
11615
98998e9f
JM
11616 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11617 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11618 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11619 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11620 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11621 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11622 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11623 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11624 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11625 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11626 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11627 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11628 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11629 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11630 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11631 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11632 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11633 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11634 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11635 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11636 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11637 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11638 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11639 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11640 * soft-fp/floattidf.c (__floattidf): Likewise.
11641 * soft-fp/floattisf.c (__floattisf): Likewise.
11642 * soft-fp/floattitf.c (__floattitf): Likewise.
11643 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11644 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11645 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11646 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11647 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11648 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11649 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11650 * soft-fp/gesf2.c (__gesf2): Likewise.
11651 * soft-fp/getf2.c (__getf2): Likewise.
11652 * soft-fp/ledf2.c (__ledf2): Likewise.
11653 * soft-fp/lesf2.c (__lesf2): Likewise.
11654 * soft-fp/letf2.c (__letf2): Likewise.
11655
8edc4a11
JM
11656 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11657 Undefine and redefine.
11658 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11659 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11660 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11661 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11662 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11663 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11664 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11665 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11666 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11667 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11668 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11669 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11670 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11671 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11672 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11673
8399acaf
JM
11674 [BZ #16032]
11675 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11676 without decrementing exponent if mantissa >= that for the
11677 denominator, not >.
11678 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11679 denominator, not >. Decrement exponent in < case instead of
11680 incrementing in >= case.
11681 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11682 without decrementing exponent if mantissa >= that for the
11683 denominator, not >.
11684
99fd9f47
JM
11685 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11686 computing saturated result for unsigned overflow.
11687
10e1cf6b
SP
116882013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11689 Jeff Law <law@redhat.com>
11690
11691 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11692 (atan2Mp): Add systemtap probe marker.
11693 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11694 (__ieee754_log): Add systemtap probe marker.
11695 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11696 (atanMp): Add systemtap probe marker.
11697 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11698 (tanMp): Add systemtap probe marker.
11699 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11700 (__slowexp): Add systemtap probe marker.
11701 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11702 (__slowpow): Add systemtap probe marker.
11703 * manual/probes.texi: Document probes.
11704
3d110c7c
EB
117052013-10-11 Eric Biggers <ebiggers3@gmail.com>
11706
11707 [BZ #15362]
11708 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11709 written.
11710 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11711 written.
11712 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11713 written to buffer but not flushed.
11714 * libio/iofwrite_u.c: Likewise.
11715 * libio/iopadn.c: Return bytes returned even if EOF was
11716 encountered.
11717 * libio/iowpadn.c: Likewise.
11718 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11719 if _IO_padn does not write the whole buffer.
11720 [!COMPILE_WPRINTF] (PAD): Likewise.
11721
75b4202a
DM
117222013-10-10 David S. Miller <davem@davemloft.net>
11723
11724 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11725 directory block.
11726
6c6352e6
JM
117272013-10-10 Joseph Myers <joseph@codesourcery.com>
11728
33b853c3
JM
11729 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11730 instead of FSF address.
11731 * soft-fp/fixdfti.c: Likewise.
11732 * soft-fp/fixsfti.c: Likewise.
11733 * soft-fp/fixtfti.c: Likewise.
11734 * soft-fp/fixunsdfti.c: Likewise.
11735 * soft-fp/fixunssfti.c: Likewise.
11736 * soft-fp/fixunstfti.c: Likewise.
11737 * soft-fp/floattidf.c: Likewise.
11738 * soft-fp/floattisf.c: Likewise.
11739 * soft-fp/floattitf.c: Likewise.
11740 * soft-fp/floatuntidf.c: Likewise.
11741 * soft-fp/floatuntisf.c: Likewise.
11742 * soft-fp/floatuntitf.c: Likewise.
11743 * soft-fp/trunctfxf2.c: Likewise.
11744
6c6352e6
JM
11745 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11746 * soft-fp/fixdfti.c: Likewise.
11747 * soft-fp/fixsfti.c: Likewise.
11748 * soft-fp/fixtfti.c: Likewise.
11749 * soft-fp/fixunsdfti.c: Likewise.
11750 * soft-fp/fixunssfti.c: Likewise.
11751 * soft-fp/fixunstfti.c: Likewise.
11752 * soft-fp/floattidf.c: Likewise.
11753 * soft-fp/floattisf.c: Likewise.
11754 * soft-fp/floattitf.c: Likewise.
11755 * soft-fp/floatuntidf.c: Likewise.
11756 * soft-fp/floatuntisf.c: Likewise.
11757 * soft-fp/floatuntitf.c: Likewise.
11758 * soft-fp/trunctfxf2.c: Likewise.
11759
3bf78b71
DM
117602013-10-10 David S. Miller <davem@davemloft.net>
11761
11762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11763
6f10289e
JM
117642013-10-10 Joseph Myers <joseph@codsourcery.com>
11765
bd878fc0
JM
11766 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11767 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11768 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11769 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11770 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11771 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11772 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11773
6f10289e
JM
11774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11775 for NaNs before doing comparisons on argument.
11776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11777 Likewise.
11778
321e2684
WN
117792013-10-10 Will Newton <will.newton@linaro.org>
11780
11781 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11782 passed to _int_memalign does not overflow.
11783
40fefba1
TR
117842013-10-10 Torvald Riegel <triegel@redhat.com>
11785
11786 * scripts/bench.pl: Add include-sources directive.
11787 * benchtests/README: Update documentation.
11788
2ae21ed2
JM
117892013-10-10 Joseph Myers <joseph@codesourcery.com>
11790
dcc2dd3f
JM
11791 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11792 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11793 instead of FP_INIT_ROUNDMODE.
11794 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11795 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11796
2ae21ed2
JM
11797 [BZ #16034]
11798 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11799 copy class of input value.
11800 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11801 not handle exceptions.
11802 * soft-fp/negsf2.c (__negsf2): Likewise.
11803 * soft-fp/negtf2.c (__negtf2): Likewise.
11804 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11805
cb8f9562
JM
118062013-10-09 Joseph Myers <joseph@codesourcery.com>
11807
11808 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11809 semicolon. From Linux kernel.
11810
5b60c59d
AB
118112013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11812
11813 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11814
b86835ca
YC
118152013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11816
11817 [BZ #156]
11818 * manual/socket.texi: Added statement about buffer
11819 for gethostbyname2_r.
11820
e7044ea7
OB
118212013-10-08 Ondřej Bílka <neleai@seznam.cz>
11822
11823 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11824 Use .p2align directive instead, throughout.
11825 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11826 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11827 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11830 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11831 * sysdeps/x86_64/strchr.S: Likewise.
11832 * sysdeps/x86_64/strrchr.S: Likewise.
11833
09544cbc
SP
118342013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11835
88576635
SP
11836 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11837
e7b2d1dd
SP
11838 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11839
09544cbc
SP
11840 * sysdeps/generic/math_private.h (__mpsin1): Remove
11841 declaration.
11842 (__mpcos1): Likewise.
11843 (__mpsin): New argument __range_reduce.
11844 (__mpcos): Likewise.
11845 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11846 (slow): Use __mpsin and __mpcos.
11847 (slow1): Likewise.
11848 (slow2): Likewise.
11849 (sloww): Likewise.
11850 (sloww1): Likewise.
11851 (sloww2): Likewise.
11852 (bsloww): Likewise.
11853 (bsloww1): Likewise.
11854 (bsloww2): Likewise.
11855 (cslow2): Likewise.
11856 (csloww): Likewise.
11857 (csloww1): Likewise.
11858 (csloww2): Likewise.
11859 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11860 range_reduce. Merge in __mpsin1.
11861 (__mpcos): Likewise.
11862 (__mpsin1): Remove.
11863 (__mpcos1): Likewise.
11864
7602d070
JM
118652013-10-07 Joseph Myers <joseph@codesourcery.com>
11866
11867 * locale/loadlocale.c (_nl_intern_locale_data): Use
11868 LOCFILE_ALIGNED_P.
11869 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11870 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11871 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11872 obstack data is appropriately aligned.
11873 (obstack_int32_grow_fast): Likewise.
11874 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11875 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11876 (add_locale_uint32_array): Likewise.
11877
a357259b
SP
118782013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11879
11880 * benchtests/Makefile: Remove ARGLIST and RET variables.
11881 ($(objpfx)bench-%.c): Pass only function name to the script.
11882 * benchtests/README: Update documentation.
11883 * benchtests/acos-inputs: Add new directives.
11884 * benchtests/acosh-inputs: Likewise.
11885 * benchtests/asin-inputs: Likewise.
11886 * benchtests/asinh-inputs: Likewise.
11887 * benchtests/atan-inputs: Likewise.
11888 * benchtests/atanh-inputs: Likewise.
11889 * benchtests/cos-inputs: Likewise.
11890 * benchtests/cosh-inputs: Likewise.
11891 * benchtests/exp-inputs: Likewise.
11892 * benchtests/log-inputs: Likewise.
11893 * benchtests/pow-inputs: Likewise.
11894 * benchtests/rint-inputs: Likewise.
11895 * benchtests/sin-inputs: Likewise.
11896 * benchtests/sinh-inputs: Likewise.
11897 * benchtests/tan-inputs: Likewise.
11898 * benchtests/tanh-inputs: Likewise.
11899 * scripts/bench.pl: Add support for new directives.
11900
9ec1b13d
AM
119012013-10-07 Alan Modra <amodra@gmail.com>
11902
11903 * README: Fix careless merge.
11904
8b7d57cd
AM
119052013-10-05 Alan Modra <amodra@gmail.com>
11906
11907 * NEWS: Mention powerpc64le support and bugs fixed.
11908 * README: Both big-endian and little-endian powerpc64 supported.
11909
7b7bab13
ST
119102013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11911
57f41c40
AS
11912 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11913 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11914 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11915 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11916
d39baad1
RA
119172013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11918
11919 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11920 match prototype.
11921
cd78f7e7
JM
119222013-10-04 Joseph Myers <joseph@codesourcery.com>
11923
29d73d86
JM
11924 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11925 Move -mhard-float appending from
11926 ports/sysdeps/powerpc/powerpc32/Makefile.
11927 [$(with-fp) = yes] (ASFLAGS): Likewise.
11928 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11929 * sysdeps/powerpc/nofpu: Move directory from
11930 ports/sysdeps/powerpc/nofpu.
11931 * sysdeps/powerpc/soft-fp: Move directory from
11932 ports/sysdeps/powerpc/soft-fp.
11933 * sysdeps/powerpc/powerpc32/405: Move directory from
11934 ports/sysdeps/powerpc/powerpc32/405.
11935 * sysdeps/powerpc/powerpc32/440: Move directory from
11936 ports/sysdeps/powerpc/powerpc32/440.
11937 * sysdeps/powerpc/powerpc32/464: Move directory from
11938 ports/sysdeps/powerpc/powerpc32/464.
11939 * sysdeps/powerpc/powerpc32/476: Move directory from
11940 ports/sysdeps/powerpc/powerpc32/476.
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11944 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11951 * README: Update for powerpc-*-linux-gnu software floating point
11952 support in libc.
11953
e246b347
JM
11954 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11955 case to powerpc/powerpc32*.
11956 * sysdeps/unix/sysv/linux/configure: Regenerated.
11957
89c2003e
JM
11958 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11959 (_FPU_MASK_OM): Define as 0x04.
11960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11962 0x00c10080.
11963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11964 0x0000003c.
11965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11966
cd78f7e7
JM
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11968 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11969 getcontext_e500.
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11971 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11972 setcontext_e500.
11973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11975 and setcontext_e500.
11976
c755294d
CL
119772013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11978
11979 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11980
e16d221c
SP
119812013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11982
11983 * manual/threads.texi (Default Thread Attributes): Fix typo.
11984
215c7d43
WN
119852013-10-04 Will Newton <will.newton@linaro.org>
11986
11987 * malloc/Makefile: Add tst-memalign.
11988 * malloc/tst-memalign.c: New file.
11989
27d0461b
WN
11990 * malloc/tst-posix_memalign.c: Add comments.
11991 (do_test): Add comments and call free on all potentially
11992 allocated pointers. Add space after cast.
11993
1bc92709
WN
11994 * malloc/tst-pvalloc.c: Add comments.
11995 (do_test): Add comments and call free on all potentially
11996 allocated pointers. Remove duplicate check for NULL pointer.
11997 Add space after cast.
11998
66a9be9d
WN
11999 * malloc/tst-valloc.c: Add comments.
12000 (do_test): Add comments and call free on all potentially
12001 allocated pointers. Remove duplicate check for NULL pointer.
12002 Add space after cast.
12003
4cb81307
AM
120042013-10-04 Alan Modra <amodra@gmail.com>
12005
12006 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12007 Use stdint types in rather than __attribute__((mode())).
12008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12009
f8e3e9f3
AM
120102013-10-04 Alan Modra <amodra@gmail.com>
12011
12012 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12013 Correct handling of unaligned relocs for little-endian.
12014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12015
8f9ebb08
AM
120162013-10-04 Alan Modra <amodra@gmail.com>
12017
12018 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12019 * configure: Regenerate.
12020 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12021 * shlib-versions: Likewise.
12022
0edf96c2
AM
120232013-10-04 Alan Modra <amodra@gmail.com>
12024
12025 * string/tester.c (test_memrchr): Increment reported test cycle.
12026
e0f7a380
AM
120272013-10-04 Alan Modra <amodra@gmail.com>
12028
12029 * string/test-memcpy.c (do_one_test): When reporting errors, print
12030 string address and don't overrun end of string.
12031
466b0393
AM
120322013-10-04 Alan Modra <amodra@gmail.com>
12033
12034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12035 insrdi. Make better use of reg selection to speed exit slightly.
12036 Schedule entry path a little better. Remove useless "are we done"
12037 checks on entry to main loop. Handle wrapping around zero address.
12038 Correct main loop count. Handle single left-over word from main
12039 loop inline rather than by using loop_small. Remove extra word
12040 case in loop_small caused by wrong loop count. Add little-endian
12041 support.
12042 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12043 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12044 cache hint.
12045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12047 support. Avoid rlwimi.
12048 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12049
3be87c77
AM
120502013-10-04 Alan Modra <amodra@gmail.com>
12051
12052 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12053 insrdi. Formatting.
3be87c77
AM
12054 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12055 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12056 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12057 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12058 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12059 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12060
759cfef3
AM
120612013-10-04 Alan Modra <amodra@gmail.com>
12062
12063 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12065 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12067 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12068 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12069 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12071 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12072 use of regs. Use power7 mtocrf. Tidy function tails.
12073
fe6e95d7
AM
120742013-10-04 Alan Modra <amodra@gmail.com>
12075
12076 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12077 Formatting. Consistently use rXXX register defines or rN defines.
12078 Use early exit labels that avoid restoring unused non-volatile regs.
12079 Make cr field use more consistent with rWORDn compares. Rename
12080 regs used as shift registers for unaligned loop, using rN defines
12081 for short lifetime/multiple use regs.
12082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12084 addi 1,1,64 to pop stack frame. Simplify return value code.
12085 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12086
664318c3
AM
120872013-10-04 Alan Modra <amodra@gmail.com>
12088
12089 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12090 support. Correct typos, formatting. Optimize tail. Use insrdi
12091 rather than rlwimi.
12092 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12093 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12094 little-endian support. Correct typos.
12095 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12096 rather than rlwimi.
12097 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12098 in loop and entry code to keep "and." results.
12099 (strchr): Add little-endian support. Comment. Move cntlzd
12100 earlier in tail.
12101 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12102
43b84013
AM
121032013-10-04 Alan Modra <amodra@gmail.com>
12104
12105 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12106 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12107 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12108 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12109
8a7413f9
AM
121102013-10-04 Alan Modra <amodra@gmail.com>
12111
12112 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12113 (rTMP): Define as r11.
12114 (strcmp): Add little-endian support. Optimise tail.
12115 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12116 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12117 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12122
33ee81de
AM
121232013-10-04 Alan Modra <amodra@gmail.com>
12124
12125 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12126 little-endian support. Remove unnecessary "are we done" tests.
12127 Handle "s" wrapping around zero and extremely large "size".
12128 Correct main loop count. Handle single left-over word from main
12129 loop inline rather than by using small_loop. Correct comments.
12130 Delete "zero" tail, use "end_max" instead.
12131 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12132
db9b4570
AM
121332013-10-04 Alan Modra <amodra@gmail.com>
12134
12135 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12136 support. Don't branch over align.
12137 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12138 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12139 support. Rearrange tmp reg use to suit. Comment.
12140 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12141
f7c399cf
AM
121422013-10-04 Alan Modra <amodra@gmail.com>
12143
12144 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12145
0b2c2ace
AM
121462013-10-04 Alan Modra <amodra@gmail.com>
12147
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12149 conditional form of branch and link when obtaining pc.
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12151
02f04a6c
AM
121522013-10-04 Alan Modra <amodra@gmail.com>
12153
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12155 HIWORD/LOWORD.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12158
9b874b2f
AM
121592013-10-04 Alan Modra <amodra@gmail.com>
12160
12161 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12162 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12163 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12164 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12165 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12167 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12168 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12169 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12170 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12171
be1e5d31
AB
121722013-10-04 Anton Blanchard <anton@au1.ibm.com>
12173 Alistair Popple <alistair@ozlabs.au.ibm.com>
12174 Alan Modra <amodra@gmail.com>
12175
12176 [BZ #15723]
12177 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12179 _dl_hwcap access for little-endian.
12180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12181 destroy vmx regs when saving unaligned.
12182 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12183 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12184 destroy vmx regs when saving unaligned.
12185
fef13a78
AM
121862013-10-04 Alan Modra <amodra@gmail.com>
12187
12188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12189 Don't use a union to pack hi/low value.
12190
76a66d51
AB
121912013-10-04 Anton Blanchard <anton@au1.ibm.com>
12192
12193 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12194 for little-endian.
12195 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12197 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12198 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12199 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12200
6a31fe7f
AM
122012013-10-04 Alan Modra <amodra@gmail.com>
12202
12203 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12204 constants to usual value for .cst8 section, and remove redundant
12205 high address load.
12206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12207 constant for 0x1p52. Load little-endian words of double from
12208 correct stack offsets.
12209
7b88401f
AM
122102013-10-04 Alan Modra <amodra@gmail.com>
12211
12212 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12213 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12214 words of double from correct stack offsets.
12215 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12216 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12217 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12218 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12219 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12220 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12222 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12224 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12225 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12226 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12227 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12228 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12229 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12230 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12231 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12232
9c008155
AM
122332013-10-04 Alan Modra <amodra@gmail.com>
12234
12235 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12236 64-bit int/double union.
12237 (_FPU_SETCW): Likewise.
12238 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12239 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12240
da13146d
AM
122412013-10-04 Alan Modra <amodra@gmail.com>
12242
12243 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12244 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12245
603e8410
AM
122462013-10-04 Alan Modra <amodra@gmail.com>
12247
12248 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12249 use vector int constants.
12250 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12251
4a28b3ca
AB
122522013-10-04 Anton Blanchard <anton@au1.ibm.com>
12253
12254 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12255 array with long long.
12256 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12257 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12258 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12259 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12260 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12261 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12262 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12263 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12264 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12265 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12266 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12267 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12269
2ca85d2b
AB
122702013-10-04 Anton Blanchard <anton@au1.ibm.com>
12271
12272 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12273 (__signbit): Likewise. Correct for little-endian.
12274 (__signbitl): Call __signbit.
12275 (lrint): Correct for little-endian.
12276 (lrintf): Call lrint.
12277
62a728ae
AM
122782013-10-04 Alan Modra <amodra@gmail.com>
12279
12280 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12281 union 32-bit int array member with 64-bit int array.
12282 (t515, tm256): Double rather than long double.
12283 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12284
32c301df
AM
122852013-10-04 Alan Modra <amodra@gmail.com>
12286
12287 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12288 Delete.
12289 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12291 version of math_ldbl.h.
12292
650ef4bd
AM
122932013-10-04 Alan Modra <amodra@gmail.com>
12294
12295 [BZ #15734], [BZ #15735]
12296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12297 all uses of ieee875 long double macros and unions. Simplify test
12298 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12299 ldbl_extract_mantissa value for ix,iy exponents. Properly
12300 normalize after ldbl_extract_mantissa, and don't add hidden bit
12301 already handled. Don't treat low word of ieee854 mantissa like
12302 low word of IBM long double and mask off bit when testing for
12303 zero.
12304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12305 all uses of ieee875 long double macros and unions. Simplify tests
12306 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12307 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12308 two1022, instead use their values. Recognise that tests for large
12309 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12311 Rewrite all uses of ieee875 long double macros and unions. Simplify
12312 test for 0.0L and nan. Correct negation.
12313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12314 ieee875 long double macros and unions. Correct output for large
12315 magnitude x. Correct absolute value calculation.
12316 (__erfcl): Likewise.
12317 * math/libm-test.inc: Add tests for errors discovered in IBM long
12318 double versions of fmodl, remainderl, erfl and erfcl.
12319
765714ca
AM
123202013-10-04 Alan Modra <amodra@gmail.com>
12321
12322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12323 all uses of ieee854 long double macros and unions. Simplify tests
12324 for long doubles that are fully specified by the high double.
12325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12326 Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12328 Remove dead code too.
12329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12330 (__ieee754_ynl): Likewise.
12331 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12334 Remove dead code too.
12335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12339 Simplify.
12340 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12341 Simplify.
12342 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12345 Comment on variable precision.
12346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12348 Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12352 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12353 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12354
4ebd120c
AM
123552013-10-04 Alan Modra <amodra@gmail.com>
12356
12357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12359 all uses of ieee854 long double macros and unions.
12360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12365 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12366 Likewise.
12367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12373 Simplify sign and nan test too.
12374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12376 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12378 Likewise.
12379 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12380 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12381 Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12383 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12384 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12385 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12386 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12388
1b6adf88
AM
123892013-10-04 Alan Modra <amodra@gmail.com>
12390
12391 * stdio-common/printf_size.c (__printf_size): Don't use
12392 union ieee854_long_double in fpnum union.
12393 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12394 signbit macro to retrieve sign from long double.
12395 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12396 retrieve sign from long double.
12397 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12398 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12399 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12400 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12401 * math/test-misc.c (main): Don't use union ieee854_long_double.
12402
4cf69995
AM
124032013-10-04 Alan Modra <amodra@gmail.com>
12404
12405 [BZ #15680]
12406 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12407 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12408 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12409 calculation. Remove unnecessary test for denormal exponent.
12410 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12411 Correct handling of denormals. Avoid undefined shift behaviour.
12412 Correct normalisation of low mantissa when low double is denormal.
12413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12414 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12415 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12416 Correct normalisation of low mantissa. Test for overflow of high
12417 mantissa and normalise.
12418 (ldbl_nearbyint): Use more readable constant for two52.
12419 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12420 (__mpn_construct_long_double): Fix test for overflow of high
12421 mantissa and correct normalisation. Avoid undefined shift.
12422
9605ca6c
AM
124232013-10-04 Alan Modra <amodra@gmail.com>
12424
12425 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12426 (union ibm_extended_long_double): Define as an array of ieee754_double.
12427 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12428 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12429 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12430 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12434 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12438
975569d0
JM
124392013-10-03 Joseph Myers <joseph@codesourcery.com>
12440
d3d23756
JM
12441 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12442 page size instead of calling getpagesize.
12443
975569d0
JM
12444 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12445 (LOCFILE_ALIGN_MASK): Likewise.
12446 (LOCFILE_ALIGN_UP): Likewise.
12447 (LOCFILE_ALIGNED_P): Likewise.
12448 * locale/programs/ld-collate.c (collate_output): Use the new
12449 macros instead of __alignof__ (int32_t).
12450 * locale/weight.h (findidx): Likewise.
12451
b1fe1f2b
OB
124522013-10-03 Ondřej Bílka <neleai@seznam.cz>
12453
12454 [BZ #431]
12455 * manual/string.texi: Fix strncat and wcsncat.
12456
5f855e35
BM
124572013-10-03 Brooks Moses <bmoses@google.com>
12458
12459 [BZ #15915]
12460 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12461 * Makerules: ...here, and adjust associated comments.
12462
3cef6009
WN
124632013-10-02 Will Newton <will.newton@linaro.org>
12464
12465 * malloc/Makefile: Add tst-pvalloc.
12466 * malloc/tst-pvalloc.c: New file.
12467
7815420b
WN
124682013-10-02 Will Newton <will.newton@linaro.org>
12469
12470 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12471 improve test coverage.
12472
4868b204
WN
124732013-10-02 Will Newton <will.newton@linaro.org>
12474
12475 * malloc/Makefile: Add tst-posix_memalign.
12476 * malloc/tst-posix_memalign.c: New file.
12477
29c793b3
EB
124782013-10-01 Eric Blake <eblake@redhat.com>
12479
12480 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12481 Use __THROWNL rather than __THROW on static functions.
12482
fd967522
PM
124832013-09-30 Petr Machata <pmachata@redhat.com>
12484
12485 * elf/elf.h (R_AARCH64_ABS16): New macro.
12486 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12487 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12488 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12489 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12490 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12491 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12492 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12493 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12494 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12495 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12496 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12497 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12498 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12499 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12500 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12501 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12502 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12503 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12504 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12505 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12506 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12507 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12508 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12509 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12510 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12511 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12512 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12513 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12514 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12515 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12516 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12517 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12518 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12519 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12520 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12521 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12522 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12523 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12524 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12525 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12526 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12527 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12528 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12529 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12530 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12531 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12532 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12533 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12534 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12535 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12536 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12537 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12538 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12539 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12540 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12541 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12542 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12543 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12544 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12545 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12546 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12547 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12548 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12549 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12550 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12551 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12552 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12553 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12554 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12555 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12556 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12557 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12558 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12559 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12560 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12561 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12562 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12563 (R_AARCH64_TLSDESC_LDR): Likewise.
12564 (R_AARCH64_TLSDESC_ADD): Likewise.
12565 (R_AARCH64_TLSDESC_CALL): Likewise.
12566
b2179107
AS
125672013-09-30 Andreas Schwab <schwab@suse.de>
12568
12569 [BZ #15048]
12570 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12571 the nss database lookup.
12572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12574
47f28d0a
MF
125752013-09-28 Mike Frysinger <vapier@gentoo.org>
12576
12577 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12578
125792013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12580
12581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12582 ${Bash-specific parameter/pattern/string} parameter expansion.
12583 * sysdeps/unix/make-syscalls.sh: Likewise.
12584
f4518a17
KK
125852013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12586
12587 * sysdeps/sh/stackguard-macros.h: New file.
12588
dc1a95c7
OB
125892013-09-26 Ondřej Bílka <neleai@seznam.cz>
12590
12591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12593 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12596 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12597
5ebbff8f
AZ
125982013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599
12600 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12601 Fix thread ID register.
12602
4fd2cf9f
JM
126032013-09-25 Joseph Myers <joseph@codesourcery.com>
12604
12605 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12606 [POSIX || UNIX98]: Require rather than permitting all symbols from
12607 <time.h>.
12608 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12609 element of struct sched_param.
12610 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12611 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12612 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12613 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12614 constant.
12615
12c22bc4
OL
126162013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12617
12618 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12619 argument calculation.
12620
a03d8ea7
JM
126212013-09-24 Joseph Myers <joseph@codesourcery.com>
12622
12623 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12624 Expect macro.
12625 [POSIX] (pthread_attr_t): Do not require type.
12626 [POSIX] (pthread_cond_t): Likewise.
12627 [POSIX] (pthread_condattr_t): Likewise.
12628 [POSIX] (pthread_key_t): Likewise.
12629 [POSIX] (pthread_mutex_t): Likewise.
12630 [POSIX] (pthread_mutexattr_t): Likewise.
12631 [POSIX] (pthread_once_t): Likewise.
12632 [POSIX] (pthread_t): Likewise.
12633 [POSIX-based standards] (pthread_atfork): Expect function.
12634
6055173a
JM
126352013-09-24 Joseph Myers <joseph@codesourcery.com>
12636 Richard Sandiford <richard@codesourcery.com>
12637
12638 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12639 (swap_endianness_p): New extern variable.
12640 (set_big_endian): New inline function.
12641 (maybe_swap_uint32): Likewise.
12642 (maybe_swap_uint32_array): Likewise.
12643 (maybe_swap_uint32_obstack): Likewise.
12644 * locale/programs/locfile.c: Include <stdbool.h>.
12645 (swap_endianness_p): New variable.
12646 (add_locale_uint32): Call maybe_swap_uint32.
12647 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12648 (write_locale_data): Call maybe_swap_uint32_array.
12649 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12650 maybe_swap_uint32.
12651 (obstack_int32_grow_fast): Likewise.
12652 (output_weightwc): Call maybe_swap_uint32_obstack.
12653 (collate_output): Likewise.
12654 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12655 (OPT_LITTLE_ENDIAN): Likewise.
12656 (options): Add --little-endian and --big-endian options.
12657 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12658 * locale/programs/locarchive.c: Include "locfile.h".
12659 (GET): New macro.
12660 (SET): Likewise.
12661 (INC): Likewise.
12662 (create_archive): Use the new macros to access fields of
12663 structures directly mapped from or written to locale archives.
12664 (oldlocrecentcmp): Likewise.
12665 (enlarge_archive): Likewise.
12666 (insert_name): Likewise.
12667 (add_alias): Likewise.
12668 (add_locale): Likewise.
12669 (delete_locales_from_archive): Likewise.
12670 (show_archive_content): Likewise.
12671 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12672 locale data.
12673
39bf0bb4
RM
126742013-09-24 Roland McGrath <roland@hack.frob.com>
12675
12676 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12677 http://www.gnu.org/doc/freemanuals.texi.
12678 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12679
f02eed10
WN
126802013-09-24 Will Newton <will.newton@linaro.org>
12681
12682 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12683 macro.
12684
a3a6c312
JM
126852013-09-23 Joseph Myers <joseph@codesourcery.com>
12686
12687 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12688 unsigned char.
12689
107375ac
MR
126902013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12691
12692 * manual/threads.texi (POSIX Threads): Fix a typo.
12693
141f3a77
SP
126942013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12695
303e567a
SP
12696 [BZ #14547]
12697 * string/tst-strcoll-overflow.c: New test case.
12698 * string/Makefile (xtests): Add tst-strcoll-overflow.
12699 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12700 cache if string sizes may cause integer overflow.
12701
141f3a77
SP
12702 [BZ #14547]
12703 * string/strcoll_l.c (coll_seq): New members rule, idx,
12704 save_idx and back_us.
12705 (get_next_seq_nocache): New function.
12706 (do_compare_nocache): New function.
12707 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12708 when malloc fails.
12709
c61b4d41
CD
127102013-09-23 Carlos O'Donell <carlos@redhat.com>
12711
0b1f8e35
CD
12712 [BZ #15754]
12713 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12714 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12715 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12716
c61b4d41
CD
12717 [BZ #15754]
12718 * elf/Makefile (tests): Add tst-ptrguard1.
12719 (tests-static): Add tst-ptrguard1-static.
12720 (tst-ptrguard1-ARGS): Define.
12721 (tst-ptrguard1-static-ARGS): Define.
12722 * elf/tst-ptrguard1.c: New file.
12723 * elf/tst-ptrguard1-static.c: New file.
12724 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12725 * sysdeps/i386/stackguard-macros.h: Likewise.
12726 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12727 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12728 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12729 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12730 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12731 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12732
127332013-09-23 Hector Marco <hecmargi@upv.es>
12734 Ismael Ripoll <iripoll@disca.upv.es>
12735 Carlos O'Donell <carlos@redhat.com>
12736
12737 [BZ #15754]
12738 * sysdeps/generic/stackguard-macros.h: Define
12739 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12740 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12741 Define __pointer_chk_guard_local.
12742 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12743 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12744
f5f4e7b4
VV
127452013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12746
12747 [BZ #15859]
12748 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12749
5bb43a43
AS
127502013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12751
12752 * include/string.h (__ffs): Declare as hidden.
12753 * string/ffs.c (__ffs): Define as hidden.
12754 * sysdeps/i386/ffs.c (__ffs): Likewise.
12755 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12756 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12757 * sysdeps/s390/ffs.c (__ffs): Likewise.
12758 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12759
3ea5be54
AO
127602013-09-20 Alexandre Oliva <aoliva@redhat.com>
12761
ffb89e53
AO
12762 * NEWS: Mention malloc probes.
12763
322dea08
AO
12764 * malloc/arena.c (new_heap): New memory_heap_new probe.
12765 (grow_heap): New memory_heap_more probe.
12766 (shrink_heap): New memory_heap_less probe.
12767 (heap_trim): New memory_heap_free probe.
12768 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12769 (systrim): New memory_sbrk_less probe.
12770 * manual/probes.texi: Document them.
12771
655673f3
AO
12772 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12773 * manual/probes.texi: Document it.
12774
35fed6f1
AO
12775 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12776 (__libc_realloc): Add memory_realloc_retry probe.
12777 (__libc_memalign): Add memory_memalign_retry probe.
12778 (__libc_valloc): Add memory_valloc_retry probe.
12779 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12780 (__libc_calloc): Add memory_calloc_retry probe.
12781 * manual/probes.texi: Document them.
12782
6999d38c
AO
12783 * malloc/arena.c (get_free_list): Add probe
12784 memory_arena_reuse_free_list.
12785 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12786 and memory_arena_reuse.
12787 (arena_get2) [!PER_THREAD]: Likewise.
12788 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12789 memory_arena_reuse_realloc.
12790 * manual/probes.texi: Document them.
12791
0653427f
AO
12792 * malloc/malloc.c (__libc_free): Add
12793 memory_mallopt_free_dyn_thresholds probe.
12794 (__libc_mallopt): Add multiple memory_mallopt probes.
12795 * manual/probes.texi: Document them.
12796
3ea5be54
AO
12797 * malloc/malloc.c: Include stap-probe.h.
12798 (__libc_mallopt): Add memory_mallopt probe.
12799 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12800 * manual/probes.texi: New.
12801 * manual/Makefile (chapters): Add probes.
12802 * manual/threads.texi: Set next node.
12803
e35696c3 128042013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12805
e35696c3
CL
12806 [BZ #15963, #13985]
12807 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12808 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12809 Add `Chinese' to `nan' entry name.
12810
4aafb73c
SP
128112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12812
12813 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12814 (POLYNOMIAL): Likewise.
12815 (TAYLOR_SINCOS): Likewise.
12816 (TAYLOR_SLOW): Likewise.
12817 (__sin): Use TAYLOR_SINCOS.
12818 (__cos): Likewise.
12819 (slow): Use TAYLOR_SLOW.
12820 (sloww): Likewise.
12821 (bsloww): Likewise.
12822 (csloww): Likewise.
12823
d84f25c7
LD
128242013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12825
12826 * stdlib/strtod_l.c: Fix buffer overrun.
12827
5eea0404
SP
128282013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12829
7849ff93
SP
12830 * benchtests/Makefile (bench): Add sincos.
12831 * benchtests/bench-sincos.c: New file.
12832
cfa3c886
SP
12833 * math/libm-test.inc (cos_test_data): New test inputs.
12834 (sin_test_data): Likewise.
12835
b348e1e3
SP
12836 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12837 macro.
12838 (__sin): Use it.
12839 (__cos): Likewise.
12840 (slow1): Likewise.
12841 (slow2): Likewise.
12842 (sloww1): Likewise.
12843 (sloww2): Likewise.
12844 (bsloww1): Likewise.
12845 (bsloww2): Likewise.
12846 (cslow2): Likewise.
12847 (csloww1): Likewise.
12848 (csloww2): Likewise.
12849
6cce25f8
SP
12850 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12851 function.
12852 (__sin): Use it.
12853 (__cos): Likewise.
12854
5eea0404
SP
12855 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12856 gotos.
12857 (__cos): Likewise.
12858
9c21573c
MR
128592013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12860
12861 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12862 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12863 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12864 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12865 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12866 * elf/cache.c (print_entry): Handle the new cache flags.
12867
24d22e65
JM
128682013-09-18 Joseph Myers <joseph@codesourcery.com>
12869 Aldy Hernandez <aldyh@redhat.com>
12870
12871 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12872 Change condition to [_SOFT_FLOAT].
12873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12885 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12888 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12889 declaration.
12890
d13ef066
JM
128912013-09-18 Joseph Myers <joseph@codesourcery.com>
12892
2e071de0
JM
12893 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12894 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12895 (__longjmp): Use LOAD_GP to load saved GPRs.
12896 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12897 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12898 (__sigsetjmp): Use SAVE_GP to save GPRs.
12899
d13ef066
JM
12900 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12901 Do not append -msoft-float.
12902 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12903
97a0650b
SP
129042013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12905
12906 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12907
11ca09e9
JM
129082013-09-17 Joseph Myers <joseph@codesourcery.com>
12909
12910 [BZ #15966]
12911 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12912 (_FPU_GETCW): Use initial "__" on variable and field names but not
12913 on macro parameter name.
12914 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12915 parentheses around reference to macro parameter.
12916
08ffcf34
RS
129172013-09-13 Richard Sandiford <richard@codesourcery.com>
12918
12919 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12920 prototype.
12921 (ctype_startup): Use uint32_t in cast and sizeof for
12922 ctype->charnames.
12923
ae7080d3
JL
129242013-09-11 Jia Liu <proljc@gmail.com>
12925
12926 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12927 __daddr_t_defined.
12928 [__FreeBSD__]: Likewise.
12929
5905e7b3
OB
129302013-09-11 Ondřej Bílka <neleai@seznam.cz>
12931
12932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12933 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12934 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12935 (strchr): Remove __strchr_sse42 ifunc selection.
12936 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12937 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12938
b987c776
WN
129392013-09-11 Will Newton <will.newton@linaro.org>
12940
12941 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12942 parameter to RES. Remove hardcoded 1000 value.
12943 * benchtests/bench-skeleton.c (main): Pass RES parameter
12944 to TIMING_INIT and multiply result by 1000.
12945
ddf985af
AZ
129462013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12947
12948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12949
ffdd3181
AS
129502013-09-11 Andreas Schwab <schwab@suse.de>
12951
12952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12953 if not defined.
12954 (O_TMPFILE) [__USE_GNU]: Define.
12955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12956 Define.
12957
b73ed247
WN
129582013-09-11 Will Newton <will.newton@linaro.org>
12959
12960 [BZ #15857]
12961 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12962 does not overflow.
12963
55e17aad
WN
129642013-09-11 Will Newton <will.newton@linaro.org>
12965
12966 [BZ #15856]
12967 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12968 does not overflow.
12969
1159a193
WN
129702013-09-11 Will Newton <will.newton@linaro.org>
12971
12972 [BZ #15855]
12973 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12974 does not overflow.
12975
5905e7b3 129762013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12977
12978 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12981 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12982 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12983
cdfc721b
AM
129842013-09-10 Allan McRae <allan@archlinux.org>
12985
aa04af00
AM
12986 [BZ #15748]
12987 * manual/arith.texi (Parsing of Floats): Clarify
12988 cross-reference.
12989
cdfc721b
AM
12990 [BZ #15849]
12991 * manual/install.texi (Running make install): Mention
12992 --enable-pt-chown.
12993 * INSTALL: Regenerated.
12994
95e7cf29
MR
129952013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12996
12997 * csu/init-first.c (_init): Remove the !SHARED condition around
12998 FPU control word initialization.
12999 * elf/dl-support.c (_dl_fpu_control): New variable.
13000 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13001 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13002 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13003 * math/test-fpucw-static.c: New file.
13004 * math/test-fpucw-ieee.c: New file.
13005 * math/test-fpucw-ieee-static.c: New file.
13006 * math/Makefile (tests): Add `test-fpucw-ieee' and
13007 `$(tests-static)'.
13008 (tests-static): New variable.
13009 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13010 dependency to...
13011 [($(build-shared),yes)]
13012 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13013 ... this.
13014 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13015 New dependency.
13016
83e43bf0
AM
130172013-09-09 Allan McRae <allan@archlinux.org>
13018
a9f5ce09
AM
13019 [BZ #15939]
13020 * manual/string.texi (Collation Functions): Fix typo in
13021 strcoll example.
13022 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13023
34829bc2
AM
13024 [BZ #15893]
13025 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13026
3932737d
AM
13027 [BZ #15892]
13028 * libio/memstream.c (open_memstream): Fix memory leak.
13029 * libio/wmemstream.c (open_wmemstream): Likewise.
13030
83e43bf0
AM
13031 [BZ #15895]
13032 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13033
0c66b8e9
WN
130342013-09-09 Will Newton <will.newton@linaro.org>
13035
13036 * malloc/Makefile: Add tst-realloc to tests.
13037 * malloc/tst-realloc.c: New file.
13038
f6b00fd1
AM
130392013-09-09 Allan McRae <allan@archlinux.org>
13040
13041 [BZ #15844]
13042 * COPYING: Update from GNU website to fix FSF address.
13043 * COPYING.LIB: Likewise.
13044
eec55e16
DM
130452013-09-06 David S. Miller <davem@davemloft.net>
13046
13047 * po/zh_TW.po: Update Chinese (traditional) translation from
13048 translation project.
13049
1ecbb381
RS
130502013-09-06 Richard Sandiford <richard@codesourcery.com>
13051 Joseph Myers <joseph@codesourcery.com>
13052
13053 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13054 "localeinfo.h".
13055 (obstack_chunk_alloc): New macro.
13056 (obstack_chunk_free): Likewise.
13057 (record_offset): New function.
13058 (init_locale_data): Likewise.
13059 (align_locale_data): Likewise.
13060 (add_locale_empty): Likewise.
13061 (add_locale_raw_data): Likewise.
13062 (add_locale_raw_obstack): Likewise.
13063 (add_locale_string): Likewise.
13064 (add_locale_wstring): Likewise.
13065 (add_locale_uint32): Likewise.
13066 (add_locale_uint32_array): Likewise.
13067 (add_locale_char): Likewise.
13068 (start_locale_structure): Likewise.
13069 (end_locale_structure): Likewise.
13070 (start_locale_prelude): Likewise.
13071 (end_locale_prelude): Likewise.
13072 (write_locale_data): Take locale_file structure rather than an
13073 iovec.
13074 * locale/programs/locfile.h: Include "obstack.h".
13075 (struct locale_file): Change to store locale file contents instead
13076 of header.
13077 (init_locale_data): New prototype.
13078 (align_locale_data): Likewise.
13079 (add_locale_empty): Likewise.
13080 (add_locale_raw_data): Likewise.
13081 (add_locale_raw_obstack): Likewise.
13082 (add_locale_string): Likewise.
13083 (add_locale_wstring): Likewise.
13084 (add_locale_uint32): Likewise.
13085 (add_locale_uint32_array): Likewise.
13086 (add_locale_char): Likewise.
13087 (start_locale_structure): Likewise.
13088 (end_locale_structure): Likewise.
13089 (start_locale_prelude): Likewise.
13090 (end_locale_prelude): Likewise.
13091 (write_locale_data): Update prototype.
13092 * locale/programs/3level.h (struct TABLE): Remove result field.
13093 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13094 Use new locale_file interface.
13095 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13096 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13097 * locale/programs/ld-address.c (address_output): Use new
13098 locale_file interface.
13099 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13100 NO_ADD_LOCALE.
13101 (collate_finish): Don't call collseq_table_finalize.
13102 (collate_output): Use new locale_file interface.
13103 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13104 in file.
13105 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13106 (TABLE): Move defines earlier in file.
13107 (ELEMENT): Likewise.
13108 (DEFAULT): Likewise.
13109 (wctrans_table_add): Move macro and inline function earlier in
13110 file.
13111 (struct wctype_table): Move type earlier in file.
13112 (add_locale_wctype_table): New static prototype.
13113 (struct locale_ctype_t): Use logical types instead of struct iovec
13114 pointers for members.
13115 (ctype_output): Use new locale_file interface.
13116 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13117 new locale_file interface.
13118 (allocate_arrays): Update for use of new locale_file interface.
13119 * locale/programs/ld-identification.c (identification_output): Use
13120 new locale_file interface.
13121 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13122 * locale/programs/ld-messages.c (messages_output): Likewise.
13123 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13124 * locale/programs/ld-name.c (name_output): Likewise.
13125 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13126 * locale/programs/ld-paper.c (paper_output): Likewise.
13127 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13128 * locale/programs/ld-time.c (time_output): Likewise.
13129
e029e2e5
AZ
131302013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13131
13132 * benchtests/Makefile: Add memrchr benchmark.
13133 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13134 benchmark as memrchr.
13135 * benchtests/bench-memrchr-ifunc.c: New file.
13136 * benchtests/bench-memrchr.c: New file.
13137
bbf6e8e4
WN
131382013-09-06 Will Newton <will.newton@linaro.org>
13139
13140 * benchtests/Makefile (string-bench): Add memcpy.
13141
6c82a2f8
CD
131422013-09-05 Carlos O'Donell <carlos@redhat.com>
13143 Cong Wang <amwang@redhat.com>
13144
e732c5f0 13145 [BZ #15850]
6c82a2f8
CD
13146 * sysdeps/unix/sysv/linux/bits/in.h
13147 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13148 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13149 before __USE_KERNEL_IPV6_DEFS uses.
13150 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13151 IPPROTO_BEETPH.
13152 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13153 sockaddr_in6, or ipv6_mreq.
13154
5430fc65
AZ
131552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13156
13157 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13158 memory access for final bytes in some large inputs.
13159 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13160
4660856c
AZ
131612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13162
13163 * string/test-memrchr.c: New file.
13164 * string/test-memrchr-ifunc.c: New file.
13165 * string/Makefile: Add new memrchr testcase.
13166
bb8ea713
MF
131672013-09-05 Mike Frysinger <vapier@gentoo.org>
13168
13169 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13170 fanotify_init returns EPERM.
13171
b92a20b5
JM
131722013-09-04 Joseph Myers <joseph@codesourcery.com>
13173
13174 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13175 errors.
13176 (top level): Treat second token from macro or constant entries for
13177 allowed headers as allowed.
13178 * include/complex.h: Condition internal declarations on
13179 [!_ISOMAC].
13180 * include/fenv.h: Condition include of <stdbool.h> and internal
13181 declarations on [!_ISOMAC].
7447ccd9
CL
13182
131832013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13184
3e181dda 13185 [BZ #15923]
7447ccd9
CL
13186 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13187
3f2e46a4
JM
131882013-09-04 Joseph Myers <joseph@codesourcery.com>
13189
13190 * configure.in (--enable-versioning): Remove configure option.
13191 (libc_cv_asm_symver_directive): Remove configure test.
13192 (libc_cv_ld_version_script_option): Likewise.
13193 (VERSIONING): Remove variable and AC_SUBST.
13194 (DO_VERSIONING): Remove AC_DEFINE.
13195 * configure: Regenerated.
13196 * config.h.in (DO_VERSIONING): Remove macro.
13197 * Makerules [$(versioning) = yes]: Change conditionals to
13198 [$(build-shared) = yes].
13199 * config.make.in (versioning): Remove variable.
13200 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13201 [$(build-shared) = yes].
13202 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13203 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13204 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13205 [$(build-shared) = yes].
13206 * extra-lib.mk [$(versioning) = yes]: Likewise.
13207 * hurd/Makefile [$(versioning) = yes]: Likewise.
13208 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13209 [SHARED].
13210 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13211 [SHARED].
13212 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13213 [SHARED && !NO_HIDDEN].
13214 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13215 [SHARED].
13216 [SHARED && DO_VERSIONING]: Likewise..
13217 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13218 [$(build-shared) = yes].
13219 * manual/install.texi (--disable-versioning): Remove
13220 documentation.
13221 * INSTALL: Regenerated.
13222 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13223 to [SHARED].
13224 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13225 [$(build-shared) = yes].
13226 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13227 * sysdeps/i386/i686/multiarch/strstr-c.c
13228 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13229 [SHARED && !NO_HIDDEN].
13230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13231 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13232 * sysdeps/powerpc/powerpc32/dl-machine.c
13233 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13234 * sysdeps/powerpc/powerpc32/sysdep.h
13235 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13236 to [SHARED && PIC && !NO_HIDDEN].
13237 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13238 conditional to [SHARED].
13239
44558701
WN
132402013-09-04 Will Newton <will.newton@linaro.org>
13241
13242 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13243 * benchtests/bench-string.h: Include bench-timing.h instead
13244 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13245 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13246 call to HP_TIMING_DIFF_INIT.
13247 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13248 instead of hp-timing.h macros.
13249 * benchtests/bench-memchr.c: Likewise.
13250 * benchtests/bench-memcmp.c: Likewise.
13251 * benchtests/bench-memcpy.c: Likewise.
13252 * benchtests/bench-memmem.c: Likewise.
13253 * benchtests/bench-memmove.c: Likewise.
13254 * benchtests/bench-memset.c: Likewise.
13255 * benchtests/bench-rawmemchr.c: Likewise.
13256 * benchtests/bench-strcasecmp.c: Likewise.
13257 * benchtests/bench-strcasestr.c: Likewise.
13258 * benchtests/bench-strcat.c: Likewise.
13259 * benchtests/bench-strchr.c: Likewise.
13260 * benchtests/bench-strcmp.c: Likewise.
13261 * benchtests/bench-strcpy.c: Likewise.
13262 * benchtests/bench-strcpy_chk.c: Likewise.
13263 * benchtests/bench-strlen.c: Likewise.
13264 * benchtests/bench-strncasecmp.c: Likewise.
13265 * benchtests/bench-strncat.c: Likewise.
13266 * benchtests/bench-strncmp.c: Likewise.
13267 * benchtests/bench-strncpy.c: Likewise.
13268 * benchtests/bench-strnlen.c: Likewise.
13269 * benchtests/bench-strpbrk.c: Likewise.
13270 * benchtests/bench-strrchr.c: Likewise.
13271 * benchtests/bench-strspn.c: Likewise.
13272 * benchtests/bench-strstr.c: Likewise.
13273
cae16d66
WN
132742013-09-04 Will Newton <will.newton@linaro.org>
13275
13276 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13277
ffa3cd7f
JM
132782013-09-03 Joseph Myers <joseph@codesourcery.com>
13279
13280 [BZ #15427]
13281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13282 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13283 * math/libm-test.inc (lgamma_test_data): Add more tests.
13284 * sysdeps/i386/fpu/libm-test-ulps: Update.
13285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13286
8f02859f
OB
132872013-09-03 Ondřej Bílka <neleai@seznam.cz>
13288
13289 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13291 Add ifunc.
13292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13293 Add strcmp-sse2-unaligned
13294 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13295
18d43716
MF
132962013-09-02 Mike Frysinger <vapier@gentoo.org>
13297
13298 * Versions.def (libc): Add GLIBC_2.19.
13299
ac444012
MF
133002013-09-02 Mike Frysinger <vapier@gentoo.org>
13301
13302 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13303 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13304
b7835e32
JM
133052013-09-02 Joseph Myers <joseph@codesourcery.com>
13306
13307 [BZ #14155]
13308 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13309 intermediate calculations in recurrence.
13310 (__ieee754_ynf): Likewise.
13311 * math/libm-test.inc (jn_test_data): Do not allow spurious
13312 underflow exception. Add more tests.
13313 (yn_test_data): Add more tests.
13314 * sysdeps/i386/fpu/libm-test-ulps: Update.
13315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13316
8220f4f0
OB
133172013-09-02 Ondřej Bílka <neleai@seznam.cz>
13318
13319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13320
f24a6d08
OB
133212013-08-30 Ondřej Bílka <neleai@seznam.cz>
13322
13323 * csu/init-first.c: Fix then/than typos.
13324 * locale/programs/ld-collate.c: Likewise.
13325 * locale/programs/linereader.h: Likewise.
13326 * manual/charset.texi: Likewise.
13327 * manual/filesys.texi: Likewise.
13328 * manual/stdio.texi: Likewise.
13329 * manual/string.texi: Likewise.
13330 * stdlib/fmtmsg.c: Likewise.
13331 * sysdeps/i386/stpncpy.S: Likewise.
13332 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13333 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13334 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13335 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13336
382466e0
OB
133372013-08-30 Ondřej Bílka <neleai@seznam.cz>
13338
13339 * elf/dl-open.c: Fix typos.
13340 * iconvdata/gbbig5.c: Likewise.
13341 * iconvdata/iso-2022-jp.c: Likewise.
13342 * iconv/gconv_int.h: Likewise.
13343 * iconv/loop.c: Likewise.
13344 * nis/rpcsvc/nis.h: Likewise.
13345 * resolv/ns_name.c: Likewise.
13346 * stdio-common/vfscanf.c: Likewise.
13347 * streams/stropts.h: Likewise.
13348 * sunrpc/rpc_thread.c: Likewise.
13349 * sysdeps/i386/strpbrk.S: Likewise.
13350 * sysdeps/ieee754/k_standard.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13353 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13354 * sysdeps/mach/hurd/profil.c: Likewise.
13355 * sysdeps/s390/dl-procinfo.h: Likewise.
13356 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13357 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13359 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13361
0186c6e9
OB
133622013-08-30 Ondřej Bílka <neleai@seznam.cz>
13363
13364 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13366
d4e16af1
OB
133672013-08-29 Ondřej Bílka <neleai@seznam.cz>
13368
13369 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13370 aix specific files.
13371 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13374 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13375 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13377 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13378 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13379
88335980
TS
133802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13381 Roland McGrath <roland@hack.frob.com>
13382
13383 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13384 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13385
ed479b02
ST
133862013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13387
13388 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13389 __executable_start symbol instead of _start.
13390
f1cc4c86
TS
133912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13392
d821f07c
TS
13393 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13394 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13395 Move macros to...
13396 * sysdeps/gnu/ldsodefs.h: ... this new file.
13397
c54290cf
TS
13398 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13399 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13400 instead of ELFOSABI_LINUX.
13401
0007fc9b 13402 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13403 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13404 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13405 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13406 Likewise.
13407 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13408 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13410 Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13412 (ibm_extended_long_double): Add ieee_nan member.
13413 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13414 (do_test): New function.
13415
f1cc4c86
TS
13416 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13417 TEST_TRUNC.
13418 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13419 functions, renamed from truncdfsf_test, trunctfsf_test,
13420 trunctfdf_test.
13421 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13422 functions.
13423 (do_test): Run all these.
13424
6f65e668
OB
134252013-08-29 Ondřej Bílka <neleai@seznam.cz>
13426
13427 * argp/argp-help.c: Fix typos.
13428 * argp/argp-parse.c: Likewise.
13429 * debug/backtracesyms.c: Likewise.
13430 * elf/elf.h: Likewise.
13431 * malloc/malloc.c: Likewise.
13432 * nis/nis_print.c: Likewise.
13433 * resolv/res_comp.c: Likewise.
13434 * stdlib/stdlib.h: Likewise.
13435 * sunrpc/clnt_tcp.c: Likewise.
13436 * sunrpc/clnt_udp.c: Likewise.
13437 * sunrpc/clnt_unix.c: Likewise.
13438 * sysdeps/unix/bsd/ptsname.c: Likewise.
13439 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13442 Likewise.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13444 Likewise.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13446 Likewise.
6f65e668
OB
13447 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13448
3a309239
SP
134492013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13450
13451 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13453
3b813b29
MF
134542013-08-27 Mike Frysinger <vapier@gentoo.org>
13455
13456 [BZ #15897]
13457 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13458 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13459 ($(objpfx)bug-dl-leaf): New rule.
13460 ($(objpfx)bug-dl-leaf.so): Likewise.
13461 ($(objpfx)bug-dl-leaf.out): Likewise.
13462 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13463 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13464 * dlfcn/bug-dl-leaf.c: New test.
13465 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13466 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13467 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13468 (dlclose): Likewise.
13469 (dlmopen): Likewise.
13470
8cc3269f
RM
134712013-08-27 Roland McGrath <roland@hack.frob.com>
13472
7f9d0034
RM
13473 * include/netdb.h [!_ISOMAC]:
13474 Don't include <tls.h>.
13475 (h_errno, __libc_h_errno): Move declaration and macros out of
13476 [_LIBC_REENTRANT].
13477
fb431262
RM
13478 * include/resolv.h [_RESOLV_H_]:
13479 Don't include <tls.h>.
13480 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13481 * resolv/res_libc.c: Don't include <tls.h>.
13482 (_res): Use __attribute__ ((nocommon)) in place of
13483 __attribute__ ((section (".bss"))).
13484
bd81123a
RM
13485 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13486 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13487
c4e42566
RM
13488 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13489
f890a59b
RM
13490 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13491 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13492
13493 * resolv/res_mkquery.c: Include <sys/time.h>.
13494
5d1f0a09
RM
13495 * inet/ifreq.c: Moved to ...
13496 * sysdeps/unix/ifreq.c: ... here.
13497 * inet/ifreq.c: New file, true stub version.
13498
6fcf28b3
RM
13499 * socket/sa_len.c: New file.
13500 * socket/Makefile (aux): Add it.
13501 * sysdeps/unix/sysv/linux/Makefile
13502 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13503 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13504 and #include <socket/sa_len.c>.
13505 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13506 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13507
e041fb8b
RM
13508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13509 * bits/socket.h: ... here.
13510
8cc3269f
RM
13511 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13512 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13513 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13514
5d228a43
AS
135152013-08-27 Andreas Schwab <schwab@suse.de>
13516
45b8accc
AS
13517 [BZ #15736]
13518 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13519 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13520 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13521 * string/test-strcasecmp.c (test_main): Run tests in several
13522 locales.
13523 * string/test-strncasecmp.c (test_main): Likewise.
13524
5d228a43
AS
13525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13526 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13527 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13529 (__strncasecmp_ssse3) [PIC]: Likewise.
13530
59d112a4
RM
135312013-08-26 Roland McGrath <roland@hack.frob.com>
13532
53234cc3
RM
13533 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13534
59d112a4
RM
13535 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13536 instead of explicitly declaring xdecrypt.
13537 * nis/nss_nis/nis-publickey.c: Likewise.
13538
595aba70
SP
135392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13540
13541 [BZ #15890]
13542 * nscd/aicache.c: Include res_hconf.h.
13543 (addhstaiX): Initialize res_hconf.
13544
ffabd393
AS
135452013-08-26 Andreas Schwab <schwab@suse.de>
13546
13547 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13548 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13549
e0a69f5c
SP
135502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13551
13552 * nscd/aicache.c (addhstaiX): Fix indentation.
13553
8c12f01d
MF
135542013-08-25 Mike Frysinger <vapier@gentoo.org>
13555
13556 * configure.ac: Quote $build_pt_chown test.
13557 * configure: Regenerated.
13558
8fe89494
JM
135592013-08-23 Joseph Myers <joseph@codesourcery.com>
13560
13561 [BZ #15532]
13562 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13563 * math/s_cexpf.c (__cexpf): Likewise.
13564 * math/s_cexpl.c (__cexpl): Likewise.
13565 * math/libm-test.inc (cexp_test_data): Correct expected return
13566 value for NaN + i0. Add another test.
13567
75b181d6
DM
135682013-08-22 David S. Miller <davem@davemloft.net>
13569
13570 * po/ca.po: Update Catalan translation from translation project.
936241e4 13571 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13572
acd06bb1
JM
135732013-08-21 Joseph Myers <joseph@codesourcery.com>
13574
13575 [BZ #15797]
13576 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13577 is infinite, not alongside NaN test.
13578 * math/s_fdimf.c (__fdimf): Likewise.
13579 * math/s_fdiml.c (__fdiml): Likewise.
13580 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13581 errno is unchanged.
13582
c0c3f78a
OB
135832013-08-21 Ondřej Bílka <neleai@seznam.cz>
13584
13585 * argp/argp-help.c: Fix typos.
13586 * crypt/speeds.c: Likewise.
13587 * csu/check_fds.c: Likewise.
13588 * elf/dl-load.c: Likewise.
13589 * elf/dl-open.c: Likewise.
13590 * elf/reldep3.c: Likewise.
13591 * elf/reldep.c: Likewise.
13592 * elf/sprof.c: Likewise.
13593 * iconv/iconv_charmap.c: Likewise.
13594 * iconv/skeleton.c: Likewise.
13595 * iconv/strtab.c: Likewise.
13596 * io/lockf64.c: Likewise.
13597 * libio/libioP.h: Likewise.
13598 * resolv/gai_notify.c: Likewise.
13599 * resolv/ns_name.c: Likewise.
13600 * resolv/ns_samedomain.c: Likewise.
13601 * resolv/res_send.c: Likewise.
13602 * stdlib/random.c: Likewise.
13603 * sunrpc/rpc/xdr.h: Likewise.
13604 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13605 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13606 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13607 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13609 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13611 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13612 * sysdeps/mach/hurd/check_fds.c: Likewise.
13613 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13614 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13616 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13617 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13618 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13619 * sysdeps/pthread/aio_notify.c: Likewise.
13620 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13621 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13622 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13624 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13625
46ed1038
LD
136262013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13627
13628 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13629 version if bit_Slow_SSE4_2 is set.
13630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13632
d400dcac
AZ
136332013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13634
13635 [BZ #15867]
13636 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13637 trampoline stack frame information.
13638 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13639 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13640 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13641 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13642 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13643 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13644 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13645 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13646 sa_flags value.
13647 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13648 interrupting a syscall and set with option SA_SIGINFO.
13649
42c8fdd8
JM
136502013-08-20 Joseph Myers <joseph@codesourcery.com>
13651
c980f2f4
JM
13652 [BZ #15531]
13653 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13654 argument is infinite.
13655 * math/s_cprojf.c (__cprojf): Likewise.
13656 * math/s_cprojl.c (__cprojl): Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13658 * math/libm-test.inc (cproj_test_data): Add more tests.
13659
0716c4fc
JM
13660 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13661
42c8fdd8
JM
13662 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13663 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13664 size. Use __ffs to determine corresponding shift.
13665
b31469d0
JM
136662013-08-20 Joseph Myers <joseph@codesourcery.com>
13667 Roland McGrath <roland@hack.frob.com>
13668
13669 * Makefile (INSTALL): Remove trailing blank lines from output of
13670 makeinfo.
13671
4e39af6e
AK
136722013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13673
13674 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13675 Align 32 bit compat elf_greg to 8 bytes.
13676
f315524e
AA
136772013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13678
13679 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13680
1326ba1a
SP
136812013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13682
13683 * string/strcoll_l.c (coll_seq): New structure.
13684 (get_next_seq_cached): New function.
13685 (get_next_seq): New function.
13686 (do_compare): New function.
13687 (STRCOLL): Use GNU style definition. Simplify implementation
13688 by using get_next_seq, get_next_seq_cached and do_compare.
13689
91ce4085
FW
136902013-08-16 Florian Weimer <fweimer@redhat.com>
13691
13692 [BZ #14699]
13693 CVE-2013-4237
13694 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13695 member.
13696 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13697 member.
13698 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13699 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13700 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13701 conditional.
13702 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13703 GETDENTS_64BIT_ALIGNED.
13704 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13705 * manual/filesys.texi (Reading/Closing Directory): Document
13706 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13707 strongly.
13708 * manual/conf.texi (Limits for Files): Add portability note to
13709 NAME_MAX, PATH_MAX.
13710 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13711
ca0a6bc4
AS
137122013-08-13 Andreas Schwab <schwab@suse.de>
13713
13714 [BZ #15749]
13715 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13716 of fabs.
13717 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13718 LDBL_MAX_EXP >= 16384]: Add tests for it.
13719
6c1fd795
DM
137202013-08-12 David S. Miller <davem@davemloft.net>
13721
13722 * version.h (RELEASE): Set to "development".
13723 (VERSION): Set to "2.18.90".
13724 * NEWS: Add 2.19 section.
13725
31ad488d
DM
137262013-08-03 David S. Miller <davem@davemloft.net>
13727
13728 * po/ko.po: Update Korean translation from translation project.
13729
db24e684
DM
137302013-08-01 David S. Miller <davem@davemloft.net>
13731
13732 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13733 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13734 Bilka.
13735
f723285b
DM
137362013-07-30 David S. Miller <davem@davemloft.net>
13737
13738 * po/fr.po: Update French translation from translation project.
13739
3cbc52db
DM
137402013-07-28 David S. Miller <davem@davemloft.net>
13741
30bbc0cc
DM
13742 * po/cs.po: Update Czech translation from translation project.
13743
3cbc52db
DM
13744 * po/sv.po: Update Swedish translation from translation project.
13745
d492e6d0
DM
137462013-07-27 David S. Miller <davem@davemloft.net>
13747
f1a7f492
DM
13748 * po/eo.po: Update Esperanto translation from translation project.
13749
90e62a4a
DM
13750 * po/vi.po: Update Vietnamese translation from translation project.
13751
d492e6d0
DM
13752 * po/de.po: Update German translation from translation project.
13753
d4baa62d
DM
137542013-07-26 David S. Miller <davem@davemloft.net>
13755
641aa7b4
DM
13756 * po/bg.po: Update Bulgarian translation from translation project.
13757
d4baa62d
DM
13758 * po/nl.po: Update Dutch translation from translation project.
13759 * po/pl.po: Update Polish translation from translation project.
13760 * po/ru.po: Update Russian translation from translation project.
13761
61a9dcb9
DM
137622013-07-24 David S. Miller <davem@davemloft.net>
13763
13764 * po/libc.pot: Update.
13765
7b1f8b58
AZ
137662013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13767
13768 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13769 variable page size.
13770 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13771 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13772 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13773
a8fc7a03
AK
137742013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13775
13776 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13777
e4608715
CD
137782013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13779 Andreas Schwab <schwab@suse.de>
13780 Roland McGrath <roland@hack.frob.com>
13781 Joseph Myers <joseph@codesourcery.com>
13782 Carlos O'Donell <carlos@redhat.com>
13783
13784 [BZ #15755]
13785 * config.h.in: Define HAVE_PT_CHOWN.
13786 * config.make.in (build-pt-chown): New variable.
13787 * configure.in (--enable-pt_chown): New configure option.
13788 * configure: Regenerate.
13789 * login/Makefile: Include Makeconfig. Build pt_chown only if
13790 build-pt-chown is enabled.
13791 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13792 pt_chown to fix pty ownership.
13793 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13794 CLOSE_ALL_FDS.
13795 * manual/install.texi (Configuring and compiling): Mention
13796 --enable-pt_chown. Add @findex for grantpt.
13797 * INSTALL: Regenerate.
13798
da2d62df
DM
137992013-07-20 David S. Miller <davem@davemloft.net>
13800
13801 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13802 difference between 32-bit and 64-bit.
13803
d7e06450
CD
138042013-07-15 Carlos O'Donell <carlos@redhat.com>
13805
13806 [BZ #15711]
13807 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13808 Avoid system header dependency with -ffreestanding.
13809 ($(objpfx)bits/syscall%d): Likewise.
13810
f959cfd7
DM
138112013-07-13 David S. Miller <davem@davemloft.net>
13812
13813 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13814 underflows from atanl/atan2l due to bug 15319.
13815 (casinh_test_data): Likewise.
13816
c61f8513
DM
138172013-07-07 David S. Miller <davem@davemloft.net>
13818
13819 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13820
72c90ed0
JA
138212013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13822
13823 * sysdeps/i386/fpu/libm-test-ulps: Update.
13824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825
52dfbe13
SP
138262013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13827
13828 * configure.in (--enable-lock-elision): Fix message text.
13829 * INSTALL: Regenerate.
13830 * configure: Regenerate.
13831
3f169543
AZ
138322013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13833
13834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13835
521c6785
AJ
138362013-07-03 Andreas Jaeger <aj@suse.de>
13837
13838 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13839 define.
13840 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13841 (ptrace_peeksiginfo_args): Add.
13842 (__ptrace_peeksiginfo_flags): Add.
13843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13846
d2cc15cb
AM
138472013-07-03 Allan McRae <allan@archlinux.org>
13848
13849 * sysdeps/i386/fpu/libm-test-ulps: Update.
13850
3aaeeca7
DM
138512013-07-02 David S. Miller <davem@davemloft.net>
13852
13853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13854
5314ed1a
MT
138552013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13856
13857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13858
67338156
JM
138592013-07-02 Joseph Myers <joseph@codesourcery.com>
13860
13861 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13863
1717da59
AK
138642013-07-02 Andi Kleen <ak@linux.intel.com>
13865
13866 * config.h.in (ENABLE_LOCK_ELISION): Add.
13867 * configure.in (--enable-lock-elision): Add option.
13868 * manual/install.texi: Document --enable lock elision.
13869 * configure: Regenerate
13870 * INSTALL: Regenerate.
13871
1c81621c
L
138722013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13873
13874 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13875 SSE4.2 strcasecmp for libc.a.
13876 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13877
77f01ab5
JM
138782013-07-02 Joseph Myers <joseph@codesourcery.com>
13879
13880 [BZ #13304]
13881 * soft-fp/op-common.h (_FP_FMA): New macro.
13882 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13883 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13884 (_FP_MUL_MEAT_1_imm): ... here.
13885 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13886 (_FP_MUL_MEAT_1_wide): ... here.
13887 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13888 (_FP_MUL_MEAT_1_hard): ... here.
13889 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13890 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13891 (_FP_MUL_MEAT_2_wide): ... here.
13892 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13893 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13894 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13895 (_FP_MUL_MEAT_2_gmp): ... here.
13896 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13897 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13898 (_FP_MUL_MEAT_4_wide): ... here.
13899 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13900 (_FP_MUL_MEAT_4_gmp): ... here.
13901 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13902 (_FP_WFRACBITS_DW_S): Likewise.
13903 (_FP_WFRACXBITS_DW_S): Likewise.
13904 (_FP_HIGHBIT_DW_S): Likewise.
13905 (FP_FMA_S): Likewise.
13906 (_FP_FRAC_HIGH_DW_S): Likewise.
13907 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13908 (_FP_WFRACBITS_DW_D): Likewise.
13909 (_FP_WFRACXBITS_DW_D): Likewise.
13910 (_FP_HIGHBIT_DW_D): Likewise.
13911 (FP_FMA_D): Likewise.
13912 (_FP_FRAC_HIGH_DW_D): Likewise.
13913 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13914 (_FP_WFRACBITS_DW_E): Likewise.
13915 (_FP_WFRACXBITS_DW_E): Likewise.
13916 (_FP_HIGHBIT_DW_E): Likewise.
13917 (FP_FMA_E): Likewise.
13918 (_FP_FRAC_HIGH_DW_E): Likewise.
13919 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13920 (_FP_WFRACBITS_DW_Q): Likewise.
13921 (_FP_WFRACXBITS_DW_Q): Likewise.
13922 (_FP_HIGHBIT_DW_Q): Likewise.
13923 (FP_FMA_Q): Likewise.
13924 (_FP_FRAC_HIGH_DW_Q): Likewise.
13925 * soft-fp/fmasf4.c: New file.
13926 * soft-fp/fmadf4.c: Likewise.
13927 * soft-fp/fmatf4.c: Likewise.
13928
6308fd9a
LD
139292013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13930
13931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13932 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13933 Silvermont.
13934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13935 macro.
13936 (index_Slow_SSE4_2): Likewise.
13937 (index_Prefer_PMINUB_for_stringop): Likewise.
13938 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13939 bit_Slow_SSE4_2 is set.
13940 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13941 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13942
89cd9569
RA
139432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13944
13945 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13946 rtld_global._dl_hwcap2.
13947 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13948 POWER8.
13949 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13950 POWER8 feature descriptions defined in _dl_hwcap2.
13951 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13952 string handling for POWER8 feature bits.
13953 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13954 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13955 _dl_powerpc_cap_flags.
13956 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13957 * sysdeps/powerpc/rtld-global-offsets.sym
13958 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13959 _dl_hwcap2 in the rtld_global_ro structure.
13960
1ae8bfe0
RA
139612013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13962
13963 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13964 hardware capabilities in support of AT_HWCAP2.
13965 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13966 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13967 GLRO(dl_hwcap2).
13968 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13969 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13970 explicitly the unknown a_type display mechanism is used.
13971 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13972 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13973 struct member.
13974 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13975 to macro prototype for AT_HWCAP2 support.
13976 * sysdeps/i386/dl-procinfo.h: Likewise.
13977 * sysdeps/s390/dl-procinfo.h: Likewise.
13978 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13979 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13980 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13981 return -1 for unknown a_type display fallback.
13982 * sysdeps/sparc/dl-procinfo.h: Likewise.
13983 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13984 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13985
8fbec010
JM
139862013-06-28 Joseph Myers <joseph@codesourcery.com>
13987
13988 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13989 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13990
0432680e
PY
139912013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13992
13993 [BZ #12492]
13994 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13995 mprotect making __stack_prot writable.
13996
ce61a2ad
NF
139972013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13998 Joseph Myers <joseph@codesourcery.com>
13999
14000 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14001 as being properly aligned.
14002
f91f1c0f
MR
140032013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14004
3d0f5d0c
MR
14005 * dlfcn/modstatic5.c: New file.
14006 * dlfcn/tststatic5.c: New file.
14007 * dlfcn/Makefile (tests): Add tststatic5.
14008 (tests-static): Likewise.
14009 (modules-names): Add modstatic5.
14010 (tststatic5-ENV): New variable.
14011 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14012
f91f1c0f
MR
14013 [BZ #15022]
14014 * elf/dl-support.c (_dl_main_map): New variable.
14015 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14016 (_dl_nns, _dl_load_adds): Set to 1.
14017 (_dl_initial_searchlist): Refer to _dl_main_map.
14018 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14019 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14020 call to _dl_get_origin.
14021 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14022 around call_map.
14023 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14024 * dlfcn/modstatic3.c: New file.
14025 * dlfcn/tststatic3.c: New file.
14026 * dlfcn/tststatic4.c: New file.
14027 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14028 (tests-static): Likewise.
14029 (modules-names): Add modstatic3.
14030 (tststatic3-ENV, tststatic4-ENV): New variables.
14031 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14032 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14033
cbe7d24b
JM
140342013-06-26 Joseph Myers <joseph@codesourcery.com>
14035
14036 * configure.in (CC): Require GCC version 4.4 or later.
14037 * configure: Regenerated.
14038 * manual/install.texi (Tools for Compilation): Update GCC version
14039 requirement.
14040 * INSTALL: Regenerated.
14041
11b8a0e1
LD
140422013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14043
14044 [BZ #15674]
bb5bb87c
L
14045 * string/test-memcmp.c (check2): New.
14046 (main): Call check2.
14047
11b8a0e1
LD
14048 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14049
b0037103
MR
140502013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14051
14052 [BZ #15022]
14053 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14054 over to...
14055 (dl_open_worker) [!SHARED]: ... here.
14056
c18c701d
RA
140572013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14058
14059 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14060
1d17fa5f
RH
140612013-06-25 Richard Henderson <rth@redhat.com>
14062
14063 * locale/programs/locarchive.c: Include <libc-internal.h>
14064
8fcb833a
JM
140652013-06-25 Joseph Myers <joseph@codesourcery.com>
14066
14067 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14068 trailing whitespace removed.
14069
17db6e8d
MF
140702013-06-24 Mike Frysinger <vapier@gentoo.org>
14071
14072 [BZ #10283]
17db6e8d
MF
14073 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14074 * locale/programs/locarchive.c: Include libc-mmap.h.
14075 (prepare_address_space): Take two new outputs (the mmap base and len).
14076 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14077 values.
14078 (create_archive): Declare new mmap base and len values for
14079 prepare_address_space, and store the result in ah.
14080 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14081 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14082 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14083 Declare new mmap base and len values for
14084 prepare_address_space, and store the result in new_ah.
14085 (open_archive): Declare new mmap base and len values for
14086 prepare_address_space, and store the result in ah.
14087 (close_archive): If ah->mmap_base is not NULL, use that and
14088 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14089 * sysdeps/generic/libc-mmap.h: New file.
14090
d605071e
MF
140912013-06-24 Mike Frysinger <vapier@gentoo.org>
14092
14093 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14094 (ALIGN_UP): Likewise.
14095 (PTR_ALIGN_DOWN): Likewise.
14096 (PTR_ALIGN_UP): Likewise.
14097
2f063a6e
RA
140982013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14099
14100 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14101 entry mapped to PPC_PLATFORM_POWER8.
14102 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14103 POWER8.
14104 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14105 (_dl_string_platform): Add case for exporting platform position for
14106 POWER8.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14108 search path to sysdeps/powerpc/powerpc32/power8 directory.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14110 search path to sysdeps/powerpc/powerpc64/power8 directory.
14111 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14112 power7 directories.
14113 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14114 power7 directories.
14115
a31ee4b3
SP
141162013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14117
a74ca98f
SP
14118 * INSTALL: Regenerate.
14119
a31ee4b3
SP
14120 * nscd/connections.c (nscd_init): Fix comment.
14121
695c378f
JM
141222013-06-22 Joseph Myers <joseph@codesourcery.com>
14123
d8412221
JM
14124 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14125
695c378f
JM
14126 [BZ #15667]
14127 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14128 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14129
d1d54715
MR
141302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14131
14132 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14133 DL_DST_REQ_STATIC.
14134 (DL_DST_REQ_STATIC): Remove macro.
14135
8fdda7af
JM
141362013-06-21 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #7006]
14139 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14140 with a shift of 0 bits.
14141
f3bc5e5a
MR
141422013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14143
14144 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14145 $(tststatic-ENV).
14146
be09e8c9
KK
141472013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14148
14149 [BZ #15655]
14150 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14151
85c2e611
AZ
141522013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14153
14154 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14155 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14156 accepts -fno-tree-loop-distribute-patterns.
14157 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14158 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14159 recursive call.
14160 * string/memset.c (memset): Likewise.
14161 * string/test-memmove.c (simple_memmove): Disable loop transformation
14162 to library calls.
14163 * string/test-memset.c (simple_memset): Likewise.
14164 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14165 * benchtests/bench-memset.c (simple_memset): Likewise.
14166 * configure: Regenerated.
14167
c91e0825
JM
141682013-06-20 Joseph Myers <joseph@codesourcery.com>
14169
b8c792af
JM
14170 * math/test-misc.c (main): Ignore fesetround failure when failures
14171 of subsequent rounding tests would be ignored.
14172
c91e0825
JM
14173 [BZ #15654]
14174 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14175 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14176 * math/fegetenv.c (__fegetenv): Return 0.
14177 * math/fegetexcept.c (fegetexcept): Return 0.
14178 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14179 FE_TONEAREST.
14180 * math/feholdexcpt.c (feholdexcept): Return 0.
14181 * math/fesetenv.c (__fesetenv): Return 0.
14182 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14183 argument FE_TONEAREST.
14184 * math/feupdateenv.c (__feupdateenv): Return 0.
14185 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14186
bfcacbde
RM
141872013-06-18 Roland McGrath <roland@hack.frob.com>
14188
14189 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14190 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14191 ($(objpfx)rtld-%.os rules): Use them.
14192
e55a9b25
AZ
141932013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14194
14195 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14196 fields.
14197
346d65b3
RM
141982013-06-17 Roland McGrath <roland@hack.frob.com>
14199
12086fb4
RM
14200 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14201 length of target pattern, then descending length of dependency pattern.
14202 * configure.in (AWK): Require gawk 3.1.2 or newer.
14203 * manual/install.texi (Tools for Compilation): Say that we do.
14204 * configure: Regenerated.
14205
346d65b3
RM
14206 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14207 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14208 * scripts/sysd-rules.awk: ... this new script.
14209 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14210 than a glob-style pattern.
14211
1a846317
JM
142122013-06-17 Joseph Myers <joseph@codesourcery.com>
14213
14214 * math/test-misc.c (main): Do not treat incorrectly rounded
14215 conversions as failure unless ROUNDING_TESTS passes.
14216
8fc75e6f
JM
142172013-06-15 Joseph Myers <joseph@codesourcery.com>
14218
3711a167
JM
14219 [BZ #15631]
14220 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14221 restore exception state around main square root computation, then
14222 check for inexactness explicitly.
14223
8fc75e6f
JM
14224 * math/libm-test.inc (fma_test_data): Add another test.
14225
61dd6208
SP
142262013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14227
adf23d2c
SP
14228 * manual/threads.texi (Non-POSIX Extensions): New document
14229 node. Document pthread_getattr_default_np and
14230 pthread_setattr_default_np.
14231
61dd6208
SP
14232 * Versions.def (libpthread): Add GLIBC_2.18.
14233 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14235 Likewise.
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14237 Likewise.
14238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14239 Likewise.
14240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14241 Likewise.
14242 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14243 Likewise.
14244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14245 Likewise.
14246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14247 Likewise.
14248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14249 Likewise.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14251 Likewise.
14252
d086fc7b
LD
142532013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14254
14255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14256 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14257
747ef469
SP
142582013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14259 H.J. Lu <hjl.tools@gmail.com>
14260
14261 [BZ #15627]
14262 * sysdeps/x86_64/rtld-memset.c: Remove file.
14263 * sysdeps/x86_64/rtld-memset.S: New file.
14264
1b2feed2
JM
142652013-06-14 Joseph Myers <joseph@codesourcery.com>
14266
14267 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14268 (test_in_one_mode): Take arguments for whether the rounding mode
14269 is supported for each floating-point type.
14270 (do_test): Pass new arguments to test_in_one_mode using
14271 ROUNDING_TESTS.
14272
a58ad3f8
RM
142732013-06-13 Roland McGrath <roland@hack.frob.com>
14274
14275 * posix/tst-waitid.c (do_test): Distinguish different instances of
14276 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14277 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14278 before entering the kernel for waitpid.
14279
c204ab28
SP
142802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14281
14282 * NEWS: Fix note on clock function precision. Text by Roland
14283 McGrath.
14284
f4a29fba
RM
142852013-06-13 Roland McGrath <roland@hack.frob.com>
14286
14287 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14288 it into place only when and if the sanity check passes.
14289
1f24b9ad
JM
142902013-06-13 Joseph Myers <joseph@codesourcery.com>
14291
14292 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14293 output for whether conversion result is exact. Take argument
14294 indicating whether type is IBM long double.
14295 (round_for_all): Change need_exact field to ibm_ld.
14296 * stdlib/tst-strtod-round.c (struct exactness): New type.
14297 (struct test): Change bool ld_ok field to struct exactness exact.
14298 (TEST): Update all definitions for change to field.
14299 (tests): Regenerate array contents.
14300 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14301 field value. Check for IBM long double here.
14302 (do_test): Update calls to test_in_one_mode.
14303
58206c68
SP
143042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14305
14306 [BZ #12515]
14307 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14308 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14309
2d6f4c5b 143102013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14311
14312 [BZ #15605]
14313 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14314 generated by the compiler on loop optimizations.
14315 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14316 general definitions.
14317
94f2c076
JM
143182013-06-12 Joseph Myers <joseph@codesourcery.com>
14319
14320 * math/bug-nextafter.c: Include <math-tests.h>.
14321 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14322 the relevant type.
14323 * math/bug-nexttoward.c: Include <math-tests.h>.
14324 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14325 the relevant type.
14326 * math/test-misc.c: Include <math-tests.h>.
14327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14328 the relevant type.
14329
e0e50a0a
AJ
143302013-06-12 Andreas Jaeger <aj@suse.de>
14331
14332 * po/ia.po: Update Interlingua translation from translation
14333 project.
14334
25061094
SP
143352013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14336
14337 * include/fenv.h: Include stdbool.h.
14338 (struct rm_ctx): New structure.
14339 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14340 Define macro.
14341 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14342 (SET_RESTORE_ROUNDF): Likewise.
14343 (SET_RESTORE_ROUNDL): Likewise.
14344 (SET_RESTORE_ROUND_NOEX): Likewise.
14345 (SET_RESTORE_ROUND_NOEXF): Likewise.
14346 (SET_RESTORE_ROUND_NOEXL): Likewise.
14347 (SET_RESTORE_ROUND_53BIT): Likewise.
14348 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14349 (libc_feresetround_noexf_ctx): Likewise.
14350 (libc_feresetround_noexl_ctx): Likewise.
14351 (libc_feholdsetround_53bit_ctx): Likewise.
14352 (libc_feresetround_53bit_ctx): Likewise.
14353 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14354 (libc_feholdexcept_setround_sse_ctx): New function.
14355 (libc_fesetenv_sse_ctx): Likewise.
14356 (libc_feupdateenv_sse_ctx): Likewise.
14357 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14358 (libc_feholdexcept_setround_387_ctx): Likewise.
14359 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14360 (libc_feholdsetround_387_prec_ctx): Likewise.
14361 (libc_feholdsetround_387_ctx): Likewise.
14362 (libc_feholdsetround_387_53bit_ctx): Likewise.
14363 (libc_feholdsetround_sse_ctx): Likewise.
14364 (libc_feresetround_sse_ctx): Likewise.
14365 (libc_feresetround_387_ctx): Likewise.
14366 (libc_feupdateenv_387_ctx): Likewise.
14367 (libc_feholdexcept_setroundf_ctx): Define macro.
14368 (libc_fesetenvf_ctx): Likewise.
14369 (libc_feupdateenvf_ctx): Likewise.
14370 (libc_feholdsetroundf_ctx): Likewise.
14371 (libc_feresetroundf_ctx): Likewise.
14372 (libc_feholdexcept_setround_ctx): Likewise.
14373 (libc_fesetenv_ctx): Likewise.
14374 (libc_feupdateenv_ctx): Likewise.
14375 (libc_feholdsetround_ctx): Likewise.
14376 (libc_feresetround_ctx): Likewise.
14377 (libc_feholdexcept_setroundl_ctx): Likewise.
14378 (libc_feupdateenvl_ctx): Likewise.
14379 (libc_feholdsetroundl_ctx): Likewise.
14380 (libc_feresetroundl_ctx): Likewise.
14381 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14382 (libc_feresetround_53bit_ctx): Likewise.
14383
59b30555
SP
143842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14385
14386 * locale/iso-639.def: Convert to UTF-8.
14387
f1d73d30
JM
143882013-06-11 Joseph Myers <joseph@codesourcery.com>
14389
14390 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14391 (EXCEPTION_TESTS_double): Likewise.
14392 (EXCEPTION_TESTS_long_double): Likewise.
14393 (EXCEPTION_TESTS): Likewise.
14394 * math/libm-test.inc (test_exceptions): Only test exceptions if
14395 EXCEPTION_TESTS (FLOAT).
14396
94aca5e7
SP
143972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14398
14399 * benchtests/Makefile (string-bench): Add strcpy_chk and
14400 stpcpy_chk.
14401 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14402 * benchtests/bench-stpcpy_chk.c: New file.
14403 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14404 * benchtests/bench-strcpy_chk.c: New file.
14405 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14406 code.
14407 (do_test): Likewise.
14408
fac0c5f2
RA
144092013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14410
14411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14412 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14413 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14414 with tabs where appropriate.
14415 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14416 dl-procinfo.h.
14417 [PPC_PLATFORM_PPC440]: Likewise.
14418 [PPC_PLATFORM_PPC464]: Likewise.
14419 [PPC_PLATFORM_PPC476]: Likewise.
14420 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14421 ppc464, and ppc476 platform strings merging from ports/
14422 dl-procinfo.h.
14423
f22bc486
AS
144242013-06-11 Andreas Schwab <schwab@suse.de>
14425
14426 [BZ #14991]
14427 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14428 (from_ucs4_idx): Regenerate.
14429 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14430 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14431 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14432 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14433 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14434 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14435 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14436 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14437 from FROM_LOOP and TO_LOOP specific macros.
14438 (BODY): Handle combining characters.
14439 * iconvdata/BIG5HKSCS.irreversible: Update.
14440 * iconvdata/BIG5HKSCS.precomposed: New file.
14441 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14442 characters.
14443 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14444
c1f75dc3
SP
144452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14446
4eacded2
SP
14447 * include/sys/time.h: Fix indentation and add copyright header.
14448
fec799f8
SP
14449 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14450 (do_test): Likewise.
14451 * string/test-memchr.c (do_one_test): Likewise.
14452 (do_test): Likewise.
14453 * string/test-memcmp.c (do_one_test): Likewise.
14454 (do_test): Likewise.
14455 * string/test-memcpy.c (do_one_test): Likewise.
14456 (do_test): Likewise.
14457 * string/test-memmem.c (do_one_test): Likewise.
14458 (do_test): Likewise.
14459 (do_random_tests): Likewise.
14460 * string/test-memmove.c (do_one_test): Likewise.
14461 (do_test): Likewise.
14462 * string/test-memset.c (do_one_test): Likewise.
14463 (do_test): Likewise.
14464 * string/test-rawmemchr.c (do_one_test): Likewise.
14465 (do_test): Likewise.
14466 * string/test-strcasecmp.c (do_one_test): Likewise.
14467 (do_test): Likewise.
14468 * string/test-strcasestr.c (do_one_test): Likewise.
14469 (do_test): Likewise.
14470 * string/test-strcat.c (do_one_test): Likewise.
14471 (do_test): Likewise.
14472 * string/test-strchr.c (do_one_test): Likewise.
14473 (do_test): Likewise.
14474 * string/test-strcmp.c (do_one_test): Likewise.
14475 (do_test): Likewise.
14476 * string/test-strcpy.c (do_one_test): Likewise.
14477 (do_test): Likewise.
14478 * string/test-string.h: Likewise.
14479 (test_init): Likewise.
14480 * string/test-strlen.c (do_one_test): Likewise.
14481 (do_test): Likewise.
14482 * string/test-strncasecmp.c (do_one_test): Likewise.
14483 (do_test): Likewise.
14484 * string/test-strncat.c (do_one_test): Likewise.
14485 (do_test): Likewise.
14486 * string/test-strncmp.c (do_one_test): Likewise.
14487 (do_test_limit): Likewise.
14488 (do_test): Likewise.
14489 * string/test-strncpy.c (do_one_test): Likewise.
14490 (do_test): Likewise.
14491 * string/test-strnlen.c (do_one_test): Likewise.
14492 (do_test): Likewise.
14493 * string/test-strpbrk.c (do_one_test): Likewise.
14494 (do_test): Likewise.
14495 * string/test-strrchr.c (do_one_test): Likewise.
14496 (do_test): Likewise.
14497 * string/test-strspn.c (do_one_test): Likewise.
14498 (do_test): Likewise.
14499 * string/test-strstr.c (do_one_test): Likewise.
14500 (do_test): Likewise.
14501
97020474
SP
14502 * benchtests/Makefile (string-bench): Add string benchmarks.
14503 * benchtests/bench-bcopy-ifunc.c: New file.
14504 * benchtests/bench-bcopy.c: New file.
14505 * benchtests/bench-bzero-ifunc.c: New file.
14506 * benchtests/bench-bzero.c: New file.
14507 * benchtests/bench-memccpy-ifunc.c: New file.
14508 * benchtests/bench-memccpy.c: New file.
14509 * benchtests/bench-memchr-ifunc.c: New file.
14510 * benchtests/bench-memchr.c: New file.
14511 * benchtests/bench-memcmp-ifunc.c: New file.
14512 * benchtests/bench-memcmp.c: New file.
14513 * benchtests/bench-memmem-ifunc.c: New file.
14514 * benchtests/bench-memmem.c: New file.
14515 * benchtests/bench-memmove-ifunc.c: New file.
14516 * benchtests/bench-memmove.c: New file.
14517 * benchtests/bench-mempcpy-ifunc.c: New file.
14518 * benchtests/bench-mempcpy.c: New file.
14519 * benchtests/bench-memset-ifunc.c: New file.
14520 * benchtests/bench-memset.c: New file.
14521 * benchtests/bench-rawmemchr-ifunc.c: New file.
14522 * benchtests/bench-rawmemchr.c: New file.
14523 * benchtests/bench-stpcpy-ifunc.c: New file.
14524 * benchtests/bench-stpcpy.c: New file.
14525 * benchtests/bench-stpncpy-ifunc.c: New file.
14526 * benchtests/bench-stpncpy.c: New file.
14527 * benchtests/bench-strcasecmp-ifunc.c: New file.
14528 * benchtests/bench-strcasecmp.c: New file.
14529 * benchtests/bench-strcasestr-ifunc.c: New file.
14530 * benchtests/bench-strcasestr.c: New file.
14531 * benchtests/bench-strcat-ifunc.c: New file.
14532 * benchtests/bench-strcat.c: New file.
14533 * benchtests/bench-strchr-ifunc.c: New file.
14534 * benchtests/bench-strchr.c: New file.
14535 * benchtests/bench-strchrnul-ifunc.c: New file.
14536 * benchtests/bench-strchrnul.c: New file.
14537 * benchtests/bench-strcmp-ifunc.c: New file.
14538 * benchtests/bench-strcmp.c: New file.
14539 * benchtests/bench-strcpy-ifunc.c: New file.
14540 * benchtests/bench-strcpy.c: New file.
14541 * benchtests/bench-strcspn-ifunc.c: New file.
14542 * benchtests/bench-strcspn.c: New file.
14543 * benchtests/bench-strlen-ifunc.c: New file.
14544 * benchtests/bench-strlen.c: New file.
14545 * benchtests/bench-strncasecmp-ifunc.c: New file.
14546 * benchtests/bench-strncasecmp.c: New file.
14547 * benchtests/bench-strncat-ifunc.c: New file.
14548 * benchtests/bench-strncat.c: New file.
14549 * benchtests/bench-strncmp-ifunc.c: New file.
14550 * benchtests/bench-strncmp.c: New file.
14551 * benchtests/bench-strncpy-ifunc.c: New file.
14552 * benchtests/bench-strncpy.c: New file.
14553 * benchtests/bench-strnlen-ifunc.c: New file.
14554 * benchtests/bench-strnlen.c: New file.
14555 * benchtests/bench-strpbrk-ifunc.c: New file.
14556 * benchtests/bench-strpbrk.c: New file.
14557 * benchtests/bench-strrchr-ifunc.c: New file.
14558 * benchtests/bench-strrchr.c: New file.
14559 * benchtests/bench-strspn-ifunc.c: New file.
14560 * benchtests/bench-strspn.c: New file.
14561 * benchtests/bench-strstr-ifunc.c: New file.
14562 * benchtests/bench-strstr.c: New file.
14563
c1f75dc3
SP
14564 * benchtests/Makefile: Disable parallel execution of targets.
14565 (string-bench): Add memcpy.
14566 (benchset): New variable to store a list of benchmark sets.
14567 (bench-func): Renamed from bench.
14568 (bench-set): New target.
14569 (bench): Depend on bench-func and bench-set.
14570 * benchtests/README: Add section on benchmark sets.
14571 * benchtests/bench-memcpy-ifunc.c: New file.
14572 * benchtests/bench-memcpy.c: New file.
14573 * benchtests/bench-string.h: New file.
14574
50fd745b
AS
145752013-06-11 Andreas Schwab <schwab@suse.de>
14576
14577 [BZ #15577]
14578 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14579 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14580 values in the triple.
14581 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14582 terminator in the group key.
14583
3ee7e9fe
AJ
145842013-06-11 Andreas Jaeger <aj@suse.de>
14585
14586 * po/zh_TW.po: Update Chinese (traditional) translation from
14587 translation project.
14588
89fb6835
SP
145892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14590
14591 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14592 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14593 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14595 (clock_getcpuclockid): Likewise.
14596 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14597 Add weak_alias and libc_hidden_def.
14598 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14599 * rt/clock_gettime.c (clock_gettime): Rename to
14600 __clock_gettime. Add weak_alias and libc_hidden_def.
14601 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14602 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14603 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14604 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14605 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14606 Likewise.
14607 * rt/clock_settime.c (clock_settime): Rename to
14608 __clock_settime. Add weak_alias and libc_hidden_def.
14609 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14610
0efa6f8b
JM
146112013-06-10 Joseph Myers <joseph@codesourcery.com>
14612
b8c61b4b
JM
14613 * mach/err_boot.sub: Remove trailing whitespace.
14614 * mach/err_ipc.sub: Likewise.
14615 * mach/err_mach.sub: Likewise.
14616
0efa6f8b
JM
14617 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14618 (ROUNDING_TESTS_double): Likewise.
14619 (ROUNDING_TESTS_long_double): Likewise.
14620 (ROUNDING_TESTS): Likewise.
14621 * math/libm-test.inc: Include <math-tests.h>.
14622 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14623 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14624 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14625 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14626
50b818bf
SP
146272013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14628
14629 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14630 of assigning.
14631
60d2f8f3
JM
146322013-06-08 Joseph Myers <joseph@codesourcery.com>
14633
4902d2c3
JM
14634 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14635 otherwise empty TRANS lines.
14636 * sysdeps/gnu/errlist.c: Regenerated.
14637
60d2f8f3
JM
14638 * catgets/gencat.c (error_print): Use (void) in function
14639 definition.
14640 * crypt/crypt_util.c (__init_des): Likewise.
14641 * crypt/speeds.c (Stop): Likewise.
14642 (main): Likewise.
14643 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14644 * inet/ruserpass.c (token): Likewise.
14645 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14646 * intl/localealias.c (extend_alias_table): Likewise.
14647 * intl/plural-exp.c (init_germanic_plural): Likewise.
14648 * libio/fcloseall.c (__fcloseall): Likewise.
14649 * libio/genops.c (_IO_flush_all): Likewise.
14650 (_IO_flush_all_linebuffered): Likewise.
14651 (_IO_cleanup): Likewise.
14652 (_IO_iter_begin): Likewise.
14653 (_IO_iter_end): Likewise.
14654 (_IO_list_lock): Likewise.
14655 (_IO_list_unlock): Likewise.
14656 (_IO_list_resetlock): Likewise.
14657 * libio/getchar.c (getchar): Likewise.
14658 * libio/getchar_u.c (getchar_unlocked): Likewise.
14659 * libio/getwchar.c (getwchar): Likewise.
14660 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14661 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14662 * login/getpt.c (__getpt): Likewise.
14663 * login/tst-utmp.c (main): Likewise.
14664 * malloc/hooks.c (__malloc_check_init): Likewise.
14665 * malloc/malloc.c (__malloc_stats): Likewise.
14666 * malloc/mtrace.c (tr_break): Likewise.
14667 (mtrace): Likewise.
14668 (muntrace): Likewise.
14669 * misc/fstab.c (endfsent): Likewise.
14670 * misc/getclktck.c (__getclktck): Likewise.
14671 * misc/getdtsz.c (__getdtablesize): Likewise.
14672 * misc/gethostid.c (gethostid): Likewise.
14673 * misc/getpagesize.c (__getpagesize): Likewise.
14674 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14675 (__get_nprocs): Likewise.
14676 (__get_phys_pages): Likewise.
14677 (__get_avphys_pages): Likewise.
14678 * misc/getttyent.c (getttyent): Likewise.
14679 (setttyent): Likewise.
14680 (endttyent): Likewise.
14681 * misc/getusershell.c (getusershell): Likewise.
14682 (endusershell): Likewise.
14683 (setusershell): Likewise.
14684 (initshells): Likewise.
14685 * misc/hsearch.c (__hdestroy): Likewise.
14686 * misc/sync.c (sync): Likewise.
14687 * misc/syslog.c (closelog_internal): Likewise.
14688 (closelog): Likewise.
14689 * misc/ttyslot.c (ttyslot): Likewise.
14690 * misc/vhangup.c (vhangup): Likewise.
14691 * posix/fork.c (__fork): Likewise.
14692 * posix/getegid.c (__getegid): Likewise.
14693 * posix/geteuid.c (__geteuid): Likewise.
14694 * posix/getgid.c (__getgid): Likewise.
14695 * posix/getpid.c (__getpid): Likewise.
14696 * posix/getppid.c (__getppid): Likewise.
14697 * posix/getuid.c (__getuid): Likewise.
14698 * posix/pause.c (pause): Likewise.
14699 * posix/setpgrp.c (setpgrp): Likewise.
14700 * posix/setsid.c (__setsid): Likewise.
14701 * posix/test-vfork.c (noop): Likewise.
14702 * resolv/gethnamaddr.c (_endhtent): Likewise.
14703 (_gethtent): Likewise.
14704 (ht_endhostent): Likewise.
14705 (gethostent): Likewise.
14706 (dns_service): Likewise.
14707 * stdlib/drand48.c (drand48): Likewise.
14708 * stdlib/lrand48.c (lrand48): Likewise.
14709 * stdlib/mrand48.c (mrand48): Likewise.
14710 * stdlib/rand.c (rand): Likewise.
14711 * stdlib/random.c (__random): Likewise.
14712 * stdlib/setenv.c (clearenv): Likewise.
14713 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14714 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14715 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14716 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14717 (__get_nprocs): Likewise.
14718 (__get_phys_pages): Likewise.
14719 (__get_avphys_pages): Likewise.
14720 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14721 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14722 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14723 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14724 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14725 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14726 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14727 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14728 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14729 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14730 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14731 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14732 * sysdeps/posix/clock.c (clock): Likewise.
14733 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14734 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14735 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14736 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14737 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14739 (__get_nprocs_conf): Likewise.
14740 (__get_phys_pages): Likewise.
14741 (__get_avphys_pages): Likewise.
14742 * time/clock.c (clock): Likewise.
14743 * time/tzset.c (__tzname_max): Likewise.
14744
2e09a79a
JM
147452013-06-07 Joseph Myers <joseph@codesourcery.com>
14746
14747 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14748 (__bswap_32): Do not use "register".
14749 * crypt/crypt.c (_ufc_doit_r): Likewise.
14750 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14751 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14752 * gmon/gmon.c (__monstartup): Likewise.
14753 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14754 * hurd/hurdmalloc.c (more_memory): Likewise.
14755 (malloc): Likewise.
14756 (free): Likewise.
14757 (realloc): Likewise.
14758 (malloc_fork_prepare): Likewise.
14759 (malloc_fork_parent): Likewise.
14760 (malloc_fork_child): Likewise.
14761 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14762 (_svcauth_des): Likewise.
14763 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14764 * inet/inet_net.c (inet_network): Likewise.
14765 * inet/inet_netof.c (inet_netof): Likewise.
14766 * inet/rcmd.c (__validuser2_sa): Likewise.
14767 * io/fts.c (fts_open): Likewise.
14768 (fts_load): Likewise.
14769 (fts_close): Likewise.
14770 (fts_read): Likewise.
14771 (fts_children): Likewise.
14772 (fts_build): Likewise.
14773 (fts_stat): Likewise.
14774 (fts_sort): Likewise.
14775 (fts_alloc): Likewise.
14776 (fts_lfree): Likewise.
14777 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14778 (_IO_file_xsgetn): Likewise.
14779 (_IO_file_xsgetn_mmap): Likewise.
14780 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14781 (_IO_cookie_write): Likewise.
14782 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14783 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14784 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14785 * malloc/obstack.c (_obstack_begin): Likewise.
14786 (_obstack_begin_1): Likewise.
14787 (_obstack_newchunk): Likewise.
14788 (_obstack_allocated_p): Likewise.
14789 (obstack_free): Likewise.
14790 (_obstack_memory_used): Likewise.
14791 * misc/getttyent.c (getttynam): Likewise.
14792 (getttyent): Likewise.
14793 (skip): Likewise.
14794 (value): Likewise.
14795 * misc/getusershell.c (initshells): Likewise.
14796 * misc/syslog.c (__vsyslog_chk): Likewise.
14797 * misc/ttyslot.c (ttyslot): Likewise.
14798 * nis/nis_hash.c (__nis_hash): Likewise.
14799 * posix/fnmatch_loop.c (FCT): Likewise.
14800 * posix/getconf.c (print_all): Likewise.
14801 (main): Likewise.
14802 * posix/getopt.c (exchange): Likewise.
14803 * posix/glob.c (globfree): Likewise.
14804 (prefix_array): Likewise.
14805 (__glob_pattern_type): Likewise.
14806 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14807 (NS_GET32): Likewise.
14808 (NS_PUT16): Likewise.
14809 (NS_PUT32): Likewise.
14810 * resolv/gethnamaddr.c (getanswer): Likewise.
14811 (gethostbyname2): Likewise.
14812 (gethostbyaddr): Likewise.
14813 (_gethtent): Likewise.
14814 (_gethtbyname2): Likewise.
14815 (_gethtbyaddr): Likewise.
14816 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14817 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14818 * resolv/res_init.c (__res_vinit): Likewise.
14819 (net_mask): Likewise.
14820 * resolv/res_mkquery.c (outchar): Likewise.
14821 (PRINT): Likewise.
14822 * stdio-common/printf_fp.c (outchar): Likewise.
14823 (PRINT): Likewise.
14824 * stdio-common/printf_fphex.c (outchar): Likewise.
14825 (PRINT): Likewise.
14826 * stdio-common/printf_size.c (outchar): Likewise.
14827 (PRINT): Likewise.
14828 * stdio-common/test_rdwr.c (main): Likewise.
14829 * stdio-common/tfformat.c (matches): Likewise.
14830 * stdio-common/vfprintf.c (outchar): Likewise.
14831 (printf_unknown): Likewise.
14832 (buffered_vfprintf): Likewise.
14833 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14834 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14835 (ReadFile): Likewise.
14836 * stdlib/qsort.c (SWAP): Likewise.
14837 (_quicksort): Likewise.
14838 * stdlib/setenv.c (__add_to_environ): Likewise.
14839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14840 * stdlib/strtol_l.c (__strtol_l): Likewise.
14841 * stdlib/tst-strtod.c (main): Likewise.
14842 * stdlib/tst-strtol.c (main): Likewise.
14843 * stdlib/tst-strtoll.c (main): Likewise.
14844 * string/bits/string2.h (__strcmp_cc): Likewise.
14845 (__strcmp_cg): Likewise.
14846 (__strcspn_c1): Likewise.
14847 (__strcspn_c2): Likewise.
14848 (__strcspn_c3): Likewise.
14849 (__strspn_c1): Likewise.
14850 (__strspn_c2): Likewise.
14851 (__strspn_c3): Likewise.
14852 (__strsep_1c): Likewise.
14853 (__strsep_2c): Likewise.
14854 (__strsep_3c): Likewise.
14855 * string/memccpy.c (__memccpy): Likewise.
14856 * string/stpcpy.c (__stpcpy): Likewise.
14857 * string/strcmp.c (strcmp): Likewise.
14858 * string/strrchr.c (strrchr): Likewise.
14859 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14860 Likewise.
14861 * sysdeps/mach/hurd/getcwd.c
14862 (_hurd_canonicalize_directory_name_internal): Likewise.
14863 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14864 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14865 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14866 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14867 Likewise, in both definitions.
14868 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14869 definitions.
14870 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14871 64] (__bswap_64): Likewise.
14872 * time/test_time.c (main): Likewise.
14873 * time/tzfile.c (__tzfile_read): Likewise.
14874 (__tzfile_compute): Likewise.
14875 * time/tzset.c (__tzset_parse_tz): Likewise.
14876 (tzset_internal): Likewise.
14877 (compute_change): Likewise.
14878 * wcsmbs/wcscat.c (__wcscat): Likewise.
14879 * wcsmbs/wcschr.c (wcschr): Likewise.
14880 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14881 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14882 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14883 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14884 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14885 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14886 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14887 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14888 * wcsmbs/wmemset.c (wmemset): Likewise.
14889
9e54314b
JM
148902013-06-06 Joseph Myers <joseph@codesourcery.com>
14891
14892 * scripts/config.guess: Update to version 2013-05-16.
14893 * scripts/config.sub: Update to version 2013-04-24.
14894 * scripts/install-sh: Update to version 2011-11-20.07.
14895 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14896 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14897
350635a5
OB
148982013-06-06 Ondřej Bílka <neleai@seznam.cz>
14899
14900 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14901 * elf/sln.c: Likewise.
14902 * hurd/hurd/ioctl.h: Likewise.
14903 * hurd/hurdmalloc.c: Likewise.
14904 * hurd/xattr.c: Likewise.
14905 * include/shlib-compat.h: Likewise.
14906 * inet/ruserpass.c: Likewise.
14907 * libio/iofgets_u.c: Likewise.
14908 * libio/iofgetws_u.c: Likewise.
14909 * locale/programs/ld-identification.c: Likewise.
14910 * locale/programs/ld-time.c: Likewise.
14911 * mach/msg-destroy.c: Likewise.
14912 * nss/nss_files/files-netgrp.c: Likewise.
14913 * resolv/res_data.c: Likewise.
14914 * soft-fp/op-1.h: Likewise.
14915 * soft-fp/op-2.h: Likewise.
14916 * soft-fp/op-4.h: Likewise.
14917 * soft-fp/op-common.h: Likewise.
14918 * stdio-common/printf_fphex.c: Likewise.
14919 * stdlib/strtod_l.c: Likewise.
14920 * sunrpc/rpc/clnt.h: Likewise.
14921 * sysdeps/generic/framestate.c: Likewise.
14922 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14923 * sysdeps/i386/bsd-setjmp.S: Likewise.
14924 * sysdeps/i386/__longjmp.S: Likewise.
14925 * sysdeps/i386/setjmp.S: Likewise.
14926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14927 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14928 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14944 * sysdeps/ieee754/support.c: Likewise.
14945 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14946 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14947 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14948 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14949 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14950 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14951 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14952 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14953 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14954 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14955 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14956 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14957 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14958 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14959 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14960 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14961 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14963
44a988af
OB
149642013-06-05 Ondřej Bílka <neleai@seznam.cz>
14965
25506f09 14966 * posix/transbug.c: Remove executable mode.
44a988af 14967
9c84384c
JM
149682013-06-05 Joseph Myers <joseph@codesourcery.com>
14969
14970 * crypt/speeds.c: Remove trailing whitespace.
14971 * dlfcn/default.c: Likewise.
14972 * elf/ifuncdep2.c: Likewise.
14973 * elf/ifuncmain1.c: Likewise.
14974 * elf/ifuncmain1vis.c: Likewise.
14975 * elf/testobj.h: Likewise.
14976 * elf/tst-stackguard1.c: Likewise.
14977 * gmon/sys/gmon.h: Likewise.
14978 * hurd/hurdmsg.c: Likewise.
14979 * hurd/new-fd.c: Likewise.
14980 * hurd/ports-get.c: Likewise.
14981 * iconvdata/ibm1008_420.c: Likewise.
14982 * inet/tst-getni1.c: Likewise.
14983 * inet/tst-getni2.c: Likewise.
14984 * libio/ioungetc.c: Likewise.
14985 * libio/wfiledoalloc.c: Likewise.
14986 * manual/libm-err-tab.pl: Likewise.
14987 * math/w_dremf.c: Likewise.
14988 * misc/ftruncate.c: Likewise.
14989 * posix/bug-glob2.c: Likewise.
14990 * posix/tst-pcre.c: Likewise.
14991 * posix/wait4.c: Likewise.
14992 * resolv/README: Likewise.
14993 * resolv/res_debug.h: Likewise.
14994 * resolv/tst-inet_ntop.c: Likewise.
14995 * setjmp/bug269-setjmp.c: Likewise.
14996 * soft-fp/extended.h: Likewise.
14997 * soft-fp/op-1.h: Likewise.
14998 * soft-fp/op-2.h: Likewise.
14999 * soft-fp/op-4.h: Likewise.
15000 * soft-fp/op-8.h: Likewise.
15001 * soft-fp/testit.c: Likewise.
15002 * stdio-common/bug16.c: Likewise.
15003 * stdlib/random.c: Likewise.
15004 * sunrpc/rpcsvc/rquota.x: Likewise.
15005 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15006 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15007 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15008 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15009 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15010 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15011 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15012 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15013 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15015 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15034 * sysdeps/ieee754/s_lib_version.c: Likewise.
15035 * sysdeps/mach/hurd/check_fds.c: Likewise.
15036 * sysdeps/mach/hurd/getsockname.c: Likewise.
15037 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15038 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15039 * sysdeps/powerpc/bits/link.h: Likewise.
15040 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15041 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15042 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15043 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15044 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15045 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15046 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15047 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15048 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15049 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15051 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15052 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15053 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15054 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15055 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15057 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15059 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15060 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15061 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15063 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15064 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15067 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15074 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15075 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15076 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15077 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15078 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15079 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15080 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15081 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15082 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15083 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15084 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15085 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15086 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15087 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15088 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15089 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15092 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15093 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15094 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15095 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15096 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15098 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15099 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15100 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15101 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15102 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15104 * sysdeps/powerpc/sysdep.h: Likewise.
15105 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15106 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15107 * sysdeps/sh/dl-trampoline.S: Likewise.
15108 * sysdeps/sh/memset.S: Likewise.
15109 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15110 * sysdeps/sh/strlen.S: Likewise.
15111 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15112 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15113 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15114 * sysdeps/sparc/sparc32/rem.S: Likewise.
15115 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15116 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15117 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15118 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15119 * sysdeps/sparc/sparc32/urem.S: Likewise.
15120 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15121 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15122 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15123 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15125 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15126 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15127 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15128 * sysdeps/unix/bsd/times.c: Likewise.
15129 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15130 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15135 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15136 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15137 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15138 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15141 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15142 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15143 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15144 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15145 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15146 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15147 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15148 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15149 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15150 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15151 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15152 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15153 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15154 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15155 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15157 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15158 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15159 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15160 * sysdeps/x86_64/strcspn.S: Likewise.
15161
869378a5
RA
151622013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15163
15164 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15165 generated file. Regenerate properly from gen-translit.pl.
15166 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15167 locale/C-translit.h.
15168
840e2943
AS
151692013-06-05 Andreas Schwab <schwab@suse.de>
15170
15171 [BZ #15100]
15172 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15173 week as 6 instead of -1.
15174 * time/tst-strptime.c (day_tests): Add test case.
15175
4c60cb0c
SP
151762013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15177
15178 * sysdeps/generic/math_private.h
15179 (libc_feholdexcept_setround_53bit): Replace with
15180 libc_feholdsetround_53bit.
15181 (libc_feupdateenv_53bit): Replace with
15182 libc_feresetround_53bit.
15183 (SET_RESTORE_ROUND_53BIT): Adjust.
15184
d180203e
SP
151852013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15186
96df079a
SP
15187 * string/test-strchrnul.c: Add copyright header.
15188
d180203e
SP
15189 * posix/tst-getaddrinfo4.c: Increase test timeout.
15190
8b0ccb2d
CD
151912013-06-03 Carlos O'Donell <carlos@redhat.com>
15192
15193 [BZ #15536]
15194 * math/libm-test.inc (MAX_EXP): Remove
15195 (MIN_EXP): Define.
15196 (ulp): Use MIN_EXP - MANT_DIG.
15197 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15198
3b3c4d40
CD
151992013-05-31 Carlos O'Donell <carlos@redhat.com>
15200
15201 * po/be.po: Revert last change.
15202 * po/zh_CN.po: Likewise.
15203 * po/header.pot: Likewise.
15204
fab7ce3f
JM
152052013-05-31 Joseph Myers <joseph@codesourcery.com>
15206
15207 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15208 link-libc-deps to empty as target-specific variable.
15209 * Makerules (link-libc-args): New variable.
15210 (libc-for-link): Likewise.
15211 (link-libc-deps): Likewise.
15212 (lib%.so): Depend on $(link-libc-deps). Link with
15213 $(link-libc-args).
15214 (build-module): Link with $(link-libc-args).
15215 (build-module-asneeded): Likewise.
15216 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15217 list of objects.
15218 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15219 target-specific variable.
15220 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15221 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15222 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15223 libc.
15224 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15225 libc and ld.so.
15226 ($(objpfx)libpcprofile.so): Likewise.
15227 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15228 libc_nonshared.a.
15229 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15230 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15231 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15232 $(link-libc-deps).
15233 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15234 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15235 * login/Makefile ($(objpfx)libutil.so): Likewise.
15236 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15237 * math/Makefile ($(objpfx)libm.so): Likewise.
15238 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15239 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15240 variable instead of depending directly on libc.
15241 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15242 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15243 $(link-libc-deps).
15244 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15245 libc.
15246 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15247 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15248 ($(objpfx)libanl.so): Likewise.
15249 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15250 ld.so.
15251 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15252 $(link-libc-deps).
15253 * sysdeps/i386/fpu/Makefile: Remove file.
15254 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15255 ($(objpfx)libm.so): Remove dependency on ld.so.
15256
eca5920c
PF
152572013-05-30 Patsy Franklin <pfrankli@redhat.com>
15258
15259 [BZ # 15553]
15260 * nis/yp_xdr.c (XDRMAXNAME): Define.
15261 (XDRMAXRECORD): Define.
15262 (xdr_domainname): Use XDRMAXNAME.
15263 (xdr_mapname): Likewise.
15264 (xdr_peername): Likewise.
15265 (xdr_keydat): Use XDRMAXRECORD.
15266 (xdr_valdat): Likewise.
15267
152682013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15269
15270 [BZ #14256]
15271 * manual/errno.texi (ESTALE): Update to account for more than
15272 just NFS file systems.
15273 * sysdeps/gnu/errlist.c: Regenerated.
15274
b9375348
SP
152752013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15276
15277 [BZ #15465]
15278 * elf/Makefile (tests): Add tst-null-argv.
15279 (modules-names): Add tst-null-argv-lib.
15280 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15281 (tst-null-argv-ENV): Set environment for tst-null-argv.
15282 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15283 (RTLD_PROGNAME): New macro.
15284 * elf/tst-null-argv.c: New test case.
15285 * elf/tst-null-argv-lib.c: Library for test case.
15286 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15287 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15288 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15289 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15290 * elf/dl-init.c (call_init): Likewise.
15291 (_dl_init): Likewise.
15292 * elf/dl-load.c (print_search_path): Likewise.
15293 (_dl_map_object): Likewise.
15294 * elf/dl-lookup.c (do_lookup_x): Likewise.
15295 (add_dependency): Likewise.
15296 (_dl_lookup_symbol_x): Likewise.
15297 (_dl_debug_bindings): Likewise.
15298 * elf/dl-open.c (_dl_show_scope): Likewise.
15299 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15300 * elf/dl-version.c (match_symbol): Likewise.
15301 (_dl_check_map_versions): Likewise.
15302 * elf/rtld.c (dl_main): Likewise.
15303 (print_unresolved): Use RTLD_PROGNAME.
15304 (print_missing_version): Likewise.
15305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15306 (elf_machine_rela): Likewise.
15307 * sysdeps/powerpc/powerpc32/dl-machine.c
15308 (__process_machine_rela): Likewise.
15309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15310 Likewise.
15311 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15312 Likewise.
15313 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15314 Likewise.
15315 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15317 Likewise.
15318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15319 Likewise.
15320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15321
8a9f20c8
CD
153222013-05-28 Carlos O'Donell <carlos@redhat.com>
15323
15324 * po/be.po: Add descriptive title.
15325 * po/zh_CN.po: Likewise.
15326 * po/header.pot: Likewise.
15327
0e60d68e
MF
153282013-05-28 Mike Frysinger <vapier@gentoo.org>
15329
15330 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15331 error message.
15332 (enlarge_archive): Likewise.
15333
56b672e9
BN
153342013-05-28 Ben North <ben@redfrontdoor.org>
15335
15336 * manual/arith.texi (frexp): It is the magnitude of the return
15337 value which lies in [0.5, 1), not the return value itself.
15338
5e056687
AZ
153392013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15342
2b66ef5d
TS
153432013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15344
528c2405
TS
15345 * stdio-common/bug26.c (main): Correct fscanf template.
15346
07b4c13d
TS
15347 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15348 declare _dl_skip_args.
15349
ec9dd97c
TS
15350 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15351 Don't declare.
15352
2b66ef5d
TS
15353 * manual/platform.texi: Add missing @end deftypefun.
15354
4f8dfe27
JM
153552013-05-24 Joseph Myers <joseph@codesourcery.com>
15356
0323d086
JM
15357 [BZ #15529]
15358 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15359 bit of mantissa of 2^16382.
15360 * math/libm-test.inc (hypot_test_data): Add more tests.
15361
dd4259b9
JM
15362 * math/libm-test.inc: Add drem and pow10 to list of tested
15363 functions.
15364 (pow10_test): New function.
15365 (drem_test): Likewise.
15366 (drem_test_tonearest): Likewise.
15367 (drem_test_towardzero): Likewise.
15368 (drem_test_downward): Likewise.
15369 (drem_test_upward): Likewise.
15370 (main): Call the new functions.
15371
4f8dfe27
JM
15372 * math/libm-test.inc (finite_test_data): Remove.
15373 (finite_test): Run tests from isfinite_test_data.
15374 (gamma_test_data): Remove.
15375 (gamma_test): Run tests from lgamma_test_data.
15376 * sysdeps/i386/fpu/libm-test-ulps: Update.
15377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15378
d116b7c4
AZ
153792013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380
15381 * manual/platform.texi: Add PowerPC PPR function set documentation.
15382 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15383 implementation.
15384
e96e3767
CD
153852013-05-24 Carlos O'Donell <carlos@redhat.com>
15386
15387 * math/libm-test.inc (MAX_EXP): Define.
15388 (ULPDIFF): Define.
15389 (ulp): New function.
15390 (check_float_internal): Use ULPDIFF.
15391 (cpow_test): Disable failing test.
15392 (check_ulp): Test ulp() implemetnation.
15393 (main): Call check_ulp before starting tests.
15394
b679a606
JM
153952013-05-24 Joseph Myers <joseph@codesourcery.com>
15396
e8bdba36
JM
15397 * math/gen-libm-test.pl (generate_testfile): Do not handle
15398 START_DATA and END_DATA.
15399 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15400 END_DATA.
15401 (acos_tonearest_test_data): Likewise.
15402 (acos_towardzero_test_data): Likewise.
15403 (acos_downward_test_data): Likewise.
15404 (acos_upward_test_data): Likewise.
15405 (acosh_test_data): Likewise.
15406 (asin_test_data): Likewise.
15407 (asin_tonearest_test_data): Likewise.
15408 (asin_towardzero_test_data): Likewise.
15409 (asin_downward_test_data): Likewise.
15410 (asin_upward_test_data): Likewise.
15411 (asinh_test_data): Likewise.
15412 (atan_test_data): Likewise.
15413 (atanh_test_data): Likewise.
15414 (atan2_test_data): Likewise.
15415 (cabs_test_data): Likewise.
15416 (cacos_test_data): Likewise.
15417 (cacosh_test_data): Likewise.
15418 (carg_test_data): Likewise.
15419 (casin_test_data): Likewise.
15420 (casinh_test_data): Likewise.
15421 (catan_test_data): Likewise.
15422 (catanh_test_data): Likewise.
15423 (cbrt_test_data): Likewise.
15424 (ccos_test_data): Likewise.
15425 (ccosh_test_data): Likewise.
15426 (ceil_test_data): Likewise.
15427 (cexp_test_data): Likewise.
15428 (cimag_test_data): Likewise.
15429 (clog_test_data): Likewise.
15430 (clog10_test_data): Likewise.
15431 (conj_test_data): Likewise.
15432 (copysign_test_data): Likewise.
15433 (cos_test_data): Likewise.
15434 (cos_tonearest_test_data): Likewise.
15435 (cos_towardzero_test_data): Likewise.
15436 (cos_downward_test_data): Likewise.
15437 (cos_upward_test_data): Likewise.
15438 (cosh_test_data): Likewise.
15439 (cosh_tonearest_test_data): Likewise.
15440 (cosh_towardzero_test_data): Likewise.
15441 (cosh_downward_test_data): Likewise.
15442 (cosh_upward_test_data): Likewise.
15443 (cpow_test_data): Likewise.
15444 (cproj_test_data): Likewise.
15445 (creal_test_data): Likewise.
15446 (csin_test_data): Likewise.
15447 (csinh_test_data): Likewise.
15448 (csqrt_test_data): Likewise.
15449 (ctan_test_data): Likewise.
15450 (ctan_tonearest_test_data): Likewise.
15451 (ctan_towardzero_test_data): Likewise.
15452 (ctan_downward_test_data): Likewise.
15453 (ctan_upward_test_data): Likewise.
15454 (ctanh_test_data): Likewise.
15455 (ctanh_tonearest_test_data): Likewise.
15456 (ctanh_towardzero_test_data): Likewise.
15457 (ctanh_downward_test_data): Likewise.
15458 (ctanh_upward_test_data): Likewise.
15459 (erf_test_data): Likewise.
15460 (erfc_test_data): Likewise.
15461 (exp_test_data): Likewise.
15462 (exp_tonearest_test_data): Likewise.
15463 (exp_towardzero_test_data): Likewise.
15464 (exp_downward_test_data): Likewise.
15465 (exp_upward_test_data): Likewise.
15466 (exp10_test_data): Likewise.
15467 (exp2_test_data): Likewise.
15468 (expm1_test_data): Likewise.
15469 (fabs_test_data): Likewise.
15470 (fdim_test_data): Likewise.
15471 (finite_test_data): Likewise.
15472 (floor_test_data): Likewise.
15473 (fma_test_data): Likewise.
15474 (fma_towardzero_test_data): Likewise.
15475 (fma_downward_test_data): Likewise.
15476 (fma_upward_test_data): Likewise.
15477 (fmax_test_data): Likewise.
15478 (fmin_test_data): Likewise.
15479 (fmod_test_data): Likewise.
15480 (fpclassify_test_data): Likewise.
15481 (frexp_test_data): Likewise.
15482 (gamma_test_data): Likewise.
15483 (hypot_test_data): Likewise.
15484 (ilogb_test_data): Likewise.
15485 (isfinite_test_data): Likewise.
15486 (isgreater_test_data): Likewise.
15487 (isgreaterequal_test_data): Likewise.
15488 (isinf_test_data): Likewise.
15489 (isless_test_data): Likewise.
15490 (islessequal_test_data): Likewise.
15491 (islessgreater_test_data): Likewise.
15492 (isnan_test_data): Likewise.
15493 (isnormal_test_data): Likewise.
15494 (issignaling_test_data): Likewise.
15495 (isunordered_test_data): Likewise.
15496 (j0_test_data): Likewise.
15497 (j1_test_data): Likewise.
15498 (jn_test_data): Likewise.
15499 (ldexp_test_data): Likewise.
15500 (lgamma_test_data): Likewise.
15501 (lrint_test_data): Likewise.
15502 (lrint_tonearest_test_data): Likewise.
15503 (lrint_towardzero_test_data): Likewise.
15504 (lrint_downward_test_data): Likewise.
15505 (lrint_upward_test_data): Likewise.
15506 (llrint_test_data): Likewise.
15507 (llrint_tonearest_test_data): Likewise.
15508 (llrint_towardzero_test_data): Likewise.
15509 (llrint_downward_test_data): Likewise.
15510 (llrint_upward_test_data): Likewise.
15511 (log_test_data): Likewise.
15512 (log10_test_data): Likewise.
15513 (log1p_test_data): Likewise.
15514 (log2_test_data): Likewise.
15515 (logb_test_data): Likewise.
15516 (logb_downward_test_data): Likewise.
15517 (lround_test_data): Likewise.
15518 (llround_test_data): Likewise.
15519 (modf_test_data): Likewise.
15520 (nearbyint_test_data): Likewise.
15521 (nextafter_test_data): Likewise.
15522 (nexttoward_test_data): Likewise.
15523 (pow_test_data): Likewise.
15524 (pow_tonearest_test_data): Likewise.
15525 (pow_towardzero_test_data): Likewise.
15526 (pow_downward_test_data): Likewise.
15527 (pow_upward_test_data): Likewise.
15528 (remainder_test_data): Likewise.
15529 (remainder_tonearest_test_data): Likewise.
15530 (remainder_towardzero_test_data): Likewise.
15531 (remainder_downward_test_data): Likewise.
15532 (remainder_upward_test_data): Likewise.
15533 (remquo_test_data): Likewise.
15534 (rint_test_data): Likewise.
15535 (rint_tonearest_test_data): Likewise.
15536 (rint_towardzero_test_data): Likewise.
15537 (rint_downward_test_data): Likewise.
15538 (rint_upward_test_data): Likewise.
15539 (round_test_data): Likewise.
15540 (scalb_test_data): Likewise.
15541 (scalbn_test_data): Likewise.
15542 (scalbln_test_data): Likewise.
15543 (signbit_test_data): Likewise.
15544 (sin_test_data): Likewise.
15545 (sin_tonearest_test_data): Likewise.
15546 (sin_towardzero_test_data): Likewise.
15547 (sin_downward_test_data): Likewise.
15548 (sin_upward_test_data): Likewise.
15549 (sincos_test_data): Likewise.
15550 (sinh_test_data): Likewise.
15551 (sinh_tonearest_test_data): Likewise.
15552 (sinh_towardzero_test_data): Likewise.
15553 (sinh_downward_test_data): Likewise.
15554 (sinh_upward_test_data): Likewise.
15555 (sqrt_test_data): Likewise.
15556 (tan_test_data): Likewise.
15557 (tan_tonearest_test_data): Likewise.
15558 (tan_towardzero_test_data): Likewise.
15559 (tan_downward_test_data): Likewise.
15560 (tan_upward_test_data): Likewise.
15561 (tanh_test_data): Likewise.
15562 (tgamma_test_data): Likewise.
15563 (trunc_test_data): Likewise.
15564 (y0_test_data): Likewise.
15565 (y1_test_data): Likewise.
15566 (yn_test_data): Likewise.
15567 (significand_test_data): Likewise.
15568
b679a606
JM
15569 * math/gen-libm-test.pl (@functions): Remove variable.
15570 (generate_testfile): Don't handle START and END lines.
15571 * math/libm-test.inc (START): New macro.
15572 (END): Likewise.
15573 (END_COMPLEX): Likewise.
15574 (acos_test): Use END macro without arguments.
15575 (acos_test_tonearest): Likewise.
15576 (acos_test_towardzero): Likewise.
15577 (acos_test_downward): Likewise.
15578 (acos_test_upward): Likewise.
15579 (acosh_test): Likewise.
15580 (asin_test): Likewise.
15581 (asin_test_tonearest): Likewise.
15582 (asin_test_towardzero): Likewise.
15583 (asin_test_downward): Likewise.
15584 (asin_test_upward): Likewise.
15585 (asinh_test): Likewise.
15586 (atan_test): Likewise.
15587 (atanh_test): Likewise.
15588 (atan2_test): Likewise.
15589 (cabs_test): Likewise.
15590 (cacos_test): Use END_COMPLEX macro without arguments.
15591 (cacosh_test): Likewise.
15592 (carg_test): Use END macro without arguments.
15593 (casin_test): Use END_COMPLEX macro without arguments.
15594 (casinh_test): Likewise.
15595 (catan_test): Likewise.
15596 (catanh_test): Likewise.
15597 (cbrt_test): Use END macro without arguments.
15598 (ccos_test): Use END_COMPLEX macro without arguments.
15599 (ccosh_test): Likewise.
15600 (ceil_test): Use END macro without arguments.
15601 (cexp_test): Use END_COMPLEX macro without arguments.
15602 (cimag_test): Use END macro without arguments.
15603 (clog_test): Use END_COMPLEX macro without arguments.
15604 (clog10_test): Likewise.
15605 (conj_test): Likewise.
15606 (copysign_test): Use END macro without arguments.
15607 (cos_test): Likewise.
15608 (cos_test_tonearest): Likewise.
15609 (cos_test_towardzero): Likewise.
15610 (cos_test_downward): Likewise.
15611 (cos_test_upward): Likewise.
15612 (cosh_test): Likewise.
15613 (cosh_test_tonearest): Likewise.
15614 (cosh_test_towardzero): Likewise.
15615 (cosh_test_downward): Likewise.
15616 (cosh_test_upward): Likewise.
15617 (cpow_test): Use END_COMPLEX macro without arguments.
15618 (cproj_test): Likewise.
15619 (creal_test): Use END macro without arguments.
15620 (csin_test): Use END_COMPLEX macro without arguments.
15621 (csinh_test): Likewise.
15622 (csqrt_test): Likewise.
15623 (ctan_test): Likewise.
15624 (ctan_test_tonearest): Likewise.
15625 (ctan_test_towardzero): Likewise.
15626 (ctan_test_downward): Likewise.
15627 (ctan_test_upward): Likewise.
15628 (ctanh_test): Likewise.
15629 (ctanh_test_tonearest): Likewise.
15630 (ctanh_test_towardzero): Likewise.
15631 (ctanh_test_downward): Likewise.
15632 (ctanh_test_upward): Likewise.
15633 (erf_test): Use END macro without arguments.
15634 (erfc_test): Likewise.
15635 (exp_test): Likewise.
15636 (exp_test_tonearest): Likewise.
15637 (exp_test_towardzero): Likewise.
15638 (exp_test_downward): Likewise.
15639 (exp_test_upward): Likewise.
15640 (exp10_test): Likewise.
15641 (exp2_test): Likewise.
15642 (expm1_test): Likewise.
15643 (fabs_test): Likewise.
15644 (fdim_test): Likewise.
15645 (finite_test): Likewise.
15646 (floor_test): Likewise.
15647 (fma_test): Likewise.
15648 (fma_test_towardzero): Likewise.
15649 (fma_test_downward): Likewise.
15650 (fma_test_upward): Likewise.
15651 (fmax_test): Likewise.
15652 (fmin_test): Likewise.
15653 (fmod_test): Likewise.
15654 (fpclassify_test): Likewise.
15655 (frexp_test): Likewise.
15656 (gamma_test): Likewise.
15657 (hypot_test): Likewise.
15658 (ilogb_test): Likewise.
15659 (isfinite_test): Likewise.
15660 (isgreater_test): Likewise.
15661 (isgreaterequal_test): Likewise.
15662 (isinf_test): Likewise.
15663 (isless_test): Likewise.
15664 (islessequal_test): Likewise.
15665 (islessgreater_test): Likewise.
15666 (isnan_test): Likewise.
15667 (isnormal_test): Likewise.
15668 (issignaling_test): Likewise.
15669 (isunordered_test): Likewise.
15670 (j0_test): Likewise.
15671 (j1_test): Likewise.
15672 (jn_test): Likewise.
15673 (ldexp_test): Likewise.
15674 (lgamma_test): Likewise.
15675 (lrint_test): Likewise.
15676 (lrint_test_tonearest): Likewise.
15677 (lrint_test_towardzero): Likewise.
15678 (lrint_test_downward): Likewise.
15679 (lrint_test_upward): Likewise.
15680 (llrint_test): Likewise.
15681 (llrint_test_tonearest): Likewise.
15682 (llrint_test_towardzero): Likewise.
15683 (llrint_test_downward): Likewise.
15684 (llrint_test_upward): Likewise.
15685 (log_test): Likewise.
15686 (log10_test): Likewise.
15687 (log1p_test): Likewise.
15688 (log2_test): Likewise.
15689 (logb_test): Likewise.
15690 (logb_test_downward): Likewise.
15691 (lround_test): Likewise.
15692 (llround_test): Likewise.
15693 (modf_test): Likewise.
15694 (nearbyint_test): Likewise.
15695 (nextafter_test): Likewise.
15696 (nexttoward_test): Likewise.
15697 (pow_test): Likewise.
15698 (pow_test_tonearest): Likewise.
15699 (pow_test_towardzero): Likewise.
15700 (pow_test_downward): Likewise.
15701 (pow_test_upward): Likewise.
15702 (remainder_test): Likewise.
15703 (remainder_test_tonearest): Likewise.
15704 (remainder_test_towardzero): Likewise.
15705 (remainder_test_downward): Likewise.
15706 (remainder_test_upward): Likewise.
15707 (remquo_test): Likewise.
15708 (rint_test): Likewise.
15709 (rint_test_tonearest): Likewise.
15710 (rint_test_towardzero): Likewise.
15711 (rint_test_downward): Likewise.
15712 (rint_test_upward): Likewise.
15713 (round_test): Likewise.
15714 (scalb_test): Likewise.
15715 (scalbn_test): Likewise.
15716 (scalbln_test): Likewise.
15717 (signbit_test): Likewise.
15718 (sin_test): Likewise.
15719 (sin_test_tonearest): Likewise.
15720 (sin_test_towardzero): Likewise.
15721 (sin_test_downward): Likewise.
15722 (sin_test_upward): Likewise.
15723 (sincos_test): Likewise.
15724 (sinh_test): Likewise.
15725 (sinh_test_tonearest): Likewise.
15726 (sinh_test_towardzero): Likewise.
15727 (sinh_test_downward): Likewise.
15728 (sinh_test_upward): Likewise.
15729 (sqrt_test): Likewise.
15730 (tan_test): Likewise.
15731 (tan_test_tonearest): Likewise.
15732 (tan_test_towardzero): Likewise.
15733 (tan_test_downward): Likewise.
15734 (tan_test_upward): Likewise.
15735 (tanh_test): Likewise.
15736 (tgamma_test): Likewise.
15737 (trunc_test): Likewise.
15738 (y0_test): Likewise.
15739 (y1_test): Likewise.
15740 (yn_test): Likewise.
15741 (significand_test): Likewise.
15742
bae143d2
OB
157432013-05-24 Ondřej Bílka <neleai@seznam.cz>
15744
15745 [BZ #15381]
15746 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15747
9323d39b
EM
157482013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15749
d4ea44a0 15750 [BZ #14894]
9323d39b
EM
15751 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15752 __ppc_mdoio and __ppc_mdoom.
15753 * manual/platform.texi: Document new functions __ppc_yield,
15754 __ppc_mdoio and __ppc_mdoom.
15755
13e23af7
CD
157562013-05-22 Carlos O'Donell <carlos@redhat.com>
15757
15758 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15759 (main): Mention "tls" pseudo-hwcap is legacy.
15760 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15761
351fe550
JM
157622013-05-22 Joseph Myers <joseph@codesourcery.com>
15763
15764 * math/gen-libm-test.pl (parse_args): Output only string of
15765 arguments as text for test name, not full call or descriptions of
15766 tests for extra outputs.
15767 (generate_testfile): Do not pass function name to parse_args.
15768 Generate this_func variable from START.
15769 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15770 field to arg_str.
15771 (struct test_ff_f_data): Likewise.
15772 (test_ff_f_data_nexttoward): Likewise.
15773 (struct test_fi_f_data): Likewise.
15774 (struct test_fl_f_data): Likewise.
15775 (struct test_if_f_data): Likewise.
15776 (struct test_fff_f_data): Likewise.
15777 (struct test_c_f_data): Likewise.
15778 (struct test_f_f1_data): Likewise. Remove field extra_name.
15779 (struct test_fF_f1_data): Likewise.
15780 (struct test_ffI_f1_data): Likewise.
15781 (struct test_c_c_data): Rename test_name field to arg_str.
15782 (struct test_cc_c_data): Likewise.
15783 (struct test_f_i_data): Likewise.
15784 (struct test_ff_i_data): Likewise.
15785 (struct test_f_l_data): Likewise.
15786 (struct test_f_L_data): Likewise.
15787 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15788 and extra2_name.
15789 (COMMON_TEST_SETUP): New macro.
15790 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15791 (COMMON_TEST_CLEANUP): Likewise.
15792 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15793 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15794 macros.
15795 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15796 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15797 macros.
15798 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15799 (RUN_TEST_fff_f): Take argument string. Call new setup and
15800 cleanup macros.
15801 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15802 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15803 macros.
15804 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15805 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15806 macros.
15807 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15808 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15809 cleanup macros.
15810 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15811 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15812 cleanup macros.
15813 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15814 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15815 cleanup macros.
15816 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15817 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15818 macros.
15819 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15820 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15821 macros.
15822 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15823 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15824 macros.
15825 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15826 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15827 cleanup macros.
15828 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15829 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15830 cleanup macros.
15831 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15832 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15833 macros.
15834 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15835 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15836 cleanup macros.
15837 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15838 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15839 macros.
15840 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15841 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15842 macros.
15843 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15844 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15845 cleanup macros.
15846 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15847
85118d4d
EBM
158482013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15849
15850 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15851 to _sifields.sigfault.
15852 (si_addr_lsb): Define new macro.
15853 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15856
7a44c18f
CD
158572013-05-03 Carlos O'Donell <carlos at redhat.com>
15858
15859 [BZ #15441]
15860 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15861 returns -1.
15862 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15863 null return -1.
15864 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15865 loading the domain.
15866
b50a7181
JM
158672013-05-22 Joseph Myers <joseph@codesourcery.com>
15868
15869 * math/gen-libm-test.pl (parse_args): Do not include expected
15870 result in test name.
15871 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877
051063c8
SP
158782013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15879
3ce9e010
SP
15880 * benchtests/Makefile: Sort function entries.
15881
051063c8
SP
15882 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15883 tanh, asinh, acosh, atanh.
15884 * benchtests/acos-inputs: New file.
15885 * benchtests/acosh-inputs: New file.
15886 * benchtests/asin-inputs: New file.
15887 * benchtests/asinh-inputs: New file.
15888 * benchtests/atanh-inputs: New file.
15889 * benchtests/cosh-inputs: New file.
15890 * benchtests/log-inputs: New file.
15891 * benchtests/sinh-inputs: New file.
15892 * benchtests/tanh-inputs: New file.
15893
47c22455
DL
158942013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15895
15896 [BZ #15339]
15897 * posix/tst-getaddrinfo4.c: New test.
15898 * posix/Makefile (tests): Add it.
15899
3d04f5db
SP
159002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15901
15902 [BZ #15339]
15903 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15904 when no services were used.
15905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15906 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15907
d5dd6189
AS
159082013-05-21 Andreas Schwab <schwab@suse.de>
15909
15910 [BZ #15014]
15911 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15912 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15913 successful.
15914 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15915 redundant variable declarations and reallocation of buffer when
15916 parsing as IPv6 address. Always set NSS status when called from
15917 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15918 buffer too small. Correct computation of needed size.
15919 * nss/Makefile (tests): Add test-digits-dots.
15920 * nss/test-digits-dots.c: New test.
15921
fef94eab
SP
159222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15923
15924 * benchtests/Makefile: Remove instructions for adding
15925 benchmark tests.
15926 * benchtests/README: New file to explain how to execute and
15927 enhance the benchmark tests.
15928
e39adf43
AS
159292013-05-21 Andreas Schwab <schwab@suse.de>
15930
15931 [BZ #15493]
15932 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15933 * setjmp/tst-sigsetjmp.c: New test.
15934
b2b671b6
OB
159352013-05-20 Ondřej Bílka <neleai@seznam.cz>
15936
15937 * sysdeps/x86_64/memset.S (memset): New implementation.
15938 (__bzero): Likewise.
15939 (__memset_tail): New function.
15940
2d48b41c
OB
159412013-05-20 Ondřej Bílka <neleai@seznam.cz>
15942
15943 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15944 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15945 __memcpy_sse2_unaligned ifunc selection.
15946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15947 Add memcpy-sse2-unaligned.S.
15948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15949 Add: __memcpy_sse2_unaligned.
15950
f16cc3eb
JM
159512013-05-19 Joseph Myers <joseph@codesourcery.com>
15952
3e694268
JM
15953 [BZ #15490]
15954 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15955 math_force_eval before restoring floating-point envrionment.
15956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15958 Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15960 <math_private.h>.
15961 (__nearbyintl): Use math_force_eval before restoring
15962 floating-point environment.
15963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15964
db62a907
JM
15965 * math/gen-libm-test.pl (special_functions): Remove.
15966 (parse_args): Don't handle TEST_extra. Handle functions with no
15967 return value.
15968 * math/libm-test.inc (struct test_sincos_data): Replace with
15969 struct test_fFF_11_data.
15970 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15971 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15972 (sincos_test_data): Change element type to struct
15973 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15974 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15975 RUN_TEST_LOOP_sincos.
15976 * math/README.libm-test: Don't mention special handling of
15977 individual functions.
15978 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15980 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15981 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15984
f16cc3eb
JM
15985 * math/gen-libm-test.pl (get_variable): Remove function.
15986 (parse_args): Don't show pointer parameters to call in test
15987 names. Use "extra output N" in test names for extra outputs
15988 rather than naming variables.
15989
3779b5b6
JM
159902013-05-18 Joseph Myers <joseph@codesourcery.com>
15991
2ee094ff
JM
15992 [BZ #15488]
15993 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15994 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15995 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15996 double tests.
15997 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15998 disable.
15999 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16000 check_long_double.
16001
3779b5b6
JM
16002 * math/gen-libm-test.pl (@tests): Remove variable.
16003 ($count): Likewise.
16004 (new_test): Remove function.
16005 (show_exceptions): New function.
16006 (special_functions): Use show_exceptions instead of new_test.
16007 (parse_args): Likewise.
16008 (generate_testfile): Pass only function name in generated call to
16009 print_max_error or print_complex_max_error.
16010 (get_ulps): Do not handle complex tests specially.
16011 (output_test): Rename to ...
16012 (get_all_ulps_for_test): ... this. Return a string rather than
16013 printing to a file. Require ulps to be present.
16014 (output_ulps): Generate arrays rather than #defines.
16015 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16016 (struct ulp_data): New type.
16017 (BUILD_COMPLEX_ULP): Remove macro.
16018 (compare_ulp_data): New function.
16019 (find_ulps): Likewise.
16020 (find_test_ulps): Likewise.
16021 (find_function_ulps): Likewise.
16022 (find_complex_function_ulps): Likewise.
16023 (print_max_error): Determine allowed ulps using
16024 find_function_ulps.
16025 (print_complex_max_error): Determine allowed ulps using
16026 find_complex_function_ulps.
16027 (check_float_internal): Determine max ulps using find_test_ulps.
16028 (check_float): Do not take max_ulp parameter. Update call to
16029 check_float_internal.
16030 (check_complex): Likewise.
16031 (check_int): Do not take max_ulp parameter.
16032 (check_long): Likewise.
16033 (check_bool): Likewise.
16034 (check_longlong): Likewise.
16035 (struct test_f_f_data): Remove max_ulp field.
16036 (struct test_ff_f_data): Likewise.
16037 (struct test_ff_f_data_nexttoward): Likewise.
16038 (struct test_fi_f_data): Likewise.
16039 (struct test_fl_f_data): Likewise.
16040 (struct test_if_f_data): Likewise.
16041 (struct test_fff_f_data): Likewise.
16042 (struct test_c_f_data): Likewise.
16043 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16044 (struct test_fF_f1_data): Likewise.
16045 (struct test_ffI_f1_data): Likewise.
16046 (struct test_c_c_data): Remove max_ulp field.
16047 (struct test_cc_c_data): Likewise.
16048 (struct test_f_i_data): Likewise.
16049 (struct test_ff_i_data): Likewise.
16050 (struct test_f_l_data): Likewise.
16051 (struct test_f_L_data): Likewise.
16052 (struct test_sincos_data): Likewise.
16053 (RUN_TEST_f_f): Do not handle ulps.
16054 (RUN_TEST_LOOP_f_f): Likewise.
16055 (RUN_TEST_2_f): Likewise.
16056 (RUN_TEST_LOOP_2_f): Likewise.
16057 (RUN_TEST_fff_f): Likewise.
16058 (RUN_TEST_LOOP_fff_f): Likewise.
16059 (RUN_TEST_c_f): Likewise.
16060 (RUN_TEST_LOOP_c_f): Likewise.
16061 (RUN_TEST_f_f1): Likewise.
16062 (RUN_TEST_LOOP_f_f1): Likewise.
16063 (RUN_TEST_fF_f1): Likewise.
16064 (RUN_TEST_LOOP_fF_f1): Likewise.
16065 (RUN_TEST_fI_f1): Likewise.
16066 (RUN_TEST_LOOP_fI_f1): Likewise.
16067 (RUN_TEST_ffI_f1): Likewise.
16068 (RUN_TEST_LOOP_ffI_f1): Likewise.
16069 (RUN_TEST_c_c): Likewise.
16070 (RUN_TEST_LOOP_c_c): Likewise.
16071 (RUN_TEST_cc_c): Likewise.
16072 (RUN_TEST_LOOP_cc_c): Likewise.
16073 (RUN_TEST_f_i): Likewise.
16074 (RUN_TEST_LOOP_f_i): Likewise.
16075 (RUN_TEST_f_i_tg): Likewise.
16076 (RUN_TEST_LOOP_f_i_tg): Likewise.
16077 (RUN_TEST_ff_i_tg): Likewise.
16078 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16079 (RUN_TEST_f_b): Likewise.
16080 (RUN_TEST_LOOP_f_b): Likewise.
16081 (RUN_TEST_f_b_tg): Likewise.
16082 (RUN_TEST_LOOP_f_b_tg): Likewise.
16083 (RUN_TEST_f_l): Likewise.
16084 (RUN_TEST_LOOP_f_l): Likewise.
16085 (RUN_TEST_f_L): Likewise.
16086 (RUN_TEST_LOOP_f_L): Likewise.
16087 (RUN_TEST_sincos): Likewise.
16088 (RUN_TEST_LOOP_sincos): Likewise.
16089
8269107f
JM
160902013-05-17 Joseph Myers <joseph@codesourcery.com>
16091
bb38759d
JM
16092 [BZ #15480]
16093 [BZ #15485]
16094 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16095 main case of finite arguments, set rounding mode to FE_TONEAREST
16096 and discard exceptions.
16097 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16098 exceptions.
16099 (remainder_tonearest_test_data): New variable.
16100 (remainder_test_tonearest): New function.
16101 (remainder_towardzero_test_data): New variable.
16102 (remainder_test_towardzero): New function.
16103 (remainder_downward_test_data): New variable.
16104 (remainder_test_downward): New function.
16105 (remainder_upward_test_data): New variable.
16106 (remainder_test_upward): New function.
16107 (main): Call the new test functions.
16108
a00bdcf0
JM
16109 * math/libm-test.inc (struct test_f_f1_data): Remove field
16110 extra_init.
16111 (struct test_fF_f1_data): Likewise.
16112 (struct test_ffI_f1_data): Likewise.
16113 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16114 based on value of EXTRA_EXPECTED.
16115 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16116 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16117 EXTRA_VAR based on value of EXTRA_EXPECTED.
16118 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16119 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16120 EXTRA_VAR based on value of EXTRA_EXPECTED.
16121 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16122 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16123 EXTRA_VAR based on value of EXTRA_EXPECTED.
16124 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16125 * math/gen-libm-test.pl (parse_args): Don't output initializers
16126 for extra output values.
16127
de407f79
JM
16128 * math/libm-test.inc (check_int): Expect result to be exactly
16129 equal to expected value and do not handle ulps.
16130 (check_long): Likewise.
16131 (check_longlong): Likewise.
16132
8269107f
JM
16133 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16134 exceptions.
16135 (cimag_test_data): Likewise.
16136 (conj_test_data): Likewise.
16137 (copysign_test_data): Likewise.
16138 (cproj_test_data): Likewise.
16139 (creal_test_data): Likewise.
16140 (fabs_test_data): Likewise.
16141 (fdim_test_data): Likewise.
16142 (finite_test_data): Likewise.
16143 (floor_test_data): Likewise.
16144 (fmax_test_data): Likewise.
16145 (fmin_test_data): Likewise.
16146 (fmod_test_data): Likewise.
16147 (fpclassify_test_data): Likewise.
16148 (frexp_test_data): Likewise.
16149 (ilogb_test_data): Likewise.
16150 (isfinite_test_data): Likewise.
16151 (isgreater_test_data): Likewise.
16152 (isgreaterequal_test_data): Likewise.
16153 (isinf_test_data): Likewise.
16154 (isless_test_data): Likewise.
16155 (islessequal_test_data): Likewise.
16156 (islessgreater_test_data): Likewise.
16157 (isnan_test_data): Likewise.
16158 (isnormal_test_data): Likewise.
16159 (issignaling_test_data): Likewise.
16160 (isunordered_test_data): Likewise.
16161 (ldexp_test_data): Likewise.
16162 (lrint_test_data): Likewise.
16163 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16164 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16165 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16166 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16167 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16168 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16169 test input.
16170 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16171 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16172 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16173 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16174 that test input.
16175 (lrint_downward_test_data): Test for "inexact" exceptions.
16176 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16177 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16178 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16179 test input.
16180 (lrint_upward_test_data): Test for "inexact" exceptions.
16181 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16182 test input.
16183 (llrint_test_data): Test for "inexact" exceptions.
16184 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16185 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16186 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16187 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16188 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16189 (llrint_downward_test_data): Test for "inexact" exceptions.
16190 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16191 (llrint_upward_test_data): Test for "inexact" exceptions.
16192 (logb_test_data): Likewise.
16193 (logb_downward_test_data): Likewise.
16194 (nextafter_test_data): Likewise.
16195 (nexttoward_test_data): Likewise.
16196 (remainder_test_data): Likewise.
16197 (remquo_test_data): Likewise.
16198 (scalbn_test_data): Likewise.
16199 (scalbln_test_data): Likewise.
16200 (signbit_test_data): Likewise.
16201 (sqrt_test_data): Likewise.
16202 (significand_test_data): Likewise.
16203
48a18de1
SP
162042013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16205
16206 [BZ #15424]
16207 * benchtests/bench-modf.c (struct args): Mark arg0 as
16208 volatile.
16209 * scripts/bench.pl: Mark members of struct args as volatile.
16210
13d3b41a
AZ
162112013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16212
68191c1d 16213 [BZ # 15497]
13d3b41a
AZ
16214 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16215 negative infinity on POWER6 or lower.
16216 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16217
2848b105
MR
162182013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16219
16220 [BZ #15442]
16221 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16222 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16223 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16224 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16225 (_FP_SETQNAN): New macro.
16226 (_FP_SETQNAN_SEMIRAW): Likewise.
16227 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16228 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16229 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16230 (FP_EXTEND): Use _FP_FRAC_SNANP.
16231 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16232 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16233 into account.
16234 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16235 New macro.
16236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16237 Likewise.
16238
323e5cb7
JM
162392013-05-16 Joseph Myers <joseph@codesourcery.com>
16240
c58b274f
JM
16241 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16242 with DIVIDE_BY_ZERO_EXCEPTION.
16243 (gamma_test_data): Likewise.
16244 (lgamma_test_data): Likewise.
16245 (log_test_data): Likewise.
16246 (log10_test_data): Likewise.
16247 (log2_test_data): Likewise.
16248 (tgamma_test_data): Likewise.
16249
0ab34904
JM
16250 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16251 (acos_test_tonearest): Likewise.
16252 (acos_test_towardzero): Likewise.
16253 (acos_test_downward): Likewise.
16254 (acos_test_upward): Likewise.
16255 (acosh_test): Likewise.
16256 (asin_test): Likewise.
16257 (asin_test_tonearest): Likewise.
16258 (asin_test_towardzero): Likewise.
16259 (asin_test_downward): Likewise.
16260 (asin_test_upward): Likewise.
16261 (asinh_test): Likewise.
16262 (atan_test): Likewise.
16263 (atanh_test): Likewise.
16264 (atan2_test): Likewise.
16265 (cabs_test): Likewise.
16266 (cacos_test): Likewise.
16267 (cacosh_test): Likewise.
16268 (casin_test): Likewise.
16269 (casinh_test): Likewise.
16270 (catan_test): Likewise.
16271 (catanh_test): Likewise.
16272 (cbrt_test): Likewise.
16273 (ccos_test): Likewise.
16274 (ccosh_test): Likewise.
16275 (cexp_test): Likewise.
16276 (clog_test): Likewise.
16277 (clog10_test): Likewise.
16278 (cos_test): Likewise.
16279 (cos_test_tonearest): Likewise.
16280 (cos_test_towardzero): Likewise.
16281 (cos_test_downward): Likewise.
16282 (cos_test_upward): Likewise.
16283 (cosh_test): Likewise.
16284 (cosh_test_tonearest): Likewise.
16285 (cosh_test_towardzero): Likewise.
16286 (cosh_test_downward): Likewise.
16287 (cosh_test_upward): Likewise.
16288 (cpow_test): Likewise.
16289 (csin_test): Likewise.
16290 (csinh_test): Likewise.
16291 (csqrt_test): Likewise.
16292 (ctan_test): Likewise.
16293 (ctan_test_tonearest): Likewise.
16294 (ctan_test_towardzero): Likewise.
16295 (ctan_test_downward): Likewise.
16296 (ctan_test_upward): Likewise.
16297 (ctanh_test): Likewise.
16298 (ctanh_test_tonearest): Likewise.
16299 (ctanh_test_towardzero): Likewise.
16300 (ctanh_test_downward): Likewise.
16301 (ctanh_test_upward): Likewise.
16302 (erf_test): Likewise.
16303 (erfc_test): Likewise.
16304 (exp_test): Likewise.
16305 (exp_test_tonearest): Likewise.
16306 (exp_test_towardzero): Likewise.
16307 (exp_test_downward): Likewise.
16308 (exp_test_upward): Likewise.
16309 (exp10_test): Likewise.
16310 (exp2_test): Likewise.
16311 (expm1_test): Likewise.
16312 (fmod_test): Likewise.
16313 (gamma_test): Likewise.
16314 (hypot_test): Likewise.
16315 (j0_test): Likewise.
16316 (j1_test): Likewise.
16317 (jn_test): Likewise.
16318 (lgamma_test): Likewise.
16319 (log_test): Likewise.
16320 (log10_test): Likewise.
16321 (log1p_test): Likewise.
16322 (log2_test): Likewise.
16323 (logb_test_downward): Likewise.
16324 (pow_test): Likewise.
16325 (pow_test_tonearest): Likewise.
16326 (pow_test_towardzero): Likewise.
16327 (pow_test_downward): Likewise.
16328 (pow_test_upward): Likewise.
16329 (remainder_test): Likewise.
16330 (remquo_test): Likewise.
16331 (sin_test): Likewise.
16332 (sin_test_tonearest): Likewise.
16333 (sin_test_towardzero): Likewise.
16334 (sin_test_downward): Likewise.
16335 (sin_test_upward): Likewise.
16336 (sincos_test): Likewise.
16337 (sinh_test): Likewise.
16338 (sinh_test_tonearest): Likewise.
16339 (sinh_test_towardzero): Likewise.
16340 (sinh_test_downward): Likewise.
16341 (sinh_test_upward): Likewise.
16342 (sqrt_test): Likewise.
16343 (tan_test): Likewise.
16344 (tan_test_tonearest): Likewise.
16345 (tan_test_towardzero): Likewise.
16346 (tan_test_downward): Likewise.
16347 (tan_test_upward): Likewise.
16348 (tanh_test): Likewise.
16349 (tgamma_test): Likewise.
16350 (y0_test): Likewise.
16351 (y1_test): Likewise.
16352 (yn_test): Likewise.
16353
323e5cb7
JM
16354 * math/gen-libm-test.pl (adjust_arg): Remove function.
16355 (special_function): Remove argument $in_func. Only handle
16356 generating output for tables of tests, not inside functions.
16357 (parse_args): Likewise.
16358 (generate_testfile): Remove variable $in_func. Update call to
16359 parse_args.
16360 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16361 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16362 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16363 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16364 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16365 (MAX_VALUE_INIT): Rename macro to max_value.
16366 (MIN_VALUE_INIT): Rename macro to min_value.
16367 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16368 (plus_zero): Remove variable.
16369 (minus_zero): Likewise.
16370 (plus_infty): Likewise.
16371 (minus_infty): Likewise.
16372 (qnan_value): Likewise.
16373 (max_value): Likewise.
16374 (min_value): Likewise.
16375 (min_subnorm_value): Likewise.
16376
e054f494
RA
163772013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16378
16379 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16380 uint64_t or uint32_t usage.
16381 * crypt/sha256-block.c: Likewise.
16382 * crypt/sha256-crypt.c: Likewise.
16383 * crypt/sha256.c: Likewise.
16384 * crypt/sha512-block.c: Likewise.
16385 * crypt/sha512-crypt.c: Likewise.
16386 * crypt/sha512.c: Likewise.
16387 * debug/backtrace-tst.c: Likewise.
16388 * debug/pcprofiledump.c: Likewise.
16389 * elf/cache.c: Likewise.
16390 * elf/dl-cache.c: Likewise.
16391 * elf/dl-misc.c: Likewise.
16392 * elf/dl-profile.c: Likewise.
16393 * elf/dl-support.c: Likewise.
16394 * elf/ldconfig.c: Likewise.
16395 * elf/sprof.c: Likewise.
16396 * iconv/dummy-repertoire.c: Likewise.
16397 * iconv/iconv_charmap.c: Likewise.
16398 * iconv/skeleton.c: Likewise.
16399 * iconvdata/8bit-generic.c: Likewise.
16400 * iconvdata/cp737.h: Likewise.
16401 * iconvdata/cp775.h: Likewise.
16402 * iconvdata/ibm1008.h: Likewise.
16403 * iconvdata/ibm1025.h: Likewise.
16404 * iconvdata/ibm1046.h: Likewise.
16405 * iconvdata/ibm1097.h: Likewise.
16406 * iconvdata/ibm1112.h: Likewise.
16407 * iconvdata/ibm1122.h: Likewise.
16408 * iconvdata/ibm1123.h: Likewise.
16409 * iconvdata/ibm1124.h: Likewise.
16410 * iconvdata/ibm1129.h: Likewise.
16411 * iconvdata/ibm1130.h: Likewise.
16412 * iconvdata/ibm1132.h: Likewise.
16413 * iconvdata/ibm1133.h: Likewise.
16414 * iconvdata/ibm1137.h: Likewise.
16415 * iconvdata/ibm1140.h: Likewise.
16416 * iconvdata/ibm1141.h: Likewise.
16417 * iconvdata/ibm1142.h: Likewise.
16418 * iconvdata/ibm1143.h: Likewise.
16419 * iconvdata/ibm1144.h: Likewise.
16420 * iconvdata/ibm1145.h: Likewise.
16421 * iconvdata/ibm1146.h: Likewise.
16422 * iconvdata/ibm1147.h: Likewise.
16423 * iconvdata/ibm1148.h: Likewise.
16424 * iconvdata/ibm1149.h: Likewise.
16425 * iconvdata/ibm1153.h: Likewise.
16426 * iconvdata/ibm1154.h: Likewise.
16427 * iconvdata/ibm1155.h: Likewise.
16428 * iconvdata/ibm1156.h: Likewise.
16429 * iconvdata/ibm1157.h: Likewise.
16430 * iconvdata/ibm1158.h: Likewise.
16431 * iconvdata/ibm1160.h: Likewise.
16432 * iconvdata/ibm1161.h: Likewise.
16433 * iconvdata/ibm1162.h: Likewise.
16434 * iconvdata/ibm1163.h: Likewise.
16435 * iconvdata/ibm1164.h: Likewise.
16436 * iconvdata/ibm1166.h: Likewise.
16437 * iconvdata/ibm1167.h: Likewise.
16438 * iconvdata/ibm12712.h: Likewise.
16439 * iconvdata/ibm1390.h: Likewise.
16440 * iconvdata/ibm1399.h: Likewise.
16441 * iconvdata/ibm16804.h: Likewise.
16442 * iconvdata/ibm4517.h: Likewise.
16443 * iconvdata/ibm4899.h: Likewise.
16444 * iconvdata/ibm4909.h: Likewise.
16445 * iconvdata/ibm4971.h: Likewise.
16446 * iconvdata/ibm5347.h: Likewise.
16447 * iconvdata/ibm803.h: Likewise.
16448 * iconvdata/ibm856.h: Likewise.
16449 * iconvdata/ibm901.h: Likewise.
16450 * iconvdata/ibm902.h: Likewise.
16451 * iconvdata/ibm9030.h: Likewise.
16452 * iconvdata/ibm9066.h: Likewise.
16453 * iconvdata/ibm921.h: Likewise.
16454 * iconvdata/ibm922.h: Likewise.
16455 * iconvdata/ibm9448.h: Likewise.
16456 * iconvdata/isiri-3342.h: Likewise.
16457 * iconvdata/jis0201.h: Likewise.
16458 * include/link.h: Likewise.
16459 * include/netdb.h: Likewise.
16460 * inet/check_native.c: Likewise.
16461 * inet/check_pf.c: Likewise.
16462 * inet/getipv4sourcefilter.c: Likewise.
16463 * inet/getnameinfo.c: Likewise.
16464 * inet/getsourcefilter.c: Likewise.
16465 * inet/htonl.c: Likewise.
16466 * inet/setipv4sourcefilter.c: Likewise.
16467 * inet/setsourcefilter.c: Likewise.
16468 * inet/test-inet6_opt.c: Likewise.
16469 * inet/tst-network.c: Likewise.
16470 * locale/C-collate.c: Likewise.
16471 * locale/C-ctype.c: Likewise.
16472 * locale/C-time.c: Likewise.
16473 * locale/C-translit.h: Likewise.
16474 * locale/loadarchive.c: Likewise.
16475 * locale/programs/3level.h: Likewise.
16476 * locale/programs/charmap.c: Likewise.
16477 * locale/programs/charmap.h: Likewise.
16478 * locale/programs/ld-address.c: Likewise.
16479 * locale/programs/ld-collate.c: Likewise.
16480 * locale/programs/ld-ctype.c: Likewise.
16481 * locale/programs/ld-identification.c: Likewise.
16482 * locale/programs/ld-measurement.c: Likewise.
16483 * locale/programs/ld-messages.c: Likewise.
16484 * locale/programs/ld-monetary.c: Likewise.
16485 * locale/programs/ld-name.c: Likewise.
16486 * locale/programs/ld-numeric.c: Likewise.
16487 * locale/programs/ld-paper.c: Likewise.
16488 * locale/programs/ld-telephone.c: Likewise.
16489 * locale/programs/ld-time.c: Likewise.
16490 * locale/programs/linereader.c: Likewise.
16491 * locale/programs/locale.c: Likewise.
16492 * locale/programs/locarchive.c: Likewise.
16493 * locale/programs/locfile.h: Likewise.
16494 * locale/programs/repertoire.c: Likewise.
16495 * locale/programs/simple-hash.c: Likewise.
16496 * locale/programs/simple-hash.h: Likewise.
16497 * malloc/memusage.c: Likewise.
16498 * malloc/memusagestat.c: Likewise.
16499 * nis/nis_defaults.c: Likewise.
16500 * nis/nis_hash.c: Likewise.
16501 * nis/nis_print.c: Likewise.
16502 * nis/nis_xdr.c: Likewise.
16503 * nscd/connections.c: Likewise.
16504 * nscd/hstcache.c: Likewise.
16505 * nscd/nscd_gethst_r.c: Likewise.
16506 * nscd/nscd_getserv_r.c: Likewise.
16507 * nscd/nscd_helper.c: Likewise.
16508 * nscd/servicescache.c: Likewise.
16509 * nss/makedb.c: Likewise.
16510 * nss/nss_db/db-XXX.c: Likewise.
16511 * nss/nss_db/db-initgroups.c: Likewise.
16512 * nss/nss_db/db-netgrp.c: Likewise.
16513 * nss/nss_files/files-network.c: Likewise.
16514 * nss/nss_files/files-parse.c: Likewise.
16515 * posix/bug-regex5.c: Likewise.
16516 * posix/fnmatch_loop.c: Likewise.
16517 * posix/regcomp.c: Likewise.
16518 * posix/regexec.c: Likewise.
16519 * posix/tst-rfc3484-2.c: Likewise.
16520 * posix/tst-rfc3484-3.c: Likewise.
16521 * posix/tst-rfc3484.c: Likewise.
16522 * resolv/nss_dns/dns-canon.c: Likewise.
16523 * resolv/nss_dns/dns-network.c: Likewise.
16524 * resolv/res_init.c: Likewise.
16525 * resolv/res_mkquery.c: Likewise.
16526 * resolv/tst-aton.c: Likewise.
16527 * stdlib/cxa_atexit.c: Likewise.
16528 * stdlib/cxa_finalize.c: Likewise.
16529 * stdlib/gen-fpioconst.c: Likewise.
16530 * stdlib/strtol_l.c: Likewise.
16531 * string/tst-endian.c: Likewise.
16532 * sunrpc/auth_des.c: Likewise.
16533 * sunrpc/clnt_udp.c: Likewise.
16534 * sunrpc/rtime.c: Likewise.
16535 * sunrpc/svcauth_des.c: Likewise.
16536 * sunrpc/xdr.c: Likewise.
16537 * sunrpc/xdr_intXX_t.c: Likewise.
16538 * sunrpc/xdr_rec.c: Likewise.
16539 * sysdeps/generic/ldconfig.h: Likewise.
16540 * sysdeps/generic/ldsodefs.h: Likewise.
16541 * sysdeps/generic/memusage.h: Likewise.
16542 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16545 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16552 * sysdeps/posix/getaddrinfo.c: Likewise.
16553 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16554 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16555 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16557 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16558 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16559 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16560 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16561 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16562 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16563 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16564 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16565 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16566 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16567 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16568 * sysdeps/x86_64/dl-tls.h: Likewise.
16569 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16570 * time/alt_digit.c: Likewise.
16571 * time/era.c: Likewise.
16572 * wcsmbs/tst-c16c32-1.c: Likewise.
16573
8c75f674
JM
165742013-05-16 Joseph Myers <joseph@codesourcery.com>
16575
16576 * math/libm-test.inc (struct test_sincos_data): New type.
16577 (RUN_TEST_LOOP_sincos): New macro.
16578 (sincos_test_data): New variable.
16579 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16580
e6e49e59
RH
165812013-05-16 Richard Henderson <rth@redhat.com>
16582
16583 * math/atest-exp2.c (LIMB64): New macro.
16584 (CONSTSZ): New macro.
16585 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16586 (hexdig): Move ...
16587 (print_mpn_fp): ... to function scope.
16588 (read_mpn_hex): Remove.
16589 (get_log2): Remove.
16590 (exp2_mpn): Use mp_log2.
16591 (main): Use mp_exp1.
16592
15c7c18d
JM
165932013-05-16 Joseph Myers <joseph@codesourcery.com>
16594
105a07df
JM
16595 * math/libm-test.inc: Remove comment about not testing "inexact"
16596 exceptions.
16597 (INEXACT_EXCEPTION): New macro.
16598 (NO_INEXACT_EXCEPTION): Likewise.
16599 (INVALID_EXCEPTION_OK): Update value.
16600 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16601 (OVERFLOW_EXCEPTION_OK): Likewise.
16602 (UNDERFLOW_EXCEPTION_OK): Likewise.
16603 (IGNORE_ZERO_INF_SIGN): Likewise.
16604 (ERRNO_UNCHANGED): Likewise.
16605 (ERRNO_EDOM): Likewise.
16606 (ERRNO_ERANGE): Likewise.
16607 (test_exceptions): Handle testing "inexact" exceptions.
16608 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16609 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16610 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16611 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16612 INEXACT_EXCEPTION.
16613 (rint_towardzero_test_data): Likewise.
16614 (rint_downward_test_data): Likewise.
16615 (rint_upward_test_data): Likewise.
16616
e9eee333
JM
16617 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16618 with OVERFLOW_EXCEPTION.
16619 (exp10_test_data): Likewise.
16620 (exp2_test_data): Likewise.
16621 (expm1_test_data): Likewise.
16622 (lgamma_test_data): Likewise.
16623 (pow_test_data): Likewise.
16624 (tgamma_test_data): Likewise.
16625 (yn_test_data): Remove duplicate test of overflow.
16626
1c38ff73
JM
16627 * math/libm-test.inc (struct test_cc_c_data): New type.
16628 (RUN_TEST_LOOP_cc_c): New macro.
16629 (cpow_test_data): New variable.
16630 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16631
15c7c18d
JM
16632 * math/libm-test.inc (struct test_f_L_data): New type.
16633 (RUN_TEST_LOOP_f_L): New macro.
16634 (llrint_test_data): New variable.
16635 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16636 (llrint_tonearest_test_data): New variable.
16637 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16638 (llrint_towardzero_test_data): New variable.
16639 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16640 (llrint_downward_test_data): New variable.
16641 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16642 (llrint_upward_test_data): New variable.
16643 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16644 (llround_test_data): New variable.
16645 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16646
f137ff13
PC
166472013-05-13 Peter Collingbourne <pcc@google.com>
16648
16649 * math/atest-exp2.c (get_log2): Remove const attribute.
16650
3608cb24
JM
166512013-05-15 Joseph Myers <joseph@codesourcery.com>
16652
16653 * math/libm-test.inc (struct test_f_l_data): New type.
16654 (RUN_TEST_LOOP_f_l): New macro.
16655 (lrint_test_data): New variable.
16656 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16657 (lrint_tonearest_test_data): New variable.
16658 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16659 (lrint_towardzero_test_data): New variable.
16660 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16661 (lrint_downward_test_data): New variable.
16662 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16663 (lrint_upward_test_data): New variable.
16664 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16665 (lround_test_data): New variable.
16666 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16667
39b1f617
PC
166682013-05-15 Peter Collingbourne <pcc@google.com>
16669
1deff3dc
PC
16670 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16671 (EXTRACT_WORDS64) Use where appropriate.
16672 (INSERT_WORDS64) Likewise.
16673
791f3ba0
PC
16674 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16675 constraints with x constraints.
16676 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16677
39b1f617
PC
16678 * malloc/obstack.c (_obstack_compat): Add initializer.
16679
12fba011
EM
166802013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16681
16682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16683 si_trapno and add si_addr_lsb to _sifields.sigfault.
16684 (si_trapno): Remove macro.
16685 (si_addr_lsb): Define new macro.
16686 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16687
d369f531
JM
166882013-05-15 Joseph Myers <joseph@codesourcery.com>
16689
b861c6c4
JM
16690 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16691 instead of TEST_f_l.
16692 (llrint_test_tonearest): Likewise.
16693 (llrint_test_towardzero): Likewise.
16694 (llrint_test_downward): Likewise.
16695 (llrint_test_upward): Likewise.
16696 (llround_test): Likewise.
16697
7abeee12
JM
16698 * math/libm-test.inc (struct test_f_i_data): Add comment.
16699 (RUN_TEST_LOOP_f_b): New macro.
16700 (RUN_TEST_LOOP_f_b_tg): Likewise.
16701 (finite_test_data): New variable.
16702 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16703 (isfinite_test_data): New variable.
16704 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16705 (isinf_test_data): New variable.
16706 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16707 (isnan_test_data): New variable.
16708 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16709 (isnormal_test_data): New variable.
16710 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16711 (issignaling_test_data): New variable.
16712 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16713 (signbit_test_data): New variable.
16714 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16715
cbe8c4d3
JM
16716 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16717 with INVALID_EXCEPTION.
16718 (acosh_test_data): Likewise.
16719 (asin_test_data): Likewise.
16720 (atanh_test_data): Likewise.
16721 (fmod_test_data): Likewise.
16722 (log_test_data): Likewise.
16723 (log10_test_data): Likewise.
16724 (log2_test_data): Likewise.
16725 (pow_test_data): Likewise.
16726 (sqrt_test_data): Likewise.
16727 (y0_test_data): Likewise.
16728 (y1_test_data): Likewise.
16729 (yn_test_data): Likewise.
16730
5575c0e5
JM
16731 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16732 function contents.
16733
d369f531
JM
16734 * math/libm-test.inc (struct test_ff_i_data): New type.
16735 (RUN_TEST_LOOP_ff_i_tg): New macro.
16736 (isgreater_test_data): New variable.
16737 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16738 (isgreaterequal_test_data): New variable.
16739 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16740 (isless_test_data): New variable.
16741 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16742 (islessequal_test_data): New variable.
16743 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16744 (islessgreater_test_data): New variable.
16745 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16746 (isunordered_test_data): New variable.
16747 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16748
781fd748
DM
167492013-05-14 David S. Miller <davem@davemloft.net>
16750
16751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16752
87aa21df
JM
167532013-05-14 Joseph Myers <joseph@codesourcery.com>
16754
5e908270
JM
16755 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16756
f71172e5
JM
16757 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16758 extra_test to int.
16759 (struct test_f_i_data): Change type of max_ulp to int.
16760
8cfa635a
JM
16761 * math/libm-test.inc (test_ffI_f1_data): New type.
16762 (RUN_TEST_LOOP_ffI_f1): New macro.
16763 (remquo_test_data): New variable.
16764 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16765
2bcb36b2
JM
16766 * setjmp/tst-setjmp-fp.c: New file.
16767 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16768 (link-libm): New variable.
16769 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16770
acbd839a
JM
16771 * math/libm-test.inc (struct test_f_i_data): New type.
16772 (RUN_TEST_LOOP_f_i): New macro.
16773 (RUN_TEST_LOOP_f_i_tg): Likewise.
16774 (fpclassify_test_data): New variable.
16775 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16776 (ilogb_test_data): New variable.
16777 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16778
e414d745
JM
16779 * math/libm-test.inc (scalbln_test): Correct function name in END
16780 call.
16781
d9c2a0fd
JM
16782 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16783 (RUN_TEST_LOOP_fI_f1): New macro.
16784 (frexp_test_data): New variable.
16785 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16786
9dc9095d
JM
16787 * math/libm-test.inc (struct test_fF_f1_data): New type.
16788 (RUN_TEST_LOOP_fF_f1): New macro.
16789 (modf_test_data): New variable.
16790 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16791
87aa21df
JM
16792 * math/libm-test.inc (struct test_f_f1_data): New type.
16793 (RUN_TEST_LOOP_f_f1): New macro.
16794 (gamma_test_data): New variable.
16795 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16796 (lgamma_test_data): New variable.
16797 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16798
141af660
CD
167992013-05-13 Carlos O'Donell <carlos@redhat.com>
16800
16801 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16802 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16803 (main): Comment "tls" pseudo-hwcap.
16804
6d33265c
JM
168052013-05-13 Joseph Myers <joseph@codesourcery.com>
16806
68fc074c
JM
16807 * math/libm-test.inc (struct test_fl_f_data): New type.
16808 (RUN_TEST_LOOP_fl_f): New variable.
16809 (scalbln_test_data): New variable.
16810 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16811
243216e1
JM
16812 * math/libm-test.inc (struct test_fi_f_data): New type.
16813 (RUN_TEST_LOOP_fi_f): New macro.
16814 (ldexp_test_data): New variable.
16815 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16816 (scalbn_test_data): New variable.
16817 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16818
6a1992e2
JM
16819 * math/libm-test.inc (struct test_c_f_data): New type.
16820 (RUN_TEST_LOOP_c_f): New macro.
16821 (cabs_test_data): New variable.
16822 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16823 (carg_test_data): New variable.
16824 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16825 (cimag_test_data): New variable.
16826 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16827 (creal_test_data): New variable.
16828 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16829
0e400df5
JM
16830 * math/libm-test.inc (struct test_if_f_data): New type.
16831 (RUN_TEST_LOOP_if_f): New macro.
16832 (jn_test_data): New variable.
16833 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16834 (yn_test_data): New variable.
16835 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16836
6d33265c
JM
16837 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16838
f98ece5f
AZ
168392013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840
16841 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16842 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16843
0f7d347b
SP
168442013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16845
43fe811b
SP
16846 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16847 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16848 (bench-deps): Add bench-timing.h.
16849 * benchtests-bench-skeleton.c: Include bench-timing.h.
16850 (main): Use TIMING_* macros instead of clock_gettime.
16851 * benchtests/bench-timing.h: New file.
16852
0f7d347b
SP
16853 [BZ #14582]
16854 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16855 Renamed from _LIB_VERSION.
16856 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16857
601a3a5f
JM
168582013-05-12 Joseph Myers <joseph@codesourcery.com>
16859
4f184d30
JM
16860 * math/libm-test.inc (struct test_fff_f_data): New type.
16861 (RUN_TEST_LOOP_fff_f): New macro.
16862 (fma_test_data): New variable.
16863 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16864 (fma_towardzero_test_data): New variable.
16865 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16866 (fma_downward_test_data): New variable.
16867 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16868 (fma_upward_test_data): New variable.
16869 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16870
08198877
JM
16871 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16872 (struct test_c_c_data): New type.
16873 (RUN_TEST_LOOP_c_c): New macro.
16874 (cacos_test_data): New variable.
16875 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16876 (cacosh_test_data): New variable.
16877 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16878 (casin_test_data): New variable.
16879 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16880 (casinh_test_data): New variable.
16881 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16882 (catan_test_data): New variable.
16883 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16884 (catanh_test_data): New variable.
16885 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16886 (ccos_test_data): New variable.
16887 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16888 (ccosh_test_data): New variable.
16889 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16890 (cexp_test_data): New variable.
16891 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16892 (clog_test_data): New variable.
16893 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16894 (clog10_test_data): New variable.
16895 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16896 (conj_test_data): New variable.
16897 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16898 (cproj_test_data): New variable.
16899 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16900 (csin_test_data): New variable.
16901 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16902 (csinh_test_data): New variable.
16903 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16904 (csqrt_test_data): New variable.
16905 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16906 (ctan_test_data): New variable.
16907 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16908 (ctan_tonearest_test_data): New variable.
16909 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16910 (ctan_towardzero_test_data): New variable.
16911 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16912 (ctan_downward_test_data): New variable.
16913 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16914 (ctan_upward_test_data): New variable.
16915 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16916 (ctanh_test_data): New variable.
16917 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16918 (ctanh_tonearest_test_data): New variable.
16919 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16920 (ctanh_towardzero_test_data): New variable.
16921 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16922 (ctanh_downward_test_data): New variable.
16923 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16924 (ctanh_upward_test_data): New variable.
16925 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16926 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16927 of BUILD_COMPLEX.
16928
601a3a5f
JM
16929 * math/libm-test.inc (struct test_ff_f_data): New type.
16930 (struct test_ff_f_data_nexttoward): Likewise.
16931 (RUN_TEST_LOOP_2_f): New macro.
16932 (RUN_TEST_LOOP_ff_f): Likewise.
16933 (atan2_test_data): New variable.
16934 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16935 (copysign_test_data): New variable.
16936 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16937 (fdim_test_data): New variable.
16938 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16939 (fmax_test_data): New variable.
16940 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16941 (fmin_test_data): New variable.
16942 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16943 (fmod_test_data): New variable.
16944 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16945 (hypot_test_data): New variable.
16946 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16947 (nextafter_test_data): New variable.
16948 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16949 (nexttoward_test_data): New variable.
16950 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16951 (pow_test_data): New variable.
16952 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16953 (pow_tonearest_test_data): New variable.
16954 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16955 (pow_towardzero_test_data): New variable.
16956 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16957 (pow_downward_test_data): New variable.
16958 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16959 (pow_upward_test_data): New variable.
16960 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16961 (remainder_test_data): New variable.
16962 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16963 (scalb_test_data): New variable.
16964 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16965 * sysdeps/i386/fpu/libm-test-ulps: Update.
16966
74c57478
JM
169672013-05-11 Joseph Myers <joseph@codesourcery.com>
16968
8329e4da
JM
16969 * math/libm-test.inc (fma_test): Use max_value instead of local
16970 variable fltmax.
16971 (nextafter_test): Likewise.
16972
74c57478
JM
16973 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16974 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16975 (acos_downward_test_data): New variable.
16976 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16977 (acos_upward_test_data): New variable.
16978 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16979 (acosh_test_data): New variable.
16980 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16981 (asin_test_data): New variable.
16982 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16983 (asin_tonearest_test_data): New variable.
16984 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16985 (asin_towardzero_test_data): New variable.
16986 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16987 (asin_downward_test_data): New variable.
16988 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16989 (asin_upward_test_data): New variable.
16990 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16991 (asinh_test_data): New variable.
16992 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16993 (atan_test_data): New variable.
16994 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16995 (atanh_test_data): New variable.
16996 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16997 (cbrt_test_data): New variable.
16998 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16999 (ceil_test_data): New variable.
17000 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17001 (cos_test_data): New variable.
17002 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17003 (cos_tonearest_test_data): New variable.
17004 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17005 (cos_towardzero_test_data): New variable.
17006 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17007 (cos_downward_test_data): New variable.
17008 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17009 (cos_upward_test_data): New variable.
17010 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17011 (cosh_test_data): New variable.
17012 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17013 (cosh_tonearest_test_data): New variable.
17014 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17015 (cosh_towardzero_test_data): New variable.
17016 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17017 (cosh_downward_test_data): New variable.
17018 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17019 (cosh_upward_test_data): New variable.
17020 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17021 (erf_test_data): New variable.
17022 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17023 (erfc_test_data): New variable.
17024 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17025 (exp_test_data): New variable.
17026 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17027 (exp_tonearest_test_data): New variable.
17028 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17029 (exp_towardzero_test_data): New variable.
17030 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17031 (exp_downward_test_data): New variable.
17032 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17033 (exp_upward_test_data): New variable.
17034 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17035 (exp10_test_data): New variable.
17036 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17037 (exp2_test_data): New variable.
17038 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17039 (expm1_test_data): New variable.
17040 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17041 (fabs_test_data): New variable.
17042 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17043 (floor_test_data): New variable.
17044 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17045 (j0_test_data): New variable.
17046 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17047 (j1_test_data): New variable.
17048 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17049 (log_test_data): New variable.
17050 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17051 (log10_test_data): New variable.
17052 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17053 (log1p_test_data): New variable.
17054 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17055 (log2_test_data): New variable.
17056 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17057 (logb_test_data): New variable.
17058 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17059 (logb_downward_test_data): New variable.
17060 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17061 (nearbyint_test_data): New variable.
17062 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17063 (rint_test_data): New variable.
17064 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17065 (rint_tonearest_test_data): New variable.
17066 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17067 (rint_towardzero_test_data): New variable.
17068 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17069 (rint_downward_test_data): New variable.
17070 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17071 (rint_upward_test_data): New variable.
17072 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17073 (round_test_data): New variable.
17074 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17075 (sin_test_data): New variable.
17076 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17077 (sin_tonearest_test_data): New variable.
17078 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17079 (sin_towardzero_test_data): New variable.
17080 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17081 (sin_downward_test_data): New variable.
17082 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17083 (sin_upward_test_data): New variable.
17084 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17085 (sinh_test_data): New variable.
17086 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17087 (sinh_tonearest_test_data): New variable.
17088 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17089 (sinh_towardzero_test_data): New variable.
17090 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17091 (sinh_downward_test_data): New variable.
17092 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17093 (sinh_upward_test_data): New variable.
17094 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17095 (sqrt_test_data): New variable.
17096 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17097 (tan_test_data): New variable.
17098 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17099 (tan_tonearest_test_data): New variable.
17100 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17101 (tan_towardzero_test_data): New variable.
17102 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17103 (tan_downward_test_data): New variable.
17104 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17105 (tan_upward_test_data): New variable.
17106 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17107 (tanh_test_data): New variable.
17108 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17109 (tgamma_test_data): New variable.
17110 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17111 (trunc_test_data): New variable.
17112 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17113 (y0_test_data): New variable.
17114 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17115 (y1_test_data): New variable.
17116 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17117 (significand_test_data): New variable.
17118 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17119
7187d844
CG
171202013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17121
17122 [BZ #12387]
17123 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17124
f63fae73
PT
171252013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17126
17127 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17128
8a67a4b3
AJ
171292013-05-10 Andreas Jaeger <aj@suse.de>
17130
17131 [BZ #15448]
17132 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17133 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17134
51df539d
JM
171352013-05-10 Joseph Myers <joseph@codesourcery.com>
17136
17137 * math/gen-libm-test.pl (adjust_arg): New function.
17138 (special_functions): Handle generating output in both functions
17139 and arrays.
17140 (parse_args): Likewise.
17141 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17142 $in_func argument to parse_args.
17143 * math/libm-test.inc (struct test_f_f_data): New type.
17144 (IF_ROUND_INIT_): New macro.
17145 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17146 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17147 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17148 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17149 (ROUND_RESTORE_): Likewise.
17150 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17151 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17152 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17153 (ROUND_RESTORE_FE_UPWARD): Likewise.
17154 (RUN_TEST_LOOP_f_f): New macro.
17155 (acos_test_data): New variable.
17156 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17157 (acos_tonearest_test_data): New variable.
17158 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17159
5c637fe5
SP
171602013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17161
17162 * benchtests/bench-skeleton.c (startup): Fix coding style.
17163
ab2b9461
JM
171642013-05-10 Joseph Myers <joseph@codesourcery.com>
17165
17166 [BZ #6809]
17167 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17168 negative infinity argument.
17169 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17170 negative infinity argument.
17171 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17172 negative infinity argument.
17173 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17174 domain errors.
17175
4c0fe6fe
FW
171762013-05-10 Florian Weimer <fweimer@redhat.com>
17177
17178 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17179 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17180 * iconv/iconv_prog.c (main): Likewise.
17181 * locale/programs/charmap-dir.c (charmap_readdir)
17182 (fopen_uncompressed): Likewise.
17183 * locale/programs/locfile.c (siblings_uncached)
17184 (write_locale_data): Use lstat64 instead of lstat.
17185 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17186 stat.
17187
a3375d29
AJ
171882013-05-10 Andreas Jaeger <aj@suse.de>
17189
17190 [BZ #15395]
17191 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17192 localization.
17193 Include <locale.h>.
17194
36129722
CD
171952013-05-09 Carlos O'Donell <carlos@redhat.com>
17196
17197 * elf/dl-close.c (_dl_close_worker): Add comments.
17198
faa7f811
JM
171992013-05-09 Joseph Myers <joseph@codesourcery.com>
17200
ed41ffef
JM
17201 [BZ #15359]
17202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17203 high part of pi/2.
17204 (__ieee754_rem_pio2l): Update comments.
17205
d0213cd0
JM
17206 [BZ #15429]
17207 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17208 high part of pi/2.
17209 (__ieee754_rem_pio2l): Update comments.
17210
0d3e777a
JM
17211 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17212 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17213
24f56066
JM
17214 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17215 M_PI_4l.
17216
faa7f811
JM
17217 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17218 (M_PI_34_LOG10El): Likewise.
17219 (M_PI2_LOG10El): Likewise.
17220 (M_PI4_LOG10El): Likewise.
17221 (M_PI_LOG10El): Likewise.
17222
e9a5e0fd
AZ
172232013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17224
17225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17226
d8cd06db
JM
172272013-05-08 Joseph Myers <joseph@codesourcery.com>
17228
a0d9f9d7
JM
17229 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17230 (MINUS_ZERO_INIT): Likewise.
17231 (PLUS_INFTY_INIT): Likewise.
17232 (MINUS_INFTY_INIT): Likewise.
17233 (QNAN_VALUE_INIT): Likewise.
17234 (MAX_VALUE_INIT): Likewise.
17235 (MIN_VALUE_INIT): Likewise.
17236 (MIN_SUBNORM_VALUE_INIT): Likewise.
17237 (plus_zero): Initialize with PLUS_ZERO_INIT.
17238 (minus_zero): Initialize with MINUS_ZERO_INIT.
17239 (plus_infty): Initialize with PLUS_INFTY_INIT.
17240 (minus_infty): Initialize with MINUS_INFTY_INIT.
17241 (qnan_value): Initialize with QNAN_VALUE_INIT.
17242 (max_value): Initialize with MAX_VALUE_INIT.
17243 (min_value): Initialize with MIN_VALUE_INIT.
17244 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17245
ae08db3b
JM
17246 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17247 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17248 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17249 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17250
f44bf14a
JM
17251 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17252 (RUN_TEST_2_f): Likewise.
17253 (RUN_TEST_ff_f): Likewise.
17254 (RUN_TEST_fi_f): Likewise.
17255 (RUN_TEST_fl_f): Likewise.
17256 (RUN_TEST_fff_f): Likewise.
17257 (RUN_TEST_c_f): Likewise.
17258 (RUN_TEST_f_f1): Likewise.
17259 (RUN_TEST_fF_f1): Likewise.
17260 (RUN_TEST_fI_f1): Likewise.
17261 (RUN_TEST_ffI_f1): Likewise.
17262 (RUN_TEST_c_c): Likewise.
17263 (RUN_TEST_cc_c): Likewise.
17264 (RUN_TEST_f_i): Likewise.
17265 (RUN_TEST_f_i_tg): Likewise.
17266 (RUN_TEST_ff_i_tg): Likewise.
17267 (RUN_TEST_f_b): Likewise.
17268 (RUN_TEST_f_b_tg): Likewise.
17269 (RUN_TEST_f_l): Likewise.
17270 (RUN_TEST_f_L): Likewise.
17271 (RUN_TEST_sincos): Likewise.
17272 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17273 whether to show exceptions. Do not include ");\n" in return
17274 value.
17275 (special_functions): Output call to RUN_TEST_sincos instead of
17276 check_float calls. Update calls to new_test.
17277 (parse_args): Output call to single RUN_TEST_* macro instead of
17278 check_* calls and other assignments. Update calls to new_test.
17279
d8cd06db
JM
17280 [BZ #2546]
17281 [BZ #2560]
17282 [BZ #5159]
17283 [BZ #15426]
17284 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17285 input to result for tgamma overflow.
17286 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17287 (gamma_coeff): New variable.
17288 (NCOEFF): New macro.
17289 (gamma_positive): New function.
17290 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17291 underflow here. Use gamma_positive instead of exp (lgamma) for
17292 other arguments.
17293 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17294 (gamma_coeff): New variable.
17295 (NCOEFF): New macro.
17296 (gammaf_positive): New function.
17297 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17298 underflow here. Use gamma_positive instead of exp (lgamma) for
17299 other arguments.
17300 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17301 (gamma_coeff): New variable.
17302 (NCOEFF): New macro.
17303 (gammal_positive): New function.
17304 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17305 underflow here. Use gamma_positive instead of exp (lgamma) for
17306 other arguments.
17307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17308 (gamma_coeff): New variable.
17309 (NCOEFF): New macro.
17310 (gammal_positive): New function.
17311 (__ieee754_gammal_r): Handle positive infinity, overflow and
17312 underflow here. Handle NaN the same as positive infinity. Remove
17313 check x < 0xffffffff for negative integers. Use gamma_positive
17314 instead of exp (lgamma) for other arguments.
17315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17316 (gamma_coeff): New variable.
17317 (NCOEFF): New macro.
17318 (gammal_positive): New function.
17319 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17320 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17325 * sysdeps/generic/math_private.h (__gamma_productf): New
17326 prototype.
17327 (__gamma_product): Likewise.
17328 (__gamma_productl): Likewise.
17329 * math/Makefile (libm-calls): Add gamma_product.
17330 * math/libm-test.inc (tgamma_test): Add more tests.
17331 * sysdeps/i386/fpu/libm-test-ulps: Update.
17332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17333
bb7cf681
OB
173342013-05-08 Ondřej Bílka <neleai@seznam.cz>
17335
17336 * benchtests/bench-skeleton.c (main): Preheat CPU.
17337
ba853947
AJ
173382013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17339
17340 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17341
8347c74c
RM
173422013-05-07 Roland McGrath <roland@hack.frob.com>
17343
17344 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17345 and _dl_skip_args_internal.
17346
e8dd4791
CD
173472013-05-07 Carlos O'Donell <carlos@redhat.com>
17348
17349 * manual/message.texi (Message Translation): Talk about users.
17350 Message to key mapping impacts design.
17351
c7405830
RM
173522013-05-06 Roland McGrath <roland@hack.frob.com>
17353
a9173057
RM
17354 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17355
976e2f03
RM
17356 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17357
9723ffc5
RM
17358 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17359 * sysdeps/wordsize-64/glob64.c: ... here.
17360
962e6658
RM
17361 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17362 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17363 New macros.
17364
ee586a6d
RM
17365 * debug/getlogin_r_chk.c: Moved to ...
17366 * login/getlogin_r_chk.c: ... here.
17367 * debug/Makefile (routines): Move getlogin_r_chk to ...
17368 * login/Makefile (routines): ... here.
17369 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17370 * login/Versions (libc: GLIBC_2.4): ... here.
17371
355f9165
RM
17372 * io/poll.c (__poll): Renamed from poll.
17373 Add libc_hidden_def.
17374 (poll): Define as weak alias.
17375
bd9ffde6
RM
17376 * debug/ptsname_r_chk.c: Moved to ...
17377 * login/ptsname_r_chk.c: ... here.
17378 * debug/Makefile (routines): Move ptsname_r_chk to ...
17379 * login/Makefile (routines): ... here.
17380 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17381 * login/Versions (libc: GLIBC_2.4): ... here.
17382
8fb16a04
RM
17383 * posix/getlogin.c: Moved to ...
17384 * login/getlogin.c: ... here.
17385 * posix/getlogin_r.c: Moved to ...
17386 * login/getlogin_r.c: ... here.
17387 * posix/getlogin_r.c: Moved to ...
17388 * login/getlogin_r.c: ... here.
17389 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17390 * login/Makefile (routines): ... here.
17391 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17392 * login/Versions (libc: GLIBC_2.0): ... here.
17393
b99b892f
RM
17394 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17395 (setrlimit): Define as weak alias.
17396
c7405830
RM
17397 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17398 Call __ names for open, ftruncate, and close.
17399 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17400 (truncate): Define as weak alias.
17401
5bf96de5
JM
174022013-05-06 Joseph Myers <joseph@codesourcery.com>
17403
9ea3513c
JM
17404 * math/gen-libm-test.pl (parse_args): Initialize x before each
17405 test of frexp, modf and remquo.
17406
5bf96de5
JM
17407 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17408 test signgam value.
17409
16e616a7
AZ
174102013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17411
17412 [BZ #15418]
17413 [BZ #15419]
17414 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17415 internal tests.
17416 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17417
d5e82754
RM
174182013-05-06 Roland McGrath <roland@hack.frob.com>
17419
17420 * elf/dl-writev.h: New file.
17421 * elf/dl-misc.c: Include it.
17422 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17423 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17424
a7548d41
JM
174252013-05-04 Joseph Myers <joseph@codesourcery.com>
17426
b7dab1e4
JM
17427 * math/libm-test.inc (noXFails): Remove variable.
17428 (noXPasses): Likewise.
17429 (BUILD_COMPLEX_INT): Remove macro.
17430 (print_screen): Remove xfail argument.
17431 (print_screen_max_error): Likewise.
17432 (update_stats): Likewise.
17433 (print_max_error): Likewise. Update calls to other affected
17434 functions.
17435 (print_complex_max_error): Likewise.
17436 (test_single_exception): Update calls to print_screen.
17437 (test_single_errno): Likewise.
17438 (check_float_internal): Remove xfail argument. Update calls to
17439 other affected functions.
17440 (check_float): Likewise.
17441 (check_complex): Likewise.
17442 (check_int): Likewise.
17443 (check_long): Likewise.
17444 (check_bool): Likewise.
17445 (check_longlong): Likewise.
17446 (main): Don't print noXFails and noXPasses.
17447 * math/gen-libm-test.pl (top level): Don't mention expected
17448 failure handling in comment.
17449 (new_test): Don't handle expected failures.
17450 (parse_args): Don't mention expected failure handling in comment.
17451 (generate_testfile): Don't handle expected failures.
17452 (parse_ulps): Likewise.
17453 (print_ulps_file): Likewise.
17454 (get_failure): Remove function.
17455 (output_test): Don't handle expected failures.
17456 * make/README.libm-test: Don't mention expected failure handling.
17457
a7548d41
JM
17458 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17459 (minus_zero): Likewise.
17460 (plus_infty): Likewise.
17461 (minus_infty): Likewise.
17462 (qnan_value): Likewise.
17463 (max_value): Likewise.
17464 (min_value): Likewise.
17465 (min_subnorm_value): Likewise.
17466 (initialize): Do not initialize those variables dynamically.
17467
60bfd54c
RM
174682013-05-03 Roland McGrath <roland@hack.frob.com>
17469
cc0e6ed8
RM
17470 * io/open.c (__open_2): Moved to ...
17471 * io/open_2.c: ... this new file.
17472 * io/open64.c (__open64_2): Moved to ...
17473 * io/open64_2.c: ... this new file.
17474 * io/openat.c (__openat_2): Moved to ...
17475 * io/openat_2.c: ... this new file.
17476 * io/openat64.c (__openat64_2): Moved to ...
17477 * io/openat64_2.c: ... this new file.
17478 * io/Makefile (routines): Add them.
17479 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17480 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17481 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17482 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17483 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17484 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17485 (__openat64): Add hidden_ver.
17486 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17487 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17488
60bfd54c
RM
17489 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17490 Separately conditionalize setting of GLRO(dl_sysinfo) so
17491 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17492 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17493
83e7640f
AZ
174942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17495
17496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17498 definition.
17499 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17500 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17501 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17502 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17503 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17504
d5dc2af3
JM
175052013-05-03 Joseph Myers <joseph@codesourcery.com>
17506
c31a5b1e
JM
17507 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17508 test signgam value.
17509
d5dc2af3
JM
17510 * math/libm-test.inc (hypot_test): Do not use
17511 IGNORE_ZERO_INF_SIGN.
17512
164fd39d
AJ
175132013-05-03 Andreas Jaeger <aj@suse.de>
17514
17515 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17516 Linux 3.9.
17517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17518 (PF_MAX): Adjust for VSOCK change.
17519
8237f48c
AZ
175202013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17521
17522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17523
9df02941
CD
175242013-05-02 Carlos O'Donell <carlos@redhat.com>
17525
17526 [BZ #15264]
17527 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17528 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17529 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17530
d422395e
DM
175312013-05-02 David S. Miller <davem@davemloft.net>
17532
17533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17534
a07c5731
OB
175352013-05-01 Ondřej Bílka <neleai@seznam.cz>
17536
17537 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17538
1324e37f
RM
175392013-05-01 Roland McGrath <roland@hack.frob.com>
17540
17541 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17542
0695940b
RS
175432013-05-01 Richard Smith <richard@metafoo.co.uk>
17544
bb5f27ad 17545 [BZ #14952]
0695940b
RS
17546 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17547 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17548 Use __attribute__ ((__gnu_inline__)).
17549 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17550 Don't use __attribute__ ((__gnu_inline__)).
17551
10de07f5
JM
175522013-05-01 Joseph Myers <joseph@codesourcery.com>
17553
17554 [BZ #15423]
17555 * math/s_catan.c (__catan): Handle small real or imaginary part of
17556 input specially to avoid spurious underflow.
17557 * math/s_catanf.c (__catanf): Likewise.
17558 * math/s_catanh.c (__catanh): Likewise.
17559 * math/s_catanhf.c (__catanhf): Likewise.
17560 * math/s_catanhl.c (__catanhl): Likewise.
17561 * math/s_catanl.c (__catanl): Likewise.
17562 * math/libm-test.inc (catan_test): Add more tests.
17563 (catanh_test): Likewise.
17564 * sysdeps/i386/fpu/libm-test-ulps: Update.
17565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17566
cb4d5414
AZ
175672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17568
17569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17570
caf84319
JM
175712013-04-30 Joseph Myers <joseph@codesourcery.com>
17572
17573 [BZ #15416]
17574 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17575 accurately for denominator in atan2.
17576 * math/s_catanf.c (__catanf): Likewise.
17577 * math/s_catanh.c (__catanh): Likewise.
17578 * math/s_catanhf.c (__catanhf): Likewise.
17579 * math/s_catanhl.c (__catanhl): Likewise.
17580 * math/s_catanl.c (__catanl): Likewise.
17581 * math/libm-test.inc (catan_test): Add more tests.
17582 (catanh_test): Likewise.
17583 * sysdeps/i386/fpu/libm-test-ulps: Update.
17584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585
d569c6ee
SP
175862013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17587
6dbe713d
SP
17588 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17589
f0ee064b
SP
17590 * benchtests/Makefile (bench): Remove slow benchmarks.
17591 * benchtests/atan-inputs: Add slow benchmark inputs.
17592 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17593 (BENCH_FUNC): Accept variant offset.
17594 (VARIANT): Define.
17595 * benchtests/bench-skeleton.c (main): Run benchmark for each
17596 variant.
17597 * benchtests/cos-inputs: Add slow benchmark inputs.
17598 * benchtests/exp-inputs: Likewise.
17599 * benchtests/pow-inputs: Likewise.
17600 * benchtests/sin-inputs: Likewise.
17601 * benchtests/slowatan-inputs: Remove.
17602 * benchtests/slowatan.c: Remove.
17603 * benchtests/slowcos-inputs: Remove.
17604 * benchtests/slowcos.c: Remove.
17605 * benchtests/slowexp-inputs: Remove.
17606 * benchtests/slowexp.c: Remove.
17607 * benchtests/slowpow-inputs: Remove.
17608 * benchtests/slowpow.c: Remove.
17609 * benchtests/slowsin-inputs: Remove.
17610 * benchtests/slowsin.c: Remove.
17611 * benchtests/slowtan-inputs: Remove.
17612 * benchtests/slowtan.c: Remove.
17613 * benchtests/tan-inputs: Add slow benchmark inputs.
17614 * scripts/bench.pl: Parse comments and directives.
17615
d569c6ee
SP
17616 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17617 in CPPFLAGS.
17618 ($(objpfx)bench-%.c): Remove *-ITER.
17619 * benchtests/bench-modf.c: Remove definition of ITER.
17620 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17621 (main): Loop for DURATION seconds instead of fixed number of
17622 iterations.
17623 * scripts/bench.pl: Don't expect iterations in parameters.
17624
a6a242fe
RM
176252013-04-29 Roland McGrath <roland@hack.frob.com>
17626
17627 * io/fchdir.c (__fchdir): Renamed from fchdir.
17628 (fchdir): Define as weak alias.
17629
f2da7793
JM
176302013-04-29 Joseph Myers <joseph@codesourcery.com>
17631
17632 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17633 (ERRNO_EDOM): Likewise.
17634 (ERRNO_ERANGE): Likewise.
17635 (noErrnoTests): New variable.
17636 (init_max_error): Set errno to 0.
17637 (test_single_errno): New function.
17638 (test_errno): Likewise.
17639 (check_float_internal): Call test_errno. Set errno to 0.
17640 (check_complex): Refer to errno tests in comment.
17641 (check_int): Call test_errno. Set errno to 0.
17642 (check_long): Likewise.
17643 (check_bool): Likewise.
17644 (check_longlong): Likewise.
17645 (cos_test): Use ERRNO_* flags for errno tests instead of
17646 check_int.
17647 (expm1_test): Likewise.
17648 (fmod_test): Likewise.
17649 (ilogb_test): Likewise.
17650 (lgamma_test): Likewise.
17651 (pow_test): Likewise.
17652 (remainder_test): Likewise.
17653 (sin_test): Likewise.
17654 (tan_test): Likewise.
17655 (yn_test): Likewise.
17656 (initialize): Set errno to 0.
17657 (main): Print number of errno tests.
17658 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17659
b1a36ceb
AJ
176602013-04-29 Andreas Jaeger <aj@suse.de>
17661
c3ed8088
AJ
17662 [BZ #15084]
17663 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17664 and RES_USEVC.
17665
f1a24198
AJ
17666 [BZ #15085]
17667 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17668 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17669 unimplemented.
17670
9ce3b2cb
AJ
17671 [BZ #15380]
17672 * stdlib/random.c (__initstate): Return NULL if
17673 __initstate fails.
17674
f1a24198 17675 [BZ #15086]
b1a36ceb
AJ
17676 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17677 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17678 RES_SNGLKUPREOP.
17679
7e7b6f36
AZ
176802013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17681
17682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17683
4d14f449
JM
176842013-04-29 Joseph Myers <joseph@codesourcery.com>
17685
17686 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17687 of individual tests.
17688 (casin_test): Likewise.
17689 (casinh_test): Likewise.
17690
5b4217d7
JM
176912013-04-27 Joseph Myers <joseph@codesourcery.com>
17692
17693 [BZ #15409]
17694 * math/s_catan.c (__catan): Handle arguments with large real or
17695 imaginary part separately without squaring.
17696 * math/s_catanf.c (__catanf): Likewise.
17697 * math/s_catanh.c (__catanh): Likewise.
17698 * math/s_catanhf.c (__catanhf): Likewise.
17699 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17700 and redefine.
17701 (__catanhl): Handle arguments with large real or imaginary part
17702 separately without squaring.
17703 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17704 and redefine.
17705 (__catanl): Handle arguments with large real or imaginary part
17706 separately without squaring.
17707 * math/libm-test.inc (catan_test): Add more tests.
17708 (catanh_test): Likewise.
17709 * sysdeps/i386/fpu/libm-test-ulps: Update.
17710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17711
4220c3ef
AJ
177122013-04-27 Andreas Jaeger <aj@suse.de>
17713
17714 [BZ #15007]
17715 * stdlib/stdlib.h: Update guards for qecvt.
17716 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17717 <stdlib.h>.
17718
4721b2d1
AM
177192013-04-27 Allan McRae <allan@archlinux.org>
17720
17721 * sysdeps/i386/fpu/libm-test-ulps: Update.
17722
f0302940
JM
177232013-04-26 Joseph Myers <joseph@codesourcery.com>
17724
9457fd95
JM
17725 [BZ #15406]
17726 * math/s_catan.c: Include <float.h>.
17727 (__catan): Ensure underflow exception occurs for underflowed
17728 result.
17729 * math/s_catanf.c: Include <float.h>.
17730 (__catanf): Ensure underflow exception occurs for underflowed
17731 result.
17732 * math/s_catanh.c: Include <float.h>.
17733 (__catanh): Ensure underflow exception occurs for underflowed
17734 result.
17735 * math/s_catanhf.c: Include <float.h>.
17736 (__catanhf): Ensure underflow exception occurs for underflowed
17737 result.
17738 * math/s_catanhl.c: Include <float.h>.
17739 (__catanhl): Ensure underflow exception occurs for underflowed
17740 result.
17741 * math/s_catanl.c: Include <float.h>.
17742 (__catanl): Ensure underflow exception occurs for underflowed
17743 result.
17744 * math/libm-test.inc (catan_test): Add more tests.
17745 (catanh_test): Likewise.
17746
f0302940
JM
17747 [BZ #15405]
17748 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17749 underflowed result.
17750 * math/s_ccoshf.c (__ccoshf): Likewise.
17751 * math/s_ccoshl.c (__ccoshl): Likewise.
17752 * math/s_csin.c (__csin): Likewise.
17753 * math/s_csinf.c (__csinf): Likewise.
17754 * math/s_csinh.c (__csinh): Likewise.
17755 * math/s_csinhf.c (__csinhf): Likewise.
17756 * math/s_csinhl.c (__csinhl): Likewise.
17757 * math/s_csinl.c (__csinl): Likewise.
17758 * math/libm-test.inc (ccos_test): Add more tests.
17759 (ccosh_test): Likewise.
17760 (csin_test): Likewise.
17761 (csinh_test): Likewise.
17762
aa630f59
AZ
177632013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17764
17765 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17766 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17767 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17768 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17769 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17770 powerpc/power5+/fpu folders.
17771 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17772
17773
1b835983
MT
177742013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17775
17776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17777
73709b26
JM
177782013-04-25 Joseph Myers <joseph@codesourcery.com>
17779
17780 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17781 additions to variable.
17782 [$(config-machine) = x86_64] (modules-names): Likewise.
17783 ($(objpfx)tst-audit3): Remove dependency.
17784 ($(objpfx)tst-audit3.out): Likewise.
17785 ($(objpfx)tst-audit4): Likewise.
17786 ($(objpfx)tst-audit4.out): Likewise.
17787 ($(objpfx)tst-audit5): Likewise.
17788 ($(objpfx)tst-audit5.out): Likewise.
17789 ($(objpfx)tst-audit6): Likewise.
17790 ($(objpfx)tst-audit6.out): Likewise.
17791 ($(objpfx)tst-audit7): Likewise.
17792 ($(objpfx)tst-audit7.out): Likewise.
17793 (tst-audit3-ENV): Remove variable.
17794 (tst-audit4-ENV): Likewise.
17795 (tst-audit5-ENV): Likewise.
17796 (tst-audit6-ENV): Likewise.
17797 (tst-audit7-ENV): Likewise.
17798 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17799 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17800 addition to variable.
17801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17802 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17803 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17804 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17805 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17806 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17807 tst-audit3, tst-audit4 and tst-audit5.
17808 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17809 tst-audit6 and tst-audit7.
17810 [$(subdir) = elf] (modules-names): Add audit modules for those
17811 tests.
17812 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17813 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17814 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17815 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17816 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17817 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17818 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17819 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17820 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17821 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17822 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17823 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17824 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17825 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17826 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17827 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17828 Likewise.
17829 [$(subdir) = elf && $(config-cflags-avx) = yes]
17830 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17831 [$(subdir) = elf && $(config-cflags-avx) = yes]
17832 (CFLAGS-tst-auditmod4a.c): Likewise.
17833 [$(subdir) = elf && $(config-cflags-avx) = yes]
17834 (CFLAGS-tst-auditmod4b.c): Likewise.
17835 [$(subdir) = elf && $(config-cflags-avx) = yes]
17836 (CFLAGS-tst-auditmod6b.c): Likewise.
17837 [$(subdir) = elf && $(config-cflags-avx) = yes]
17838 (CFLAGS-tst-auditmod6c.c): Likewise.
17839 [$(subdir) = elf && $(config-cflags-avx) = yes]
17840 (CFLAGS-tst-auditmod7b.c): Likewise.
17841 * elf/tst-audit3.c: Move to ...
17842 * sysdeps/x86_64/tst-audit3.c: ... here.
17843 * elf/tst-audit4.c: Move to ...
17844 * sysdeps/x86_64/tst-audit4.c: ... here.
17845 * elf/tst-audit5.c: Move to ...
17846 * sysdeps/x86_64/tst-audit5.c: ... here.
17847 * elf/tst-audit6.c: Move to ...
17848 * sysdeps/x86_64/tst-audit6.c: ... here.
17849 * elf/tst-audit7.c: Move to ...
17850 * sysdeps/x86_64/tst-audit7.c: ... here.
17851 * elf/tst-auditmod3a.c: Move to ...
17852 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17853 * elf/tst-auditmod3b.c: Move to ...
17854 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17855 * elf/tst-auditmod4a.c: Move to ...
17856 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17857 * elf/tst-auditmod4b.c: Move to ...
17858 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17859 * elf/tst-auditmod5a.c: Move to ...
17860 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17861 * elf/tst-auditmod5b.c: Move to ...
17862 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17863 * elf/tst-auditmod6a.c: Move to ...
17864 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17865 * elf/tst-auditmod6b.c: Move to ...
17866 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17867 * elf/tst-auditmod6c.c: Move to ...
17868 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17869 * elf/tst-auditmod7a.c: Move to ...
17870 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17871 * elf/tst-auditmod7b.c: Move to ...
17872 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17873
1ef74943
PP
178742013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17875
17876 [BZ #15366]
17877 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17878 define unconditionally.
17879 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17880 define unconditionally.
17881 (INT8_C, INT16_C, etc.): Likewise.
17882
93fd48c5
MR
178832013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17884
ae9552cf
MR
17885 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17886 __ehdr_start with hidden visibility.
17887
93fd48c5
MR
17888 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17889
418601aa
CD
178902013-04-24 Carlos O'Donell <carlos@redhat.com>
17891
17892 * math/libm-test.inc (cos_test): Use accurate hex constants.
17893 (sincost_test): Likewise.
17894
2f38fbfe
JM
178952013-04-24 Joseph Myers <joseph@codesourcery.com>
17896
5e221800
JM
17897 * math/libm-test.inc (catan_test): Add more tests.
17898 (catanh_test): Likewise.
17899
77f143fd
JM
17900 * math/s_catanf.c (__catanf): Use suffixed floating-point
17901 constants.
17902 * math/s_catanhf.c (__catanhf): Likewise.
17903 * math/s_catanhl.c (__catanhl): Likewise.
17904 * math/s_catanl.c (__catanl): Likewise.
17905
2f38fbfe
JM
17906 [BZ #15394]
17907 * math/s_catan.c (__catan): Calculate imaginary part of result
17908 with log1p not log unless computing log of number close to 0.
17909 * math/s_catanf.c (__catanf): Likewise.
17910 * math/s_catanl.c (__catanl): Likewise.
17911 * math/s_catanh.c (__catanh): Calculate real part of result with
17912 log1p not log unless computing log of number close to 0.
17913 * math/s_catanhf.c (__catanhf): Likewise.
17914 * math/s_catanhl.c (__catanhl): Likewise.
17915 * math/libm-test.inc (catan_test): Add more tests.
17916 (catanh_test): Likewise.
17917 * sysdeps/i386/fpu/libm-test-ulps: Update.
17918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17919
45d69176
SP
179202013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17921
17922 * benchtests/Makefile: Mention files in which fast and slow
17923 paths of math functions are implemented.
17924
87f51853
RM
179252013-04-23 Roland McGrath <roland@hack.frob.com>
17926
17927 * sysdeps/posix/timespec_get.c: New file.
17928
3c026539
AZ
179292013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17930
17931 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17932 POWER.
17933 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17934 for POWER.
17935 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17936 powerpc/power5/fpu folders.
17937 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17938 * benchtests/Makefile: Add modf testcase.
17939 * benchtests/bench-modf.c: New file: Benchmark test for mo
17940
ff491d14
SP
179412013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17942
17943 [BZ #14888]
17944 * time/Makefile (tests): Add tst-strptime-whitespace.
17945 * time/strptime_l.c (get_number): Use ISSPACE.
17946 (__strptime_internal): Likewise.
17947 * time/tst-strptime-whitespace.c: New test case.
17948
7ed3f4e8
AS
179492013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17950
17951 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17952 member.
17953 (_nss_files_init): Set it here.
17954
5c95f7b6
HC
179552013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17956
17957 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17958 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17959 unsigned.
17960
d34c9158
JBG
179612013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17962
17963 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17964
2169712d
SP
179652013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17966
17967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17968 size just once.
17969
29c5de99
DM
179702013-04-21 David S. Miller <davem@davemloft.net>
17971
17972 * po/ru.po: Update Russion translation from translation project.
17973
ccdad15d
AC
179742013-04-17 Adam Conrad <adconrad@0c3.net>
17975
17976 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17977 and setfsgid.
17978
0f122b8d
CD
179792013-04-17 Carlos O'Donell <carlos@redhat.com>
17980
5c5b07da 17981 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17982 * configure: Regenerate.
5c5b07da 17983 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17984 Add example to error message.
17985 * sysdeps/i386/configure: Regenerate.
17986
037714dd
SP
179872013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17988
17989 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17990 slowtan.
17991 * benchtests/cos-inputs: New file.
17992 * benchtests/slowcos-inputs: New file.
17993 * benchtests/slowcos.c: New file.
17994 * benchtests/slowtan-inputs: New file.
17995 * benchtests/slowtan.c: New file.
17996 * benchtests/tan-inputs: New file.
17997
e913141d
RM
179982013-04-16 Roland McGrath <roland@hack.frob.com>
17999
18000 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18001 considered kosher.
18002
a2964074
SP
180032013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18004
4856bcd2
SP
18005 * benchtests/Makefile: Include cppflags-iterator.mk to add
18006 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18007
a2964074
SP
18008 * Makefile.in (bench-clean): New target.
18009 * benchtests/Makefile (bench-clean): Likewise.
18010
9fbf9aca
DH
180112013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18012
18013 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18014
207d1e2a
TS
180152013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18016
18017 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18018
306dfba9
AS
180192013-04-15 Andreas Schwab <schwab@suse.de>
18020
18021 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18023 * nscd/pwdcache.c (cache_addpw): Likewise.
18024 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18025 more than recsize.
18026
206a6699
SP
180272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18028
18029 * benchtests/Makefile (bench): Write all output to
18030 bench-out.tmp together.
18031
0582f6b3
AS
180322013-04-15 Andreas Schwab <schwab@suse.de>
18033
18034 * nscd/nscd.c (main): Don't fork again after closing files.
18035
acb4325f
SP
180362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18037
5cb26d0a
SP
18038 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18039
acb4325f
SP
18040 * benchtests/Rules (bench-deps): Collect dependencies into a
18041 single variable. Add Makefile to dependencies.
18042 ($(objpfx)bench-%.c): Depend on bench-deps.
18043
47792506
RM
180442013-04-12 Roland McGrath <roland@hack.frob.com>
18045 Xavier Roche <roche+kml2@exalead.com>
18046
18047 [BZ #15361]
18048 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18049 just that it's a file descriptor.
18050 * manual/llio.texi (Synchronizing AIO Operations): Update description
18051 for EBADF error from aio_fsync.
18052
8fc1bee5
SP
180532013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18054
18055 * Rules (bench): Move target definition...
18056 * benchtests/Makefile: ... here.
18057
aba5e333
CD
180582013-04-11 Carlos O'Donell <carlos@redhat.com>
18059
18060 * math/libm-test.inc (cos_test): Fix PI/2 test.
18061 (sincos_test): Likewise.
18062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18063 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18064
273cdee8
AS
180652013-04-11 Andreas Schwab <schwab@suse.de>
18066
6ecec3b6
AS
18067 [BZ #13988]
18068 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18069 accept exponent character only when digits were seen.
18070 * stdio-common/Makefile (tests): Add bug26.
18071 * stdio-common/bug26.c: New file.
18072
273cdee8
AS
18073 [BZ #14293]
18074 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18075 non-freeable.
18076
8da491f5
SP
180772013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18078
01dc6df9
SP
18079 * Makeconfig (rtld-prefix): Define built linker prefix.
18080 * Rules (run-bench): Use it.
18081 * math/Makefile (run-regen-ulps): Likewise.
18082
8da491f5
SP
18083 * Rules (bench): Remove eval.
18084
abe7f530
SP
180852013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18086 Roland McGrath <roland@hack.frob.com>
18087 Ondrej Bilka <neleai@seznam.cz>
18088
18089 [BZ #15346]
18090 * time/getdate.c: Include ctype.h and alloca.h.
18091 (__getdate_r): Trim leading and trailing spaces of input.
18092 * time/tst-getdate.c (tests): Add tests with leading and
18093 trailing spaces.
18094
61c23e62
RM
180952013-04-08 Roland McGrath <roland@hack.frob.com>
18096
18097 [BZ #14280]
18098 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18099 when computing value.
18100
7208a313
CD
181012013-04-06 Carlos O'Donell <carlos@redhat.com>
18102
085b2d41
CD
18103 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18104 Use testrun.sh to run libm tests.
18105
7208a313
CD
18106 [BZ #15309]
18107 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18108
872c0acd
MM
181092013-04-06 Marko Myllynen <myllynen@redhat.com>
18110
18111 [BZ #15264]
18112 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18113
26510bdd
CD
181142013-04-06 Carlos O'Donell <carlos@redhat.com>
18115
18116 * Makefile.in (regen-ulps): New target.
18117 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18118 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18119 [ifneq (no,$(PERL)] (regen-ulps): New target.
18120 [ifeq (no,$(PERL)] (regen-ulps): New target.
18121 * math/libm-test.inc (ulps_file_name): Define.
18122 (output_dir): New variable.
18123 (options): Add "output-dir" option.
18124 (parse_opt): Handle 'o' case.
18125 (main): If output_dir is non-NULL use it as a prefix
18126 otherwise use "".
18127 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18128
a01f19c8
CD
181292013-04-06 Carlos O'Donell <carlos@redhat.com>
18130
18131 [BZ #10060, #10062]
18132 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18133 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18134 fail configure if __sync_val_compare_and_swap is not inlined.
18135 * sysdeps/i386/configure: Regenerate.
18136 * configure.in: Build for i686 when configured for i386.
18137 * configure: Regenerate.
18138 * README: Remove i386 reference.
18139
b7a329a5
CD
181402013-04-06 Carlos O'Donell <carlos@redhat.com>
18141
18142 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18144
bf0f50df
TS
181452013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18146
ee091edf
TS
18147 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18148 (lmsnanval): New variables.
18149 (F): Add conversion tests.
18150 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18151 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18152
a8b792d6
TS
18153 * stdio-common/tstdiomisc.c (F): Properly collect individual
18154 tests' results.
18155
a1cbf437
TS
18156 [BZ #14686, #15336]
18157 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18158 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18159 Instead, use input NaN values or generate a qNaN by arithmetic
18160 operation. Also fix bugs to comply with the standard.
18161 * math/libm-test.inc (remainder_test): Add more tests.
18162
8b43a0c9
TS
18163 [BZ #15335, #15342]
18164 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18166 input NaN values or generate a qNaN by arithmetic operation.
18167
d91da4ce
TS
18168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18169 unreachable code.
18170
bf0f50df
TS
18171 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18172 definitions.
18173
05e166c8
JM
181742013-04-03 Joseph Myers <joseph@codesourcery.com>
18175
18176 [BZ #14478]
18177 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18178 underflowed result.
18179 * math/s_cexpf.c (__cexpf): Likewise.
18180 * math/s_cexpl.c (__cexpl): Likewise.
18181 * math/libm-test.inc (cexp_test): Add more tests.
18182
1cef1b19
AS
181832013-04-03 Andreas Schwab <schwab@suse.de>
18184
18185 [BZ #15330]
18186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18187 order arrays from heap if bigger than alloca cutoff.
18188
74d87055
TS
181892013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18190
18191 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18192 (SNAN_TESTS_double): Refer to GCC PR56831.
18193 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18194 GCC PR56828.
18195
d755bba4
SP
181962013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18197
90d5d5bb
SP
18198 * Rules (bench): Move bench.out after the run is complete.
18199
73e0cd5d
SP
18200 * Rules (bench): Echo currently running benchmark.
18201
64aabd4b
SP
18202 * benchtests/Makefile (bench): Add atan and slowatan.
18203 * benchtests/atan-inputs: New file.
18204 * benchtests/slowatan-inputs: New file.
18205 * benchtests/slowatan.c: New file.
18206
c871eccd
SP
18207 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18209 its value.
18210
d755bba4
SP
18211 [BZ #15305]
18212 * sysdeps/unix/sysv/linux/kernel-features.h
18213 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18214 __ASSUME_XFS_RESTRICTED_CHOWN.
18215 * sysdeps/unix/sysv/linux/pathconf.c
18216 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18217 Save and restore errno.
18218
52ce4860
JM
182192013-04-02 Joseph Myers <joseph@codesourcery.com>
18220
18221 [BZ #15327]
18222 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18223 arguments using __kernel_casinh.
18224 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18225 arguments using __kernel_casinhf.
18226 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18227 arguments using __kernel_casinhl.
18228 * math/libm-test.inc (cacosh_test): Add more tests.
18229 * sysdeps/i386/fpu/libm-test-ulps: Update.
18230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18231
81f311c2
SP
182322013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18233
e7906a47
SP
18234 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18236
92e3664b
SP
18237 * bench/Makefile (bench): Add sin and slowsin.
18238 * benchtests/sin-inputs: New file.
18239 * benchtests/slowsin-inputs: New file.
18240 * benchtests/slowsin.c: New file.
18241
81f311c2
SP
18242 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18243 (bench): Add slowexp and slowpow.
18244 (exp-ITER): Increase iterations.
18245 (pow-ITER): Likewise.
18246 * benchtests/exp-inputs: Change input.
18247 * benchtests/pow-inputs: Likewise.
18248 * benchtests/slowexp-inputs: New file.
18249 * benchtests/slowexp.c: New file.
18250 * benchtests/slowpow-inputs: New file.
18251 * benchtests/slowpow.c: New file.
18252
ab0f1aa9
AZ
182532013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18254
18255 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18256 instructions.
18257 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18258 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18259 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18260 * benchtests/Makefile: Add rint benchtest.
18261 * benchtests/rint-inputs: Input for rint benchtest.
18262
57267616
TS
182632013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18264
18265 * Versions.def (libm): Add GLIBC_2.18.
18266 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18267 hidden libm prototypes.
18268 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18269 * math/Makefile (libm-calls): Add s_issignaling.
18270 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18271 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18272 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18273 declaration.
18274 * math/math.h [__USE_GNU] (issignaling): New macro.
18275 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18276 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18281 * manual/arith.texi (issignaling): New section.
18282 * manual/libm-err-tab.pl (@all_functions): Update comment.
18283 * math/gen-libm-test.pl (parse_args): Apply special handling for
18284 issignaling.
18285 * math/libm-test.inc (print_float, issignaling_test): New
18286 functions.
18287 (check_float_internal): Add issignaling checks.
18288 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18289 default definition.
18290 * sysdeps/powerpc/math-tests.h: New file.
18291 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18292 tests.
18293 * math/test-snan.c (TEST_FUNC): Likewise.
18294
6142896d
DM
182952013-03-30 David S. Miller <davem@davemloft.net>
18296
18297 * po/de.po: Update from translation team.
18298
ccc8cadf
JM
182992013-03-30 Joseph Myers <joseph@codesourcery.com>
18300
18301 [BZ #10357]
18302 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18303 imaginary part less than 1.0 and real part less than 0.5
18304 specially.
18305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18307 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18308 (cacos_test): Add more tests.
18309 (casin_test): Likewise.
18310 (casinh_test): Likewise.
18311 * sysdeps/i386/fpu/libm-test-ulps: Update.
18312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18313
0f6a8d4b
SP
183142013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18315
0d1029de
SP
18316 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18317 ONE with its value.
18318
c2d94018
SP
18319 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18320 (__pow_mp): Replace ONE and MONE with their values.
18321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18323 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18324 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18325 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18327
27ec37f1
SP
18328 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18329
a64d7e0e
SP
18330 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18331 (__pow_mp): Replace ZERO and MZERO with their values.
18332 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18333 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18334 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18336 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18337 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18338 (__sqr): Likewise.
18339
d26dd3eb
SP
18340 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18341
0f6a8d4b
SP
18342 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18343
e57b0c61
RM
183442013-03-28 Roland McGrath <roland@hack.frob.com>
18345
18346 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18347 Declare with __attribute__ ((weak)).
18348 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18349 Call __call_tls_dtors only if it's not NULL.
18350
356b3480
RM
183512013-03-28 Roland McGrath <roland@hack.frob.com>
18352
288f7d79
RM
18353 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18354 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18355 magic __ehdr_start linker symbol if it's defined.
18356 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18357 them up here if it was already done.
18358
dc0a0263
RM
18359 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18360 (_dl_aux_init): Use const in cast when setting it.
18361 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18362 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18363 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18364
3d3436ae
RM
18365 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18366 Declare them here.
18367 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18368 * csu/libc-tls.c: Nor here.
18369 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18370
356b3480
RM
18371 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18372 (__libc_message): Never call vsyslog.
18373
b0f1246a
AM
183742013-03-28 Alan Modra <amodra@gmail.com>
18375
18376 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18377 Define as empty.
18378 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18379 Likewise.
18380
fbbe2b9a
AZ
183812013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18382
18383 [BZ #15214]
18384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18385 underflow.
18386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18387
1728ab37
SP
183882013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18389
7a86be6e
SP
18390 [BZ #15304]
18391 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18392 Don't add gid passed as argument.
18393
1728ab37
SP
18394 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18395
3a7182a1
JM
183962013-03-27 Joseph Myers <joseph@codesourcery.com>
18397
18398 [BZ #15307]
18399 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18400 imaginary part between 1.0 and 1.5 and real part less than 0.5
18401 specially.
18402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18404 * math/libm-test.inc (cacos_test): Add more tests.
18405 (casin_test): Likewise.
18406 (casinh_test): Likewise.
18407 * sysdeps/i386/fpu/libm-test-ulps: Update.
18408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18409
6f2e90e7
SP
184102013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18411
5739f705
SP
18412 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18413 constants.
18414 (norm): Likewise.
18415 (denorm): Likewise.
18416 (__dbl_mp): Likewise.
18417 (add_magnitudes): Likewise.
18418 (sub_magnitudes): Likewise.
18419 (__add): Likewise.
18420 (__sub): Likewise.
18421 (__mul): Likewise.
18422 (__sqr): Likewise.
18423 (__inv): Likewise.
18424 (__dvd): Likewise.
18425
e375e83d
SP
18426 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18427 commented code.
18428 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18429 (__dubcos): Likewise.
18430 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18431 (__ieee754_acos): Likewise.
18432 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18433 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18434 (__exp1): Likewise.
18435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18437 (log1): Likewise.
18438 (my_log2): Likewise.
18439 (checkint): Likewise.
18440 * sysdeps/ieee754/dbl-64/e_remainder.c
18441 (__ieee754_remainder): Likewise.
18442 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18444 (bsloww): Likewise.
18445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18446
6f2e90e7
SP
18447 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18448 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18449 MANTISSA_STORE_T to store computations on mantissa. Use
18450 macros for rounding and division.
18451 (denorm): Likewise.
18452 (__dbl_mp): Likewise.
18453 (add_magnitudes): Likewise.
18454 (sub_magnitudes): Likewise.
18455 (__mul): Likewise.
18456 (__sqr): Likewise.
18457 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18458 powers of two in terms of TWOPOW macro.
18459 (mp_no): Make type of mantissa as MANTISSA_T.
18460 [!RADIXI]: Define RADIXI.
18461 [!TWO52]: Define TWO52.
18462 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18463
fce14d4e
AZ
184642013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18465
18466 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18467 llroundl symbol when building for PPC32.
18468
9ad027fb
MW
184692013-03-24 Mark H Weaver <mhw@netris.org>
18470
18471 * manual/arith.texi (Normalization Functions): Fix prototypes for
18472 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18473
e42a38dd
AZ
184742013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18475
18476 [BZ #13889]
18477 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18478 high value to check if expl overflow.
18479 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18480 to check for underflow and overflow.
18481 * math/libm-test.inc: Add exp test.
18482
2e0fb521
DL
184832013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18484
18485 [BZ #11120]
18486 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18487 with NOT_IN_libc.
18488
b5784d95
AZ
184892013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18490
18491 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18492 symbol.
18493
5aa4a1a1
TS
184942013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18495
bdef0be7
TS
18496 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18497 wrap blocks consisting of several statements.
18498
5aa4a1a1
TS
18499 * sysdeps/generic/math-tests.h: New file.
18500 * sysdeps/i386/fpu/math-tests.h: Likewise.
18501 * math/test-snan.c: Include it.
18502 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18503
98c48fe5
JM
185042013-03-21 Joseph Myers <joseph@codesourcery.com>
18505
18506 [BZ #15285]
18507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18508 (__ieee754_j0l): Do not improve calculations using cos of twice
18509 input for inputs above LDBL_MAX / 2.0L.
18510 (__ieee754_y0l): Likewise.
18511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18512 (__ieee754_j1l): Do not improve calculations using cos of twice
18513 input for inputs above LDBL_MAX / 2.0L.
18514 (__ieee754_y1l): Likewise.
18515 * math/libm-test.inc (j0_test): Add another test.
18516 (j1_test): Likewise.
18517 (y0_test): Likewise.
18518 (y1_test): Likewise.
18519 * sysdeps/i386/fpu/libm-test-ulps: Update.
18520
3775a8bc
SP
185212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18522
18523 * Rules ($(objpfx)bench-%.c): Include code from a C source
18524 file.
18525
0a1b2ae6
JM
185262013-03-21 Joseph Myers <joseph@codesourcery.com>
18527
18528 [BZ #15287]
18529 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18530 imaginary part 1.0 and real part less than 0.5 specially.
18531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18533 * math/libm-test.inc (cacos_test): Add more tests.
18534 (casin_test): Likewise.
18535 (casinh_test): Likewise.
18536 * sysdeps/i386/fpu/libm-test-ulps: Update.
18537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18538
b33d4ce4
SP
185392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18540
18541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18542 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18543
bef0b507
JM
185442013-03-20 Joseph Myers <joseph@codesourcery.com>
18545
18546 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18547 * config.make.in (config-cflags-sse4): Remove variable.
18548 (config-cflags-avx): Likewise.
18549 (config-cflags-sse2avx): Likewise.
18550 (config-cflags-novzeroupper): Likewise.
18551 (config-asflags-i686): Likewise.
18552 (have-mfma4): Likewise.
18553 (have-as-vis3): Likewise.
18554 (MIG): Likewise.
18555 * configure.in (MIG): Do not AC_SUBST.
18556 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18557 (libc_cv_cc_sse4): Do not AC_SUBST.
18558 (libc_cv_cc_avx): Likewise.
18559 (libc_cv_cc_sse2avx): Likewise.
18560 (libc_cv_cc_novzeroupper): Likewise.
18561 (libc_cv_cc_fma4): Likewise.
18562 (libc_cv_as_i686): Likewise.
18563 (libc_cv_sparc_as_vis3): Likewise.
18564 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18565 LIBC_CONFIG_VAR.
18566 (config-asflags-i686): Likewise.
18567 (config-cflags-avx): Likewise.
18568 (config-cflags-sse2avx): Likewise.
18569 (have-mfma4): Likewise.
18570 (config-cflags-novzeroupper): Likewise.
18571 * sysdeps/mach/configure.in (MIG): Likewise.
18572 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18573 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18574 LIBC_CONFIG_VAR.
18575 (config-cflags-avx): Likewise.
18576 (config-cflags-sse2avx): Likewise.
18577 (have-mfma4): Likewise.
18578 (config-cflags-novzeroupper): Likewise.
18579 * configure: Regenerated.
18580 * sysdeps/i386/configure: Likewise.
18581 * sysdeps/mach/configure: Likewise.
18582 * sysdeps/sparc/configure: Likewise.
18583 * sysdeps/x86_64/configure: Likewise.
18584
912cc4b3
RM
185852013-03-20 Roland McGrath <roland@hack.frob.com>
18586
18587 [BZ #14812]
18588 * locale/programs/localedef.c (options): Put N_ translation marker
18589 on argument names, not just descriptions.
18590
04eed2b0
MS
185912013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18592
18593 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18594
a065ceff
OB
185952013-03-20 Ondřej Bílka <neleai@seznam.cz>
18596
9bb2a810 18597 [BZ #14176]
a065ceff
OB
18598 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18599
a600e5ce
RM
186002013-03-19 Roland McGrath <roland@hack.frob.com>
18601
18602 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18603 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18604 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18605 [!BEFORE_ABORT] (before_abort): New function.
18606 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18607 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18608 (writev_for_fatal): New function.
18609 (WRITEV_FOR_FATAL): New macro; call that.
18610 (backtrace_and_maps): New function.
18611 (BEFORE_ABORT): New macro; call that.
18612 (struct str_list): Type removed.
18613 (__libc_message, __libc_fatal): Functions removed.
18614 Include <sysdeps/posix/libc_fatal.c> instead.
18615
6b18bea6
JM
186162013-03-19 Joseph Myers <joseph@codesourcery.com>
18617
18618 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18619 constants.
18620 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18621 double constants.
18622
aaa8cb4b
AS
186232013-03-19 Andreas Schwab <schwab@suse.de>
18624
44673770
AS
18625 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18626 * sysdeps/gnu/configure: Regenerate.
18627
aaa8cb4b
AS
18628 * configure.in: Substitute libc_cv_rtlddir.
18629 * configure: Regenerate.
18630 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18631 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18632 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18633 * elf/Makefile (install-others, CFLAGS-interp.c)
18634 (ldso_install, common-ldd-rewrite): Likewise.
18635 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18636 $(inst_slibdir)/$(rtld-installed-name).
18637 * scripts/rellns-sh: Add -p option.
18638 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18639 for source.
18640
d3cfc668
SP
186412013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18642
18643 * manual/nptl.texi: Renamed to ...
18644 * manual/threads.texi: ... this.
18645 * manual/Makefile (chapters): Update.
18646
0e2b9cdd
RM
186472013-03-18 Roland McGrath <roland@hack.frob.com>
18648
18649 [BZ #14812]
18650 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18651 on argument names, not just descriptions.
0e2b9cdd
RM
18652 * malloc/memusagestat.c (options): Likewise.
18653 * nss/getent.c (options): Likewise.
63270c24
RM
18654
186552013-03-18 Benno Schulenberg <bensberg@justemail.net>
18656
18657 [BZ #14812]
18658 * iconv/iconv_prog.c (options): Put N_ translation marker
18659 on argument names, not just descriptions.
18660 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18661
b2e1393c
OB
186622013-03-18 Ondrej Bilka <neleai@seznam.cz>
18663
18664 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18665 implementation which is faster on all x86_64 architectures.
18666 Tested on AMD, Intel Nehalem, SNB, IVB.
18667 * sysdeps/x86_64/strnlen.S: Likewise.
18668
18669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18670 Remove all multiarch strlen and strnlen versions.
18671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18672 Remove strlen and strnlen related parts.
18673
18674 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18675 Inline strlen part.
18676 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18677
18678 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18679 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18680 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18681 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18682 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18683 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18684
ec4ff04d
CD
186852013-03-17 Carlos O'Donell <carlos@redhat.com>
18686
18687 * manual/memory.texi (Malloc Tunable Parameters):
18688 Sort parameters alphabetically. Add comments for missing entries.
18689
cd18e90a
DM
186902013-03-17 David S. Miller <davem@davemloft.net>
18691
18692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18693
2a185d32
JM
186942013-03-16 Joseph Myers <joseph@codesourcery.com>
18695
d2f9799e
JM
18696 [BZ #15283]
18697 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18698 for arguments at most half maximum finite value.
18699 * math/libm-test.inc (j0_test): Add more tests.
18700 (j1_test): Likewise.
18701 (y0_test): Likewise.
18702 (y1_test): Likewise.
18703 * sysdeps/i386/fpu/libm-test-ulps: Update.
18704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18705
2a185d32
JM
18706 [BZ #14155]
18707 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18708 1 / x and functions P and Q for arguments above 0x1p256L.
18709 (__ieee754_y0l): Likewise.
18710 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18711 (__ieee754_y1l): Likewise.
18712 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18713 (j1_test): Likewise.
18714 (y0_test): Likewise.
18715 (y1_test): Likewise.
18716
6cbec759
TS
187172013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18718
18719 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18720 variable.
18721
bc16e260
RM
187222013-03-15 Roland McGrath <roland@hack.frob.com>
18723
aefc9b8c
RM
18724 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18725 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18726 zero since it's initialized to EXEC_PAGESIZE.
18727
bc16e260
RM
18728 * sysdeps/unix/sysv/linux/ldsodefs.h
18729 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18730 * sysdeps/generic/ldsodefs.h: ... here.
18731
a57da955
TS
187322013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18733
af00a34d
TS
18734 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18735
495ded2c
TS
18736 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18737 math/test-snan.c.
18738 * math/test-snan.c: Renamed from
18739 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18740 * math/Makefile (tests): Add test-snan.
18741 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18742 test-powerpc-snan.
18743
777b0332
TS
18744 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18745 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18746 functions.
18747 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18748 __builtin_nan family of functions.
18749 * math/libm-test.inc (initialize): Initialize qnan_value with
18750 __builtin_nan family of functions.
18751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18752 Remove variables.
18753 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18754 Remove functions.
18755 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18756 storage class. Initialize qNaN_var and sNaN_var with
18757 __builtin_nan and __builtin_nans families of functions,
18758 respectively.
18759
64d063b8
TS
18760 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18761 (sqrt_test): Remove duplicate test with qNaN input.
18762 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18763 (round_test, signbit_test, significand_test): Note missing +/-Inf
18764 as well as qNaN tests.
18765
67e971f1
TS
18766 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18767 qNaN_var. Fix a few strings, too.
18768 * math/libm-test.inc (nan_value): Rename to qnan_value.
18769 * math/gen-libm-test.pl (%beautify): Adjust to that.
18770 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18771 * math/test-misc.c (main): Likewise.
18772 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18773 to __qnan_bytes, and __qnan_union, respectively.
18774 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18775 Likewise.
18776 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18777 and lqnanval, respectively.
18778 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18779 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18780 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18781 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18782
64487e12
TS
18783 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18784 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18785 doubles.
18786
e015e27b
TS
18787 * math/test-misc.c (main): Fix copy'n'pastos.
18788 * misc/tst-efgcvt.c (special): Likewise.
18789
a57da955
TS
18790 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18791 Remove declarations.
18792
1e380345
SP
187932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18794
18795 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18796 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18797 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18798 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18799
ef26eece
AZ
188002013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18801
18802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18803 macro to return vdso values correctly in IFUNC implementations.
18804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18805 Optimization by using IFUNC.
18806
8cfdb7e0
SP
188072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18808 Richard Henderson <rth@redhat.com>
18809 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18810
18811 * Makefile.in (bench): New target.
18812 * NEWS: Mention the benchmark framework.
18813 * Rules (bench): Likewise.
18814 (binaries-bench): Generate binaries for functions to
18815 benchmark.
18816 * benchtests/Makefile: New makefile for benchmark tests.
18817 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18818 programs.
18819 * benchtests/exp-inputs: New input file for EXP function.
18820 * benchtests/pow-inputs: New input file for POW function.
18821 * scripts/bench.pl: New script to generate source files for
18822 benchmark programs.
18823
bcda9880
SP
188242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18825
d22ca8cd
SP
18826 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18828 computations on mantissa. Use macros for rounding and
18829 division.
18830 (denorm): Likewise.
18831 (__dbl_mp): Likewise.
18832 (add_magnitudes): Likewise.
18833 (sub_magnitudes): Likewise.
18834 (__mul): Likewise.
18835 (__sqr): Likewise.
18836 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18837 powers of two in terms of TWOPOW macro.
18838 (mp_no): Make type of mantissa as MANTISSA_T.
18839 [!RADIXI]: Define RADIXI.
18840 [!TWO52]: Define TWO52.
18841 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18842
bcda9880
SP
18843 * manual/nptl.texi (cindex): Modify threads to pthreads.
18844
06d5adfb
JM
188452013-03-15 Joseph Myers <joseph@codesourcery.com>
18846
18847 * sysdeps/x86_64/preconfigure: Regenerated.
18848
41c7328e
JM
188492013-03-14 Joseph Myers <joseph@codesourcery.com>
18850
18851 [BZ #14155]
18852 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18853 0x1p28 and above.
18854 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18855 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18856 0x1p28 and above.
18857 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18858 * math/libm-test.inc (j0_test): Do not allow one spurious
18859 underflow exception.
18860 (y1_test): Likewise.
18861
e25cfa60
SP
188622013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18863
0409959c
SP
18864 * manual/Makefile (chapters): Add nptl.
18865 * manual/debug.texi (Debugging Support): Add link to Threads
18866 chapter.
18867 * manual/nptl.texi: New file.
18868
e25cfa60
SP
18869 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18870
58a1335e
PB
188712013-03-14 Petr Baudis <pasky@ucw.cz>
18872
18873 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18874 for non-NULL pointer before the memory validity test. Pointed
18875 out by Holger Brunck <holger.brunck@keymile.com>.
18876
9dc7c64f
AS
188772013-03-13 Andreas Schwab <schwab@suse.de>
18878
18879 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18880 instead of .os.
18881
54206aa6
JM
188822013-03-13 Joseph Myers <joseph@codesourcery.com>
18883
18884 * timezone/zic.c: Update from tzcode 2013b.
18885
e98cdb38
CD
188862013-03-12 Carlos O'Donell <carlos@redhat.com>
18887
18888 * manual/install.texi (Configuring and compiling):
18889 Mention i686 and i586.
18890 * INSTALL: Regenerate.
18891
9967e003
RM
188922013-03-12 Roland McGrath <roland@hack.frob.com>
18893
18894 * sysdeps/init_array/elf-init.c: New file.
18895 * csu/elf-init.c
18896 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18897 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18898
18899 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18900 __gmon_start__ as global, but as static with a .preinit_array pointer.
18901 * sysdeps/init_array/gmon-start.c: New file. Use that.
18902 * sysdeps/init_array/crti.S: New file, empty except for comments.
18903 * sysdeps/init_array/crtn.S: Likewise.
18904
e6b5a293 189052013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18906
18907 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18908 definining bcopy.
80f844c9
OB
18909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18910 Remove Prefer_SSE_for_memop.
18911 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18912 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18913 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18915 memset-x86-64.
80f844c9 18916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18917 Remove bzero, memset ifunc support.
80f844c9
OB
18918 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18919 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18922
fb6b0fcb
AS
189232013-03-11 Andreas Schwab <schwab@suse.de>
18924
18925 [BZ #15234]
18926 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18927 by SHLIB_COMPAT.
18928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18929 (GLIBC_2.16): Remove pthread_atfork.
18930
3e6bd4b1
PP
189312013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18932
18933 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18934 (ptestcases.h): Likewise.
18935
222d7f00
RM
189362013-03-08 Roland McGrath <roland@hack.frob.com>
18937
18938 * Makeconfig ($(common-objpfx)config.status): Depend on
18939 sysdeps/*/preconfigure{,.in} too.
18940
1ba4f030
JM
189412013-03-08 Joseph Myers <joseph@codesourcery.com>
18942
a222d91a
JM
18943 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18944 (__free_hook): Use void * instead of __malloc_ptr_t.
18945 (__malloc_hook): Likewise.
18946 (__realloc_hook): Likewise.
18947 (__memalign_hook): Likewise.
18948 (__after_morecore_hook): Likewise.
18949 * malloc/arena.c (save_malloc_hook): Likewise.
18950 (save_free_hook): Likewise.
18951 * malloc/hooks.c (malloc_hook_ini): Likewise.
18952 (realloc_hook_ini): Likewise.
18953 (memalign_hook_ini): Likewise.
18954 * malloc/malloc.c (malloc_hook_ini): Likewise.
18955 (realloc_hook_ini): Likewise.
18956 (memalign_hook_ini): Likewise.
18957 (__free_hook): Likewise.
18958 (__malloc_hook): Likewise.
18959 (__realloc_hook): Likewise.
18960 (__memalign_hook): Likewise.
18961 (__libc_malloc): Likewise.
18962 (__libc_free): Likewise.
18963 (__libc_realloc): Likewise.
18964 (__libc_memalign): Likewise.
18965 (__libc_valloc): Likewise.
18966 (__libc_pvalloc): Likewise.
18967 (__libc_calloc): Likewise.
18968 (__posix_memalign): Likewise.
18969 * malloc/morecore.c (__sbrk): Likewise.
18970 (__default_morecore): Likewise.
18971
5cc45e10
JM
18972 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18973
dd54b864
JM
18974 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18975 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18976 __malloc_ptrdiff_t.
18977
1ba4f030
JM
18978 * malloc/malloc.h (__malloc_size_t): Remove macro.
18979 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18980 __malloc_size_t.
18981 (old_memalign_hook): Likewise.
18982 (old_realloc_hook): Likewise.
18983 (struct hdr): Likewise.
18984 (flood): Likewise.
18985 (mallochook): Likewise.
18986 (memalignhook): Likewise.
18987 (reallochook): Likewise.
18988 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18989 (tr_old_realloc_hook): Likewise.
18990 (tr_old_memalign_hook): Likewise.
18991 (tr_mallochook): Likewise.
18992 (tr_reallochook): Likewise.
18993 (tr_memalignhook): Likewise.
18994
edf66e57
AZ
189952013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18996
18997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18998 default_ldbl_pack and using as default implementation.
18999 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19000 implementation.
19001 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19002 redundant definition.
19003 (ldbl_insert_mantissa): Likewise.
19004 (ldbl_canonicalize): Likewise.
19005 (ldbl_nearbyint): Likewise.
19006 (ldbl_pack): Rename to ldbl_pack_ppc.
19007 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19008 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19009 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19010
6d9145d8
SP
190112013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19012
19013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19014 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19015 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19016 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19019 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19020 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19021
4dd4e157
AJ
190222013-03-07 Andreas Jaeger <aj@suse.de>
19023
19024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19025 bits/mman-linux.h.
19026
adbb8027
SP
190272013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19028
ce544b5b
SP
19029 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19030 Include mpa.h and declare __MPEXP.
19031 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19033 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19035 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19036 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19037 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19038
4cc149fd
SP
19039 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19040 (__slowpow): Use long double EXPL and LOGL functions to
19041 compute POW.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19043 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19044 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19045 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19046 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19048
e6ebd4a7
SP
19049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19050 intermediate variable to calculate exponent.
19051 (__sqr): Likewise.
19052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19053 Likewise.
19054 (__sqr): Likewise.
19055
82a9811d
SP
19056 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19057 [!NO__SQR]: Define __sqr.
19058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19059 and NO__SQR. Remove all code except __mul and __sqr. Include
19060 sysdeps/ieee754/dbl-64/mpa.c.
19061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19062
adbb8027
SP
19063 [BZ #12723]
19064 * posix/Makefile (tests): Add tst-pathconf.
19065 * posix/tst-pathconf.c: New test case.
19066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19067 _PC_PIPE_BUF.
19068 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19069
39120df9
PF
190702013-03-06 Patsy Franklin <pfrankli@redhat.com>
19071
19072 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19073
67525cb8
AJ
190742013-03-06 Andreas Jaeger <aj@suse.de>
19075
664a9ce4
AJ
19076 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19077 definition via __MAP_ANONYMOUS.
19078
8e39047d
AJ
19079 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19080 it's not part of Linux headers.
19081
67525cb8
AJ
19082 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19083 (MAP_HUGE_MASK): Define.
19084
19085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19086 Define.
19087 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19089 Define.
19090 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19091 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19092 Define.
19093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19095 Define.
19096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19097
19098 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19099 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19100 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19101 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19102 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19103 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19104
19105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19106 Handle f2fs.
19107
19108 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19109 Handle f2fs and efivarfs.
19110
19111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19112 f2fs.
19113
19114 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19115 (EFIVARFS_MAGIC): Add.
19116 (F2FS_LINK_MAX): Add.
19117
e1b42695
PP
191182013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19119
19120 * stdio-common/vfprintf.c: Replace __builtin_expect with
19121 __glibc_unlikely.
19122
2d67d91a
JM
191232013-03-06 Joseph Myers <joseph@codesourcery.com>
19124
19125 [BZ #13550]
19126 * sysdeps/generic/bp-sym.h: Remove file.
19127 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19128 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19129 <bp-sym.h> and <bp-asm.h>.
19130 (__longjmp): Don't use BP_SYM.
19131 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19132 and <bp-asm.h>.
19133 (memcpy): Don't use BP_SYM.
19134 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19135 <bp-sym.h> and <bp-asm.h>.
19136 (memcpy): Don't use BP_SYM.
19137 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19138 <bp-asm.h>.
19139 (memcpy): Don't use BP_SYM.
19140 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19141 <bp-asm.h>.
19142 (memset): Don't use BP_SYM.
19143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19145 (__bzero): Don't use BP_SYM.
19146 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19147 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19148 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19149 <bp-sym.h> and <bp-asm.h>.
19150 (memcmp): Don't use BP_SYM. Remove comment about bounded
19151 pointers.
19152 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19153 <bp-sym.h> and <bp-asm.h>.
19154 (memcpy): Don't use BP_SYM.
19155 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19156 <bp-sym.h> and <bp-asm.h>.
19157 (memset): Don't use BP_SYM.
19158 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19159 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19160 (__bzero): Don't use BP_SYM.
19161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19163 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19164 <bp-sym.h> and <bp-asm.h>.
19165 (strncmp): Don't use BP_SYM. Remove comment about bounded
19166 pointers.
19167 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19168 <bp-sym.h> and <bp-asm.h>.
19169 (memcpy): Don't use BP_SYM.
19170 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19171 <bp-sym.h> and <bp-asm.h>.
19172 (memset): Don't use BP_SYM.
19173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19175 (__bzero): Don't use BP_SYM.
19176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19179 <bp-sym.h> and <bp-asm.h>.
19180 (__memchr): Don't use BP_SYM.
19181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19182 <bp-sym.h> and <bp-asm.h>.
19183 (memcmp): Don't use BP_SYM. Remove comment about bounded
19184 pointers.
19185 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19186 <bp-sym.h> and <bp-asm.h>.
19187 (memcpy): Don't use BP_SYM.
19188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19189 <bp-sym.h> and <bp-asm.h>.
19190 (__mempcpy): Don't use BP_SYM.
19191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19192 <bp-sym.h> and <bp-asm.h>.
19193 (__memrchr): Don't use BP_SYM.
19194 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19195 <bp-sym.h> and <bp-asm.h>.
19196 (memset): Don't use BP_SYM.
19197 (__bzero): Likewise.
19198 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19199 <bp-sym.h> and <bp-asm.h>.
19200 (__rawmemchr): Don't use BP_SYM.
19201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19202 <bp-sym.h> and <bp-asm.h>.
19203 (__STRCMP): Don't use BP_SYM.
19204 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19205 <bp-sym.h> and <bp-asm.h>.
19206 (strchr): Don't use BP_SYM.
19207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19208 <bp-sym.h> and <bp-asm.h>.
19209 (__strchrnul): Don't use BP_SYM.
19210 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19211 <bp-sym.h> and <bp-asm.h>.
19212 (strlen): Don't use BP_SYM.
19213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19214 <bp-sym.h> and <bp-asm.h>.
19215 (strncmp): Don't use BP_SYM. Remove comment about bounded
19216 pointers.
19217 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19218 <bp-sym.h> and <bp-asm.h>.
19219 (__strnlen): Don't use BP_SYM.
19220 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19221 <bp-sym.h> and <bp-asm.h>.
19222 (__GI__setjmp): Don't use BP_SYM.
19223 (_setjmp): Likewise.
19224 (__sigsetjmp): Likewise.
19225 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19226 (L(start_addresses)): Don't use BP_SYM.
19227 (_start): Likewise.
19228 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19229 <bp-asm.h>.
19230 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19231 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19234 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19235 <bp-asm.h>.
19236 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19237 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19238 about bounded pointers.
19239 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19240 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19241 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19242 <bp-asm.h>.
19243 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19244 about bounded pointers. Remove GKM FIXME comments.
19245 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19246 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19247 <bp-asm.h>.
19248 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19249 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19250 Remove GKM FIXME comments.
19251 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19252 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19253 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19254 <bp-asm.h>.
19255 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19256 about bounded pointers. Remove GKM FIXME comment.
19257 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19258 and <bp-asm.h>.
19259 (strncmp): Don't use BP_SYM. Remove comment about bounded
19260 pointers.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19262 <bp-sym.h> and <bp-asm.h>.
19263 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19265 <bp-sym.h> and <bp-asm.h>.
19266 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19267 comment.
19268
cdcf361f
PP
192692013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19270
19271 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19272 call free(NULL).
19273
3c4a2b15
DM
192742013-03-05 David S. Miller <davem@davemloft.net>
19275
19276 * po/es.po: Update from translation team.
19277
cdcf361f 192782013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19279
19280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19281 <bits/mman-linux.h>.
19282 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19283 is fine.
19284 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19285 <bits/mman-linux.h> to end of file.
19286 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19287 is fine.
19288 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19289 <bits/mman-linux.h> to end of file.
19290 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19291 is fine.
19292 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19293 <bits/mman-linux.h> to end of file.
19294
19295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19296 (MCL_CURRENT, MCL_FUTURE): Define here.
19297
5f67c04f
AK
192982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19299
8a4473cc 19300 [BZ #15232]
5f67c04f
AK
19301 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19302 attribute_hidden.
19303 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19304
c3e94a95
AK
193052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19306
19307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19308 fourth parameter needed for rt_sigprocmask syscall.
19309 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19310 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19311 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19312 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19313 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19314 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19315
cfb6382a
JM
193162013-03-04 Joseph Myers <joseph@codesourcery.com>
19317
19318 [BZ #13550]
19319 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19320 comment about bounded pointers.
19321 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19322 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19323
539d8e01
AJ
193242013-03-04 Andreas Jaeger <aj@suse.de>
19325
19326 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19327 common definitions.
19328
19329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19330 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19331 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19333 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19335
2e167a70 193362013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19337
19338 [BZ #15055]
19339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19340 __ieee754_sqrl instead of __sqrl.
19341
68508633
JM
193422013-03-01 Joseph Myers <joseph@codesourcery.com>
19343
19344 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19345 * sysdeps/powerpc/fpu_control.h: ... here.
19346 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19347 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19348 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19349 * sysdeps/powerpc/bits/mathinline.h: ... here.
19350
7775448e
RM
193512013-03-01 Roland McGrath <roland@hack.frob.com>
19352
19353 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19354 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19355 to just [NEED_DL_SYSINFO_DSO].
19356 * elf/dl-support.c: Likewise.
19357 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19358 * elf/rtld.c (dl_main): Likewise.
19359 * elf/setup-vdso.h (setup_vdso): Likewise.
19360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19361 * sysdeps/unix/sysv/linux/dl-sysdep.c
19362 (_dl_discover_osversion): Likewise.
19363
4e9b5995
CD
193642013-03-01 Carlos O'Donell <carlos@redhat.com>
19365
19366 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19367 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19368
e23872c8
SP
193692013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19370
e5c74c63
SP
19371 * NEWS: Mention libm performance improvements and non-x86 PI
19372 futex support.
19373
e23872c8
SP
19374 * csu/libc-start.c (__pthread_initialize_minimal): Change
19375 function arguments.
19376 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19377
b5510883
JM
193782013-02-28 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #13550]
19381 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19382 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19383 <bp-sym.h> and <bp-asm.h>.
19384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19385 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19386 and <bp-asm.h>.
19387 (memcpy): Don't use BP_SYM.
19388 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19389 <bp-asm.h>.
19390 (__mpn_add_n): Don't use BP_SYM.
19391 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19392 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19393 and <bp-asm.h>.
19394 (__mpn_addmul_1): Don't use BP_SYM.
19395 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19396 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19397 <bp-sym.h>.
19398 (_setjmp): Don't use BP_SYM.
19399 (__novmx_setjmp): Likewise.
19400 (__GI__setjmp): Likewise.
19401 (__vmx_setjmp): Likewise.
19402 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19403 <bp-sym.h>.
19404 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19405 (__bzero): Don't use BP_SYM.
19406 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19407 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19408 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19409 <bp-sym.h> and <bp-asm.h>.
19410 (memcpy): Don't use BP_SYM.
19411 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19412 <bp-sym.h> and <bp-asm.h>.
19413 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19414 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19415 <bp-sym.h> and <bp-asm.h>.
19416 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19417 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19418 <bp-asm.h>.
19419 (__mpn_lshift): Don't use BP_SYM.
19420 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19421 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19422 <bp-asm.h>.
19423 (memset): Don't use BP_SYM.
19424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19426 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19427 <bp-asm.h>.
19428 (__mpn_mul_1): Don't use BP_SYM.
19429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19431 <bp-sym.h> and <bp-asm.h>.
19432 (memcmp): Don't use BP_SYM.
19433 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19434 <bp-sym.h> and <bp-asm.h>.
19435 (memcpy): Don't use BP_SYM.
19436 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (memset): Don't use BP_SYM.
19439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19440 <bp-sym.h> and <bp-asm.h>.
19441 (strncmp): Don't use BP_SYM.
19442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19443 <bp-sym.h> and <bp-asm.h>.
19444 (memcpy): Don't use BP_SYM.
19445 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19446 <bp-sym.h> and <bp-asm.h>.
19447 (memset): Don't use BP_SYM.
19448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19449 <bp-sym.h> and <bp-asm.h>.
19450 (__memchr): Don't use BP_SYM.
19451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19452 <bp-sym.h> and <bp-asm.h>.
19453 (memcmp): Don't use BP_SYM.
19454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19455 <bp-sym.h> and <bp-asm.h>.
19456 (memcpy): Don't use BP_SYM.
19457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19458 <bp-sym.h> and <bp-asm.h>.
19459 (__mempcpy): Don't use BP_SYM.
19460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19461 <bp-sym.h> and <bp-asm.h>.
19462 (__memrchr): Don't use BP_SYM.
19463 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19464 <bp-sym.h> and <bp-asm.h>.
19465 (memset): Don't use BP_SYM.
19466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19467 <bp-sym.h> and <bp-asm.h>.
19468 (__rawmemchr): Don't use BP_SYM.
19469 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19470 <bp-sym.h> and <bp-asm.h>.
19471 (__STRCMP): Don't use BP_SYM.
19472 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19473 <bp-sym.h> and <bp-asm.h>.
19474 (strchr): Don't use BP_SYM.
19475 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19476 <bp-sym.h> and <bp-asm.h>.
19477 (__strchrnul): Don't use BP_SYM.
19478 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19479 <bp-sym.h> and <bp-asm.h>.
19480 (strlen): Don't use BP_SYM.
19481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19482 <bp-sym.h> and <bp-asm.h>.
19483 (strncmp): Don't use BP_SYM.
19484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19485 <bp-sym.h> and <bp-asm.h>.
19486 (__strnlen): Don't use BP_SYM.
19487 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19488 <bp-asm.h>.
19489 (__mpn_rshift): Don't use BP_SYM.
19490 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19491 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19492 <bp-sym.h> and <bp-asm.h>.
19493 (__sigsetjmp): Don't use BP_SYM.
19494 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19495 (L(start_addresses)): Don't use BP_SYM.
19496 (_start): Likewise.
19497 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19498 <bp-asm.h>.
19499 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19500 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19501 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19502 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19503 <bp-asm.h>.
19504 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19507 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19508 <bp-asm.h>.
19509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19510 comments.
19511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19512 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19513 <bp-asm.h>.
19514 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19515 FIXME comments.
19516 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19517 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19518 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19519 <bp-asm.h>.
19520 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19521 comment.
19522 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19523 and <bp-asm.h>.
19524 (strncmp): Don't use BP_SYM,
19525 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19526 <bp-asm.h>.
19527 (__mpn_sub_n): Don't use BP_SYM.
19528 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19529 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19530 and <bp-asm.h>.
19531 (__mpn_submul_1): Don't use BP_SYM.
19532 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19534 <bp-sym.h> and <bp-asm.h>.
19535 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19537 <bp-sym.h> and <bp-asm.h>.
19538 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19539 comment.
19540
8d19fe64
SP
195412013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19542
19543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19544 Use ZK to minimize writes to Z.
19545 (sub_magnitudes): Simplify code a bit.
19546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19547 Use ZK to minimize writes to Z.
19548 (sub_magnitudes): Simplify code a bit.
19549
85bd816a
RM
195502013-02-27 Roland McGrath <roland@hack.frob.com>
19551
19552 * csu/gmon-start.c: Add special exception to license text.
19553
b5977bf2
RH
195542013-02-27 Richard Henderson <rth@redhat.com>
19555
19556 * scripts/config.guess: Update from config.git.
19557 * scripts/config.sub: Likewise.
19558
11d6e2f2
SP
195592013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19560
09c14ed2
SP
19561 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19562
a688864e
SP
19563 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19564
6295157a
SP
19565 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19566
b8de2202
SP
19567 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19568
11d6e2f2
SP
19569 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19570
7e80ddb8
RM
195712013-02-26 Roland McGrath <roland@hack.frob.com>
19572
19573 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19574 [$(build-shared = yes].
7e80ddb8 19575
7da6d9ed
SP
195762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19577
45f05884
SP
19578 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19579 (__mul): Reduce iterations for calculating mantissa.
19580
2236d359
SP
19581 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19582 MPTWO.
19583 (__mpranred): Likewise.
19584
7da6d9ed
SP
19585 [BZ #15160]
19586 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19587 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19588
b7688c42
PE
195892013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19590
19591 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19592 Define __attribute__.
19593
53a5c423
SP
195942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19595
19596 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19597 unused.
19598 * posix/regex_internal.h (__attribute): Remove.
19599 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19600 (re_string_context_at): Likewise.
19601 (bitset_not): Use __attribute__ and mark function as possibly
19602 unused.
19603 (bitset_merge): Likewise.
19604 (bitset_mask): Likewise.
19605 (re_string_char_size_at): Likewise.
19606 (re_string_wchar_at): Likewise.
19607 (re_string_elem_size_at): Likewise.
19608
60f5a8b5
SP
196092013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19610
2a983a2e
SP
19611 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19612 code.
19613 (cc32): Likewise.
19614
e69804d1
SP
19615 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19616 (__acr): Likewise.
19617 (__cpy): Likewise.
19618 (norm): Likewise.
19619 (denorm): Likewise.
19620 (__dbl_mp): Likewise.
19621 (add_magnitudes): Likewise.
19622 (sub_magnitudes): Likewise.
19623 (__mul): Likewise.
19624 (__inv): Likewise.
19625
2f22a1e8
SP
19626 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19627 style.
19628
8930ddc7
SP
19629 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19630 style.
19631
dc60cb11
SP
19632 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19633 code.
19634
60f5a8b5
SP
19635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19636 up changes with default code.
19637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19638 Likewise.
19639
b4d1fd33
AM
196402013-02-24 Allan McRae <allan@archlinux.org>
19641
faf6f8bc
AM
19642 * manual/socket.texi (The Internet Namespace): Order menu items
19643 to match that in the file.
19644
b4d1fd33
AM
19645 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19646 node listing of the info page menu.
19647
2366713d
JM
196482013-02-21 Joseph Myers <joseph@codesourcery.com>
19649
19650 [BZ #13550]
19651 * sysdeps/i386/bp-asm.h: Remove file.
19652 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19653 (PARMS): Do not use macros from bp-asm.h.
19654 (S1): Likewise.
19655 (S2): Likewise.
19656 (SIZE): Likewise.
19657 (__mpn_add_n): Do not use BP_SYM
19658 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19659 "bp-asm.h".
19660 (PARMS): Do not use macros from bp-asm.h.
19661 (S1): Likewise.
19662 (SIZE): Likewise.
19663 (__mpn_addmul_1): Do not use BP_SYM
19664 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19665 "bp-asm.h".
19666 (PARMS): Do not use macros from bp-asm.h.
19667 (SIGMSK): Likewise.
19668 (_setjmp): Likewise. Do not use BP_SYM.
19669 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19670 "bp-asm.h".
19671 (PARMS): Do not use macros from bp-asm.h.
19672 (SIGMSK): Likewise.
19673 (setjmp): Likewise. Do not use BP_SYM.
19674 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19675 "bp-asm.h".
19676 (PARMS): Do not use macros from bp-asm.h.
19677 (__frexp): Do not use BP_SYM.
19678 (frexp): Likewise.
19679 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19680 "bp-asm.h".
19681 (PARMS): Do not use macros from bp-asm.h.
19682 (__frexpf): Do not use BP_SYM.
19683 (frexpf): Likewise.
19684 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19685 "bp-asm.h".
19686 (PARMS): Do not use macros from bp-asm.h.
19687 (__frexpl): Do not use BP_SYM.
19688 (frexpl): Likewise.
19689 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19690 "bp-asm.h".
19691 (PARMS): Do not use macros from bp-asm.h.
19692 (__remquo): Do not use BP_SYM.
19693 (remquo): Likewise.
19694 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19695 "bp-asm.h".
19696 (PARMS): Do not use macros from bp-asm.h.
19697 (__remquof): Do not use BP_SYM.
19698 (remquof): Likewise.
19699 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19700 "bp-asm.h".
19701 (PARMS): Do not use macros from bp-asm.h.
19702 (__remquol): Do not use BP_SYM.
19703 (remquol): Likewise.
19704 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19705 "bp-asm.h".
19706 (PARMS): Do not use macros from bp-asm.h.
19707 (DEST): Likewise.
19708 (SRC): Likewise.
19709 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19710 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19711 "bp-asm.h".
19712 (PARMS): Do not use macros from bp-asm.h.
19713 (strlen): Do not use BP_SYM.
19714 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19715 "bp-asm.h".
19716 (PARMS): Do not use macros from bp-asm.h.
19717 (S1): Likewise.
19718 (S2): Likewise.
19719 (SIZE): Likewise.
19720 (__mpn_add_n): Do not use BP_SYM.
19721 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19722 "bp-asm.h".
19723 (PARMS): Do not use macros from bp-asm.h.
19724 (S1): Likewise.
19725 (SIZE): Likewise.
19726 (__mpn_addmul_1): Do not use BP_SYM.
19727 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19728 weak_alias.
19729 (bzero): Likewise.
19730 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19731 "bp-asm.h".
19732 (PARMS): Do not use macros from bp-asm.h.
19733 (S): Likewise.
19734 (SIZE): Likewise.
19735 (__mpn_lshift): Do not use BP_SYM.
19736 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19737 "bp-asm.h".
19738 (PARMS): Do not use macros from bp-asm.h.
19739 (DEST): Likewise.
19740 (SRC): Likewise.
19741 (LEN): Likewise.
19742 (memcpy): Likewise. Do not use BP_SYM.
19743 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19744 libc_hidden_def and weak_alias.
19745 (mempcpy): Do not use BP_SYM in weak_alias.
19746 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19747 "bp-asm.h".
19748 (PARMS): Do not use macros from bp-asm.h.
19749 (DEST): Likewise.
19750 (LEN): Likewise.
19751 [!BZERO_P] (CHR): Likewise.
19752 (memset): Likewise. Do not use BP_SYM.
19753 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19754 "bp-asm.h".
19755 (PARMS): Do not use macros from bp-asm.h.
19756 (S1): Likewise.
19757 (SIZE): Likewise.
19758 (__mpn_mul_1): Do not use BP_SYM.
19759 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19760 "bp-asm.h".
19761 (PARMS): Do not use macros from bp-asm.h.
19762 (S): Likewise.
19763 (SIZE): Likewise.
19764 (__mpn_rshift): Do not use BP_SYM.
19765 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19766 "bp-asm.h".
19767 (PARMS): Do not use macros from bp-asm.h.
19768 (STR): Likewise.
19769 (CHR): Likewise.
19770 (strchr): Likewise. Do not use BP_SYM.
19771 (index): Do not use BP_SYM in weak_alias.
19772 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19773 "bp-asm.h".
19774 (PARMS): Do not use macros from bp-asm.h.
19775 (DEST): Likewise.
19776 (SRC): Likewise.
19777 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19778 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19779 "bp-asm.h".
19780 (PARMS): Do not use macros from bp-asm.h.
19781 (strlen): Do not use BP_SYM.
19782 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19783 "bp-asm.h".
19784 (PARMS): Do not use macros from bp-asm.h.
19785 (S1): Likewise.
19786 (S2): Likewise.
19787 (SIZE): Likewise.
19788 (__mpn_sub_n): Do not use BP_SYM.
19789 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19790 "bp-asm.h".
19791 (PARMS): Do not use macros from bp-asm.h.
19792 (S1): Likewise.
19793 (SIZE): Likewise.
19794 (__mpn_submul_1): Do not use BP_SYM.
19795 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19796 "bp-asm.h".
19797 (PARMS): Do not use macros from bp-asm.h.
19798 (S1): Likewise.
19799 (S2): Likewise.
19800 (SIZE): Likewise.
19801 (__mpn_add_n): Do not use BP_SYM.
19802 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19803 weak_alias.
19804 (bzero): Likewise.
19805 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19806 "bp-asm.h".
19807 (PARMS): Do not use macros from bp-asm.h.
19808 (BLK2): Likewise.
19809 (LEN): Likewise.
19810 (memcmp): Do not use BP_SYM.
19811 (bcmp): Do not use BP_SYM in weak_alias.
19812 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19813 "bp-asm.h".
19814 (PARMS): Do not use macros from bp-asm.h.
19815 (DEST): Likewise.
19816 (SRC): Likewise.
19817 (LEN): Likewise.
19818 (memcpy): Likewise. Do not use BP_SYM.
19819 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19820 "bp-asm.h".
19821 (PARMS): Do not use macros from bp-asm.h.
19822 (DEST): Likewise.
19823 (SRC): Likewise.
19824 (LEN): Likewise.
19825 (memmove): Likewise. Do not use BP_SYM.
19826 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19827 "bp-asm.h".
19828 (PARMS): Do not use macros from bp-asm.h.
19829 (DEST): Likewise.
19830 (SRC): Likewise.
19831 (LEN): Likewise.
19832 (__mempcpy): Likewise. Do not use BP_SYM.
19833 (mempcpy): Do not use BP_SYM in weak_alias.
19834 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19835 "bp-asm.h".
19836 (PARMS): Do not use macros from bp-asm.h.
19837 (DEST): Likewise.
19838 (LEN): Likewise.
19839 [!BZERO_P] (CHR): Likewise.
19840 (memset): Likewise. Do not use BP_SYM.
19841 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19842 "bp-asm.h".
19843 (PARMS): Do not use macros from bp-asm.h.
19844 (STR2): Likewise.
19845 (strcmp): Do not use BP_SYM.
19846 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19847 "bp-asm.h".
19848 (PARMS): Do not use macros from bp-asm.h.
19849 (STR): Likewise.
19850 (DELIM): Likewise.
19851 [USE_AS_STRTOK_R] (SAVE): Likewise.
19852 (FUNCTION): Likewise. Do not use BP_SYM.
19853 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19854 aliases.
19855 (strtok_r): Likewise.
19856 (__GI___strtok_r): Likewise.
19857 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19858 (PARMS): Do not use macros from bp-asm.h.
19859 (S): Likewise.
19860 (SIZE): Likewise.
19861 (__mpn_lshift): Do not use BP_SYM.
19862 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19863 (PARMS): Do not use macros from bp-asm.h.
19864 (STR): Likewise.
19865 (CHR): Likewise.
19866 (__memchr): Do not use BP_SYM.
19867 (memchr): Do not use BP_SYM in weak_alias.
19868 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19869 (PARMS): Do not use macros from bp-asm.h.
19870 (BLK2): Likewise.
19871 (LEN): Likewise.
19872 (memcmp): Do not use BP_SYM.
19873 (bcmp): Do not use BP_SYM in weak_alias.
19874 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19875 (PARMS): Do not use macros from bp-asm.h.
19876 (S1): Likewise.
19877 (SIZE): Likewise.
19878 (__mpn_mul_1): Do not use BP_SYM.
19879 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19880 "bp-asm.h".
19881 (PARMS): Do not use macros from bp-asm.h.
19882 (STR): Likewise.
19883 (CHR): Likewise.
19884 (__rawmemchr): Do not use BP_SYM.
19885 (rawmemchr): Do not use BP_SYM in weak_alias.
19886 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19887 (PARMS): Do not use macros from bp-asm.h.
19888 (S): Likewise.
19889 (SIZE): Likewise.
19890 (__mpn_rshift): Do not use BP_SYM.
19891 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19892 (PARMS): Do not use macros from bp-asm.h.
19893 (SIGMSK): Likewise.
19894 (__sigsetjmp): Likewise. Do not use BP_SYM.
19895 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19896 (_start): Do not use BP_SYM.
19897 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19898 (PARMS): Do not use macros from bp-asm.h.
19899 (DEST): Likewise.
19900 (SRC): Likewise.
19901 (__stpcpy): Likewise. Do not use BP_SYM.
19902 (stpcpy): Do not use BP_SYM in weak_alias.
19903 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19904 "bp-asm.h".
19905 (PARMS): Do not use macros from bp-asm.h.
19906 (DEST): Likewise.
19907 (SRC): Likewise.
19908 (LEN): Likewise.
19909 (__stpncpy): Likewise. Do not use BP_SYM.
19910 (stpncpy): Do not use BP_SYM in weak_alias.
19911 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19912 (PARMS): Do not use macros from bp-asm.h.
19913 (STR): Likewise.
19914 (CHR): Likewise.
19915 (strchr): Likewise. Do not use BP_SYM.
19916 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19917 "bp-asm.h".
19918 (PARMS): Do not use macros from bp-asm.h.
19919 (STR): Likewise.
19920 (CHR): Likewise.
19921 (__strchrnul): Likewise. Do not use BP_SYM.
19922 (strchrnul): Do not use BP_SYM in weak_alias.
19923 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19924 "bp-asm.h".
19925 (PARMS): Do not use macros from bp-asm.h.
19926 (STOP): Likewise.
19927 (strcspn): Do not use BP_SYM.
19928 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19929 "bp-asm.h".
19930 (PARMS): Do not use macros from bp-asm.h.
19931 (STR): Likewise.
19932 (STOP): Likewise.
19933 (strpbrk): Likewise. Do not use BP_SYM.
19934 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19935 "bp-asm.h".
19936 (PARMS): Do not use macros from bp-asm.h.
19937 (STR): Likewise.
19938 (CHR): Likewise.
19939 (strrchr): Likewise. Do not use BP_SYM.
19940 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19941 (PARMS): Do not use macros from bp-asm.h.
19942 (SKIP): Likewise.
19943 (strspn): Do not use BP_SYM.
19944 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19945 (PARMS): Do not use macros from bp-asm.h.
19946 (STR): Likewise.
19947 (DELIM): Likewise.
19948 (SAVE): Likewise.
19949 (FUNCTION): Likewise. Do not use BP_SYM.
19950 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19951 aliases.
19952 (strtok_r): Likewise.
19953 (__GI___strtok_r): Likewise.
19954 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19955 (PARMS): Do not use macros from bp-asm.h.
19956 (S1): Likewise.
19957 (S2): Likewise.
19958 (SIZE): Likewise.
19959 (__mpn_sub_n): Do not use BP_SYM.
19960 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19961 "bp-asm.h".
19962 (PARMS): Do not use macros from bp-asm.h.
19963 (S1): Likewise.
19964 (SIZE): Likewise.
19965 (__mpn_submul_1): Do not use BP_SYM.
19966 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19967 <bp-sym.h>.
19968 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19969 and <bp-asm.h>.
19970 (PARMS): Do not use macros from bp-asm.h.
19971 (FLAGS): Likewise.
19972 (PTID): Likewise.
19973 (TLS): Likewise.
19974 (CTID): Likewise.
19975 (__clone): Do not use BP_SYM.
19976 (clone): Do not use BP_SYM in weak_alias.
19977 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19978 and <bp-asm.h>.
19979 (PARMS): Do not use macros from bp-asm.h.
19980 (LEN): Likewise.
19981 (__mmap64): Do not use BP_SYM.
19982 (mmap64): Do not use BP_SYM in weak_alias.
19983 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19984 <bp-sym.h> and <bp-asm.h>.
19985 (PARMS): Do not use macros from bp-asm.h.
19986 (__posix_fadvise64_l64): Do not use BP_SYM.
19987 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19988 (PARMS): Do not use macros from bp-asm.h.
19989 (NSOPS): Likewise.
19990 (semtimedop): Do not use BP_SYM.
19991 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19992 and <bp-asm.h>.
19993
582a3cff
AM
199942013-02-21 Allan McRae <allan@archlinux.org>
19995
19996 * manual/message.texi (Charset conversion in gettext):
19997 Move @end statement to beginning of line.
19998
bab8a695
SP
199992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20000
80945231
SP
20001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20002 static.
20003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20004 Likewise.
20005
bab8a695
SP
20006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20007 (denorm): Likewise.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20010
e21d7aa7
AK
200112013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20012
20013 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20014 tail-call to the resolved function if pltexit isn't needed.
20015
4c7a4263
SP
200162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20017
20018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20019 or Y being zero as being unlikely.
20020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20021 Likewise.
20022
41f49342
CD
200232013-02-20 Carlos O'Donell <carlos@redhat.com>
20024
20025 * manual/nss.texi (System Databases and Name Service Switch):
20026 Remove frobnicate @pxref.
20027
50022a93
TS
200282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20029
20030 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20031 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20032
08cbd996
PM
200332013-02-20 Petr Machata <pmachata@redhat.com>
20034
20035 * elf/elf.h (R_ARM_TARGET1): New macro.
20036 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20037 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20038 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20039 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20040 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20041 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20042 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20043 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20044 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20045 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20046 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20047 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20048 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20049 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20050 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20051 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20052 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20053 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20054 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20055 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20056 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20057 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20058 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20059 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20060 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20061 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20062 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20063 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20064 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20065 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20066 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20067 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20068 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20069 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20070 (R_ARM_THM_GOT_BREL12): Likewise.
20071 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20072 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20073 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20074 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20075 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20076 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20077 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20078 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20079 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20080
c7b275d6
TS
200812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20082
20083 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20084 __attribute_used__ to __attribute__ ((unused)).
20085
20cd7fb3
SP
200862013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20087
20088 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20089 powerpc mpa.c.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20091 comment formatting.
20092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20093
92945b52
JM
200942013-02-19 Joseph Myers <joseph@codesourcery.com>
20095
20096 [BZ #13550]
20097 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20098 Remove macro.
20099 (ENTER): Remove both macro definitions.
20100 (LEAVE): Likewise.
20101 (CHECK_BOUNDS_LOW): Likewise.
20102 (CHECK_BOUNDS_HIGH): Likewise.
20103 (CHECK_BOUNDS_BOTH): Likewise.
20104 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20105 (RETURN_BOUNDED_POINTER): Likewise.
20106 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20107 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20108 (POP_ERRNO_LOCATION_RETURN): Likewise.
20109 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20110 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20111 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20112 macros.
20113 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20114 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20115 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20116 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20117 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20118 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20119 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20120 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20121 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20122 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20123 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20124 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20125 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20126 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20127 removed macros.
20128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20129 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20130 macros.
20131 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20132 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20133 * sysdeps/i386/i586/memset.S (memset): Likewise.
20134 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20135 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20136 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20137 macros.
20138 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20139 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20140 Change uses of L(2) to L(out).
20141 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20142 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20143 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20144 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20145 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20146 removed macros.
20147 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20148 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20149 macros.
20150 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20151 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20152 (RETURN): Do not use macro LEAVE.
20153 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20154 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20155 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20156 * sysdeps/i386/i686/memset.S (memset): Likewise.
20157 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20158 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20159 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20160 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20161 Likewise.
20162 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20163 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20164 L(1_2) and L(1_3) into L(1).
20165 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20166 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20167 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20168 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20169 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20170 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20171 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20172 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20173 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20174 macros.
20175 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20176 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20177 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20178 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20179 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20180 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20181 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20182 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20183 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20184 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20185 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20186 * sysdeps/i386/strspn.S (strspn): Likewise.
20187 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20188 conditional code.
20189 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20190 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20191 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20192 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20193 L(1_3) into L(1_1).
20194 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20195 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20196 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20197 macros.
20198 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20199
2389741a
JJ
202002013-02-19 Jakub Jelinek <jakub@redhat.com>
20201
20202 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20203 macro.
20204
2016b3cd
SP
202052013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20206
e4f22324
SP
20207 * math/atest-exp.c (exp_mpn): Remove ROUND.
20208 * math/atest-exp2.c (exp_mpn): Likewise.
20209 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20210
2016b3cd
SP
20211 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20212 * stdlib/tst-tls-atexit-lib.c: Likewise.
20213 * stdlib/tst-tls-atexit.c: Likewise.
20214
4be9b544
MF
202152013-02-18 Mike Frysinger <vapier@gentoo.org>
20216
20217 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20218 and __attribute_alloc_size__.
20219
2f62b9ee
MF
202202013-02-18 Mike Frysinger <vapier@gentoo.org>
20221
20222 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20223 __attribute_alloc_size__.
20224 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20225 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20226
6ff444c4
MF
202272013-02-18 Mike Frysinger <vapier@gentoo.org>
20228
20229 * include/programs/xmalloc.h: New file.
20230 * catgets/gencat.c: Include it.
20231 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20232 * elf/pldd.c: Likewise.
20233 * iconv/iconv_charmap.c: Likewise.
20234 * iconv/iconvconfig.c: Likewise.
20235 * iconv/strtab.c: Likewise.
20236 * locale/programs/locale.c: Likewise.
20237 * locale/programs/localedef.h: Likewise.
20238 * locale/programs/simple-hash.c: Likewise.
20239 * nscd/nscd.h: Likewise.
20240 * nss/makedb.c: Likewise.
20241 * sysdeps/generic/ldconfig.h: Likewise.
20242
be179c8a
SP
202432013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
ba384f6e
SP
20245 * Versions.def: Add GLIBC_2.18.
20246 * include/link.h (struct link_map): New member l_tls_dtor_count.
20247 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20248 (__call_tls_dtors): Likewise.
20249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20250 __cxa_thread_atexit_impl.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20252 Likewise.
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20254 Likewise.
20255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20256 Likewise.
20257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20258 Likewise.
20259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20261 Likewise.
20262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20263 Likewise.
20264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20266 Likewise.
20267 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20268 (tests): Add test case tst-tls-atexit.
20269 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20270 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20271 (GLIBC_PRIVATE): Add __call_tls_dtors.
20272 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20273 for libstdc++.
20274 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20275 * stdlib/tst-tls-atexit.c: New test case.
20276 * stdlib/tst-tls-atexit-lib.c: New test case.
20277
ffaa74cf 20278 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20279
be179c8a
SP
20280 * elf/Versions (ld): Add _dl_find_dso_for_object.
20281 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20282 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20283 (dl_open_worker): Use _dl_find_dso_for_object.
20284 * elf/dl-sym.c (do_sym): Likewise.
20285 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20286
f78b5caa
AK
202872013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20288
20289 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20290 Syntactic changes only.
20291 (_dl_runtime_profile): Do a tail-call to the resolved function.
20292
29691210
JM
202932013-02-17 Joseph Myers <joseph@codesourcery.com>
20294
20295 [BZ #13550]
20296 * sysdeps/x86_64/bp-asm.h: Remove file.
20297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20298 <bp-sym.h> and <bp-asm.h>.
20299 (__clone): Do not use BP_SYM.
20300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20301 <bp-sym.h> and <bp-asm.h>.
20302 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20303 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20304 "bp-asm.h".
20305 (_setjmp): Do not use BP_SYM.
20306 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20307 "bp-asm.h".
20308 (setjmp): Do not use BP_SYM.
20309 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20310 libc_hidden_def.
20311 (mempcpy): Do not use BP_SYM in weak_alias.
20312 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20313 "bp-asm.h".
20314 (strchr): Do not use BP_SYM.
20315 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20316 "bp-asm.h".
20317 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20318 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20319 (_start): Do not use BP_SYM.
20320 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20321 "bp-asm.h".
20322 (strcat): Do not use BP_SYM.
20323 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20324 "bp-asm.h".
20325 (STRCMP): Do not use BP_SYM.
20326 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20327 "bp-asm.h".
20328 (STRCPY): Do not use BP_SYM.
20329 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20330 "bp-asm.h".
20331 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20332 "bp-asm.h".
20333 (FUNCTION): Do not use BP_SYM.
20334 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20335 weak_alias.
20336 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20337
f238fd19
AJ
203382013-02-17 Andreas Jaeger <aj@suse.de>
20339
20340 * time/Versions: Sort entries.
20341 * string/Versions: Likewise.
20342 * resolv/Versions: Likewise.
20343 * posix/Versions: Likewise.
20344 * iconv/Versions: Likewise.
20345 * elf/Versions: Likewise.
20346 * wcsmbs/Versions: Likewise.
20347
bd07f23c 203482013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20349
22af19f9
SP
20350 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20351 loop termination condition.
20352
4709fe76
SP
20353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20354 variable to calculate EZ.
20355 (__sqr): Likewise.
2d0e0f29
SP
20356
20357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20358 the lower precision input.
20359
daaa7713
JM
203602013-02-15 Joseph Myers <joseph@codesourcery.com>
20361
20362 [BZ #13550]
20363 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20364 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20365 (run-via-rtld-prefix): Do not handle %-bp tests.
20366 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20367 (all-object-suffixes): Remove .ob.
20368 (bppfx): Remove variable.
20369 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20370 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20371 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20372 [$(build-bounded) = yes] (libtype.ob): Likewise.
20373 * Makerules (elide-routines.ob): Remove variable.
20374 (do-tests-clean): Do not handle *-bp.out.
20375 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20376 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20377 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20378 (tests): Do not include $(tests-bp.out).
20379 (xtests): Do not include $(xtests-bp.out).
20380 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20381 [$(build-bounded) = yes] ($(addprefix
20382 $(objpfx),$(binaries-bounded))): Remove rule.
20383 ($(objpfx)%-bp.out): Remove rule.
20384 * config.make.in (build-bounded): Remove variable.
20385 * crypt/Makefile [$(build-bounded) = yes]
20386 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20387 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20388 append to variable.
20389 [$(build-bounded) = yes] (install-lib): Likewise.
20390 [$(build-bounded) = yes] (generated): Likewise.
20391 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20392 Remove rule.
20393 * intl/Makefile [$(build-bounded) = yes]
20394 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20395 * math/Makefile [$(build-bounded) = yes]
20396 ($(tests:%=$(objpfx)%-bp): Likewise.
20397 * misc/Makefile [$(build-bounded) = yes]
20398 ($(objpfx)tst-tsearch-bp): Likewise.
20399 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20400 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20401 Remove dependency.
20402 * string/Makefile (o-objects.ob): Remove variable.
20403 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20404 (CFLAGS-.ob): Remove variable.
20405 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20406 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20407 both definitions of variable.
20408 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20409 (ASFLAGS-.ob): Remove variable.
20410
e97ed6dd
JM
204112013-02-14 Joseph Myers <joseph@codesourcery.com>
20412
2bdd4ca6
JM
20413 [BZ #13550]
20414 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20415 Remove __BOUNDED_POINTERS__ from condition.
20416 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20417 * string/bits/string2.h [!__NO_STRING_INLINES &&
20418 !__BOUNDED_POINTERS__]: Likewise.
20419 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20420 Likewise.
20421 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20422 Remove conditional code.
20423 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20424 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20425 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20426 condition.
20427
e97ed6dd
JM
20428 [BZ #13550]
20429 * csu/libc-start.c: Do not include <bp-sym.h>.
20430 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20431 * elf/dl-open.c: Do not include <bp-sym.h>.
20432 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20433 * math/fegetenv.c: Do not include <bp-sym.h>.
20434 (fegetenv): Do not use BP_SYM in versioned symbols.
20435 * nptl/sysdeps/pthread/bits/libc-lockP.h
20436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20437 <bp-sym.h>.
20438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20439 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20441 (__pthread_mutex_destroy): Likewise.
20442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20443 (__pthread_mutex_lock): Likewise.
20444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20445 (__pthread_mutex_trylock): Likewise.
20446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20447 (__pthread_mutex_unlock): Likewise.
20448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20449 (__pthread_mutexattr_init): Likewise.
20450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20451 (__pthread_mutexattr_destroy): Likewise.
20452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20453 (__pthread_mutexattr_settype): Likewise.
20454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20455 (__pthread_rwlock_init): Likewise.
20456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20457 (__pthread_rwlock_destroy): Likewise.
20458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20459 (__pthread_rwlock_rdlock): Likewise.
20460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20461 (__pthread_rwlock_tryrdlock): Likewise.
20462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20463 (__pthread_rwlock_wrlock): Likewise.
20464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20465 (__pthread_rwlock_trywrlock): Likewise.
20466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20467 (__pthread_rwlock_unlock): Likewise.
20468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20469 (__pthread_key_create): Likewise.
20470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20471 (__pthread_setspecific): Likewise.
20472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20473 (__pthread_getspecific): Likewise.
20474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20475 Likewise.
20476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20477 (_pthread_cleanup_push_defer): Likewise.
20478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20479 (_pthread_cleanup_pop_restore): Likewise.
20480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20481 (pthread_setcancelstate): Likewise.
20482 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20483 <bp-sym.h>.
20484 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20485 (memchr): Do not use BP_SYM in weak_alias.
20486 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20487 (fegetenv): Do not use BP_SYM in versioned symbols.
20488 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20489 (fesetenv): Do not use BP_SYM in versioned symbols.
20490 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20491 (feupdateenv): Do not use BP_SYM in versioned symbols.
20492 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20493 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20494 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20495 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20496 (open64): Do not use BP_SYM in weak_alias.
20497 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20498 (fegetenv): Do not use BP_SYM in versioned symbols.
20499 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20500 (fesetenv): Do not use BP_SYM in versioned symbols.
20501 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20502 (feupdateenv): Do not use BP_SYM in versioned symbols.
20503 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20504 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20505 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20506 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20507 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20508 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20509 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20510 <bp-sym.h>.
20511 (__libc_start_main): Do not use BP_SYM.
20512
d6752ccd
SP
205132013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20514
cb57ce60
SP
20515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20516 redundant return line.
20517 (norm): Likewise.
20518 (denorm): Likewise.
20519 (dbl_mp): Likewise.
20520 (sub_magnitudes): Likewise.
20521 (__add): Likewise.
20522 (__sub): Likewise.
20523 (__mul): Likewise.
20524 (__inv): Likewise.
20525 (__dvd): Likewise.
20526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20527 (norm): Likewise.
20528 (denorm): Likewise.
20529 (dbl_mp): Likewise.
20530 (sub_magnitudes): Likewise.
20531 (__add): Likewise.
20532 (__sub): Likewise.
20533 (__mul): Likewise.
20534 (__inv): Likewise.
20535 (__dvd): Likewise.
20536
f414520d
SP
20537 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20538 instead of __mul.
20539 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20540 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20541 (cc32): Likewise.
20542
d6752ccd
SP
20543 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20544 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20546 of __mul for squares.
20547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20548 function
20549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20550 Likewise.
20551 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20552 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20553
70d9946a
JM
205542013-02-13 Joseph Myers <joseph@codesourcery.com>
20555
20556 [BZ #13550]
20557 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20558 code.
20559 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20560 prototype or function definition. Rename ubp_* variables and
20561 parameters. Remove argv definitions conditional on
20562 [__BOUNDED_POINTERS__].
20563 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20564 * elf/dl-runtime.c (_dl_fixup): Likewise.
20565 * include/set-hooks.h (RUN_HOOK): Likewise.
20566 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20567 definition.
20568 * string/strcpy.c (strcpy): Do not use __unbounded.
20569 * sysdeps/generic/frame.h (struct layout): Likewise.
20570 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20571 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20572 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20573 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20574 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20575 (__backtrace): Likewise.
20576 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20577 use __ptrvalue.
20578 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20580 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20581 Likewise.
20582 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20583 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20584 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20585 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20586 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20587 Do not use __unbounded.
20588 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20589 Rename __unboundedrlimits parameter to rlimits in prototype.
20590 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20591 Do not use __unbounded.
20592 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20593 not use __ptrvalue.
20594 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20595 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20596 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20597 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20598 __ptrvalue or __unbounded.
20599 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20600 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20601 use __unbounded.
20602 (__new_msgctl): Do not use __ptrvalue.
20603 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20604 __unbounded.
20605 (__libc_msgrcv): Do not use __ptrvalue.
20606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20607 startup_info): Do not use __unbounded.
20608 (__libc_start_main): Likewise. Rename ubp_* variables and
20609 parameters. Remove argv definitions conditional on
20610 [__BOUNDED_POINTERS__].
20611 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20612 __ptrvalue.
20613 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20614 use __unbounded.
20615 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20616 or __ptrvalue.
20617 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20618 use __unbounded.
20619 (__new_shmctl): Do not use __ptrvalue.
20620 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20621 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20622 Likewise.
20623 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20625 (__libc_sigaction): Likewise.
20626 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20628 Likewise.
20629 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20630
cc7834d6
OB
206312013-02-13 Ondřej Bílka <neleai@seznam.cz>
20632
ffb1ec7b 20633 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20634
20635 * string/mempcpy.c: Implement by calling memcpy.
20636
bdf02814
SP
206372013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20638
c2af38aa
SP
20639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20640
4e92d59e
SP
20641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20642 evaluation.
20643
909279a5
SP
20644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20645 values in the mantissa.
20646
bdf02814
SP
20647 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20648 minimize writes to Z.
20649 (sub_magnitudes): Simplify code a bit.
20650
cd525923
RM
206512013-02-12 Roland McGrath <roland@hack.frob.com>
20652
20653 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20654 from the message. The linker prefixes all warnings with that already.
20655
7e2f0d2d
AS
206562013-02-12 Andreas Schwab <schwab@suse.de>
20657
a445af0b
AS
20658 [BZ #15078]
20659 * posix/regexec.c (extend_buffers): Add parameter min_len.
20660 (check_matching): Pass minimum needed length.
20661 (clean_state_log_if_needed): Likewise.
20662 (get_subexp): Likewise.
20663 * posix/Makefile (tests): Add bug-regex34.
20664 (bug-regex34-ENV): Define.
20665 * posix/bug-regex34.c: New file.
20666
7e2f0d2d
AS
20667 [BZ #11561]
20668 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20669 elements compare against the byte sequence of it, not its name.
20670 * posix/Makefile (tests): Add bug-regex35.
20671 (bug-regex35-ENV): Define.
20672 * posix/bug-regex35.c: New file.
20673
a175b684
TV
206742013-02-11 Tom de Vries <tom@codesourcery.com>
20675
20676 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20677 comment.
20678 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20679 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20680 (CHECK_EOL): Add undef.
20681
310998fe 206822013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20683
20684 * bits/stdlib-bsearch.h: New file.
20685 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20686 * stdlib/stdlib.h: Likewise.
41eda41d 20687
8ded91fb
RM
206882013-02-11 Roland McGrath <roland@hack.frob.com>
20689
20690 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20691 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20692 declaration.
20693 * manual/search.texi (Array Search Function): Add missing const in
20694 lfind prototype.
20695 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20696 declaration to use rlim_t.
20697 (Basic Scheduling Functions): Remove erroneous const from
20698 sched_getparam prototype. Remove erroneous * from
20699 sched_get_priority_max and sched_get_priority_min prototypes.
20700 (Resource Usage): Fix summary @comment on vtimes to refer to
20701 sys/vtimes.h rather than vtimes.h.
20702 Add missing *s in vtimes prototype.
20703 (Limits on Resources): Fix ulimit prototype to return long int.
20704 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20705 prototypes to use long int rather than double.
20706 (BSD Random): Fix initstate and setstate to use char *, not void *.
20707 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20708 prototype to make second argument 'struct aiocb64 *const[]'.
20709 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20710 (Status of AIO Operations): Remove erroneous const in aio_return and
20711 aio_return64 prototypes.
20712 (Synchronizing I/O): Fix sync prototype to return void.
20713 * manual/startup.texi (Suboptions): Remove an erroneous const in
20714 getsubopt prototype.
20715 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20716 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20717 use size_t rather than int.
20718 (Scanning All Users): Likewise for getpwent_r.
20719 (Setting Groups): Add missing const to setgroups prototype.
20720 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20721 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20722 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20723 'const void *' rather than 'const char *'.
20724 (Host Address Functions): Likewise for inet_ntop.
20725 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20726 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20727 ssize_t for return value.
20728 (Sending Data): Likewise for send, sendto, sendmsg.
20729 (Socket Option Functions): Add a missing const in setsockopt prototype.
20730 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20731 use wchar_t for the argument.
20732 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20733 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20734 take no arguments.
20735 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20736 double/float/long double for second argument.
20737 Fix return types of significand, significandf, significandl.
20738 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20739 argument in fchmod prototype.
20740 (File Owner): Use uid_t and gid_t in fchown prototype.
20741 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20742 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20743 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20744 use 'const struct dirent **' as argument types to CMP function pointer
20745 argument.
20746 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20747 (File Times): Fix summary magic @comment for struct utimbuf and utime
20748 to refer to utime.h, not time.h.
20749 * manual/string.texi (Argz Functions): Add missing const in
20750 argz_extract and argz_next prototypes.
20751 (Finding Tokens in a String): Likewise for basename.
20752 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20753 (Copying and Concatenation): Fix typo in wmemmove prototype.
20754 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20755 (Signal Stack): Remove erroneous const in sigstack prototype.
20756 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20757 prototype.
20758 (Simple Calendar Time): Likewise for stime.
20759 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20760 prototype.
20761 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20762 say sys/sysctl.h instead.
20763 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20764 and vsyslog prototypes.
20765
fe77fe6d
TV
207662013-02-11 Tom de Vries <tom@codesourcery.com>
20767
20768 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20769 Remove.
20770
3a09b620
RM
207712013-02-11 Roland McGrath <roland@hack.frob.com>
20772
20773 * misc/sys/mman.h: Fix typo in mremap comment.
20774
550a0b89
RM
207752013-02-08 Roland McGrath <roland@hack.frob.com>
20776
20777 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20778 the '\0' terminator.
20779
a2da1673
JM
207802013-02-08 Joseph Myers <joseph@codesourcery.com>
20781
20782 [BZ #13550]
20783 * debug/segfault.c: Don't include <bp-checks.h>.
20784 * sysdeps/generic/bp-checks.h: Remove file.
20785 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20786 (__GETDENTS): Don't use CHECK_N.
20787 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20788 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20789 (__getgroups): Don't use CHECK_N.
20790 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20791 (setgroups): Don't use CHECK_N.
20792 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20793 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20794 (__libc_msgrcv): Don't use CHECK_N.
20795 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20796 (__libc_msgsnd): Don't use CHECK_N.
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20798 <bp-checks.h>.
20799 (__libc_pread): Don't use CHECK_N.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20801 include <bp-checks.h>.
20802 (__libc_pread64): Don't use CHECK_N.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20804 include <bp-checks.h>.
20805 (__libc_pwrite): Don't use CHECK_N.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20807 include <bp-checks.h>.
20808 (__libc_pwrite64): Don't use CHECK_N.
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20810 <bp-checks.h>.
20811 (__libc_pread): Don't use CHECK_N.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20813 include <bp-checks.h>.
20814 (__libc_pread64): Don't use CHECK_N.
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20816 include <bp-checks.h>.
20817 (__libc_pwrite): Don't use CHECK_N.
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20819 include <bp-checks.h>.
20820 (__libc_pwrite64): Don't use CHECK_N.
20821 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20822 (do_pread): Don't use CHECK_N.
20823 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20824 (do_pread64): Don't use CHECK_N.
20825 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20826 (do_pwrite): Don't use CHECK_N.
20827 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20828 (do_pwrite64): Don't use CHECK_N.
20829 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20830 (__libc_readv): Don't use CHECK_N.
20831 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20832 (semop): Don't use CHECK_N.
20833 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20834 <bp-checks.h>.
20835 (semtimedop): Don't use CHECK_N.
20836 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20837 (__libc_pread): Don't use CHECK_N.
20838 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20839 <bp-checks.h>.
20840 (__libc_pread64): Don't use CHECK_N.
20841 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20842 <bp-checks.h>.
20843 (__libc_pwrite): Don't use CHECK_N.
20844 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20845 <bp-checks.h>.
20846 (__libc_pwrite64): Don't use CHECK_N.
20847 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20848 <bp-checks.h>.
20849 (__libc_msgrcv): Don't use CHECK_N.
20850 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20851 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20852 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20853 (__libc_writev): Don't use CHECK_N.
20854
b84660a8
RM
208552013-02-08 Roland McGrath <roland@hack.frob.com>
20856
7f3e75f8
RM
20857 * string/strcpy.c: Removed unused variable.
20858
b84660a8
RM
20859 * Makeconfig (+sysdep-includes): Define with := rather than =.
20860 Use an existing include/ subdir of each sysdeps dir before it.
20861
471514d3
CD
208622013-02-08 Carlos O'Donell <carlos@redhat.com>
20863
20864 * nscd/connection.c (register_traced_file): Comment function.
20865 [HAVE_INOTIFY] (union __inev): Define.
20866 [HAVE_INOTIFY] (inotify_check_files): New function.
20867 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20868 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20869 clear_db_cache.
20870 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20871
b2d3c3be
CD
208722013-02-08 Carlos O'Donell <carlos@redhat.com>
20873
20874 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20875 loaded if not already and that a failure is permanent.
20876
b39949d2
CD
208772013-02-08 Carlos O'Donell <carlos@redhat.com>
20878
ddacd1db 20879 [BZ #15006]
b39949d2
CD
20880 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20881 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20882
b2c9eff4
JM
208832013-02-08 Joseph Myers <joseph@codesourcery.com>
20884
f3aae3f3
JM
20885 [BZ #13550]
20886 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20887 (CHECK_1_NULL_OK): Likewise.
20888 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20889 (__fxstat): Do not use CHECK_1.
20890 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20891 <bp-checks.h>.
20892 (___fxstat64): Do not use CHECK_1.
20893 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20894 <bp-checks.h>.
20895 (__fxstatat): Do not use CHECK_1.
20896 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20897 <bp-checks.h>.
20898 (__fxstatat64): Do not use CHECK_1.
20899 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20900 <bp-checks.h>.
20901 (__fxstat): Do not use CHECK_1.
20902 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20903 <bp-checks.h>.
20904 (__fxstatat): Do not use CHECK_1.
20905 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20906 <bp-checks.h>.
20907 (__getresgid): Do not use CHECK_1.
20908 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20909 <bp-checks.h>.
20910 (__getresuid): Do not use CHECK_1.
20911 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20912 <bp-checks.h>.
20913 (__lxstat): Do not use CHECK_1.
20914 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20915 <bp-checks.h>.
20916 (__old_msgctl): Do not use CHECK_1.
20917 (__new_msgctl): Likewise.
20918 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20919 <bp-checks.h>.
20920 (__new_setrlimit): Do not use CHECK_1.
20921 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20922 <bp-checks.h>.
20923 (__old_shmctl): Do not use CHECK_1.
20924 (__new_shmctl): Likewise.
20925 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20926 <bp-checks.h>.
20927 (__xstat): Do not use CHECK_1.
20928 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20929 (__lxstat): Do not use CHECK_1.
20930 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20931 <bp-checks.h>.
20932 (___lxstat64): Do not use CHECK_1.
20933 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20934 (__old_msgctl): Do not use CHECK_1.
20935 (__new_msgctl): Likewise.
20936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20937 <bp-checks.h>.
20938 (__gettimeofday): Do not use CHECK_1.
20939 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20940 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20941 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20942 <bp-checks.h>.
20943 (__gettimeofday): Do not use CHECK_1.
20944 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20945 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20946 (__new_shmctl): Do not use CHECK_1.
20947 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20948 <bp-checks.h>.
20949 (do_sigtimedwait): Do not use CHECK_1.
20950 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20951 <bp-checks.h>.
20952 (do_sigwaitinfo): Do not use CHECK_1.
20953 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20954 <bp-checks.h>.
20955 (msgctl): Do not use CHECK_1.
20956 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20957 <bp-checks.h>.
20958 (shmctl): Do not use CHECK_1.
20959 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20960 (ustat): Do not use CHECK_1.
20961 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20962 <bp-checks.h>.
20963 (__fxstat): Do not use CHECK_1.
20964 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20965 <bp-checks.h>.
20966 (__fxstatat): Do not use CHECK_1.
20967 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20968 <bp-checks.h>.
20969 (__lxstat): Do not use CHECK_1.
20970 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20971 <bp-checks.h>.
20972 (__xstat): Do not use CHECK_1.
20973 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20974 (__xstat): Do not use CHECK_1.
20975 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20976 (___xstat64): Do not use CHECK_1.
20977
b2c9eff4
JM
20978 [BZ #13550]
20979 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20980 definitions.
20981 (CHECK_BOUNDS_HIGH): Likewise.
20982 * string/strcpy.c: Do not include <bp-checks.h>.
20983 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20984
f1d70dad
RM
209852013-02-07 Roland McGrath <roland@hack.frob.com>
20986
20987 * nscd/nscd-client.h (__nscd_drop_map_ref):
20988 Add __attribute__ ((unused)).
20989 * nis/nss-nisplus.h (niserr2nss): Likewise.
20990
20991 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20992 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20993
20994 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20995 Remove inline keyword.
20996 * include/rounding-mode.h (round_away): Likewise.
20997 * libio/wfileops.c (adjust_wide_data): Likewise.
20998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20999 (__m128i_strloadu_tolower): Likewise.
21000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21001 (__m128i_strloadu_tolower): Likewise.
21002 * time/mktime.c (ydhms_diff): Likewise.
21003 * locale/elem-hash.h (elem_hash): Likewise.
21004 * locale/setlocale.c (setdata): Likewise.
21005 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21006 (re_string_wchar_at): Likewise.
21007 (bitset_not, bitset_merge, bitset_mask): Likewise.
21008 [!(__GNUC__ > 3)] (inline): Remove macro.
21009 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21010 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21011 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21012 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21013 * string/memcmp.c (memcmp_bytes): Likewise.
21014 * locale/programs/locarchive.c (compute_hashval): Likewise.
21015 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21016 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21017 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21018 * nss/getent.c (print_rpc, print_protocols): Likewise.
21019 (print_passwd, print_group, print_aliases): Likewise.
21020 * nis/nss-nisplus.h (niserr2nss): Likewise.
21021 * nscd/connections.c (restart_p): Likewise.
21022 Change return type to bool.
21023
eab55bfb
RM
210242013-02-05 Roland McGrath <roland@hack.frob.com>
21025
7bd642f5
RM
21026 * Makeconfig (all-Depend-files): Add existing
21027 $(sorted-subdirs:=/Depend) files.
21028 (all-subdirs): Remove nss.
21029 * sysdeps/unix/inet/Subdirs: Add it here instead.
21030 * hesiod/Depend: New file.
21031
573c29b2
RM
21032 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21033 instead of calling alloca.
21034
b2e25af0
RM
21035 * io/lseek.c (__lseek): Rename to __libc_lseek.
21036 Define __lseek as an alias.
21037
eab55bfb
RM
21038 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21039
9a0d1941
CD
210402013-02-04 Carlos O'Donell <carlos@redhat.com>
21041
21042 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21043 else clause and remove check for non-standard endianness.
21044
b83bbec4
DM
210452013-02-04 David S. Miller <davem@davemloft.net>
21046
21047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21048
6277fdab
JM
210492013-02-04 Joseph Myers <joseph@codesourcery.com>
21050
21051 [BZ #13550]
21052 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21053 (__ubp_memchr): Remove prototype.
21054 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21055 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21056 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21057 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21058 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21059 Remove alias.
21060 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21061 (__ubp_memchr): Likewise.
21062 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21063 (__ubp_memchr): Likewise.
21064 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21065 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21066 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21067 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21068 CHECK_STRING.
21069 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21070 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21071 (__getcwd): Do not use CHECK_STRING.
21072 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21073 <bp-checks.h>.
21074 (__real_chown): Do not use CHECK_STRING.
21075 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21076 <bp-checks.h>.
21077 (fchownat): Do not use CHECK_STRING.
21078 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21079 CHECK_STRING.
21080 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21081 <bp-checks.h>.
21082 (__lchown): Do not use CHECK_STRING.
21083 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21084 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21085 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21086 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21088 include <bp-checks.h>.
21089 (truncate64): Do not use CHECK_STRING.
21090 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21091 <bp-checks.h>.
21092 (__real_chown): Do not use CHECK_STRING.
21093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21094 <bp-checks.h>.
21095 (__lchown): Do not use CHECK_STRING.
21096 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21097 <bp-checks.h>.
21098 (__chown): Do not use CHECK_STRING.
21099 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21100 <bp-checks.h>.
21101 (truncate64): Do not use CHECK_STRING.
21102 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21103 Likewise.
21104 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21105 (__xmknod): Do not use CHECK_STRING.
21106 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21107 <bp-checks.h>.
21108 (__xmknodat): Do not use CHECK_STRING.
21109 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21110 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21111
903ae060
AS
211122013-02-04 Andreas Schwab <schwab@suse.de>
21113
21114 [BZ #14142]
21115 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21116 * include/netdb.h: Likewise for h_errno.
21117 * elf/tst-stackguard1.c: Include <tls.h>.
21118
542f9466
JK
211192013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21120
21121 * elf/link.h (struct link_map): Extend the l_addr comment.
21122 * include/link.h (struct link_map): Likewise.
21123
e782a927
JM
211242013-02-01 Joseph Myers <joseph@codesourcery.com>
21125
21126 [BZ #13550]
21127 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21128 (BOUNDED_1): Remove macro.
21129 * debug/backtrace.c: Don't include <bp-checks.h>.
21130 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21131 (__backtrace): Likewise.
21132 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21133 <bp-checks.h>.
21134 (__backtrace): Don't use BOUNDED_1.
21135 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21136 <bp-checks.h>.
21137 (__backtrace): Don't use BOUNDED_1.
21138 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21139 (__backtrace): Don't use BOUNDED_1.
21140 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21141 (shmat): Don't use BOUNDED_N.
21142
8cf28c5e
JM
211432013-01-31 Joseph Myers <joseph@codesourcery.com>
21144
3a7ac8a0
JM
21145 [BZ #13550]
21146 * sysdeps/generic/bp-start.h: Remove file.
21147 * csu/libc-start.c: Don't include <bp-start.h>.
21148 (LIBC_START_MAIN): Set up __environ directly instead of using
21149 INIT_ARGV_and_ENVIRON.
21150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21151 <bp-start.h>.
21152
f3499f95
JM
21153 [BZ #13550]
21154 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21155 definitions.
21156 (CHECK_FCNTL): Likewise.
21157 (CHECK_N_PAGES): Likewise.
21158
32a45bea
JM
21159 [BZ #13550]
21160 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21161 definitions.
21162 (CHECK_SIGSET_NULL_OK): Likewise.
21163 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21164 <bp-checks.h>.
21165 (sigpending): Don't use CHECK_SIGSET.
21166 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21167 <bp-checks.h>.
21168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21169 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21170 <bp-checks.h>.
21171 (do_sigsuspend): Don't use CHECK_SIGSET.
21172 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21173 use CHECK_SIGSET.
21174 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21175 (do_sigwait): Don't use CHECK_SIGSET.
21176 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21177 use CHECK_SIGSET.
21178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21179 include <bp-checks.h>.
21180 (sigpending): Don't use CHECK_SIGSET.
21181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21182 include <bp-checks.h>.
21183 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21184 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21185 <bp-checks.h>.
21186 (sigpending): Don't use CHECK_SIGSET.
21187 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21188 <bp-checks.h>.
21189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21190
2e8a5c8c
JM
21191 [BZ #13550]
21192 * sysdeps/generic/bp-semctl.h: Remove file.
21193 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21194 <bp-checks.h> and <bp-semctl.h>.
21195 (__old_semctl): Don't use CHECK_SEMCTL.
21196 (__new_semctl): Likewise.
21197 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21198 and <bp-semctl.h>.
21199 (__old_semctl): Don't use CHECK_SEMCTL.
21200 (__new_semctl): Likewise.
21201 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21202 <bp-checks.h> and <bp-semctl.h>.
21203 (__old_semctl): Don't use CHECK_SEMCTL.
21204 (__new_semctl): Likewise.
21205 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21206 <bp-checks.h> and <bp-semctl.h>.
21207 (semctl): Don't use CHECK_SEMCTL.
21208
c2d54929
JM
21209 [BZ #13550]
21210 * Makerules (elide-bp-thunks): Remove variable.
21211 (elide-routines.oS): Don't use $(elide-bp-thunks).
21212 (elide-routines.os): Likewise.
21213 (elide-routines.o): Likewise.
21214 (elide-routines.op): Likewise.
21215 (elide-routines.og): Likewise.
21216 (objects): Don't use $(bp-thunks).
21217 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21218 include.
21219 (common-generated): Do not add s-proto-bp.d.
21220 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21221 (int): Likewise.
21222 (typ): Likewise.
21223 Do not generate makefile rules for bounded-pointer thunks.
21224 * sysdeps/generic/bp-thunks.h: Remove file.
21225 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21226 * sysdeps/unix/s-proto-bp.S: Likewise.
21227
8cf28c5e
JM
21228 [BZ #15062]
21229 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21230 parts of result separately when argument is not close to line from
21231 -i to i and one part of argument is small.
21232 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21233 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21234 * math/libm-test.inc (cacos_test): Add more tests.
21235 (casin_test): Likewise.
21236 (casinh_test): Likewise.
21237 * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21239
c4e33b8d
DM
212402013-01-31 David S. Miller <davem@davemloft.net>
21241
21242 * po/de.po: Update from translation team.
21243
3b60b421
MK
212442013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21245
21246 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21247
bb931195
TS
212482013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21249
b5a5da23
TS
21250 * configure.in (_AC_PROG_CC_C89): New definition.
21251 * configure: Regenerate.
21252
bb931195
TS
21253 * configure.in (AC_PROG_CPP): New definition.
21254 * configure: Regenerate.
21255
8c53a12c
JM
212562013-01-23 Joseph Myers <joseph@codesourcery.com>
21257
21258 * debug/tst-backtrace.h: New file.
21259 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21260 (ret): Remove variable.
21261 (x): Likewise.
21262 (FAIL): Remove macro.
21263 (NO_INLINE): Likewise.
21264 (fn1): Use match function instead of strstr.
21265 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21266 (ret): Remove variable.
21267 (x): Likewise.
21268 (FAIL): Remove macro.
21269 (NO_INLINE): Likewise.
21270 (fn): Use match function instead of strstr.
21271 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21272 (ret): Remove variable.
21273 (x): Likewise.
21274 (FAIL): Remove macro.
21275 (NO_INLINE): Likewise.
21276 (handle_signal): Use match function instead of strstr.
21277 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21278 (ret): Remove variable.
21279 (x): Likewise.
21280 (FAIL): Remove macro.
21281 (NO_INLINE): Likewise.
21282 (handle_signal): Use match function instead of strstr.
21283
4858fa2a
RM
212842013-01-23 Roland McGrath <roland@hack.frob.com>
21285
21286 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21287
bae8e7f5
DM
212882013-01-23 David S. Miller <davem@davemloft.net>
21289
21290 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21291 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21292 argument of CAS if possible.
21293 * sysdeps/sparc/sparc64/bits/atomic.h
21294 (__arch_compare_and_exchange_val_32_acq): Likewise.
21295 (__arch_compare_and_exchange_val_64_acq): Likewise.
21296
9cbbc4ae
PT
212972013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21298
21299 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21300 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21301 Include <limits.h>.
67b3f58c 21302 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21303
5655a0b5
AC
213042013-01-23 Adam Conrad <adconrad@0c3.net>
21305
21306 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21307 (LDFLAGS-tst-array5): Likewise.
21308
052aff95
JM
213092013-01-23 Joseph Myers <joseph@codesourcery.com>
21310
21311 [BZ #15036]
21312 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21313 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21314 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21315 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21316
7c1e01aa
DM
213172013-01-21 David S. Miller <davem@davemloft.net>
21318
21319 * sysdeps/sparc/backtrace.c: New file.
21320 * sysdeps/sparc/sparc32/backtrace.h: New file.
21321 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21322 * sysdeps/sparc/sparc64/backtrace.h: New file.
21323 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21324 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21325 -funwind-tables.
21326
ab087e0a
AS
213272013-01-21 Andreas Schwab <schwab@suse.de>
21328
21329 [BZ #15020]
21330 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21331 closed its stdout.
21332
ed689c2f
AS
213332013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21334
21335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21336 "mpa2.h".
21337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21338
31d470ac
JM
213392013-01-18 Joseph Myers <joseph@codesourcery.com>
21340 Mark Mitchell <mark@codesourcery.com>
21341 Tom de Vries <tom@codesourcery.com>
21342 Paul Pluzhnikov <ppluzhnikov@google.com>
21343
21344 * debug/tst-backtrace2.c: New file.
21345 * debug/tst-backtrace3.c: Likewise.
21346 * debug/tst-backtrace4.c: Likewise.
21347 * debug/tst-backtrace5.c: Likewise.
21348 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21349 (CFLAGS-tst-backtrace3.c): Likewise.
21350 (CFLAGS-tst-backtrace4.c): Likewise.
21351 (CFLAGS-tst-backtrace5.c): Likewise.
21352 (LDFLAGS-tst-backtrace2): Likewise.
21353 (LDFLAGS-tst-backtrace3): Likewise.
21354 (LDFLAGS-tst-backtrace4): Likewise.
21355 (LDFLAGS-tst-backtrace5): Likewise.
21356 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21357 tst-backtrace4 and tst-backtrace5.
21358
90567f30 213592013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21360 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21361
21362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21363 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21364 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21365 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21367 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21368 "+r" and remove output regs list as redundant. Add explicit inline
21369 asm to specify register of return val to work around compiler codegen
21370 bug. Remove (int) cast on return value. Add return type parameter to
21371 use in macro so that this macro does not truncate return value for
21372 64-bit values.
21373 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21374 pass to INTERNAL_VSYSCALL_NCS.
21375 (INLINE_VSYSCALL): Add 'long int' as return type to
21376 INTERNAL_VSYSCALL_NCS macro invocation.
21377 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21378 INTERNAL_VSYSCALL_NCS macro invocation.
21379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21380
d3b9ea61
SP
213812013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21382
0b57daeb
SP
21383 [BZ #14496]
21384 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21385 Fix application of SIMD FP exception mask.
21386
caa99d06
SP
21387 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21388 mp_no from a power of two.
21389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21390 __mpexp_twomm1. Use __pow_mp.
21391
d3b9ea61
SP
21392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21393 multiplication.
21394
1dbaee3c
DM
213952013-01-17 David S. Miller <davem@davemloft.net>
21396
21397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21398
728d7b43
JM
213992013-01-17 Joseph Myers <joseph@codesourcery.com>
21400
21401 [BZ #15023]
21402 * include/complex.h: Condition contents on [!_COMPLEX_H].
21403 (__kernel_casinhf): New prototype.
21404 (__kernel_casinh): Likewise.
21405 (__kernel_casinhl): Likewise.
21406 * math/Makefile (libm_calls): Add k_casinh.
21407 * math/k_casinh.c: New file.
21408 * math/k_casinhf.c: Likewise.
21409 * math/k_casinhl.c: Likewise.
21410 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21411 finite nonzero arguments.
21412 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21413 finite nonzero arguments.
21414 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21415 finite nonzero arguments.
21416 * math/s_casinh.c: Do not include <float.h>.
21417 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21418 * math/s_casinhf.c: Do not include <float.h>.
21419 (__casinhf): Move code for finite nonzero arguments to
21420 k_casinhf.c.
21421 * math/s_casinhl.c: Do not include <float.h>.
21422 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21423 redefine.
21424 (__casinhl): Move code for finite nonzero arguments to
21425 k_casinhl.c.
21426 * math/libm-test.inc (cacos_test): Add more tests.
21427 * sysdeps/i386/fpu/libm-test-ulps: Update.
21428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21429
2a26ef3a
PT
214302013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21431
21432 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21433 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21434 [!HAVE_MREMAP]: Remove [defined linux] case.
21435 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21436
a897655d
SP
214372013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21438
21439 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21440
881ebe89 214412013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21442
21443 * elf/elf.h (R_386_SIZE32): New relocation.
21444 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21445 R_386_SIZE32.
21446 (elf_machine_rela): Likewise.
21447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21448 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21449
59981e9b
JM
214502013-01-17 Joseph Myers <joseph@codesourcery.com>
21451
21452 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21453 (FP_FAST_FMA): Do not define.
21454 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21455 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21456 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21457 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21458 !_SOFT_FLOAT]: Likewise.
21459 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21461 value.
21462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21463 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21464 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21465 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21466 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21467 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21468 file.
21469
cfa8054f
AS
214702013-01-16 Andreas Schwab <schwab@suse.de>
21471
21472 [BZ #14327]
21473 * include/stdlib.h (__mktemp): Add declaration.
21474 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21475 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21476
dd930cc5
SP
214772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21478
881ebe89
SP
21479 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21480 definitions.
21481 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21482 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21483 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21484 definitions here.
21485 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21486 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21487 definitions.
21488 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21489 and ONE.
21490 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21491 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21493 definitions.
21494 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21495 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21496 definitions.
21497 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21498
dd930cc5
SP
21499 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21500
c19a9f89
DM
215012013-01-15 David S. Miller <davem@davemloft.net>
21502
1aa61767
DM
21503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21504 trunc{,f} to libm-sysdep_routes.
21505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21507 file.
21508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21510 file.
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21512 file.
21513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21518 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21519 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21520 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21521
c42d5e98
DM
21522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21523 nearbyint{,f} to libm-sysdep_routes.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21526 New file.
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21528 file.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21530 New file.
21531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21532 file.
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21536 file.
21537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21539 file.
21540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21541 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21542 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21543
c19a9f89
DM
21544 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21545 libc_feholdexcept and libc_fesetenv.
21546
357679d2
MF
215472013-01-15 Mike Frysinger <vapier@gentoo.org>
21548
21549 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21550
65a82e3d
DM
215512013-01-14 David S. Miller <davem@davemloft.net>
21552
8b954ab9
DM
21553 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21554 (SPARC_ASM_VIS2_IFUNC): Likewise.
21555 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21557 use of 'siam' instruction.
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21559 Likewise.
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21561 Likewise.
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21563 Likewise.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21569 file.
21570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21571 file.
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21573 file.
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21575 file.
21576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21581 new VIS2 routines.
21582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21585 Likewise.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21591 routines to libm-sysdep_routines.
21592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21593
65a82e3d
DM
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21595 fdim/fdimf to libm-sysdep_routines.
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21597 file.
21598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21600 file.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21604 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21605 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21606 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21607 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21608
e34ab705
SP
216092013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21610
2a91b573
SP
21611 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21612 to optimize copies.
21613
1066a534
SP
21614 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21617
e34ab705
SP
21618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21619 local variable MPTWO.
21620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21621 Likewise.
21622
aba5e596
MF
216232013-01-13 Mike Frysinger <vapier@gentoo.org>
21624
21625 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21626 GLOB_NOESCAPE.
21627
e557e9e5
MF
216282013-01-13 Mike Frysinger <vapier@gentoo.org>
21629
21630 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21631
0428cec9
MF
216322013-01-13 Mike Frysinger <vapier@gentoo.org>
21633
21634 * manual/pattern.texi (glob_t): Document gl_flags.
21635 (glob64_t): Likewise.
21636
8794a964
DM
216372013-01-11 David S. Miller <davem@davemloft.net>
21638
66438c3f
RM
21639 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21640 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21641 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21642 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21643 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21644 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21645 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21646 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21647 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21648 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21649 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21650 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21651 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21652
4ae4244d
DM
21653 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21654 sparc V9 rather than using V8 code.
21655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21657
8794a964
DM
21658 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21659 Move to...
21660 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21661 Here.
21662
6270516e
RM
216632013-01-11 Roland McGrath <roland@hack.frob.com>
21664
21665 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21666 not in the main loop.
21667 * configure: Regenerated.
21668
6a57d931
JM
216692013-01-11 Joseph Myers <joseph@codesourcery.com>
21670
21671 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21672 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21673 to just #else.
21674 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21675 [!__GLIBC_HAVE_LONG_LONG] case.
21676 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21677 condition to just #else.
21678 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21679 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21680 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21681 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21682 unconditional.
21683 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21684 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21685 #elif condition to just #else.
21686 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21687 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21688 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21689 #elif condition to just #else.
21690
0e8529e9
SE
216912013-01-11 Steve Ellcey <sellcey@mips.com>
21692
21693 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21694 (EF_MIPS_ARCH_64): Fix value.
21695 (EF_MIPS_ARCH_32R2): New.
21696 (EF_MIPS_ARCH_64R2): New.
21697
740b3dbe
L
216982013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21699
21700 * Makeconfig (+link-pie-before-libc): New.
21701 (+link-pie-after-libc): Likewise.
21702 (+link-pie-tests): Likewise.
21703 (+link-pie): Rewritten.
21704 (link-before-libc): Remove $(config-LDFLAGS).
21705 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21706 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21707 (config-LDFLAGS): Renamed to ...
21708 (rtld-LDFLAGS): This.
21709 (rtld-tests-LDFLAGS): New macro.
21710 (link-libc-rpath-link): Likewise.
21711 (link-libc-tests-rpath-link): Likewise.
21712 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21713 (link-libc): Prepand $(link-libc-rpath-link).
21714 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21715 (test-program-prefix): New macro.
21716 (test-via-rtld-prefix): Likewise.
21717 (test-program-cmd): Likewise.
21718 (host-test-program-cmd): Likewise.
21719 * Makefile ($(common-objpfx)testrun.sh): Replace
21720 $(run-program-prefix) with $(test-program-prefix).
21721 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21722 $(rtld-LDFLAGS).
21723 ($(common-objpfx)shlib.lds): Likewise.
21724 (build-module-helper): Likewise.
21725 ($(common-objpfx)format.lds): Likewise.
21726 * Rules (binaries-pie-tests): New.
21727 (binaries-pie-notests): Likewise.
21728 (binaries-pie): Rewritten.
21729 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21730 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21731 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21732 (make-test-out): Replace $(host-built-program-cmd) with
21733 $(host-test-program-cmd).
21734 * config.make.in (build-hardcoded-path-in-tests): New variable.
21735 * configure.in (--enable-hardcoded-path-in-tests): New configure
21736 option.
21737 (hardcoded_path_in_tests): New AC_SUBST.
21738 * configure: Regenerated.
21739 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21740 $(built-program-cmd) with $(test-program-cmd).
21741 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21742 (test_program_cmd): This.
21743 * elf/Makefile ($(objpfx)order.out): Run test with
21744 $(test-program-prefix).
21745 ($(objpfx)order2.out): Likewise.
21746 ($(objpfx)tst-initorder.out): Likewise.
21747 ($(objpfx)tst-initorder2.out): Likewise.
21748 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21749 $(test-program-cmd).
21750 ($(objpfx)tst-array1-static.out): Likewise.
21751 ($(objpfx)tst-array2.out): Likewise.
21752 ($(objpfx)tst-array3.out): Likewise.
21753 ($(objpfx)tst-array4.out): Likewise.
21754 ($(objpfx)tst-array5.out): Likewise.
21755 ($(objpfx)tst-array5-static.out): Likewise.
21756 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21757 $(test-program-cmd).
21758 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21759 $(run-program-prefix) with $(test-program-prefix).
21760 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21761 (test_program_prefix): This.
21762 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21763 $(run-program-prefix) with $(test-program-prefix).
21764 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21765 (test_program_prefix): This.
21766 * iconvdata/tst-tables.sh: Likewise.
21767 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21768 $(run-program-prefix) with $(test-program-prefix).
21769 ($(objpfx)tst-translit.out): Likewise.
21770 ($(objpfx)tst-gettext2.out): Likewise.
21771 ($(objpfx)tst-gettext4.out): Likewise.
21772 ($(objpfx)tst-gettext6.out): Likewise.
21773 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21774 (test_program_prefix): This.
21775 * intl/tst-gettext2.sh: Likewise.
21776 * intl/tst-gettext4.sh Likewise.
21777 * intl/tst-gettext6.sh: Likewise.
21778 * intl/tst-translit.sh: Likewise.
21779 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21780 with $(test-program-cmd).
21781 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21782 $(run-program-prefix) with $(test-program-prefix).
21783 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21784 (test_program_prefix): This.
21785 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21786 $(run-program-prefix) with $(test-program-prefix).
21787 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21788 (test_program_prefix): This.
21789 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21790 * posix/Makefile ($(objpfx)globtest.out): Replace
21791 $(run-via-rtld-prefix) and $(test-wrapper) with
21792 $(test-program-prefix) and $(test-via-rtld-prefix).
21793 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21794 $(test-program-prefix).
21795 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21796 $(host-test-program-cmd).
21797 (tst-spawn-ARGS): Likewise.
21798 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21799 $(test-program-prefix).
21800 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21801 (test_via_rtld_prefix): This.
21802 (test_wrapper): Renamed to ...
21803 (test_program_prefix): This.
21804 (run_program_prefix): Replaced by test_program_prefix.
21805 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21806 (test_program_prefix): This.
21807 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21808 with $(host-test-program-cmd).
21809 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21810 $(run-program-prefix) with $(test-program-prefix).
21811 ($(objpfx)tst-printf.out): Likewise.
21812 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21813 $(test-program-cmd).
21814 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21815 (test_program_prefix): This.
21816 * stdio-common/tst-unbputc.sh: Likewise.
21817 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21818 $(run-program-prefix) with $(test-program-prefix).
21819 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21820 (test_program_prefix): This.
21821 * string/Makefile ($(objpfx)tst-svc.out): Replace
21822 $(built-program-cmd) with $(test-program-cmd).
21823
c6fe55cf
AJ
218242013-01-11 Andreas Jaeger <aj@suse.de>
21825
21826 [BZ #15003]
21827 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21828 value. Sync with Linux 3.7.
21829
9e6919c8
DM
218302013-01-10 David S. Miller <davem@davemloft.net>
21831
21832 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21835
1c9f1a02
RM
218362013-01-10 Roland McGrath <roland@hack.frob.com>
21837
21838 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21839 never set.
21840 * configure: Regenerated.
21841
b9de2dde
DM
218422013-01-10 David S. Miller <davem@davemloft.net>
21843
21844 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21845 sparc V9 rather than using V8 code.
21846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21848
e7f68ef4
RM
218492013-01-10 Roland McGrath <roland@hack.frob.com>
21850
21851 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21852 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21853 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21854 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21855 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21856 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21857 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21858 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21859 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21860 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21861 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21862 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21863 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21864 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21865 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21866 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21867 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21868 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21869 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21870 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21871 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21872 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21873 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21874 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21875 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21876 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21877 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21878
5a47cc9c
DM
218792013-01-10 David S. Miller <davem@davemloft.net>
21880
21881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21882
4cf8f209
L
218832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 * posix/Makefile (tests-static): New variable.
21886 (tests): Add $(tests-static).
21887 (tst-exec-static-ARGS): New variable.
21888 (tst-spawn-static-ARGS): Likewise.
21889 * posix/tst-exec-static.c: New file.
21890 * posix/tst-spawn-static.c: Likewise.
21891 * posix/tst-exec.c: Support run directly.
21892 * posix/tst-spawn.c: Likewise.
21893
fed0faa1
JM
218942013-01-10 Joseph Myers <joseph@codesourcery.com>
21895
828beb13
JM
21896 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21897 long.
21898 * math/bits/mathcalls.h (llrint): Likewise.
21899 (llround): Likewise.
21900 * stdlib/stdlib.h (struct drand48_data): Likewise.
21901 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21902 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21903 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21904 Likewise.
21905 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21906 Likewise.
21907 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21908 (elf_greg_t): Likewise.
21909 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21910 (__jmp_buf): Likewise.
21911 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21912 definitions.
21913 (llrint): Likewise, for all definitions.
21914 (llrintl): Likewise.
21915
fed0faa1
JM
21916 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21917 Remove [__GNUC__] condition.
21918 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21919 condition to just [__USE_ISOC99].
21920 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21921
1a20cb20
L
219222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21923
21924 [BZ #14200]
21925 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21926 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21927 defined.
21928 (_POSIX_V6_ILP32_OFF32): Likewise.
21929 (_XBS5_ILP32_OFF32): Likewise.
21930 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21931 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21932
751b85f7
SP
219332013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21934
7490eb81
SP
21935 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21936
751b85f7
SP
21937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21938 doubles __mpexp_twomm1. Adjust usage.
21939 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21940 Remove.
21941
988197f0
AS
219422013-01-10 Andreas Schwab <schwab@suse.de>
21943
21944 [BZ #14964]
21945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21946 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21947
e83d7298
DM
219482013-01-09 David S. Miller <davem@davemloft.net>
21949
034ed64b 21950 [BZ #15003]
57f41c40
AS
21951 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21952 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21953 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21954 (TCP_FASTOPEN): Define.
e83d7298
DM
21955 (tcp_repair_opt): New structure.
21956 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21957 enum values.
57f41c40
AS
21958 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21959 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21960 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21961 (tcp_cookie_transactions): New structure.
21962
d5e0b9bd
AB
219632013-01-09 Anton Blanchard <anton@samba.org>
21964
21965 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21966 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21967 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21969
0c07e3ea
JM
219702013-01-09 Joseph Myers <joseph@codesourcery.com>
21971
21972 * include/features.h (__USE_ANSI): Remove.
21973
232f7002
RM
219742013-01-09 Roland McGrath <roland@hack.frob.com>
21975
ad98e30c
RM
21976 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21977
232f7002
RM
21978 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21979
950c99ca
SP
219802013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21981
b5792741
SP
21982 * sysdeps/s390/fpu/libm-test-ulps: Update.
21983
47cf2278
SP
21984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21985
950c99ca
SP
21986 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21987 (__acr): Likewise.
21988 (__cpy): Likewise.
21989 (norm): Likewise.
21990 (denorm): Likewise.
21991 (__mp_dbl): Likewise.
21992 (__dbl_mp): Likewise.
21993 (add_magnitudes): Likewise.
21994 (sub_magnitudes): Likewise.
21995 (__add): Likewise.
21996 (__sub): Likewise.
21997 (__mul): Likewise.
21998 (__inv): Likewise.
21999 (__dvd): Likewise.
22000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22001 (__acr): Likewise.
22002 (__cpy): Likewise.
22003 (norm): Likewise.
22004 (denorm): Likewise.
22005 (__mp_dbl): Likewise.
22006 (__dbl_mp): Likewise.
22007 (add_magnitudes): Likewise.
22008 (sub_magnitudes): Likewise.
22009 (__add): Likewise.
22010 (__sub): Likewise.
22011 (__mul): Likewise.
22012 (__inv): Likewise.
22013 (__dvd): Likewise.
22014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22015 (__acr): Likewise.
22016 (__cpy): Likewise.
22017 (norm): Likewise.
22018 (denorm): Likewise.
22019 (__mp_dbl): Likewise.
22020 (__dbl_mp): Likewise.
22021 (add_magnitudes): Likewise.
22022 (sub_magnitudes): Likewise.
22023 (__add): Likewise.
22024 (__sub): Likewise.
22025 (__mul): Likewise.
22026 (__inv): Likewise.
22027 (__dvd): Likewise.
22028
eede9df9
JM
220292013-01-08 Joseph Myers <joseph@codesourcery.com>
22030
22031 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22032 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22033 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22034 2 && __USE_EXTERN_INLINES]: Likewise.
22035
c40ea3d9
AJ
220362013-01-08 Andreas Jaeger <aj@suse.de>
22037
22038 [BZ# 14985]
22039 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22040 Remove.
22041 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22042 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22043
2ccdea26
AB
220442013-01-07 Anton Blanchard <anton@samba.org>
22045
22046 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22047 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22048 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22049 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22050 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22052 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22053 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22055 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22056 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22060 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22061 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22062 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22064 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22065 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22069 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22070 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22071 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22072 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22073 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22075 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22076 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22078 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22081 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22082 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22084 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22086 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22087 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22088 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22089
a9708fed
JM
220902013-01-07 Joseph Myers <joseph@codesourcery.com>
22091
375607b9
JM
22092 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22093 (__MALLOC_PMT): Likewise.
22094 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22095 [__GNUC__], only on [_LIBC].
22096 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22097 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22098 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22099 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22100 forward declaration.
22101 (realloc_hook_ini): Likewise.
22102 (memalign_hook_ini): Likewise.
22103 (__libc_memalign): Do not use __MALLOC_PMT in variable
22104 declaration.
22105 (__libc_valloc): Likewise.
22106 (__libc_pvalloc): Likewise.
22107 (__libc_calloc): Likewise.
22108 (__posix_memalign): Likewise.
22109
a9708fed
JM
22110 [BZ #14996]
22111 * math/s_casinh.c: Include <float.h>.
22112 (__casinh): Do not do computation with squaring and square root
22113 for large arguments.
22114 * math/s_casinhf.c: Include <float.h>.
22115 (__casinhf): Do not do computation with squaring and square root
22116 for large arguments.
22117 * math/s_casinhl.c: Include <float.h>.
22118 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22119 (__casinhl): Do not do computation with squaring and square root
22120 for large arguments.
22121 * math/libm-test.inc (casin_test): Add more tests.
22122 (casinh_test): Likewise.
22123 * sysdeps/i386/fpu/libm-test-ulps: Update.
22124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22125
afec409a
L
221262013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22127
22128 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22129 (__x86_64_raw_data_cache_size): Likewise.
22130 (__x86_64_data_cache_size_half): Likewise.
22131 (__x86_64_raw_data_cache_size_half): Likewise.
22132 (__x86_64_shared_cache_size): Likewise.
22133 (__x86_64_raw_shared_cache_size): Likewise.
22134 (__x86_64_shared_cache_size_half): Likewise.
22135 (__x86_64_raw_shared_cache_size_half): Likewise.
22136 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22137 to ...
22138 (__x86_data_cache_size): This.
22139 (__x86_64_raw_data_cache_size): Renamed to ...
22140 (__x86_raw_data_cache_size): This.
22141 (__x86_64_data_cache_size_half): Renamed to ...
22142 (__x86_data_cache_size_half): This.
22143 (__x86_64_raw_data_cache_size_half): Renamed to ...
22144 (__x86_raw_data_cache_size_half): This.
22145 (__x86_64_shared_cache_size): Renamed to ...
22146 (__x86_shared_cache_size): This.
22147 (__x86_64_raw_shared_cache_size): Renamed to ...
22148 (__x86_raw_shared_cache_size): This.
22149 (__x86_64_shared_cache_size_half): Renamed to ...
22150 (__x86_shared_cache_size_half): This.
22151 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22152 (__x86_raw_shared_cache_size_half): This.
22153 * sysdeps/x86_64/memcpy.S: Updated.
22154 * sysdeps/x86_64/memset.S: Likewise.
22155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22157 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22158
0b3986d0
DM
221592013-01-04 David S. Miller <davem@davemloft.net>
22160
22161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22162
e47686e9
AS
221632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22164
d643bac1
AS
22165 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22166 1 to avoid redefinition warning.
22167 (__USE_GNU): Don't define.
22168 (init_signaling_nan): Protoize.
22169
e47686e9
AS
22170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22171
b18decba
SP
221722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22173
fffb407f
SP
22174 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22176 (__cpymn): Likewise.
22177 (norm): Remove commented code.
22178 (denorm): Likewise.
22179 (__mp_dbl): Likewise.
22180 (__inv): Likewise.
22181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22182 (__cpymn): Likewise.
22183 (norm): Remove commented code.
22184 (denorm): Likewise.
22185 (__mp_dbl): Likewise.
22186 (__inv): Likewise.
22187
b18decba
SP
22188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22189 mp_no value for 1.0 and 2.0.
22190 (norm): Use RADIXI instead of radixi.d.
22191 (denorm): Likewise.
22192 (__mul): Use 0.0 instead of zero.d.
22193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22194 mp_no value for 1.0 and 2.0.
22195 (norm): Use RADIXI instead of radixi.d.
22196 (denorm): Likewise.
22197 (__mul): Use 0.0 instead of zero.d.
22198
cdc1c96f
JM
221992013-01-04 Joseph Myers <joseph@codesourcery.com>
22200
22201 [BZ #14994]
22202 * math/s_casinh.c (__casinh): Reduce finite argument to first
22203 quadrant then set signs of results at the end.
22204 * math/s_casinhf.c (__casinhf): Likewise.
22205 * math/s_casinhl.c (__casinhl): Likewise.
22206 * math/libm-test.inc (casin_test): Add more tests.
22207 (casinh_test): Likewise.
22208 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22210
302913e1
SP
222112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22212
6420d207
SP
22213 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22214
a9e48ab4
SP
22215 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22216
b7837264
SP
22217 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22218 declarations.
22219 (denorm): Likewise.
22220 (__mp_dbl): Likewise.
22221 (__inv): Likewise.
22222
f8af25d2
SP
22223 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22224 and adjust the header comment.
22225
302913e1
SP
22226 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22227 variable name from declaration.
22228
5d7dd1ca
L
222292013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22230
22231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22232 Initialize COMMON_CPUID_INDEX_7 element.
22233 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22234 (CPUID_RTM): Likewise.
22235 (HAS_RTM): Likewise.
22236 (COMMON_CPUID_INDEX_7): New enum.
22237
2f5f40f4
AS
222382013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22239
22240 [BZ #14981]
22241 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22242 size is zero, record memory as freed.
22243
4056f4a0
AJ
222442013-01-03 Andreas Jaeger <aj@suse.de>
22245
22246 * po/ia.po: Add new Interlingua translation.
22247
ab15736f 222482012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22249
22250 * locale/programs/localedef.c: Fix description of '--posix' flag.
22251
568035b7
JM
222522013-01-02 Joseph Myers <joseph@codesourcery.com>
22253
e6898b8d
JM
22254 * NEWS: Update dates in second copyright notice.
22255 * README: Update copyright dates in example.
22256 * manual/libc.texinfo: Update copyright dates.
22257 * scripts/test-installation.pl: Update copyright date in --version
22258 output.
22259
0e2f9562
JM
22260 * hurd/ctty-input.c: Fix copyright notice formatting.
22261 * hurd/ctty-output.c: Likewise.
22262 * hurd/dtable.c: Likewise.
22263 * hurd/hurd-raise.c: Likewise.
22264 * hurd/hurdprio.c: Likewise.
22265 * hurd/msgportdemux.c: Likewise.
22266 * misc/sys/file.h: Likewise.
22267 * misc/sys/ioctl.h: Likewise.
22268 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22269 * sysdeps/mach/hurd/chdir.c: Likewise.
22270 * sysdeps/mach/hurd/fchdir.c: Likewise.
22271 * sysdeps/mach/hurd/rename.c: Likewise.
22272 * sysdeps/mach/hurd/rmdir.c: Likewise.
22273 * sysdeps/mach/hurd/seekdir.c: Likewise.
22274 * sysdeps/mach/hurd/setsid.c: Likewise.
22275 * sysdeps/posix/wait3.c: Likewise.
22276
568035b7
JM
22277 * All files with FSF copyright notices: Update copyright dates
22278 using scripts/update-copyrights.
22279 * intl/plural.c: Regenerated.
22280 * locale/programs/charmap-kw.h: Likewise.
22281 * locale/programs/locfile-kw.h: Likewise.
22282
da08f647
SP
222832013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22284
0f5477af
SP
22285 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22286 four values.
22287
44e0d4c2
SP
22288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22289 calculation loop and add branch prediction.
22290
4d55b4e5
SP
22291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22292 check access beyond bounds of m1np.
22293
da08f647
SP
22294 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22295 MPTWO.
22296 (__inv): Remove local variable MPTWO to use the global
22297 constant.
22298 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22300 variable MPTWO.
22301 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22302 MP3HALFS static const.
22303
8e051029
DM
223042013-01-01 David S. Miller <davem@davemloft.net>
22305
22306 * po/ca.po: Update from translation team.
22307
f4cf5f2d
JM
223082013-01-01 Joseph Myers <joseph@codesourcery.com>
22309
22310 * scripts/update-copyrights: New file.
22311 * Makeconfig: Reformat copyright notice.
22312 * ctype/ctype.h: Likewise.
22313 * debug/swprintf_chk.c: Likewise.
22314 * elf/dl-cache.c: Likewise.
22315 * elf/dl-debug.c: Likewise.
22316 * elf/dl-object.c: Likewise.
22317 * grp/initgroups.c: Likewise.
22318 * hurd/Makefile: Likewise.
22319 * hurd/hurd/signal.h: Likewise.
22320 * hurd/hurdfault.c: Likewise.
22321 * hurd/hurdioctl.c: Likewise.
22322 * hurd/hurdlookup.c: Likewise.
22323 * hurd/intr-msg.c: Likewise.
22324 * iconv/gconv_open.c: Likewise.
22325 * libio/swprintf.c: Likewise.
22326 * locale/lc-ctype.c: Likewise.
22327 * locale/nl_langinfo.c: Likewise.
22328 * mach/Machrules: Likewise.
22329 * mach/Makefile: Likewise.
22330 * malloc/obstack.h: Likewise.
22331 * manual/Makefile: Likewise.
22332 * manual/tsort.awk: Likewise.
22333 * misc/bits/stab.def: Likewise.
22334 * nis/nis_print_group_entry.c: Likewise.
22335 * nis/nis_table.c: Likewise.
22336 * nis/nss_compat/compat-pwd.c: Likewise.
22337 * nis/nss_compat/compat-spwd.c: Likewise.
22338 * po/Makefile: Likewise.
22339 * posix/fnmatch.c: Likewise.
22340 * posix/regex.h: Likewise.
22341 * resolv/Makefile: Likewise.
22342 * resolv/nss_dns/dns-network.c: Likewise.
22343 * resolv/res_hconf.c: Likewise.
22344 * scripts/gen-sorted.awk: Likewise.
22345 * soft-fp/soft-fp.h: Likewise.
22346 * stdio-common/printf.h: Likewise.
22347 * stdlib/monetary.h: Likewise.
22348 * stdlib/random.c: Likewise.
22349 * stdlib/random_r.c: Likewise.
22350 * sysdeps/generic/Makefile: Likewise.
22351 * sysdeps/gnu/Makefile: Likewise.
22352 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22375 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22376 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22377 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22379 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22380 * sysdeps/mach/hurd/errnos.awk: Likewise.
22381 * sysdeps/mach/hurd/fork.c: Likewise.
22382 * sysdeps/mach/hurd/getcwd.c: Likewise.
22383 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22384 * sysdeps/mach/hurd/mmap.c: Likewise.
22385 * sysdeps/mach/hurd/utimes.c: Likewise.
22386 * sysdeps/mach/hurd/xmknod.c: Likewise.
22387 * sysdeps/posix/profil.c: Likewise.
22388 * sysdeps/posix/readdir_r.c: Likewise.
22389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22390 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22391 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22392 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22398 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22399 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22400 * sysdeps/pthread/lio_listio.c: Likewise.
22401 * sysdeps/sparc/dl-procinfo.h: Likewise.
22402 * sysdeps/unix/i386/sysdep.S: Likewise.
22403 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22404 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22405 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22406 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22408 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22409 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22410 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22411 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22412 * sysdeps/wordsize-32/divdi3.c: Likewise.
22413 * time/sys/time.h: Likewise.
22414 * wcsmbs/Makefile: Likewise.
22415
0549fbba
DM
224162013-01-01 David S. Miller <davem@davemloft.net>
22417
a141f1a7
DM
22418 * po/fr.po: Update from translation team.
22419
0549fbba
DM
22420 * catgets/gencat.c: Update copyright year.
22421 * csu/version.c: Likewise.
22422 * debug/catchsegv.sh: Likewise.
22423 * debug/pcprofiledump.c: Likewise.
22424 * debug/xtrace.sh: Likewise.
22425 * elf/ldconfig.c: Likewise.
22426 * elf/ldd.bash.in: Likewise.
22427 * elf/pldd.c: Likewise.
22428 * elf/sotruss.ksh: Likewise.
22429 * elf/sprof.c: Likewise.
22430 * iconv/iconv_prog.c: Likewise.
22431 * iconv/iconvconfig.c: Likewise.
22432 * locale/programs/locale.c: Likewise.
22433 * locale/programs/localedef.c: Likewise.
22434 * login/programs/pt_chown.c: Likewise.
22435 * malloc/memusage.sh: Likewise.
22436 * malloc/memusagestat.c: Likewise.
22437 * malloc/mtrace.pl: Likewise.
22438 * nscd/nscd.c: Likewise.
22439 * nss/getent.c: Likewise.
22440 * nss/makedb.c: Likewise.
22441 * posix/getconf.c: Likewise.
22442
18ea052c
SP
224432012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22444
22445 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22446 numbers.
22447
9c89fca6
MF
224482012-12-30 Mike Frysinger <vapier@gentoo.org>
22449
22450 * math/bits/mathcalls.h (modf): Use __nonnull.
22451
085ec079
SP
224522012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22453
22454 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22455 (split): Use macro CN instead of the bare value.
22456 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22457 could be used.
22458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22459 instead of the bare value.
22460 (power1): Likewise.
22461
6d9f97e1
SP
224622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22463
d63f73be
SP
22464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22465 __ATAN_TWOM.
22466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22467
6d9f97e1
SP
22468 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22469 their values.
22470 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22472 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22473 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22474
4c4febf5
AJ
224752012-12-28 Andreas Jaeger <aj@suse.de>
22476
af5843ef
AJ
22477 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22478 values are from Linux 3.7.
22479
4c4febf5
AJ
22480 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22481 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22482
99136f82
SP
224832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22484
2f216c3c 22485 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22486 TRUE case.
22487
99136f82
SP
22488 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22489 (norm): Likewise.
22490 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22491 variables with preprocessor constants.
22492 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22493 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22495
7fffbdff
BH
224962012-12-27 Bruno Haible <bruno@clisp.org>
22497
22498 [BZ #14317]
22499 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22500 only if needed.
22501
b76eb5f0
SP
225022012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22503
31a7fe5c
SP
22504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22505 and use variable directly.
22506 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22507
b76eb5f0
SP
22508 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22509 MPONE.
22510 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22512 variable MPONE.
22513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22515 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22516 include directive. Remove local variable MPONE.
22517 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22518 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22519 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22520
2c8bfe7d
DM
225212012-12-25 David S. Miller <davem@davemloft.net>
22522
22523 * version.h (RELEASE): Set to "development".
22524 (VERSION): Set to "2.17.90".
22525 * NEWS: Add 2.18 section.
22526
147d03b0
DM
225272012-12-21 David S. Miller <davem@davemloft.net>
22528
22529 * po/hr.po: Update from translation team.
22530
a8ebb2b9
AK
225312012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22532
22533 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22534
95b4f1b6
SE
225352012-12-19 Steve Ellcey <sellcey@mips.com>
22536
b2d94007 22537 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22538
cedb2a90
MS
225392012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22540
22541 * manual/contrib.texi (Contributors): Spelling correction.
22542
bbf527d6
DM
225432012-12-15 David S. Miller <davem@davemloft.net>
22544
22545 * po/ru.po: Update from translation team.
22546
bc38c906
DM
225472012-12-13 David S. Miller <davem@davemloft.net>
22548
85429b1a
DM
22549 * NEWS: Mention IFUNC testsuite enhancements.
22550
d283e353
DM
22551 * po/pl.po: Update from translation team.
22552 * po/bg.po: Likewise.
22553
bc38c906
DM
22554 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22555 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22556
a181b0d7
DM
225572012-12-11 David S. Miller <davem@davemloft.net>
22558
4641d57e
DM
22559 * po/sv.po: Update from translation team.
22560
f7bc6495
DM
22561 * po/vi.po: Update from translation team.
22562
6fc9048f
DM
22563 * po/cs.po: Update from translation team.
22564
a181b0d7
DM
22565 * po/de.po: Update from translation team.
22566 * po/eo.po: Likewise.
22567 * po/nl.po: Likewise.
22568
f70bfe80
SP
225692012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22570
3c8b4190
SP
22571 [BZ #14246]
22572 * manual/argp.texi (Argp Helper Functions): Move node to follow
22573 Argp Parsing State.
22574
f70bfe80
SP
22575 [BZ #14872]
22576 * manual/conf.texi (Limits on File System Capacity): Mention if
22577 terminating null is included in the max size.
22578
188f0adf
AJ
225792012-12-10 Andreas Jaeger <aj@suse.de>
22580
22581 * po/cs.po: Update from translation team.
22582
56e7d3ad
SP
225832012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22584
22585 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22586 void pointer and cast to uintptr_t.
22587 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22588 path.
22589 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22590 * sysdeps/s390/s390-64/memset.S: Likewise.
22591
76f2d2ea 225922012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22593
22594 [BZ #14833]
22595 * menual/message.texi (Message Translation): Fix typos.
22596 (Helper programs for gettext): Likewise.
22597
67cbf9a2
AS
225982012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22599
22600 [BZ #14898]
22601 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22602 Change to -1.
22603
682d0e9a
DM
226042012-12-07 David S. Miller <davem@davemloft.net>
22605
22606 * po/libc.pot: Update.
22607
573cd484
RH
226082012-12-07 Richard Henderson <rth@redhat.com>
22609
7e9da188 22610 [BZ #10114]
573cd484
RH
22611 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22612 normal/normal case to before the switch.
22613 (_FP_DIV): Likewise.
22614
e933a943
MF
226152012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22616 Mike Frysinger <vapier@gentoo.org>
22617
22618 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22619 check for __NR_fadvise64_64.
22620
82123268
CM
226212012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22622
22623 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22624 0, not just to plain "0" as a statement.
22625 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22626 with cw.
22627
d9814526
JM
226282012-12-06 Joseph Myers <joseph@codesourcery.com>
22629
22630 * NEWS: Use sourceware.org in Bugzilla URL.
22631
7728c574
SP
226322012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22633
f16946dd
SP
22634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22635 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22636
5704bbcb
SP
22637 * stdio-common/tst-put-error.c (do_test): Add newline to the
22638 padded test to ensure flush.
22639
17aa0516
JL
226402012-12-05 Jeff Law <law@redhat.com>
22641
22642 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22643
363313b5
JM
226442012-12-05 Joseph Myers <joseph@codesourcery.com>
22645
effbd42a
JM
22646 * README: Don't refer to ports add-on as distributed separately.
22647 Mention AArch64 in list of systems supported in the ports add-on.
22648
87600365
JM
22649 * LICENSES: Add more non-FSF copyright and license notices.
22650
a0d7066a
JM
22651 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22652 ((unused)).
22653
66ca5a5b
JM
22654 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22655
363313b5
JM
22656 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22657 10000 as width of padded output.
22658
b37984ad
JM
226592012-12-04 Joseph Myers <joseph@codesourcery.com>
22660
9003570a
JM
22661 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22662
b37984ad
JM
22663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22664 variable LX with __attribute__ ((unused)).
22665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22666 Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22670 with __attribute__ ((unused)).
22671
c8df52ec
DM
226722012-12-04 David S. Miller <davem@abraco.davemloft.net>
22673
22674 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22675
b3b099af
JM
226762012-12-04 Joseph Myers <joseph@codesourcery.com>
22677
c33aa6e3
JM
22678 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22679 (CFLAGS-nldbl-acos.c): New variable.
22680 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22681 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22682 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22683 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22684 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22685 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22686 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22687 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22688 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22689 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22690 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22691 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22692 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22693 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22694 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22695 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22696 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22697 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22698 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22699 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22700 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22701 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22702 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22703 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22704 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22705 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22706 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22707 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22708 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22709 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22710 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22711 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22712 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22713 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22714 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22715 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22716 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22717 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22718 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22719 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22720 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22721 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22722 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22723 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22724 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22725 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22726 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22727 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22728 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22729 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22730 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22731 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22732 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22733 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22734 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22735 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22736 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22737 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22738 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22739 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22740 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22741 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22742 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22743 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22744 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22745 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22746 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22747 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22748 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22749 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22750 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22751 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22752 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22753 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22754 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22755 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22756 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22757 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22758 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22759 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22760 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22761 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22762 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22763 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22764 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22765 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22766 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22767 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22768 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22769 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22770 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22771 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22772 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22773 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22774 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22775 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22776 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22777
20f0018d
JM
22778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22779 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22780
b3b099af
JM
22781 [BZ #14914]
22782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22783 whole low double instead of just low 47 bits when splitting values
22784 into two parts.
22785
029264d1
AM
227862012-12-03 Allan McRae <allan@archlinux.org>
22787
22788 * manual/stdio.texi (Predefined Printf Handlers): Remove
22789 @hsep and @vsep usage.
22790
c9d6789e
MF
227912012-12-03 Mike Frysinger <vapier@gentoo.org>
22792
22793 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22794 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22795
4b7634a5
JL
227962012-12-03 Jeff Law <law@redhat.com>
22797
22798 * time/sys/time.h (settimeofday): Do not mark TV argument
22799 as __nonnull.
22800
eb6cbd24
MF
228012012-12-01 Mike Frysinger <vapier@gentoo.org>
22802
22803 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22804 when currently writing and seek to current position when not.
22805 * libio/Makefile (tests): Remove bug-fclose1.
22806 * libio/bug-fclose1.c: Delete.
22807
f638872a
JM
228082012-12-01 Joseph Myers <joseph@codesourcery.com>
22809
22810 * manual/arith.texi (feenableexcept): Fix typo.
22811 (fedisableexcept): Likewise.
22812
48085d14
RM
228132012-11-30 Roland McGrath <roland@hack.frob.com>
22814
22815 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22816 second, differently-typed declaration, rather than a cast.
22817
1a538b9f
SP
228182012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22819
22820 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22821 * include/rpc/svc.h: ... here.
22822
d07f2ff1 228232012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22824
22825 [BZ #13013]
22826 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22827 depending n and resplen2 to catch cases where answer
22828 equals answerp2.
22829
c93ec1f0
CD
228302012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22831
22832 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22833 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22834
37db69de
MF
228352012-11-29 Mike Frysinger <vapier@gentoo.org>
22836
22837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22838
e10c4e4f
RM
228392012-11-29 Roland McGrath <roland@hack.frob.com>
22840
22841 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22842
2af1b328
JL
228432012-11-28 Jeff Law <law@redhat.com>
22844
22845 [BZ #13761]
22846 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22847 dataset_temporary. Track alloca usage into alloca_used.
22848 If dataset is large allocate and release it via malloc/free.
22849
111db5b1
FW
228502012-06-04 Florian Weimer <fweimer@redhat.com>
22851
f06cc227 22852 [BZ #14197]
111db5b1
FW
22853 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22854
dd694abd
DM
228552012-11-28 David S. Miller <davem@davemloft.net>
22856
22857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22858
9984dd01
JM
228592012-11-28 Joseph Myers <joseph@codesourcery.com>
22860
22861 [BZ #14803]
22862 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22863 of pi/2 rounded to nearest to 64 bits.
22864 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22865 nearest to 64 bits.
22866 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22867 bits.
22868
14bc93a9
JL
228692012-11-28 Jeff Law <law@redhat.com>
22870 Martin Osvald <mosvald@redhat.com>
22871
22872 [BZ #14889]
22873 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22874 * sunrpc/svc.c: Include time.h.
22875 (__svc_accept_failed): New function.
22876 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22877 any reason other than EINTR, call __svc_accept_failed.
22878 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22879 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22880
e3c6aa3a
AS
228812012-11-28 Andreas Schwab <schwab@suse.de>
22882
22883 * scripts/abilist.awk: Also handle indirect functions in .opd
22884 section.
22885
1bead169
JM
228862012-11-28 Joseph Myers <joseph@codesourcery.com>
22887
22888 [BZ #13881]
22889 * sysdeps/x86/fpu/powl_helper.c: New file.
22890 * sysdeps/x86/fpu/Makefile: Likewise.
22891 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22892 (p3): New object.
22893 (__ieee754_powl): Use __powl_helper for finite arguments except
22894 integer exponents below 8.
22895 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22896 (p3): New object.
22897 (__ieee754_powl): Use __powl_helper for finite arguments except
22898 integer exponents below 8.
22899 * math/libm-test.inc (pow_test): Add more tests and enable some
22900 previously disabled tests.
22901 * sysdeps/i386/fpu/libm-test-ulps: Update.
22902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22903
0817d63d
SP
229042012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22905 Carlos O'Donell <carlos_odonell@mentor.com>
22906
22907 * nss/makedb.c (is_prime): Assert that input is odd and greater
22908 than 4. Note that fact in a comment too.
22909 (next_prime): Add 4 to input.
22910
de2fd463
SP
229112012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22912
22913 [BZ #11741]
22914 * libio/Makefile (tests): Add test case tst-fwrite-error.
22915 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22916 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22917 * libio/tst-fwrite-error.c: New test case.
22918
c515fb51
L
229192012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22922 before casting to void *.
22923 * include/libc-internal.h (__pointer_type): New macro.
22924 (__integer_if_pointer_type_sub): Likewise.
22925 (__integer_if_pointer_type): Likewise.
22926 (cast_to_integer): Likewise.
22927 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22928 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22929 before casting to atomic64_t.
22930 (atomic_exchange_acq): Likewise.
22931 (__arch_exchange_and_add_body): Likewise.
22932 (__arch_add_body): Likewise.
22933 (atomic_add_negative): Likewise.
22934 (atomic_add_zero): Likewise.
22935
4cf77aa9
JM
229362012-11-26 Joseph Myers <joseph@codesourcery.com>
22937
22938 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22939 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22940 (add_fdes): Likewise.
22941 (linear_search_fdes): Likewise.
22942 (binary_search_unencoded_fdes): Likewise.
22943
d260b3b4
AS
229442012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22945
22946 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22947
67060746
AC
229482012-11-24 Adam Conrad <adconrad@0c3.net>
22949
22950 * configure.in: Autodetect C++ header directories.
22951 * configure: Regenerated.
22952
800938a1
MF
229532012-11-23 Mike Frysinger <vapier@gentoo.org>
22954
22955 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22956
4e6e34e6
AS
229572012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22958
22959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22960
7c7feb47
JM
229612012-11-22 Joseph Myers <joseph@codesourcery.com>
22962
7184dcdf
JM
22963 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22964 LDBL_MANT_DIG == 106]: Disable some tests.
22965 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22966 Likewise.
22967 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22968 Likewise.
22969
0a42601f
JM
22970 [BZ #14871]
22971 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22972 input for small inputs. Return +/- pi/2 for large inputs.
22973 * math/libm-test.inc (atan_test): Add more tests.
22974
79c9b9fe
JM
22975 * sysdeps/generic/unwind-dw2-fde-glibc.c
22976 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22977 __attribute__ ((unused)).
22978
c60d3bf2
JM
22979 [BZ #14645]
22980 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22981 x * y if x and y are nonzero and z is zero.
22982
ef1e0867
JM
22983 [BZ #14811]
22984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22985 nonzero exponents with absolute value below 0x1p-117 to +/-
22986 0x1p-117.
22987
1468ded3
JM
22988 [BZ #14869]
22989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22990 up arguments below 2**-450, not just those below 2**-500.
22991 * math/libm-test.inc (hypot_test): Add another test.
22992
8e27e3cc
JM
22993 [BZ #14868]
22994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22995 Return a+b for ratio over 2**120, not 2**60.
22996 * math/libm-test.inc (hypot_test): Add another test.
22997
c9c0279b
JM
22998 * math/libm-test.inc (clog_test): Use
22999 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23000 (clog10_test): Likewise.
23001
7c7feb47
JM
23002 [BZ #6778]
23003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23004
fff1530e
AS
230052012-11-22 Andreas Schwab <schwab@suse.de>
23006
23007 * sysdeps/i386/fpu/libm-test-ulps: Update.
23008
94558d30
PT
230092012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23010
23011 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23012 printf output with newline.
23013
7e1be741
L
230142012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23015
6bfea974
L
23016 [BZ #14865]
23017 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23018 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23019 -z nodlopen, -z initfirst and -z execstack support.
23020 * configure: Regenerated.
23021
7e1be741
L
23022 * elf/elf.h (DF_1_NODIRECT): New macro.
23023 (DF_1_IGNMULDEF): Likewise.
23024 (DF_1_NOKSYMS): Likewise.
23025 (DF_1_NOHDR): Likewise.
23026 (DF_1_EDITED): Likewise.
23027 (DF_1_NORELOC): Likewise.
23028 (DF_1_SYMINTPOSE): Likewise.
23029 (DF_1_GLOBAUDIT): Likewise.
23030 (DF_1_SINGLETON): Likewise.
23031 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23032 DT_1_SUPPORTED_MASK bits.
23033 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23034
105ce2ce
CD
230352012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23036
23037 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23038
123be9de
TS
230392012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23040
d072f3f7
TS
23041 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23042 macro.
23043
123be9de
TS
23044 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23045 (sendmmsg): Move declarations...
23046 * socket/sys/socket.h: ... here.
23047 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23048 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23049 include it from...
23050 * socket/recvmmsg.c: ... this new file.
23051 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23052 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23053 definition of __sendmmsg hidden.
23054 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23055 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23056 Move ENOSYS stub into and include it from...
23057 * socket/sendmmsg.c: ... this new file.
23058 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23059 (sysdep_routines): Move recvmmsg and sendmmsg...
23060 * socket/Makefile (routines): ... here.
23061 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23062 (GLIBC_PRIVATE): Add __sendmmsg.
23063 * include/sys/socket.h (__sendmmsg): Add declarations.
23064 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23065 sendmmsg.
23066
cf9a5d18
JM
230672012-11-20 Joseph Myers <joseph@codesourcery.com>
23068
23069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23070 variable I1 with __attribute__ ((unused)).
23071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23072
ecd4caf9
JM
230732012-11-19 Joseph Myers <joseph@codesourcery.com>
23074
be14d48f
JM
23075 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23076 DUMMY variables with __attribute__ ((unused)).
23077
ecd4caf9
JM
23078 * bits/byteswap.h: Include <bits/types.h>.
23079 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23080
986cab95
PT
230812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23082
23083 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23084 string_t. Do not manually set errno.
23085 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23086 length with __strnlen. Make sure to both set errno and return it on
23087 failure.
23088
6d33cc9d
DM
230892012-11-19 David S. Miller <davem@davemloft.net>
23090
23091 With help from Joseph Myers.
23092 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23093 very large arguments properly.
23094 * math/libm-test.inc (atan_test): New tests.
23095 (atan2_test): New tests.
23096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23098
ee663277
JM
230992012-11-19 Joseph Myers <joseph@codesourcery.com>
23100
877f2d8e
JM
23101 [BZ #14856]
23102 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23103 Define to 3.
23104
116fc08a
JM
23105 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23106 [POSIX] (EADDRNOTAVAIL): Likewise.
23107 [POSIX] (EAFNOSUPPORT): Likewise.
23108 [POSIX] (EALREADY): Likewise.
23109 [POSIX] (ECONNABORTED): Likewise.
23110 [POSIX] (ECONNREFUSED): Likewise.
23111 [POSIX] (ECONNRESET): Likewise.
23112 [POSIX] (EDESTADDRREQ): Likewise.
23113 [POSIX] (EDQUOT): Likewise.
23114 [POSIX] (EHOSTUNREACH): Likewise.
23115 [POSIX] (EIDRM): Likewise.
23116 [POSIX] (EISCONN): Likewise.
23117 [POSIX] (ELOOP): Likewise.
23118 [POSIX] (EMULTIHOP): Likewise.
23119 [POSIX] (ENETDOWN): Likewise.
23120 [POSIX] (ENETUNREACH): Likewise.
23121 [POSIX] (ENOBUFS): Likewise.
23122 [POSIX] (ENODATA): Likewise.
23123 [POSIX] (ENOLINK): Likewise.
23124 [POSIX] (ENOMSG): Likewise.
23125 [POSIX] (ENOPROTOOPT): Likewise.
23126 [POSIX] (ENOSR): Likewise.
23127 [POSIX] (ENOSTR): Likewise.
23128 [POSIX] (ENOTCONN): Likewise.
23129 [POSIX] (ENOTSOCK): Likewise.
23130 [POSIX] (EOPNOTSUPP): Likewise.
23131 [POSIX] (EOVERFLOW): Likewise.
23132 [POSIX] (EPROTO): Likewise.
23133 [POSIX] (EPROTONOSUPPORT): Likewise.
23134 [POSIX] (EPROTOTYPE): Likewise.
23135 [POSIX] (ESTALE): Likewise.
23136 [POSIX] (ETIME): Likewise.
23137 [POSIX] (ETXTBSY): Likewise.
23138 [POSIX] (EWOULDBLOCK): Likewise.
23139 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23140 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23141 [POSIX] (SEEK_CUR): Likewise.
23142 [POSIX] (SEEK_END): Likewise.
23143 [POSIX || UNIX98] (mode_t): Do not require.
23144 [POSIX] (off_t): Likewise.
23145 [POSIX] (pid_t): Likewise.
23146 [POSIX] (sys/stat.h): Do not allow header.
23147 [POSIX] (unistd.h): Likewise.
23148 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23149 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23150 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23151 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23152 require.
23153 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23154 sigevent): Specify elements.
23155 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23156 entry.
23157 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23158 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23159
a483863f
JM
23160 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23161 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23162 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23163 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23164 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23165 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23166 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23167 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23168 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23170 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23171 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23172 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23174 Likewise.
23175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23176 Likewise.
23177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23178 Likewise.
23179 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23180 Likewise.
23181 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23182 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23183 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23184 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23185 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23186 Specify lower bound on value.
23187 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23188 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23189 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23190 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23191 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23192 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23193 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23194 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23195 value.
23196 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23197 as optional.
23198 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23199 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23200 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23201 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23202 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23203 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23204 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23205 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23206 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23207 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23208 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23209 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23210 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23211 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23212 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23213 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23214 entry.
23215 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23216 optional.
23217 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23218 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23219 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23220 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23221 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23223 Likewise.
23224 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23225 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23226 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23227 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23228 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23229 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23231 as optional.
23232 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23233 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23234 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23235 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23236 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23237 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23238 specify as optional.
23239 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23240 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23241 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23242 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23243 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23244 [XPG3] (NL_LANGMAX): Likewise.
23245 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23246 [POSIX || XPG3] (NL_NMAX): Likewise.
23247 [POSIX || XPG3] (NL_SETMAX): Likewise.
23248 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23249 [XPG3] (NZERO): Likewise.
23250 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23251 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23252 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23253 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23254 (REG_ERANGE): Expect.
23255 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23256 optional-constant.
23257 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23258 Use (void) in prototype.
23259 [POSIX] (*_t): Allow.
23260 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23261 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23262 (WRDE_BADVAL): Expect.
23263
5ba924e3
JM
23264 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23265 expect.
23266 [XPG3 || XPG4] (O_RSYNC): Likewise.
23267 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23268 Likewise.
23269 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23270 [XPG3 || XPG4] (sigqueue): Likewise.
23271 [XPG3 || XPG4] (sigtimedwait): Likewise.
23272 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23273 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23274 [XPG3 || XPG4] (vsnprintf): Likewise.
23275 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23276 Likewise.
23277 [XPG3 || XPG4] (blksize_t): Likewise.
23278 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23279 Likewise.
23280 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23281 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23282 [XPG3 || XPG4] (struct itimerspec): Likewise.
23283 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23284 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23285 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23286 [XPG3 || XPG4] (clockid_t): Likewise.
23287 [XPG3 || XPG4] (timer_t): Likewise.
23288 [XPG3 || XPG4] (clock_getres): Likewise.
23289 [XPG3 || XPG4] (clock_gettime): Likewise.
23290 [XPG3 || XPG4] (clock_settime): Likewise.
23291 [XPG3 || XPG4] (nanosleep): Likewise.
23292 [XPG3 || XPG4] (timer_create): Likewise.
23293 [XPG3 || XPG4] (timer_delete): Likewise.
23294 [XPG3 || XPG4] (timer_gettime): Likewise.
23295 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23296 [XPG3 || XPG4] (timer_settime): Likewise.
23297 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23298 [XPG3 || XPG4] (getlogin_r): Likewise.
23299 [XPG3 || XPG4] (pread): Likewise.
23300 [XPG3 || XPG4] (pthread_atfork): Likewise.
23301 [XPG3 || XPG4] (pwrite): Likewise.
23302
ee663277
JM
23303 [BZ #14835]
23304 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23305 <bits/siginfo.h>.
23306
942caa16
PT
233072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23308
e19af380
PT
23309 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23310 finalizing MALLSTREAM.
23311
942caa16
PT
23312 * sysdeps/mach/hurd/syncfs.c: New file.
23313
cfde9b46
SP
233142012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23315
23316 [BZ #14719]
23317 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23318 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23319 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23320 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23321 (_nss_dns_gethostbyname4_r): Likewise.
23322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23323 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23324
f6da27e5
PH
233252012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23326
23327 [BZ #13763]
23328 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23329
6665d4a2
SM
233302012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23331
1f51ee92
SM
23332 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23333 * elf/cache.c (print_entry): Print ",AArch64" for
23334 FLAG_AARCH64_LIB64
23335
6665d4a2
SM
23336 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23337 * elf/cache.c (print_entry): Print ",hard-float" for
23338 FLAG_ARM_LIBHF.
23339
05b227bd
DM
233402012-11-18 David S. Miller <davem@davemloft.net>
23341
23342 With help from Joseph Myers.
23343 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23344 cutoff to 2**-13.
23345 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23346 cutoff to 2**-25.
23347 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23348 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23349 small.
23350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23351 * math/libm-test.inc (y0_test): New tests.
23352 (y1_test): New tests.
23353 * sysdeps/i386/fpu/libm-test-ulps: Update.
23354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23356
786b0b67
AS
233572012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23358
23359 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23360 64-bit targets.
23361 * configure: Regenerated.
23362
8e18b86d
DM
233632012-11-17 David S. Miller <davem@davemloft.net>
23364
23365 [BZ #14811]
23366 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23367 nonzero exponents with absolute value below 0x1p-128 to +/-
23368 0x1p-128.
23369
531f1ae0
JM
233702012-11-17 Joseph Myers <joseph@codesourcery.com>
23371
12df29e2
JM
23372 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23373
150dc1a0
JM
23374 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23375
531f1ae0
JM
23376 * posix/getconf-speclist.c: New file.
23377 * posix/posix-envs.def: Likewise.
23378 * posix/confstr.c (START_ENV_GROUP): New macro.
23379 (END_ENV_GROUP): Likewise.
23380 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23381 (KNOWN_PRESENT_ENV_STRING): Likewise.
23382 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23383 (UNKNOWN_ENVIRONMENT): Likewise.
23384 (confstr): Include posix-envs.def instead of handling
23385 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23386 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23387 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23388 (END_ENV_GROUP): Likewise.
23389 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23390 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23391 (UNKNOWN_ENVIRONMENT): Likewise.
23392 (__sysconf): Include posix-envs.def instead of handling associated
23393 cases directly here.
23394 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23395 preprocessing getconf-speclist.c rather than running getconf or
23396 generating empty file.
23397
a93f9cbc
PT
233982012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23399
23400 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23401
d64d9f87
AL
234022012-11-16 Andrej Lajovic <natrij@gmail.com>
23403
23404 [BZ #14672]
23405 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23406
447885eb
DM
234072012-11-16 David S. Miller <davem@davemloft.net>
23408
23409 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23410 smaller than LDBL_EPSILON/2.0L, just return xm1.
23411
bcbf9830
L
234122012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23413
23414 * elf/tst-array1.c (init): Set constructor priority to 1000.
23415 (fini): Set destructor priority to 1000.
23416 * elf/tst-array2dep.c: Likewise.
23417
2b766585
SP
234182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23419
23420 [BZ #11741]
23421 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23422 (_IO_new_file_xsputn): Also return EOF if none of the input
23423 data was written when overflow failed.
23424 * libio/iopadn.c (_IO_padn): Likewise.
23425 * libio/iowpadn.c (_IO_wpadn): Likewise.
23426 * stdio-common/tst-put-error.c: Add copyright notice.
23427 (do_test): Add case for printing padded string.
23428 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23429 _IO_padn returned error.
23430 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23431 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23432 return EOF.
23433
b1848fde
SP
234342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23435
23436 * libio/libioP.h: Add comment note that the references to C++
23437 bits are now obsolete.
23438
2fd89785
MS
234392012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23440
23441 * math/libm-test.inc (check_complex): Use asprintf.
23442
e3ea5409
JM
234432012-11-14 Joseph Myers <joseph@codesourcery.com>
23444
23445 * debug/pcprofiledump.c (print_version): Update copyright year.
23446 * malloc/memusagestat.c (print_version): Likewise.
23447
2e64d265
L
234482012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23449
23450 [BZ #14831]
23451 * elf/Makefile (tests): Add tst-audit8.
23452 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23453 ($(objpfx)tst-audit8.out): New target.
23454 (tst-audit8-ENV): New variable.
23455 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23456 audit if l_reloc_result is NULL.
23457 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23458 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23459 * elf/tst-audit8.c: New file.
23460
c485e4d2
MS
234612012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23462
23463 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23464 * misc/Makefile (CFLAGS-select.c): Define.
23465 * posix/Makefile (CFLAGS-pause.c): Define.
23466
3a0d900a
DM
234672012-11-13 David S. Miller <davem@davemloft.net>
23468
23469 * crypt/Makefile: Move test targets after toplevel Rules
23470 inclusion. Grab any necessary sysdep routines when linking.
23471 * crypt/md5.c (md5_process_block): Remove define, we will always
23472 name it __md5_process_block.
23473 (md5_finish_ctx): Update md5_process_block call.
23474 (md5_stream): Likewise.
23475 (md5_process_bytes): Likewise.
23476 (md5_process_block): Rename to __md5_process_block and move to ...
23477 * crypt/md5-block.c: ... here.
23478 * crypt/sha256.c (sha256_process_block): Move to ...
23479 * crypt/sha256-block.c: ... here.
23480 * crypt/sha512.c (sha512_process_block): Move to ...
23481 * crypt/sha512-block.c: ... here.
23482 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23483 path.
23484 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23485 * sysdeps/sparc/sparc64/multiarch/Makefile
23486 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23487 crypt subdir.
23488 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23489 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23490 multiarch changes.
23491 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23492 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23493 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23494 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23495 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23496 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23497 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23498 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23500 file.
23501 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23503 file.
23504 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23505
8ca89318
JM
235062012-11-13 Joseph Myers <joseph@codesourcery.com>
23507
e27d476a
JM
23508 * timezone/tzselect.ksh: Update from tzcode git revision
23509 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23510 * timezone/zdump.c: Likewise.
23511 * timezone/zic.c: Likewise.
23512 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23513 in TZVERSION setting, not $(PKGVERSION).
23514 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23515 REPORT_BUGS_TO settings.
23516
8ca89318
JM
23517 [BZ #14838]
23518 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23519 macro.
23520
47594329
MS
235212012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23522
23523 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23524 detection to immediately after _FP_ROUND().
23525 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23526 bits are 0.
23527
640ac3f1
DM
235282012-11-11 David S. Miller <davem@davemloft.net>
23529
23530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23531 inttypes.h
23532 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23533 __close rather than their public counterparts.
23534
3d2577bb
JM
235352012-11-10 Joseph Myers <joseph@codesourcery.com>
23536
23537 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23538 file.
23539 [UNIX98] (sem_timedwait): Do not expect.
23540 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23541 [XPG4 || UNIX98] (sockatmark): Do not expect.
23542 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23543 (clock_getcpuclockid): Do not expect.
23544 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23545 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23546 Do not expect.
23547 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23548 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23549 [UNIX98] (vwscanf): Likewise.
23550 [UNIX98] (vswscanf): Likewise.
23551
fb1ae1ee
JM
235522012-11-09 Joseph Myers <joseph@codesourcery.com>
23553
9ec6f8bd
JM
23554 * timezone/version.h: Remove file.
23555 * timezone/README: Do not refer to version.h.
23556 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23557 $(objpfx)version.h.
23558 ($(objpfx)zdump.o): Likewise.
c3f81911 23559 ($(objpfx)version.h): New target.
9ec6f8bd 23560
0aa8f8a1
JM
23561 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23562 2012i.
23563 * timezone/README: Don't mention modification to tzselect.ksh.
23564 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23565 work on unmodified tzselect.ksh. Substitute version numbers in
23566 tzselect.ksh.
23567
4e87147f
JM
23568 * Makefile (format-me): Remove.
23569 (INSTALL): Adjust indentation. Use commands directly instead of
23570 using $(format-me).
23571
8b748aed
JM
23572 * aclocal.m4 (ACX_PKGVERSION): New macro.
23573 (ACX_BUGURL): Likewise.
23574 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23575 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23576 (REPORT_BUGS_TO): Likewise.
23577 * configure: Regenerated.
23578 * config.h.in (PKGVERSION): New macro.
23579 (REPORT_BUGS_TO): Likewise.
23580 * config.make.in (PKGVERSION): New variable.
23581 (PKGVERSION_TEXI): Likewise.
23582 (REPORT_BUGS_TO): Likewise.
23583 (REPORT_BUGS_TEXI): Likewise.
23584 * Makefile (format-me): Use -I$(common-objpfx)manual.
23585 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23586 ($(common-objpfx)manual/%): New target.
23587 (manual/%): Remove target.
23588 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23589 (print_version): Use PKGVERSION.
23590 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23591 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23592 and REPORT_BUGS_TO.
23593 ($(objpfx)xtrace): Likewise.
23594 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23595 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23596 (print_version): Use PKGVERSION.
23597 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23598 (do_version): Use PKGVERSION.
23599 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23600 REPORT_BUGS_TO.
23601 (common-ldd-rewrite): Likewise.
23602 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23603 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23604 (print_version): Use PKGVERSION.
23605 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23606 * elf/pldd.c (argp_program_bug_address): Remove variable.
23607 (more_help): New function.
23608 (argp): Use more_help.
23609 (print_version): Use PKGVERSION.
23610 * elf/sln.c (main): Use PKGVERSION.
23611 (usage): Use REPORT_BUGS_TO.
23612 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23613 (top level): Use PKGVERSION.
23614 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23615 (print_version): Use PKGVERSION.
23616 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23617 (print_version): Use PKGVERSION.
23618 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23619 (print_version): Use PKGVERSION.
23620 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23621 (print_version): Use PKGVERSION.
23622 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23623 (print_version): Use PKGVERSION.
23624 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23625 (print_version): Use PKGVERSION.
23626 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23627 and BUGURL.
23628 ($(objpfx)memusage): Likewise.
23629 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23630 (do_version): Use PKGVERSION.
23631 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23632 (print_version): Use PKGVERSION.
23633 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23634 ($PKGVERSION): New variable.
23635 ($REPORT_BUGS_TO): Likewise.
23636 (usage): Use $REPORT_BUGS_TO.
23637 (top level): Use $PKGVERSION.
23638 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23639 ($(objpfx)pkgvers.texi): New rule.
23640 ($(objpfx)stamp-pkgvers): Likewise.
23641 * manual/install.texi: Include pkgvers.texi.
23642 (--with-pkgversion): Document new configure option.
23643 (--with-bugurl): Likewise.
23644 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23645 than necessarily for this particular distribution. Use
23646 REPORT_BUGS_TO for where to report bugs.
23647 * INSTALL: Regenerated.
23648 * manual/libc.texinfo: Include pkgvers.texi.
23649 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23650 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23651 (print_version): Use PKGVERSION.
23652 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23653 (print_version): Use PKGVERSION.
23654 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23655 (print_version): Use PKGVERSION.
23656 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23657 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23658 macro.
23659 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23660 (print_version): Use PKGVERSION.
23661 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23662 (print_version): Use PKGVERSION.
23663 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23664 and PKGVERSION.
23665
92e4b6a9
JM
23666 * timezone/checktab.awk: Update from tzcode 2012i.
23667 * timezone/ialloc.c: Likewise.
23668 * timezone/private.h: Likewise.
23669 * timezone/scheck.c: Likewise.
23670 * timezone/tzfile.h: Likewise.
23671 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23672 (TZVERSION): Hardcode tzcode version number.
23673 * timezone/zdump.c: Update from tzcode 2012i.
23674 * timezone/zic.c: Likewise.
23675 * timezone/version.h: New file.
23676 * timezone/README: Describe version.h. Update upstream location.
23677
9bde902c
JM
23678 [BZ #14824]
23679 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23680 (mktemp): Enable declaration.
23681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23683 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23685 Likewise.
23686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23687 Likewise.
23688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23689 Likewise.
23690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23691 Likewise.
23692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23693 Likewise.
23694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23695 Likewise.
23696
fb1ae1ee
JM
23697 [BZ #14821]
23698 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23699 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23700 for copies of such integer values.
23701 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23702 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23703
2c1adbcb
AJ
237042012-11-09 Andreas Jaeger <aj@suse.de>
23705
23706 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23707 definitions and declarations that are provided by
23708 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23709
d0f8457e
AK
237102012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23711
3a235abb 23712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23713 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23714 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23715 definition.
23716
57241e26
MS
237172012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23718
23719 * elf/elf.h: Update comment before AArch64 relocations.
23720
60e8270d
DM
237212012-11-07 David S. Miller <davem@davemloft.net>
23722
23723 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23725 (__start_context): Declare.
23726 (__makecontext_ret): Delete.
23727 (__makecontext): Hook up __start_context instead of
23728 __makecontext_ret.
23729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23730 (sysdep_routines): Add __start_context when in stdlib.
23731
0fbb0fbc
JM
237322012-11-07 Joseph Myers <joseph@codesourcery.com>
23733
23734 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23735 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23736 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23737 hardcoded "nm".
23738 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23739 (READELF): New variable. Use it instead of hardcoded "readelf".
23740
eb48db7e
L
237412012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23742
23743 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23744 * sysdeps/x86/Makefile: Here.
23745 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23746 * sysdeps/x86/tst-xmmymm.sh: This.
23747
05bcf62a
JM
237482012-11-07 Joseph Myers <joseph@codesourcery.com>
23749
c4b6cf53
JM
23750 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23751 expectations.
23752 [UNIX98] (pthread_barrier_t): Do not expect.
23753 [UNIX98] (pthread_barrierattr_t): Likewise.
23754 [UNIX98] (pthread_spinlock_t): Likewise.
23755 [UNIX98] (pthread_barrier_destroy): Likewise.
23756 [UNIX98] (pthread_barrier_init): Likewise.
23757 [UNIX98] (pthread_barrier_wait): Likewise.
23758 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23759 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23760 [UNIX98] (pthread_barrierattr_init): Likewise.
23761 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23762 [UNIX98] (pthread_getcpuclockid): Likewise.
23763 [UNIX98] (pthread_mutex_timedlock): Likewise.
23764 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23765 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23766 [UNIX98] (pthread_sigmask): Likewise.
23767 [UNIX98] (pthread_spin_destroy): Likewise.
23768 [UNIX98] (pthread_spin_init): Likewise.
23769 [UNIX98] (pthread_spin_lock): Likewise.
23770 [UNIX98] (pthread_spin_trylock): Likewise.
23771 [UNIX98] (pthread_spin_unlock): Likewise.
23772 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23773 Do not expect.
23774 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23775 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23776 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23777 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23778 [XPG3 || XPG4] (pthread_key_t): Likewise.
23779 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23780 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23781 [XPG3 || XPG4] (pthread_once_t): Likewise.
23782 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23783 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23785 [XPG3 || XPG4] (pthread_t): Likewise.
23786
cbe6e120
JM
23787 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23788 not expect.
23789 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23790
1b126443
JM
23791 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23792 Change function return type to int.
23793
b961a573
JM
23794 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23795 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23796 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23797 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23798 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23799 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23800 [!POSIX] (posix_madvise): Likewise.
23801 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23802 && !UNIX98].
23803 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23804 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23805 (mode_t): Likewise.
23806 (posix_mem_offset): Likewise.
23807 (posix_typed_mem_get_info): Likewise.
23808 (posix_typed_mem_open): Likewise.
23809
9e188909
JM
23810 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23811 Change condition to [XOPEN2K8].
23812
05bcf62a
JM
23813 * conform/conformtest.pl: Preprocess allow-header data with -x c
23814 instead of from stdin.
23815 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23816 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23817 [C99-based standards] (cerfc): Likewise.
23818 [C99-based standards] (cexp2): Likewise.
23819 [C99-based standards] (cexpm1): Likewise.
23820 [C99-based standards] (clog10): Likewise.
23821 [C99-based standards] (clog1p): Likewise.
23822 [C99-based standards] (clog2): Likewise.
23823 [C99-based standards] (clgamma): Likewise.
23824 [C99-based standards] (ctgamma): Likewise.
23825 [C99-based standards] (cerff): Likewise.
23826 [C99-based standards] (cerfcf): Likewise.
23827 [C99-based standards] (cexp2f): Likewise.
23828 [C99-based standards] (cexpm1f): Likewise.
23829 [C99-based standards] (clog10f): Likewise.
23830 [C99-based standards] (clog1pf): Likewise.
23831 [C99-based standards] (clog2f): Likewise.
23832 [C99-based standards] (clgammaf): Likewise.
23833 [C99-based standards] (ctgammaf): Likewise.
23834 [C99-based standards] (cerfl): Likewise.
23835 [C99-based standards] (cerfcl): Likewise.
23836 [C99-based standards] (cexp2l): Likewise.
23837 [C99-based standards] (cexpm1l): Likewise.
23838 [C99-based standards] (clog10l): Likewise.
23839 [C99-based standards] (clog1pl): Likewise.
23840 [C99-based standards] (clog2l): Likewise.
23841 [C99-based standards] (clgammal): Likewise.
23842 [C99-based standards] (ctgammal): Likewise.
23843 * conform/data/inttypes.h-data [C99-based standards]: Include
23844 stdint.h-data. Remove all expectations for stdint.h contents.
23845 [C99-based standards] (PRI*): Do not allow.
23846 [C99-based standards] (SCN*): Likewise.
23847 [C99-based standards] (*_t): Likewise.
23848 [C99-based-standards] (PRId8): Expect macro.
23849 [C99-based-standards] (PRIi8): Likewise.
23850 [C99-based-standards] (PRIo8): Likewise.
23851 [C99-based-standards] (PRIu8): Likewise.
23852 [C99-based-standards] (PRIx8): Likewise.
23853 [C99-based-standards] (PRIX8): Likewise.
23854 [C99-based-standards] (SCNd8): Likewise.
23855 [C99-based-standards] (SCNi8): Likewise.
23856 [C99-based-standards] (SCNo8): Likewise.
23857 [C99-based-standards] (SCNu8): Likewise.
23858 [C99-based-standards] (SCNx8): Likewise.
23859 [C99-based-standards] (PRIdLEAST8): Likewise.
23860 [C99-based-standards] (PRIiLEAST8): Likewise.
23861 [C99-based-standards] (PRIoLEAST8): Likewise.
23862 [C99-based-standards] (PRIuLEAST8): Likewise.
23863 [C99-based-standards] (PRIxLEAST8): Likewise.
23864 [C99-based-standards] (PRIXLEAST8): Likewise.
23865 [C99-based-standards] (SCNdLEAST8): Likewise.
23866 [C99-based-standards] (SCNiLEAST8): Likewise.
23867 [C99-based-standards] (SCNoLEAST8): Likewise.
23868 [C99-based-standards] (SCNuLEAST8): Likewise.
23869 [C99-based-standards] (SCNxLEAST8): Likewise.
23870 [C99-based-standards] (PRIdFAST8): Likewise.
23871 [C99-based-standards] (PRIiFAST8): Likewise.
23872 [C99-based-standards] (PRIoFAST8): Likewise.
23873 [C99-based-standards] (PRIuFAST8): Likewise.
23874 [C99-based-standards] (PRIxFAST8): Likewise.
23875 [C99-based-standards] (PRIXFAST8): Likewise.
23876 [C99-based-standards] (SCNdFAST8): Likewise.
23877 [C99-based-standards] (SCNiFAST8): Likewise.
23878 [C99-based-standards] (SCNoFAST8): Likewise.
23879 [C99-based-standards] (SCNuFAST8): Likewise.
23880 [C99-based-standards] (SCNxFAST8): Likewise.
23881 [C99-based-standards] (PRId16): Likewise.
23882 [C99-based-standards] (PRIi16): Likewise.
23883 [C99-based-standards] (PRIo16): Likewise.
23884 [C99-based-standards] (PRIu16): Likewise.
23885 [C99-based-standards] (PRIx16): Likewise.
23886 [C99-based-standards] (PRIX16): Likewise.
23887 [C99-based-standards] (SCNd16): Likewise.
23888 [C99-based-standards] (SCNi16): Likewise.
23889 [C99-based-standards] (SCNo16): Likewise.
23890 [C99-based-standards] (SCNu16): Likewise.
23891 [C99-based-standards] (SCNx16): Likewise.
23892 [C99-based-standards] (PRIdLEAST16): Likewise.
23893 [C99-based-standards] (PRIiLEAST16): Likewise.
23894 [C99-based-standards] (PRIoLEAST16): Likewise.
23895 [C99-based-standards] (PRIuLEAST16): Likewise.
23896 [C99-based-standards] (PRIxLEAST16): Likewise.
23897 [C99-based-standards] (PRIXLEAST16): Likewise.
23898 [C99-based-standards] (SCNdLEAST16): Likewise.
23899 [C99-based-standards] (SCNiLEAST16): Likewise.
23900 [C99-based-standards] (SCNoLEAST16): Likewise.
23901 [C99-based-standards] (SCNuLEAST16): Likewise.
23902 [C99-based-standards] (SCNxLEAST16): Likewise.
23903 [C99-based-standards] (PRIdFAST16): Likewise.
23904 [C99-based-standards] (PRIiFAST16): Likewise.
23905 [C99-based-standards] (PRIoFAST16): Likewise.
23906 [C99-based-standards] (PRIuFAST16): Likewise.
23907 [C99-based-standards] (PRIxFAST16): Likewise.
23908 [C99-based-standards] (PRIXFAST16): Likewise.
23909 [C99-based-standards] (SCNdFAST16): Likewise.
23910 [C99-based-standards] (SCNiFAST16): Likewise.
23911 [C99-based-standards] (SCNoFAST16): Likewise.
23912 [C99-based-standards] (SCNuFAST16): Likewise.
23913 [C99-based-standards] (SCNxFAST16): Likewise.
23914 [C99-based-standards] (PRId32): Likewise.
23915 [C99-based-standards] (PRIi32): Likewise.
23916 [C99-based-standards] (PRIo32): Likewise.
23917 [C99-based-standards] (PRIu32): Likewise.
23918 [C99-based-standards] (PRIx32): Likewise.
23919 [C99-based-standards] (PRIX32): Likewise.
23920 [C99-based-standards] (SCNd32): Likewise.
23921 [C99-based-standards] (SCNi32): Likewise.
23922 [C99-based-standards] (SCNo32): Likewise.
23923 [C99-based-standards] (SCNu32): Likewise.
23924 [C99-based-standards] (SCNx32): Likewise.
23925 [C99-based-standards] (PRIdLEAST32): Likewise.
23926 [C99-based-standards] (PRIiLEAST32): Likewise.
23927 [C99-based-standards] (PRIoLEAST32): Likewise.
23928 [C99-based-standards] (PRIuLEAST32): Likewise.
23929 [C99-based-standards] (PRIxLEAST32): Likewise.
23930 [C99-based-standards] (PRIXLEAST32): Likewise.
23931 [C99-based-standards] (SCNdLEAST32): Likewise.
23932 [C99-based-standards] (SCNiLEAST32): Likewise.
23933 [C99-based-standards] (SCNoLEAST32): Likewise.
23934 [C99-based-standards] (SCNuLEAST32): Likewise.
23935 [C99-based-standards] (SCNxLEAST32): Likewise.
23936 [C99-based-standards] (PRIdFAST32): Likewise.
23937 [C99-based-standards] (PRIiFAST32): Likewise.
23938 [C99-based-standards] (PRIoFAST32): Likewise.
23939 [C99-based-standards] (PRIuFAST32): Likewise.
23940 [C99-based-standards] (PRIxFAST32): Likewise.
23941 [C99-based-standards] (PRIXFAST32): Likewise.
23942 [C99-based-standards] (SCNdFAST32): Likewise.
23943 [C99-based-standards] (SCNiFAST32): Likewise.
23944 [C99-based-standards] (SCNoFAST32): Likewise.
23945 [C99-based-standards] (SCNuFAST32): Likewise.
23946 [C99-based-standards] (SCNxFAST32): Likewise.
23947 [C99-based-standards] (PRId64): Likewise.
23948 [C99-based-standards] (PRIi64): Likewise.
23949 [C99-based-standards] (PRIo64): Likewise.
23950 [C99-based-standards] (PRIu64): Likewise.
23951 [C99-based-standards] (PRIx64): Likewise.
23952 [C99-based-standards] (PRIX64): Likewise.
23953 [C99-based-standards] (SCNd64): Likewise.
23954 [C99-based-standards] (SCNi64): Likewise.
23955 [C99-based-standards] (SCNo64): Likewise.
23956 [C99-based-standards] (SCNu64): Likewise.
23957 [C99-based-standards] (SCNx64): Likewise.
23958 [C99-based-standards] (PRIdLEAST64): Likewise.
23959 [C99-based-standards] (PRIiLEAST64): Likewise.
23960 [C99-based-standards] (PRIoLEAST64): Likewise.
23961 [C99-based-standards] (PRIuLEAST64): Likewise.
23962 [C99-based-standards] (PRIxLEAST64): Likewise.
23963 [C99-based-standards] (PRIXLEAST64): Likewise.
23964 [C99-based-standards] (SCNdLEAST64): Likewise.
23965 [C99-based-standards] (SCNiLEAST64): Likewise.
23966 [C99-based-standards] (SCNoLEAST64): Likewise.
23967 [C99-based-standards] (SCNuLEAST64): Likewise.
23968 [C99-based-standards] (SCNxLEAST64): Likewise.
23969 [C99-based-standards] (PRIdFAST64): Likewise.
23970 [C99-based-standards] (PRIiFAST64): Likewise.
23971 [C99-based-standards] (PRIoFAST64): Likewise.
23972 [C99-based-standards] (PRIuFAST64): Likewise.
23973 [C99-based-standards] (PRIxFAST64): Likewise.
23974 [C99-based-standards] (PRIXFAST64): Likewise.
23975 [C99-based-standards] (SCNdFAST64): Likewise.
23976 [C99-based-standards] (SCNiFAST64): Likewise.
23977 [C99-based-standards] (SCNoFAST64): Likewise.
23978 [C99-based-standards] (SCNuFAST64): Likewise.
23979 [C99-based-standards] (SCNxFAST64): Likewise.
23980 [C99-based-standards] (PRIdMAX): Likewise.
23981 [C99-based-standards] (PRIiMAX): Likewise.
23982 [C99-based-standards] (PRIoMAX): Likewise.
23983 [C99-based-standards] (PRIuMAX): Likewise.
23984 [C99-based-standards] (PRIxMAX): Likewise.
23985 [C99-based-standards] (PRIXMAX): Likewise.
23986 [C99-based-standards] (SCNdMAX): Likewise.
23987 [C99-based-standards] (SCNiMAX): Likewise.
23988 [C99-based-standards] (SCNoMAX): Likewise.
23989 [C99-based-standards] (SCNuMAX): Likewise.
23990 [C99-based-standards] (SCNxMAX): Likewise.
23991 [C99-based-standards] (PRIdPTR): Likewise.
23992 [C99-based-standards] (PRIiPTR): Likewise.
23993 [C99-based-standards] (PRIoPTR): Likewise.
23994 [C99-based-standards] (PRIuPTR): Likewise.
23995 [C99-based-standards] (PRIxPTR): Likewise.
23996 [C99-based-standards] (PRIXPTR): Likewise.
23997 [C99-based-standards] (SCNdPTR): Likewise.
23998 [C99-based-standards] (SCNiPTR): Likewise.
23999 [C99-based-standards] (SCNoPTR): Likewise.
24000 [C99-based-standards] (SCNuPTR): Likewise.
24001 [C99-based-standards] (SCNxPTR): Likewise.
24002 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24003 allow.
24004 * conform/data/stdint.h-data: Update comments to clarify
24005 requirements.
24006 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24007 type.
24008 [C99-based standards] (INT8_MAX): Likewise.
24009 [C99-based standards] (INT16_MIN): Likewise.
24010 [C99-based standards] (INT16_MAX): Likewise.
24011 [C99-based standards] (INT32_MIN): Likewise.
24012 [C99-based standards] (INT32_MAX): Likewise.
24013 [C99-based standards] (INT64_MIN): Likewise.
24014 [C99-based standards] (INT64_MAX): Likewise.
24015 [C99-based standards] (UINT8_MAX): Likewise.
24016 [C99-based standards] (UINT16_MAX): Likewise.
24017 [C99-based standards] (UINT32_MAX): Likewise.
24018 [C99-based standards] (UINT64_MAX): Likewise.
24019 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24020 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24021 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24022 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24023 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24024 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24025 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24026 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24027 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24028 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24029 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24030 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24031 [C99-based standards] (INT_FAST8_MIN): Likewise.
24032 [C99-based standards] (INT_FAST8_MAX): Likewise.
24033 [C99-based standards] (INT_FAST16_MIN): Likewise.
24034 [C99-based standards] (INT_FAST16_MAX): Likewise.
24035 [C99-based standards] (INT_FAST32_MIN): Likewise.
24036 [C99-based standards] (INT_FAST32_MAX): Likewise.
24037 [C99-based standards] (INT_FAST64_MIN): Likewise.
24038 [C99-based standards] (INT_FAST64_MAX): Likewise.
24039 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24040 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24041 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24042 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24043 [C99-based standards] (INTPTR_MIN): Likewise.
24044 [C99-based standards] (INTPTR_MAX): Likewise.
24045 [C99-based standards] (UINTPTR_MAX): Likewise.
24046 [C99-based standards] (INTMAX_MIN): Likewise.
24047 [C99-based standards] (INTMAX_MAX): Likewise.
24048 [C99-based standards] (UINTMAX_MAX): Likewise.
24049 [C99-based standards] (PTRDIFF_MIN): Likewise.
24050 [C99-based standards] (PTRDIFF_MAX): Likewise.
24051 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24052 [C99-based standards] (SIZE_MAX): Likewise.
24053 [C99-based standards] (WCHAR_MAX): Likewise.
24054 [C99-based standards] (WINT_MAX): Likewise.
24055 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24056 constraint on value.
24057 [C99-based standards] (WCHAR_MIN): Likewise.
24058 [C99-based standards] (WINT_MIN): Likewise.
24059 [C99-based standards] (*_t): Allow.
24060 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24061 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24062 Include math.h-data and complex.h-data. Remove all expectations
24063 of math.h and complex.h contents.
24064 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24065 at end of line.
24066 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24067 (struct tm): Expect tag.
24068 [C99-based-standards] (wcstof): Expect function.
24069 [C99-based-standards] (wcstold): Likewise.
24070 [C99-based-standards] (wcstoll): Likewise.
24071 [C99-based-standards] (wcstoull): Likewise.
24072 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24073 macro-int-constant. Specify type.
24074 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24075 constraint on value.
24076 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24077 Specify type.
24078 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24079 Specify value.
24080 [ISO C standards]: Do not allow headers.
24081 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24082 wcs[abcdefghijklmnopqrstuvwxyz]*.
24083 [ISO C standards] (*_t): Do not allow.
24084 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24085 Expect function.
24086 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24087 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24088 Specify type.
24089 [ISO C standards]: Do not allow headers.
24090 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24091 is[abcdefghijklmnopqrstuvwxyz]*.
24092 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24093 to[abcdefghijklmnopqrstuvwxyz]*.
24094 [ISO C standards] (*_t): Do not allow.
24095 * conform/data/stdalign.h-data: New file.
24096 * conform/data/stdbool.h-data: Likewise.
24097 * conform/data/stdnoreturn.h-data: Likewise.
24098
7514feb8
RM
240992012-11-07 Roland McGrath <roland@hack.frob.com>
24100
24101 [BZ #14815]
24102 * manual/filesys.texi (Directory Entries): Typo fix.
24103 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24104
19b2ecfc
MS
241052012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24106
24107 * elf/elf.h (EM_AARCH64): New macro.
24108 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24109 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24110 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24111 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24112 (R_AARCH64_TLSDESC): Likewise.
24113 (NT_ARM_TLS): Likewise.
24114 (NT_ARM_HW_BREAK): Likewise.
24115 (NT_ARM_HW_WATCH): Likewise.
24116
60e235ee
JM
241172012-11-07 Joseph Myers <joseph@codesourcery.com>
24118
24119 [BZ #14811]
24120 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24121 (__ieee754_powl): Saturate nonzero exponents with absolute value
24122 below 0x1p-79 to +/- 0x1p-79.
24123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24124 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24125 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24126 nonzero exponents with absolute value below 0x1p-32 to +/-
24127 0x1p-32.
24128 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24129 (__ieee754_powl): Saturate nonzero exponents with absolute value
24130 below 0x1p-79 to +/- 0x1p-79.
24131 * math/libm-test.inc (pow_test): Add more tests.
24132
0ab234b7
AK
241332012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24134
24135 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24136 _dl_s390_cap_flags with kernel. Increase string length.
24137 (_dl_s390_platforms): Add z196 and zEC12.
24138
45832f74
JM
241392012-11-07 Joseph Myers <joseph@codesourcery.com>
24140
24141 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24142 Change XOPEN21K to XOPEN2K.
24143
19218757
MK
241442012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24145
24146 * string/memmove.c: Use memcpy when possible.
24147
c5f45721
AJ
241482012-11-06 Andreas Jaeger <aj@suse.de>
24149
24150 * po/eo.po: Update from translation team.
24151
82477c28
JM
241522012-11-06 Joseph Myers <joseph@codesourcery.com>
24153
24154 [BZ #14793]
24155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24156 exponent and small x and y exponents, scale x or y up. Increase
24157 by 2 the exponent used in scaling up.
24158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24160 * math/libm-test.inc (fma_test): Add more tests.
24161 (fma_test_towardzero): Likewise.
24162 (fma_test_downward): Likewise.
24163 (fma_test_upward): Likewise.
24164
99252c8c
JM
241652012-11-05 Joseph Myers <joseph@codesourcery.com>
24166
acfa885f
JM
24167 [BZ #14805]
24168 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24169 fenv_t *.
24170
99252c8c
JM
24171 [BZ #14801]
24172 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24173 namespace for names of struct fields.
24174 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24175 fenv_t fields.
24176 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24177 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24178
d6d98dea
ST
241792012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24180
24181 [BZ #3665]
24182 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24183
e10bb107
TS
241842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24185
24186 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24187 PTR_DEMANGLE.
24188
24189 [BZ #5246]
24190 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24191 PTR_DEMANGLE.
24192
a0c2940d
JM
241932012-11-04 Joseph Myers <joseph@codesourcery.com>
24194
24195 [BZ #14797]
24196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24197 definitely overflow as x * y not x * y + z.
24198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24200 * math/libm-test.inc (fma_test): Add more tests.
24201 (fma_test_towardzero): Likewise.
24202 (fma_test_downward): Likewise.
24203 (fma_test_upward): Likewise.
24204
b830319d
TS
242052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24206
24207 [BZ #157]
24208
24209 * include/stub-tag.h: Remove file.
24210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24211 '#include' of it.
24212 * manual/maint.texi (Porting): Don't reference it.
24213 * Makerules ($(objpfx)stubs): Likewise.
24214 * dirent/closedir.c: Don't include <stub-tag.h>.
24215 * dirent/dirfd.c: Likewise.
24216 * dirent/fdopendir.c: Likewise.
24217 * dirent/getdents.c: Likewise.
24218 * dirent/getdents64.c: Likewise.
24219 * dirent/opendir.c: Likewise.
24220 * dirent/readdir.c: Likewise.
24221 * dirent/readdir64.c: Likewise.
24222 * dirent/readdir64_r.c: Likewise.
24223 * dirent/readdir_r.c: Likewise.
24224 * dirent/rewinddir.c: Likewise.
24225 * dirent/seekdir.c: Likewise.
24226 * dirent/telldir.c: Likewise.
24227 * gmon/profil.c: Likewise.
24228 * grp/setgroups.c: Likewise.
24229 * inet/if_index.c: Likewise.
24230 * io/access.c: Likewise.
24231 * io/chdir.c: Likewise.
24232 * io/chmod.c: Likewise.
24233 * io/chown.c: Likewise.
24234 * io/close.c: Likewise.
24235 * io/dup.c: Likewise.
24236 * io/dup2.c: Likewise.
24237 * io/dup3.c: Likewise.
24238 * io/euidaccess.c: Likewise.
24239 * io/faccessat.c: Likewise.
24240 * io/fchdir.c: Likewise.
24241 * io/fchmod.c: Likewise.
24242 * io/fchmodat.c: Likewise.
24243 * io/fchown.c: Likewise.
24244 * io/fchownat.c: Likewise.
24245 * io/fcntl.c: Likewise.
24246 * io/flock.c: Likewise.
24247 * io/fstatfs.c: Likewise.
24248 * io/fstatfs64.c: Likewise.
24249 * io/fstatvfs.c: Likewise.
24250 * io/fstatvfs64.c: Likewise.
24251 * io/futimens.c: Likewise.
24252 * io/fxstat.c: Likewise.
24253 * io/fxstat64.c: Likewise.
24254 * io/fxstatat.c: Likewise.
24255 * io/fxstatat64.c: Likewise.
24256 * io/getcwd.c: Likewise.
24257 * io/isatty.c: Likewise.
24258 * io/lchmod.c: Likewise.
24259 * io/lchown.c: Likewise.
24260 * io/link.c: Likewise.
24261 * io/linkat.c: Likewise.
24262 * io/lseek.c: Likewise.
24263 * io/lseek64.c: Likewise.
24264 * io/lxstat64.c: Likewise.
24265 * io/mkdir.c: Likewise.
24266 * io/mkdirat.c: Likewise.
24267 * io/mkfifo.c: Likewise.
24268 * io/mkfifoat.c: Likewise.
24269 * io/open.c: Likewise.
24270 * io/open64.c: Likewise.
24271 * io/openat.c: Likewise.
24272 * io/openat64.c: Likewise.
24273 * io/pipe.c: Likewise.
24274 * io/pipe2.c: Likewise.
24275 * io/poll.c: Likewise.
24276 * io/posix_fadvise.c: Likewise.
24277 * io/posix_fadvise64.c: Likewise.
24278 * io/posix_fallocate.c: Likewise.
24279 * io/posix_fallocate64.c: Likewise.
24280 * io/read.c: Likewise.
24281 * io/readlink.c: Likewise.
24282 * io/readlinkat.c: Likewise.
24283 * io/rmdir.c: Likewise.
24284 * io/sendfile.c: Likewise.
24285 * io/sendfile64.c: Likewise.
24286 * io/statfs.c: Likewise.
24287 * io/statfs64.c: Likewise.
24288 * io/statvfs.c: Likewise.
24289 * io/statvfs64.c: Likewise.
24290 * io/symlink.c: Likewise.
24291 * io/symlinkat.c: Likewise.
24292 * io/ttyname.c: Likewise.
24293 * io/ttyname_r.c: Likewise.
24294 * io/umask.c: Likewise.
24295 * io/unlink.c: Likewise.
24296 * io/unlinkat.c: Likewise.
24297 * io/utime.c: Likewise.
24298 * io/utimensat.c: Likewise.
24299 * io/write.c: Likewise.
24300 * io/xmknod.c: Likewise.
24301 * io/xmknodat.c: Likewise.
24302 * io/xstat.c: Likewise.
24303 * io/xstat64.c: Likewise.
24304 * login/getpt.c: Likewise.
24305 * login/grantpt.c: Likewise.
24306 * login/unlockpt.c: Likewise.
24307 * math/e_acoshl.c: Likewise.
24308 * math/e_acosl.c: Likewise.
24309 * math/e_asinl.c: Likewise.
24310 * math/e_atan2l.c: Likewise.
24311 * math/e_atanhl.c: Likewise.
24312 * math/e_coshl.c: Likewise.
24313 * math/e_expl.c: Likewise.
24314 * math/e_fmodl.c: Likewise.
24315 * math/e_gammal_r.c: Likewise.
24316 * math/e_hypotl.c: Likewise.
24317 * math/e_j0l.c: Likewise.
24318 * math/e_j1l.c: Likewise.
24319 * math/e_jnl.c: Likewise.
24320 * math/e_lgammal_r.c: Likewise.
24321 * math/e_log10l.c: Likewise.
24322 * math/e_log2l.c: Likewise.
24323 * math/e_logl.c: Likewise.
24324 * math/e_powl.c: Likewise.
24325 * math/e_rem_pio2l.c: Likewise.
24326 * math/e_sinhl.c: Likewise.
24327 * math/e_sqrtl.c: Likewise.
24328 * math/fclrexcpt.c: Likewise.
24329 * math/fedisblxcpt.c: Likewise.
24330 * math/feenablxcpt.c: Likewise.
24331 * math/fegetenv.c: Likewise.
24332 * math/fegetexcept.c: Likewise.
24333 * math/fegetround.c: Likewise.
24334 * math/feholdexcpt.c: Likewise.
24335 * math/fesetenv.c: Likewise.
24336 * math/fesetround.c: Likewise.
24337 * math/feupdateenv.c: Likewise.
24338 * math/fgetexcptflg.c: Likewise.
24339 * math/fraiseexcpt.c: Likewise.
24340 * math/fsetexcptflg.c: Likewise.
24341 * math/ftestexcept.c: Likewise.
24342 * math/k_cosl.c: Likewise.
24343 * math/k_rem_pio2l.c: Likewise.
24344 * math/k_sinl.c: Likewise.
24345 * math/k_tanl.c: Likewise.
24346 * math/s_asinhl.c: Likewise.
24347 * math/s_atanl.c: Likewise.
24348 * math/s_cbrtl.c: Likewise.
24349 * math/s_erfl.c: Likewise.
24350 * math/s_expm1l.c: Likewise.
24351 * math/s_log1pl.c: Likewise.
24352 * math/s_tanhl.c: Likewise.
24353 * misc/acct.c: Likewise.
24354 * misc/brk.c: Likewise.
24355 * misc/chflags.c: Likewise.
24356 * misc/chroot.c: Likewise.
24357 * misc/fchflags.c: Likewise.
24358 * misc/fgetxattr.c: Likewise.
24359 * misc/flistxattr.c: Likewise.
24360 * misc/fremovexattr.c: Likewise.
24361 * misc/fsetxattr.c: Likewise.
24362 * misc/fsync.c: Likewise.
24363 * misc/ftruncate.c: Likewise.
24364 * misc/futimes.c: Likewise.
24365 * misc/futimesat.c: Likewise.
24366 * misc/getdomain.c: Likewise.
24367 * misc/getdtsz.c: Likewise.
24368 * misc/gethostid.c: Likewise.
24369 * misc/gethostname.c: Likewise.
24370 * misc/getloadavg.c: Likewise.
24371 * misc/getpagesize.c: Likewise.
24372 * misc/getsysstats.c: Likewise.
24373 * misc/getxattr.c: Likewise.
24374 * misc/gtty.c: Likewise.
24375 * misc/ioctl.c: Likewise.
24376 * misc/lgetxattr.c: Likewise.
24377 * misc/listxattr.c: Likewise.
24378 * misc/llistxattr.c: Likewise.
24379 * misc/lremovexattr.c: Likewise.
24380 * misc/lsetxattr.c: Likewise.
24381 * misc/lutimes.c: Likewise.
24382 * misc/madvise.c: Likewise.
24383 * misc/mincore.c: Likewise.
24384 * misc/mlock.c: Likewise.
24385 * misc/mlockall.c: Likewise.
24386 * misc/mmap.c: Likewise.
24387 * misc/mprotect.c: Likewise.
24388 * misc/msync.c: Likewise.
24389 * misc/munlock.c: Likewise.
24390 * misc/munlockall.c: Likewise.
24391 * misc/munmap.c: Likewise.
24392 * misc/preadv.c: Likewise.
24393 * misc/preadv64.c: Likewise.
24394 * misc/ptrace.c: Likewise.
24395 * misc/pwritev.c: Likewise.
24396 * misc/pwritev64.c: Likewise.
24397 * misc/readv.c: Likewise.
24398 * misc/reboot.c: Likewise.
24399 * misc/remap_file_pages.c: Likewise.
24400 * misc/removexattr.c: Likewise.
24401 * misc/revoke.c: Likewise.
24402 * misc/select.c: Likewise.
24403 * misc/setdomain.c: Likewise.
24404 * misc/setegid.c: Likewise.
24405 * misc/seteuid.c: Likewise.
24406 * misc/sethostid.c: Likewise.
24407 * misc/sethostname.c: Likewise.
24408 * misc/setregid.c: Likewise.
24409 * misc/setreuid.c: Likewise.
24410 * misc/setxattr.c: Likewise.
24411 * misc/sstk.c: Likewise.
24412 * misc/stty.c: Likewise.
24413 * misc/swapoff.c: Likewise.
24414 * misc/swapon.c: Likewise.
24415 * misc/sync.c: Likewise.
24416 * misc/syncfs.c: Likewise.
24417 * misc/syscall.c: Likewise.
24418 * misc/truncate.c: Likewise.
24419 * misc/ualarm.c: Likewise.
24420 * misc/usleep.c: Likewise.
24421 * misc/ustat.c: Likewise.
24422 * misc/utimes.c: Likewise.
24423 * misc/vhangup.c: Likewise.
24424 * misc/writev.c: Likewise.
24425 * posix/_exit.c: Likewise.
24426 * posix/alarm.c: Likewise.
24427 * posix/execve.c: Likewise.
24428 * posix/fexecve.c: Likewise.
24429 * posix/fork.c: Likewise.
24430 * posix/fpathconf.c: Likewise.
24431 * posix/getaddrinfo.c: Likewise.
24432 * posix/getegid.c: Likewise.
24433 * posix/geteuid.c: Likewise.
24434 * posix/getgid.c: Likewise.
24435 * posix/getgroups.c: Likewise.
24436 * posix/getlogin.c: Likewise.
24437 * posix/getlogin_r.c: Likewise.
24438 * posix/getpgid.c: Likewise.
24439 * posix/getpid.c: Likewise.
24440 * posix/getppid.c: Likewise.
24441 * posix/getresgid.c: Likewise.
24442 * posix/getresuid.c: Likewise.
24443 * posix/getsid.c: Likewise.
24444 * posix/getuid.c: Likewise.
24445 * posix/glob64.c: Likewise.
24446 * posix/nanosleep.c: Likewise.
24447 * posix/pathconf.c: Likewise.
24448 * posix/pause.c: Likewise.
24449 * posix/posix_madvise.c: Likewise.
24450 * posix/pread.c: Likewise.
24451 * posix/pread64.c: Likewise.
24452 * posix/pwrite.c: Likewise.
24453 * posix/pwrite64.c: Likewise.
24454 * posix/sched_getaffinity.c: Likewise.
24455 * posix/sched_getp.c: Likewise.
24456 * posix/sched_gets.c: Likewise.
24457 * posix/sched_primax.c: Likewise.
24458 * posix/sched_primin.c: Likewise.
24459 * posix/sched_rr_gi.c: Likewise.
24460 * posix/sched_setaffinity.c: Likewise.
24461 * posix/sched_setp.c: Likewise.
24462 * posix/sched_sets.c: Likewise.
24463 * posix/sched_yield.c: Likewise.
24464 * posix/setgid.c: Likewise.
24465 * posix/setlogin.c: Likewise.
24466 * posix/setpgid.c: Likewise.
24467 * posix/setresgid.c: Likewise.
24468 * posix/setresuid.c: Likewise.
24469 * posix/setsid.c: Likewise.
24470 * posix/setuid.c: Likewise.
24471 * posix/sleep.c: Likewise.
24472 * posix/spawni.c: Likewise.
24473 * posix/sysconf.c: Likewise.
24474 * posix/times.c: Likewise.
24475 * posix/wait.c: Likewise.
24476 * posix/wait3.c: Likewise.
24477 * posix/wait4.c: Likewise.
24478 * posix/waitpid.c: Likewise.
24479 * resolv/gai_sigqueue.c: Likewise.
24480 * resource/getpriority.c: Likewise.
24481 * resource/getrlimit.c: Likewise.
24482 * resource/getrusage.c: Likewise.
24483 * resource/nice.c: Likewise.
24484 * resource/setpriority.c: Likewise.
24485 * resource/setrlimit.c: Likewise.
24486 * resource/ulimit.c: Likewise.
24487 * rt/aio_cancel.c: Likewise.
24488 * rt/aio_fsync.c: Likewise.
24489 * rt/aio_read.c: Likewise.
24490 * rt/aio_sigqueue.c: Likewise.
24491 * rt/aio_suspend.c: Likewise.
24492 * rt/aio_write.c: Likewise.
24493 * rt/clock_getres.c: Likewise.
24494 * rt/clock_gettime.c: Likewise.
24495 * rt/clock_nanosleep.c: Likewise.
24496 * rt/clock_settime.c: Likewise.
24497 * rt/lio_listio.c: Likewise.
24498 * rt/mq_close.c: Likewise.
24499 * rt/mq_getattr.c: Likewise.
24500 * rt/mq_notify.c: Likewise.
24501 * rt/mq_open.c: Likewise.
24502 * rt/mq_receive.c: Likewise.
24503 * rt/mq_send.c: Likewise.
24504 * rt/mq_setattr.c: Likewise.
24505 * rt/mq_timedreceive.c: Likewise.
24506 * rt/mq_timedsend.c: Likewise.
24507 * rt/mq_unlink.c: Likewise.
24508 * rt/shm_open.c: Likewise.
24509 * rt/shm_unlink.c: Likewise.
24510 * rt/timer_create.c: Likewise.
24511 * rt/timer_delete.c: Likewise.
24512 * rt/timer_getoverr.c: Likewise.
24513 * rt/timer_gettime.c: Likewise.
24514 * rt/timer_settime.c: Likewise.
24515 * setjmp/__longjmp.c: Likewise.
24516 * setjmp/setjmp.c: Likewise.
24517 * signal/kill.c: Likewise.
24518 * signal/killpg.c: Likewise.
24519 * signal/raise.c: Likewise.
24520 * signal/sigaction.c: Likewise.
24521 * signal/sigaltstack.c: Likewise.
24522 * signal/sigblock.c: Likewise.
24523 * signal/sigignore.c: Likewise.
24524 * signal/sigintr.c: Likewise.
24525 * signal/signal.c: Likewise.
24526 * signal/sigpause.c: Likewise.
24527 * signal/sigpending.c: Likewise.
24528 * signal/sigqueue.c: Likewise.
24529 * signal/sigreturn.c: Likewise.
24530 * signal/sigset.c: Likewise.
24531 * signal/sigsetmask.c: Likewise.
24532 * signal/sigstack.c: Likewise.
24533 * signal/sigsuspend.c: Likewise.
24534 * signal/sigtimedwait.c: Likewise.
24535 * signal/sigvec.c: Likewise.
24536 * signal/sigwait.c: Likewise.
24537 * signal/sigwaitinfo.c: Likewise.
24538 * signal/sysv_signal.c: Likewise.
24539 * socket/accept.c: Likewise.
24540 * socket/accept4.c: Likewise.
24541 * socket/bind.c: Likewise.
24542 * socket/connect.c: Likewise.
24543 * socket/getpeername.c: Likewise.
24544 * socket/getsockname.c: Likewise.
24545 * socket/getsockopt.c: Likewise.
24546 * socket/isfdtype.c: Likewise.
24547 * socket/listen.c: Likewise.
24548 * socket/recv.c: Likewise.
24549 * socket/recvfrom.c: Likewise.
24550 * socket/recvmsg.c: Likewise.
24551 * socket/send.c: Likewise.
24552 * socket/sendmsg.c: Likewise.
24553 * socket/sendto.c: Likewise.
24554 * socket/setsockopt.c: Likewise.
24555 * socket/shutdown.c: Likewise.
24556 * socket/sockatmark.c: Likewise.
24557 * socket/socket.c: Likewise.
24558 * socket/socketpair.c: Likewise.
24559 * stdio-common/ctermid.c: Likewise.
24560 * stdio-common/cuserid.c: Likewise.
24561 * stdio-common/remove.c: Likewise.
24562 * stdio-common/rename.c: Likewise.
24563 * stdio-common/renameat.c: Likewise.
24564 * stdio-common/tempname.c: Likewise.
24565 * stdlib/getcontext.c: Likewise.
24566 * stdlib/makecontext.c: Likewise.
24567 * stdlib/setcontext.c: Likewise.
24568 * stdlib/swapcontext.c: Likewise.
24569 * stdlib/system.c: Likewise.
24570 * streams/fattach.c: Likewise.
24571 * streams/fdetach.c: Likewise.
24572 * streams/getmsg.c: Likewise.
24573 * streams/getpmsg.c: Likewise.
24574 * streams/putmsg.c: Likewise.
24575 * streams/putpmsg.c: Likewise.
24576 * sysdeps/unix/bsd/getpt.c: Likewise.
24577 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24578 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24579 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24581 Likewise.
24582 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24583 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24584 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24585 * sysvipc/msgctl.c: Likewise.
24586 * sysvipc/msgget.c: Likewise.
24587 * sysvipc/msgrcv.c: Likewise.
24588 * sysvipc/msgsnd.c: Likewise.
24589 * sysvipc/semctl.c: Likewise.
24590 * sysvipc/semget.c: Likewise.
24591 * sysvipc/semop.c: Likewise.
24592 * sysvipc/semtimedop.c: Likewise.
24593 * sysvipc/shmat.c: Likewise.
24594 * sysvipc/shmctl.c: Likewise.
24595 * sysvipc/shmdt.c: Likewise.
24596 * sysvipc/shmget.c: Likewise.
24597 * termios/tcdrain.c: Likewise.
24598 * termios/tcflow.c: Likewise.
24599 * termios/tcflush.c: Likewise.
24600 * termios/tcgetattr.c: Likewise.
24601 * termios/tcgetpgrp.c: Likewise.
24602 * termios/tcsendbrk.c: Likewise.
24603 * termios/tcsetattr.c: Likewise.
24604 * termios/tcsetpgrp.c: Likewise.
24605 * time/adjtime.c: Likewise.
24606 * time/clock.c: Likewise.
24607 * time/getitimer.c: Likewise.
24608 * time/gettimeofday.c: Likewise.
24609 * time/setitimer.c: Likewise.
24610 * time/settimeofday.c: Likewise.
24611 * time/stime.c: Likewise.
24612 * time/time.c: Likewise.
24613
246142012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24615
a20492cf
PT
24616 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24617 /usr/old/bin.
24618
72e182e3
PT
24619 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24620 instead of spaces.
24621 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24622
fbeafede
JM
246232012-11-03 Joseph Myers <joseph@codesourcery.com>
24624
5b5b04d6
JM
24625 [BZ #14796]
24626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24627 FE_TONEAREST before applying Dekker multiplication and Knuth
24628 addition. Clear inexact exceptions and check for exact zero
24629 results afterwards.
24630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24633 * math/libm-test.inc (fma_test): Add more tests.
24634 (fma_test_towardzero): Likewise.
24635 (fma_test_downward): Likewise.
24636 (fma_test_upward): Likewise.
24637 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24638 function.
24639 (libc_fesetround): New macro.
24640 (libc_fesetroundf): Likewise.
24641 (libc_fesetroundl): Likewise.
24642 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24643 function.
24644 (libc_fesetround_387): Likewise.
24645 (libc_fesetroundf): New macro.
24646 (libc_fesetround): Likewise.
24647 (libc_fesetroundl): Likewise.
24648 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24649 function.
24650 (libc_fesetroundf): New macro.
24651 (libc_fesetround): Likewise.
24652 (libc_fesetroundl): Likewise.
24653 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24654 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24655 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24656 libm_hidden_ver.
24657 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24658 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24659 libm_hidden_def.
24660 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24661 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24662 libm_hidden_ver.
24663 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24664 libm_hidden_def.
24665
fbeafede
JM
24666 [BZ #3439]
24667 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24668 integer constant usable in #if and use that to give value to enum
24669 constant.
24670 (FE_DIVBYZERO): Likewise.
24671 (FE_UNDERFLOW): Likewise.
24672 (FE_OVERFLOW): Likewise.
24673 (FE_INVALID): Likewise.
24674 (FE_INVALID_SNAN): Likewise.
24675 (FE_INVALID_ISI): Likewise.
24676 (FE_INVALID_IDI): Likewise.
24677 (FE_INVALID_ZDZ): Likewise.
24678 (FE_INVALID_IMZ): Likewise.
24679 (FE_INVALID_COMPARE): Likewise.
24680 (FE_INVALID_SOFTWARE): Likewise.
24681 (FE_INVALID_SQRT): Likewise.
24682 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24683 (FE_TONEAREST): Likewise.
24684 (FE_TOWARDZERO): Likewise.
24685 (FE_UPWARD): Likewise.
24686 (FE_DOWNWARD): Likewise.
24687 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24688 (FE_DIVBYZERO): Likewise.
24689 (FE_OVERFLOW): Likewise.
24690 (FE_UNDERFLOW): Likewise.
24691 (FE_INEXACT): Likewise.
24692 (FE_TONEAREST): Likewise.
24693 (FE_DOWNWARD): Likewise.
24694 (FE_UPWARD): Likewise.
24695 (FE_TOWARDZERO): Likewise.
24696 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24697 (FE_UNDERFLOW): Likewise.
24698 (FE_OVERFLOW): Likewise.
24699 (FE_DIVBYZERO): Likewise.
24700 (FE_INVALID): Likewise.
24701 (FE_TONEAREST): Likewise.
24702 (FE_TOWARDZERO): Likewise.
24703 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24704 (FE_OVERFLOW): Likewise.
24705 (FE_UNDERFLOW): Likewise.
24706 (FE_DIVBYZERO): Likewise.
24707 (FE_INEXACT): Likewise.
24708 (FE_TONEAREST): Likewise.
24709 (FE_TOWARDZERO): Likewise.
24710 (FE_UPWARD): Likewise.
24711 (FE_DOWNWARD): Likewise.
24712 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24713 (FE_DIVBYZERO): Likewise.
24714 (FE_OVERFLOW): Likewise.
24715 (FE_UNDERFLOW): Likewise.
24716 (FE_INEXACT): Likewise.
24717 (FE_TONEAREST): Likewise.
24718 (FE_DOWNWARD): Likewise.
24719 (FE_UPWARD): Likewise.
24720 (FE_TOWARDZERO): Likewise.
24721
105ca950
CM
247222012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24723
24724 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24725
a542b389
AS
247262012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24727
24728 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24729 commands. Quote $PWD.
24730 (blacklist_exports): Don't use remove_newlines. Replace "declare
24731 -x" by "export".
24732 (remove_newlines): Remove.
24733
f62c8abc
L
247342012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24735
24736 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24737 * stdlib/stdlib.h (atof): Moved to ...
24738 * include/bits/stdlib-float.h: Here. New file.
24739 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24740 * stdlib/bits/stdlib-float.h: New file.
24741 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24742 -mno-sse -mno-mmx.
24743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24744 <xmmintrin.h>.
24745
0155d5b2
JM
247462012-11-02 Joseph Myers <joseph@codesourcery.com>
24747
a68d0680
JM
24748 * conform/conformtest.pl (@headers): Add fenv.h.
24749 * conform/data/fenv.h-data: New file.
24750 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24751 include of <math/fenv.h>.
24752
caf7f573
JM
24753 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24754 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24755 && !UNIX98]. Enables tests for XOPEN2K8.
24756 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24757 POSIX2008]: Likewise.
24758
6c073ad6
JM
24759 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24760 (struct rusage): Do not expect type or its members.
24761
0155d5b2
JM
24762 [BZ #3439]
24763 * math/math.h (FP_NAN): Define macro to integer constant usable in
24764 #if and use that to give value to enum constant.
24765 (FP_INFINITE): Likewise.
24766 (FP_ZERO): Likewise.
24767 (FP_SUBNORMAL): Likewise.
24768 (FP_NORMAL): Likewise.
24769
b5dcacb4
AS
247702012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24771
24772 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24773 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24774 arguments.
24775
f7934be8
RM
247762012-11-02 Roland McGrath <roland@hack.frob.com>
24777
24778 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24779 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24780 autoconf-time if not.
24781 * configure.in: Remove AC_PREREQ.
24782
d7d08bde
TMQMF
247832012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24784
24785 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24786 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24787 of the internal implementation.
24788
dcdae19a
JM
247892012-11-02 Joseph Myers <joseph@codesourcery.com>
24790
24791 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24792 except include of <misc/sys/syslog.h>.
24793
d6cffd3e
AS
247942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24795
24796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24797 function returns with a NULL context exit with zero.
24798
b3563932
TMQMF
247992012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24800
24801 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24802
b288a93d
L
248032012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24804
24805 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24806 (run_program_cmd): This.
24807 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24808 (tst_langinfo): New variable. Use it.
24809
a2421a68
SAS
248102012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24811
24812 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24813 floating point opcodes.
24814
6f796e1b
TS
248152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24816
7402596b
TS
24817 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24818 variable.
24819
d0d4f868
TS
24820 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24821
6f796e1b
TS
24822 * sysdeps/mach/hurd/powerpc: Remove directory.
24823 * sysdeps/mach/powerpc: Likewise.
24824
4da224a2
AS
248252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24826
24827 * scripts/check-local-headers.sh: Ignore c++ headers.
24828
341dd673
TS
248292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24830
24831 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24832 __libc_cleanup_region_start argument.
24833
473611b2
JM
248342012-11-01 Joseph Myers <joseph@codesourcery.com>
24835
24836 [BZ #14784]
24837 [BZ #14785]
24838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24839 x * y using scaling, not as x * y + z.
24840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24842 * math/libm-test.inc (fma_test): Add more tests.
24843 (fma_test_towardzero): Likewise.
24844 (fma_test_downward): Likewise.
24845 (fma_test_upward): Likewise.
24846
4078da3d
TS
248472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24848
24849 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24850
903252aa
JM
248512012-10-31 Joseph Myers <joseph@codesourcery.com>
24852
24853 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24854 New variable.
24855
cbc818d0
TS
248562012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24857
24858 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24859
5a03cb1e
AS
248602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24861
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24863 Fix sort order.
24864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24865 Likewise.
24866
90aff2ff
TMQMF
248672012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24868
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24870 Fix the order of the list for glibc 2.17.
24871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24872 Likewise.
24873
1818fcb7
AS
248742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24875
24876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24877
ef82f4da
JM
248782012-10-31 Joseph Myers <joseph@codesourcery.com>
24879
16a0e2ec
JM
24880 [BZ #14610]
24881 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24882 for low part of x being zero before using __atanl (y).
24883 * math/libm-test.inc (atan2_test): Add another test.
24884
0eb69512
JM
24885 * manual/install.texi (Configuring and compiling): Document
24886 general use of test-wrapper and test-wrapper-env.
24887 * INSTALL: Regenerated.
24888
ef82f4da
JM
24889 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24890 (__fma): Do not extract and scale down low bits on after-rounding
24891 systems when result rounded to normal precision would have normal
24892 exponent.
24893 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24894 (__fmal): Do not extract and scale down low bits on after-rounding
24895 systems when result rounded to normal precision would have normal
24896 exponent.
24897 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24898 (__fmal): Do not extract and scale down low bits on after-rounding
24899 systems when result rounded to normal precision would have normal
24900 exponent.
24901 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24902 macro.
24903 (fma_test): Add more tests.
24904 (fma_test_towardzero): Likewise.
24905 (fma_test_downward): Likewise.
24906 (fma_test_upward): Likewise.
24907
954ef0d9
L
249082012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24909
24910 * sysdeps/i386/tininess.h: Renamed to ...
24911 * sysdeps/x86/tininess.h: This.
24912 * sysdeps/x86_64/tininess.h: Removed.
24913
df61ffb2
JM
249142012-10-30 Joseph Myers <joseph@codesourcery.com>
24915
24916 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24917 input. Use $(build-program-cmd).
24918 ($(objpfx)tst-array1-static.out): Likewise.
24919 ($(objpfx)tst-array2.out): Likewise.
24920 ($(objpfx)tst-array3.out): Likewise.
24921 ($(objpfx)tst-array4.out): Likewise.
24922 ($(objpfx)tst-array5.out): Likewise.
24923 ($(objpfx)tst-array5-static.out): Likewise.
24924
01767843
CM
249252012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24926
47cc1490
CM
24927 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24928 if defined.
24929
01767843
CM
24930 * nss/nsswitch.h (nss_interface_function): Provide new
24931 macro for use with NSS functions.
24932 * grp/initgroups.c: Use new macro.
24933 * nss/getXXbyYY.c: Likewise.
24934 * nss/getXXbyYY_r.c: Likewise.
24935 * nss/getXXent.c: Likewise.
24936 * nss/getXXent_r.c: Likewise.
24937 * sysdeps/posix/getaddrinfo.c: Likewise.
24938
8321aa97
AJ
249392012-10-30 Andreas Jaeger <aj@suse.de>
24940
24941 * po/ru.po: Update Russion translation from translation project.
24942
2a27fd6d
JM
249432012-10-30 Joseph Myers <joseph@codesourcery.com>
24944
8627a232
JM
24945 [BZ #14152]
24946 [BZ #14783]
24947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24948 result and shift together with sticky bit instead of replicating
24949 round-to-nearest rounding.
24950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24952 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24953 missing underflow exceptions.
24954 (fma_test_towardzero): Add more tests.
24955 (fma_test_downward): Likewise.
24956 (fma_test_upward): Likewise.
24957
2a27fd6d
JM
24958 [BZ #14047]
24959 * sysdeps/generic/tininess.h: New file.
24960 * sysdeps/i386/tininess.h: Likewise.
24961 * sysdeps/sh/tininess.h: Likewise.
24962 * sysdeps/x86_64/tininess.h: Likewise.
24963 * stdlib/tst-strtod-underflow.c: Likewise.
24964 * stdlib/tst-tininess.c: Likewise.
24965 * stdlib/strtod_l.c: Include <tininess.h>.
24966 (round_and_return): Do not set errno for exact underflow cases.
24967 Force an underflow exception when setting errno for underflow.
24968 Determine underflow based on rounding to normal precision if
24969 TININESS_AFTER_ROUNDING.
24970 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24971 ERANGE for exact underflow cases.
24972 * stdlib/Makefile (tests): Add tst-tininess and
24973 tst-strtod-underflow.
24974 ($(objpfx)tst-tininess): Use $(link-libm).
24975 ($(objpfx)tst-strtod-underflow): Likewise.
24976
e7170363
AJ
249772012-10-30 Andreas Jaeger <aj@suse.de>
24978
e5088dc6
AJ
24979 [BZ#14767]
24980 * elf/Makefile (tests): Remove conditional for have-initfini-array
24981 since this is now always required and the variable does not exist
24982 anymore.
24983 (tests-static): Likewise.
24984 (modules-names): Likewise.
24985
e7170363 24986 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24987
24988 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24989 merged with constructor/destructor.
24990 (init_array): Likewise.
24991 * elf/tst-array2dep.c (fini_array): Likewise.
24992 (init_array): Likewise.
24993
60457d8a
MF
249942012-10-29 Mike Frysinger <vapier@gentoo.org>
24995
24996 * manual/message.texi: Delete @cartouche tags.
24997
8bece752
PT
249982012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24999
94ce799f
PT
25000 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25001 EOPNOTSUPP.
25002 * sysdeps/mach/hurd/fsync.c: Likewise.
25003
8bece752
PT
25004 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25005 [_POSIX_REALTIME_SIGNALS]: Change condition to
25006 [_POSIX_REALTIME_SIGNALS > 0].
25007
86ebe6b1
AJ
250082012-10-27 Andreas Jaeger <aj@suse.de>
25009
25010 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25011 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25013 [__WORDSIZE != 64]: Likewise.
25014
54399c08
L
250152012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25016
25017 * iconvdata/tst-table.sh: Remove ${SHELL}.
25018 * iconvdata/tst-tables.sh: Likewise.
25019
e2211bed
DM
250202012-10-25 David S. Miller <davem@davemloft.net>
25021
25022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25023 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25024 of strtoull.
25025
f303f97c
DM
25026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25027 ifunc-impl-list.c
25028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25029 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25030 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25031 file.
25032
1e9d84cd
RM
250332012-10-25 Roland McGrath <roland@hack.frob.com>
25034
25035 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25036 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25037 __getdirentries.
25038
df381762
JM
250392012-10-25 Joseph Myers <joseph@codesourcery.com>
25040 Jim Blandy <jimb@codesourcery.com>
25041
25042 * scripts/cross-test-ssh.sh: New file.
25043 * manual/install.texi (Configuring and compiling): Document use of
25044 cross-test-ssh.sh.
25045 * INSTALL: Regenerated.
25046
bff64913
PT
250472012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25048
25049 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25050 EOPNOTSUPP.
25051
25fe8932
JM
250522012-10-25 Joseph Myers <joseph@codesourcery.com>
25053
25054 * Makeconfig (run-program-prefix): Fix comment.
25055
cc1290d0
JM
250562012-10-24 Joseph Myers <joseph@codesourcery.com>
25057 Jim Blandy <jimb@codesourcery.com>
25058
25059 * Makeconfig (test-wrapper): New variable,
25060 (test-wrapper-env): Likewise.
25061 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25062 (run-built-tests): Define to yes.
25063 (run-program-prefix): Use $(test-wrapper).
25064 (built-program-cmd): Likewise.
25065 * Rules (make-test-out): Use $(test-wrapper-env) and
25066 $(host-built-program-cmd).
25067 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25068 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25069 tst-pathopt.sh.
25070 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25071 $(test-wrapper-env) to tst-rtld-load-self.sh.
25072 ($(objpfx)order2.out): Use $(test-wrapper).
25073 ($(objpfx)tst-initorder.out): Likewise.
25074 ($(objpfx)tst-initorder2.out): Likewise.
25075 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25076 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25077 (test_wrapper_env): New variable. Use it to run ld.so.
25078 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25079 Use it to run ld.so.
25080 (test_wrapper_env): Likewise.
25081 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25082 $(test-wrapper) to run-iconv-test.sh.
25083 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25084 (ICONV): Use $test_wrapper.
25085 * posix/Makefile ($(objpfx)globtest.out): Pass
25086 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25087 globtest.sh, not $(run-program-prefix).
25088 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25089 (test_wrapper): Likewise.
25090 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25091 set together with run_via_rtld_prefix.
25092 (run_program_prefix): Define in terms of test_wrapper and
25093 run_via_rtld_prefix.
25094
6e6249d0
RM
250952012-10-24 Roland McGrath <roland@hack.frob.com>
25096
25097 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25098 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25099 Targets removed.
25100
25101 [BZ #14743]
25102 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25103 Declare __clock_getres, __clock_gettime, __clock_settime,
25104 __clock_nanosleep, and __clock_getcpuclockid.
25105 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25106 Remove librt_hidden_def (clock_gettime).
25107 * sysdeps/unix/clock_gettime.c: Likewise.
25108 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25110 * rt/clock_getres.c: Define __clock_getres as an alias.
25111 * sysdeps/posix/clock_getres.c: Likewise.
25112 * rt/clock_settime.c: Define __clock_settime as an alias.
25113 * sysdeps/unix/clock_settime.c: Likewise.
25114 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25115 * sysdeps/unix/clock_nanosleep.c: Likewise.
25116 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25117 * rt/clock-compat.c: New file.
25118 * rt/Makefile (librt-routines): Add clock-compat and move
25119 $(clock-routines) to ...
25120 (routines): ... here, new variable.
25121 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25122 Don't add get_clockfreq here.
25123 * rt/Versions (libc: GLIBC_2.17): New version set.
25124 Add clock_* symbols here.
25125 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25126 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25127 (GLIBC_2.17): Add clock_* symbols.
25128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25132 Likewise.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25134 Likewise.
25135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25139 * NEWS: Mention the move.
25140
25141 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25142 Use __open, __read, __close rather than their public counterparts.
25143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25144 (__get_clockfreq_via_cpuinfo): Likewise.
25145 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25146 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25147
25148 * config.h.in (HAVE_IFUNC): New #undef.
25149 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25150 was successful.
25151 * configure: Regenerated.
25152
0cae3f4b
MF
251532012-10-24 Mike Frysinger <vapier@gentoo.org>
25154
25155 * configure.in: Move READELF check to start of file.
25156 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25157 libc_cv_asm_gnu_indirect_function in the process.
25158 * configure: Regenerated.
25159
8175a253
MF
251602012-10-24 Mike Frysinger <vapier@gentoo.org>
25161
25162 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25163 send the output to /dev/null.
25164 (libc_cv_cc_with_libunwind): Likewise.
25165 (libc_cv_as_noexecstack): Likewise.
25166 * configure: Regenerate.
25167
0708a7d1
JM
251682012-10-24 Joseph Myers <joseph@codesourcery.com>
25169
10b40d85
JM
25170 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25171
0708a7d1
JM
25172 * posix/globtest.sh (TMPDIR): Do not set.
25173 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25174 (testout): Likewise.
25175
9fddec1a
AJ
251762012-10-24 Andreas Jaeger <aj@suse.de>
25177
3a8db22f
AJ
25178 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25179 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25180 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25181 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25182 posix_fadvise64, posix_fallocate64.
25183
9fddec1a
AJ
25184 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25185 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25186 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25187 Likewise.
25188 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25189 Likewise.
25190 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25191
25192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25193 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25194 <bits/fcntl-linux.h>.
25195 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25196
25197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25198 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25199 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25200 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25201 [__WORDSIZE != 64]: Likewise.
25202
ebfd1bbd
JM
252032012-10-23 Joseph Myers <joseph@codesourcery.com>
25204
03ac099f
JM
25205 * Makeconfig (run-built-tests): New variable.
25206 * Rules [$(cross-compiling) = yes]: Change condition to
25207 [$(run-built-tests) = no].
25208 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25209 to [$(run-built-tests) = yes].
25210 * elf/Makefile [$(cross-compiling) = no]: Likewise
25211 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25212 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25213 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25214 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25215 * io/Makefile [$(cross-compiling) = no]: Likewise.
25216 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25217 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25218 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25219 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25220 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25221 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25222 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25223 * string/Makefile [$(cross-compiling) = no]: Likewise.
25224
ebfd1bbd
JM
25225 * posix/Makefile ($(objpfx)globtest.out): Pass
25226 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25227 $(rtld-installed-name).
25228 * posix/globtest.sh (elf_objpfx): Remove variable.
25229 (rtld_installed_name): Likewise.
25230 (library_path): Likewise.
25231 (run_program_prefix): New variable. Use for running globtest
25232 binary.
25233
166bca24
JB
252342012-10-23 Jim Blandy <jimb@codesourcery.com>
25235 Joseph Myers <joseph@codesourcery.com>
25236
25237 * Makeconfig (host-built-program-cmd): New variable.
25238 * elf/Makefile (tst-stackguard1-ARGS): Use
25239 $(host-built-program-cmd).
25240 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25241 (tst-spawn-ARGS): Likewise.
25242 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25243
88866099
JM
252442012-10-23 Joseph Myers <joseph@codesourcery.com>
25245 Jim Blandy <jimb@codesourcery.com>
25246
25247 * Makeconfig (run-via-rtld-prefix): New variable.
25248 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25249 (built-program-cmd): Likewise.
25250
b4b4c296
AJ
252512012-10-22 Andreas Jaeger <aj@suse.de>
25252
25253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25254 __O_RSYNC if it exists, otherwise to O_SYNC.
25255
6fb54a22
JB
252562012-10-22 Jim Blandy <jimb@codesourcery.com>
25257 Joseph Myers <joseph@codesourcery.com>
25258
25259 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25260 /dev/null.
25261 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25262 from /dev/null
25263 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25264 /dev/null.
25265
481b90b9
AJ
252662012-10-22 Andreas Jaeger <aj@suse.de>
25267
2a0e2669
AJ
25268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25269 Define always.
25270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25271
76e38f9a
AJ
25272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25273 bits/fcntl-linux.h.
25274
7cd37b43
AJ
25275 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25276 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25277
481b90b9
AJ
25278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25279 to __O_LARGEFILE.
25280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25281 to __O_LARGEFILE.
25282
aba75984
JB
252832012-10-21 Jim Blandy <jimb@codesourcery.com>
25284 Joseph Myers <joseph@codesourcery.com>
25285
25286 * config.make.in (NM): New variable.
25287
88d4247f
AJ
252882012-10-21 Andreas Jaeger <aj@suse.de>
25289
25290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25291 definitions and declarations that are provided by
25292 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25293
f2eed205
L
252942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25295
25296 [BZ #14683]
25297 * elf/Makefile (tests-static): Add tst-leaks1-static.
25298 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25299 ($(objpfx)tst-leaks1-static): New rule.
25300 ($(objpfx)tst-leaks1-static-mem): Likewise.
25301 (tst-leaks1-static-ENV): New macro.
25302 * elf/dl-open.c (dl_open_worker): Check the main application
25303 only if SHARED is defined.
25304 * elf/tst-leaks1-static.c: New file.
25305
335e6931
AJ
253062012-10-20 Andreas Jaeger <aj@suse.de>
25307
25308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25309 generic values for Linux.
25310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25311 and declarations that are provided by <bits/fcntl-linux.h> and
25312 include <bits/fcntl-linux.h>.
25313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25315
ac5c94d3
RM
253162012-10-20 Roland McGrath <roland@hack.frob.com>
25317
25318 * io/fcntl.h: Move include of <bits/types.h> to the top and
25319 include it unconditionally.
25320
de54b33a
L
253212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25322
228cfb01
L
25323 * wcsmbs/Makefile (tests-ifunc): New variable.
25324 (tests): Add $(tests-ifunc).
25325 * wcsmbs/test-wcschr-ifunc.c: New file.
25326 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25327 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25328 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25329 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25330 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25331
69f07e5f
L
25332 * string/Makefile (tests-ifunc): New variable.
25333 (tests): Add $(tests-ifunc).
25334 * string/test-memccpy.c (TEST_NAME): New macro.
25335 * string/test-memchr.c (TEST_NAME): Likewise.
25336 * string/test-memcmp.c (TEST_NAME): Likewise.
25337 * string/test-memcpy.c (TEST_NAME): Likewise.
25338 * string/test-memmem.c (TEST_NAME): Likewise.
25339 * string/test-memmove.c (TEST_NAME): Likewise.
25340 * string/test-memset.c (TEST_NAME): Likewise.
25341 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25342 * string/test-stpcpy.c (TEST_NAME): Likewise.
25343 * string/test-stpncpy.c (TEST_NAME): Likewise.
25344 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25345 * string/test-strcasestr.c (TEST_NAME): Likewise.
25346 * string/test-strcat.c (TEST_NAME): Likewise.
25347 * string/test-strchr.c (TEST_NAME): Likewise.
25348 * string/test-strcmp.c(TEST_NAME): Likewise.
25349 * string/test-strcpy.c (TEST_NAME): Likewise.
25350 * string/test-strcspn.c (TEST_NAME): Likewise.
25351 * string/test-strlen.c (TEST_NAME): Likewise.
25352 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25353 * string/test-strncmp.c (TEST_NAME): Likewise.
25354 * string/test-strncpy.c (TEST_NAME): Likewise.
25355 * string/test-strnlen.c (TEST_NAME): Likewise.
25356 * string/test-strpbrk.c (TEST_NAME): Likewise.
25357 * string/test-strrchr.c (TEST_NAME): Likewise.
25358 * string/test-strspn.c (TEST_NAME): Likewise.
25359 * string/test-strstr.c (TEST_NAME): Likewise.
25360 * string/test-bcopy-ifunc.c: New file.
25361 * string/test-bzero-ifunc.c: Likewise.
25362 * string/test-memccpy-ifunc.c: Likewise.
25363 * string/test-memchr-ifunc.c: Likewise.
25364 * string/test-memcmp-ifunc.c: Likewise.
25365 * string/test-memcpy-ifunc.c: Likewise.
25366 * string/test-memmem-ifunc.c: Likewise.
25367 * string/test-memmove-ifunc.c: Likewise.
25368 * string/test-mempcpy-ifunc.c: Likewise.
25369 * string/test-memset-ifunc.c: Likewise.
25370 * string/test-rawmemchr-ifunc.c: Likewise.
25371 * string/test-stpcpy-ifunc.c: Likewise.
25372 * string/test-stpncpy-ifunc.c: Likewise.
25373 * string/test-strcasecmp-ifunc.c: Likewise.
25374 * string/test-strcasestr-ifunc.c: Likewise.
25375 * string/test-strcat-ifunc.c: Likewise.
25376 * string/test-strchr-ifunc.c: Likewise.
25377 * string/test-strchrnul-ifunc.c: Likewise.
25378 * string/test-strcmp-ifunc.c: Likewise.
25379 * string/test-strcpy-ifunc.c: Likewise.
25380 * string/test-strcspn-ifunc.c: Likewise.
25381 * string/test-strlen-ifunc.c: Likewise.
25382 * string/test-strncasecmp-ifunc.c: Likewise.
25383 * string/test-strncat-ifunc.c: Likewise.
25384 * string/test-strncmp-ifunc.c: Likewise.
25385 * string/test-strncpy-ifunc.c: Likewise.
25386 * string/test-strnlen-ifunc.c: Likewise.
25387 * string/test-strpbrk-ifunc.c: Likewise.
25388 * string/test-strrchr-ifunc.c: Likewise.
25389 * string/test-strspn-ifunc.c: Likewise.
25390 * string/test-strstr-ifunc.c: Likewise.
25391
de54b33a
L
25392 * debug/Makefile (tests-ifunc): New variable.
25393 (tests): Add $(tests-ifunc).
25394 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25395 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25396 * debug/test-stpcpy_chk-ifunc.c: New file.
25397 * debug/test-strcpy_chk-ifunc.c: Likewise.
25398
88481c16
SP
253992012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25400
25401 [BZ #13601]
25402 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25403 header is not read in.
25404
135948bd
JM
254052012-10-19 Joseph Myers <joseph@codesourcery.com>
25406
89f1c388
JM
25407 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25408 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25409 directly. Pass built executable to script as
25410 $(built-program-cmd).
25411 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25412 $testprogram without using LD_LIBRARY_PATH and $ldso.
25413
e40a0d21
JM
25414 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25415 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25416 $(rtld-installed-name).
25417 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25418 (rtld_installed_name): Likewise.
25419 (library_path): Likewise.
25420 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25421 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25422 $(run-program-prefix) to tst-tables.sh.
25423 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25424 it to run tst-table-from and tst-table-to.
25425 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25426 Pass it to tst-table.sh.
25427 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25428 $(run-program-prefix) to tst-gettext.sh.
25429 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25430 tst-translit.sh.
25431 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25432 tst-gettext2.sh.
25433 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25434 to run tst-gettext.
25435 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25436 to run tst-gettext2.
25437 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25438 to run tst-translit.
25439 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25440 $(run-program-prefix) to tst-mtrace.sh.
25441 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25442 to run tst-mtrace.
25443 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25444 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25445 $(rtld-installed-name).
25446 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25447 (rtld_installed_name): Likewise.
25448 (run_program_prefix): New variable. Use it to run wordexp-test.
25449
728e272a
JM
25450 * Makeconfig (ARCH): Remove all definitions.
25451 (machine): Likewise.
25452 [ARCH]: Remove conditional code.
25453 [!objdir]: Give error.
25454 [!objdir] (objpfx): Remove.
25455 [!objdir] (common-objpfx): Likewise.
25456 [!objdir] (common-objdir): Likewise.
25457 * configure.in (config_makefile): Remove. Hardcode Makefile in
25458 AC_CONFIG_FILES call.
25459 * configure: Regenerated.
25460
d528cdcf
JM
25461 [BZ #13888]
25462 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25463 or TMPDIR.
25464 (testout): Likewise.
25465
135948bd
JM
25466 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25467 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25468 $(rtld-installed-name).
25469 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25470 (rtld_installed_name): Likwise.
25471 (runit): Remove function.
25472 (run_getconf): New variable, Use it for running getconf binary.
25473
38c78296
L
254742012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25475
25476 [BZ #14716]
25477 * string/test-memmem.c (check_result): New function.
25478 (do_one_test): Use it.
25479 (check1): New function.
25480 (test_main): Use it.
25481
d077f65f
MT
254822012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25483
25484 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25485
ced52c71
JM
254862012-10-18 Joseph Myers <joseph@codesourcery.com>
25487
25488 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25489 (_G_LSEEK64): Likewise.
25490 (_G_MMAP64): Likewise.
25491 (_G_FSTAT64): Likewise.
25492 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25493 (_G_LSEEK64): Likewise.
25494 (_G_MMAP64): Likewise.
25495 (_G_FSTAT64): Likewise.
25496 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25497 unconditional. Call __mmap64 directly.
25498 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25499 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25500 __lseek64 directly.
25501 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25502 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25503 __mmap64 directly.
25504 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25505 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25506 __lseek64 directly.
25507 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25508 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25509 __lseek64 directly.
25510 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25511 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25512 __lseek64 directly.
25513 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25514 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25515 __fxstat64 directly.
25516 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25517 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25518 unconditional.
25519 (freopen64) [!_G_OPEN64]: Remove conditional code.
25520 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25521 unconditional.
25522 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25523 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25524 unconditional.
25525 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25526 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25527 unconditional.
25528 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25529 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25530 unconditional.
25531 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25532 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25533 unconditional.
25534 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25535 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25536 unconditional.
25537 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25538 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25539 unconditional.
25540 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25541
b741de23
SP
255422012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25543
25544 [BZ #12140]
25545 * manual/memory.texi (Malloc Tunable Parameters): Add note
25546 about free list pointers overwriting some perturb bytes.
25547 Wording suggested by Roland McGrath.
25548
f9b9d9c9
JM
255492012-10-17 Joseph Myers <joseph@codesourcery.com>
25550
25551 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25552 (lgamma_test): Likewise.
25553 (tgamma_test): Likewise.
25554
172a631a
FW
255552012-10-16 Florian Weimer <fweimer@redhat.com>
25556
25557 [BZ #14700]
25558 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25559 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25560
e9f37252
MK
255612012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25562
25563 * NEWS: Mention BZ #14716.
25564 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25565 when removing AVAILABLE1_USES_J macro.
25566
d394eb74
L
255672012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25570 (__bswap_64): __uint64_t for unsigned 64-bit int.
25571
ca38dc17
AS
255722012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25573
25574 * include/string.h (memmem): Declare libc hidden alias.
25575 * string/memmem.c (memmem): Define libc hidden alias.
25576 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25577 __read, __close instead of open, read, close.
25578
9a387d1f
L
255792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25580
ac49ecaf
L
25581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25582 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25583 global and hidden.
25584 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25585 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25586 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25587 Likewise.
25588 (__rawmemchr_sse2): Likewise.
25589 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25590 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25591 (__strchr_sse2): Likewise.
25592 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25593 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25594 (__strcasecmp_sse2): Likewise.
25595 (__strncasecmp_sse2): Likewise.
25596 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25597 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25598 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25599 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25600 (__strrchr_sse2): Likewise.
25601 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25602 ifunc-impl-list.c.
25603 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25604 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25605 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25606 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25607 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25608 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25609 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25610 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25611 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25612 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25613 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25614 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25615 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25616 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25617 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25618 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25619 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25620 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25621 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25622 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25623 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25624 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25625 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25626 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25627 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25629 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25630 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25631 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25632 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25633
b090e8ea
L
25634 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25635 global and hidden.
25636 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25637 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25638 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25639 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25640 Likewise.
25641 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25642 Likewise.
25643 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25644 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25645 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25646 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25647 ifunc-impl-list.c.
25648 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25649 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25650 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25651 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25652 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25653 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25654 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25655 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25664 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25666 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25669 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25670 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25671 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25673 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25674 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25675 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25676 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25677 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25678 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25679 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25680 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25681 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25682 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25683 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25685 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25686 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25687 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25688 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25689
11dd4af6
L
25690 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25691 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25692 * include/ifunc-impl-list.h: New file.
25693 * misc/ifunc-impl-list.c: Likewise.
25694 * misc/Makefile (routines): Add ifunc-impl-list.
25695 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25696 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25697 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25698 TEST_NAME]: New variables.
11dd4af6
L
25699 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25700 are defined.
25701 (test_init): Call __libc_ifunc_impl_list to initialize
25702 func_list if TEST_IFUNC and TEST_NAME are defined.
25703
9a387d1f
L
25704 * string/Makefile (strop-tests): Add bcopy and bzero.
25705 * string/test-bcopy.c: New file.
25706 * string/test-bzero.c: Likewise.
25707 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25708 defined.
25709 * string/test-memset.c: Support bzero test if TEST_BZERO is
25710 defined.
25711 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25712 __libc_memmove.
25713 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25714 __libc_memset.
25715 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25716 of memset.
25717
472371b9
JM
257182012-10-10 Joseph Myers <joseph@codesourcery.com>
25719
1e4a9536
JM
25720 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25721 * configure: Regenerated.
25722
d173d12e
JM
25723 * Makeconfig (+link-static-before-libc): Don't include
25724 $(link-static-libc).
25725
472371b9
JM
25726 * libio/libio.h (_IO_pos_t): Remove.
25727
89a3ad0b
AO
257282012-10-10 Alexandre Oliva <aoliva@redhat.com>
25729
25730 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25731 McGrath.
25732
e7451425
AO
257332012-10-10 Alexandre Oliva <aoliva@redhat.com>
25734
25735 * crypt/crypt-entry.c: Include fips-private.h.
25736 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25737 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25738 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25739 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25740
4ba74a35
AO
257412012-10-10 Alexandre Oliva <aoliva@redhat.com>
25742
25743 * crypt/crypt-private.h: Include stdbool.h.
25744 (_ufc_setup_salt_r): Return bool.
25745 * crypt/crypt-entry.c: Include errno.h.
25746 (__crypt_r): Return NULL with EINVAL for bad salt.
25747 * crypt/crypt_util.c (bad_for_salt): New.
25748 (_ufc_setup_salt_r): Check that salt is long enough and within
25749 the specified alphabet.
25750 * crypt/badsalttest.c: New file.
25751 * crypt/Makefile (tests): Add it.
25752 ($(objpfx)badsalttest): New.
25753
f96f1242
MK
257542012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25755
25756 * NEWS: Add entry for BZ #14602.
25757
0e8e0c1c
JM
257582012-10-09 Joseph Myers <joseph@codesourcery.com>
25759
25760 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25761 type-generic.
25762 * math/libm-test.inc: Update comment listing what functions and
25763 macros are tested.
25764 (isgreater_test): New function.
25765 (isgreaterequal_test): Likewise.
25766 (isless_test): Likewise.
25767 (islessequal_test): Likewise.
25768 (islessgreater_test): Likewise.
25769 (isunordered_test): Likewise.
25770 (main): Call the new functions.
25771
273edc5e
RM
257722012-10-09 Roland McGrath <roland@hack.frob.com>
25773
b8493de0
RM
25774 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25775 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25776 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25777 * sysdeps/i386/configure: Regenerated.
25778 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25779 * sysdeps/mach/configure: Regenerated.
25780 * sysdeps/mach/hurd/configure: Regenerated.
25781 * sysdeps/powerpc/configure: Regenerated.
25782 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25783 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25784 * sysdeps/s390/s390-32/configure: Regenerated.
25785 * sysdeps/s390/s390-64/configure: Regenerated.
25786 * sysdeps/sh/configure: Regenerated.
25787 * sysdeps/sparc/configure: Regenerated.
25788 * sysdeps/unix/sysv/linux/configure: Regenerated.
25789 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25790 * sysdeps/x86_64/configure: Regenerated.
25791
273edc5e
RM
25792 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25793 defined. Don't check if MAP is NULL.
25794
c8450f70
JM
257952012-10-09 Joseph Myers <joseph@codesourcery.com>
25796
25797 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25798 (_G_stat64): Likewise.
25799 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25800 (_G_stat64): Likewise.
25801 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25802 instead of struct _G_stat64.
25803 * libio/fileops.c (mmap_remap_check): Likewise.
25804 (decide_maybe_mmap): Likewise.
25805 (_IO_new_file_seekoff): Likewise.
25806 (_IO_file_stat): Likewise.
25807 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25808 _G_off64_t.
25809 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25810 instead of struct _G_stat64.
25811 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25812
57e605ba
MK
258132012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25814
25815 [BZ #14602]
25816 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25817 Replace with ...
25818 (CHECK_EOL): New macro.
25819 (two_way_short_needle): Check beginning of haystack for EOL. Use
25820 CHECK_EOL.
25821 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25822 Replace with CHECK_EOL.
25823 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25824 Replace with CHECK_EOL.
25825
ef1bb361
JM
258262012-10-08 Joseph Myers <joseph@codesourcery.com>
25827
25828 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25829 type-generic.
25830 * math/libm-test.inc: Update comment listing what functions and
25831 macros are tested.
25832 (finite_test): New function.
25833 (isinf_test): Likewise.
25834 (isnan_test): Likewise.
25835 (fpclassify_test): Test subnormal input.
25836 (isfinite_test): Likewise.
25837 (isnormal_test): Likewise.
25838 (main): Call the new functions.
25839
55f11534
JN
258402012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25841
25842 [BZ #14660]
25843 * Makerules (%.dynsym): Force C locale when running
25844 $(OBJDUMP) --dynamic-syms.
25845
1ab29350
AS
258462012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25847
25848 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25849 <stdint.h>.
25850
f1ecb7ef
DM
258512012-10-06 David S. Miller <davem@davemloft.net>
25852
25853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25854 upper 32-bits of the length value in %o2 since we use branch-on-register
25855 tests which consider the entire 64-bit register.
25856
5d41d91a
L
258572012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25858
25859 * string/test-strstr.c (check2): Add a test for page boundary.
25860
3baddb72
DM
258612012-10-05 David S. Miller <davem@davemloft.net>
25862
25863 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25864 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25865 file.
25866 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25867 sysdep_routines.
25868 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25869 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25870 and bzero when HWCAP_SPARC_CRYPTO is present.
25871
9cee5585
L
258722012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25873
d7e0dab9
L
25874 [BZ #14602]
25875 * string/test-strstr.c (check2): New function.
25876 (test_main): Call check2.
25877
03759f47
L
25878 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25879 and bug-strchr1.
25880 * string/bug-strcasestr1.c (do_test): Moved to ...
25881 * string/test-strcasestr.c (check1): Here. New function.
25882 (do_one_test): Break out result checking code into ...
25883 (check_result): This. New function.
25884 (do_one_test): Call check_result.
25885 (test_main): Call check1.
25886 * string/bug-strchr1.c (do_test): Moved to ...
25887 * string/test-strchr.c (check1): Here. New function.
25888 (do_one_test): Break out result checking code into ...
25889 (check_result): This. New function.
25890 (do_one_test): Call check_result.
25891 (test_main): Call check1.
25892 * string/bug-strstr1.c (main): Moved to ...
046f153e 25893 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25894 (do_one_test): Break out result checking code into ...
25895 (check_result): This. New function.
25896 (do_one_test): Call check_result.
25897 (test_main): Call check1.
25898 * string/bug-strcasestr1.c: Removed.
25899 * string/bug-strchr1.c: Likewise.
25900 * string/bug-strstr1.c: Likewise.
25901
53cea63e
L
25902 * elf/Makefile (dl-routines): Add hwcaps.
25903 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25904 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25905 (_dl_important_hwcaps): Moved to ...
25906 * elf/dl-hwcaps.c: Here. New file.
25907 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25908
9cee5585 25909 [BZ #14557]
bb859b06
L
25910 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25911 if IS_IN_rtld isn't defined.
25912
9cee5585
L
25913 * elf/dl-support.c (_dl_sysinfo_map): New.
25914 Include "get-dynamic-info.h" and "setup-vdso.h".
25915 (_dl_non_dynamic_init): Call setup_vdso.
25916 * elf/dynamic-link.h: Don't include <assert.h>.
25917 (elf_get_dynamic_info): Moved to ...
25918 * elf/get-dynamic-info.h: Here. New file.
25919 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25920 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25921 * elf/setup-vdso.h: Here. New file.
25922 * elf/rtld.c: Include "setup-vdso.h".
25923 (dl_main): Call setup_vdso.
25924
23c31b76
JM
259252012-10-05 Joseph Myers <joseph@codesourcery.com>
25926
28234b07
JM
25927 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25928 creal in comment listing functions tested. List finite, isinf,
25929 isnan, isless, islessequal, isgreater, isgreaterequal,
25930 islessgreater, isunordered, lgamma_r and pow10 as functions and
25931 macros not tested. Mention which functions not tested are aliases
25932 for other functions. Fix typo. Note that signs of NaNs are not
25933 tested.
25934
23c31b76
JM
25935 * scripts/config.guess: Update from config.git.
25936 * scripts/config.sub: Likewise.
25937
9043e228
RM
259382012-10-04 Roland McGrath <roland@hack.frob.com>
25939
25940 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25941 * misc/madvise.c (madvise): Renamed to __madvise.
25942 Make madvise a weak alias.
25943 * include/sys/mman.h: Declare __madvise.
25944 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25945 * sysdeps/unix/syscalls.list
25946 (madvise): Make __madvise the strong name, and madvise a weak alias.
25947 * sysdeps/unix/sysv/linux/syscalls.list
25948 (madvise, mmap): Remove redundant entries.
25949 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25950 * malloc/malloc.c (mtrim): Likewise.
25951 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25952
f57f8055
RM
259532012-10-03 Roland McGrath <roland@hack.frob.com>
25954
25955 * sysdeps/mach/hurd/dl-cache.c: File removed.
25956 * config.h.in (USE_LDCONFIG): New #undef.
25957 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25958 * configure: Regenerated.
25959 * elf/Makefile (dl-routines): Add dl-cache only under
25960 [$(use-ldconfig) = yes].
25961 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25962 cache on [USE_LDCONFIG].
25963 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25964 [USE_LDCONFIG].
25965 * elf/rtld.c (dl_main): Likewise.
25966
5bb0c10a
PT
259672012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25968
25969 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25970 _SC_LEVEL4_CACHE_LINESIZE.
25971
010188c6
RM
259722012-10-03 Roland McGrath <roland@hack.frob.com>
25973
25974 * sysdeps/unix/bsd/confstr.h: File removed.
25975
b6c5ec07
AO
259762012-10-02 Alexandre Oliva <aoliva@redhat.com>
25977
25978 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25979 sys/sdt-config.h.
25980
408223d4
RM
259812012-10-02 Roland McGrath <roland@hack.frob.com>
25982
25983 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25984 Make 'mapoff' field ElfW(Off) rather than off_t.
25985
bb9510dc
DL
259862012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25987
fc997c6e
DL
25988 * nscd/Makefile: Remove nscd-cflags and all its users.
25989 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25990 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25991
bb9510dc
DL
25992 [BZ #10631]
25993 * malloc.c (malloc_printerr): Clarify error message.
25994
05699367
L
259952012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25996
25997 [BZ #14648]
25998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25999 Set bit_FMA_Usable if FMA is supported.
26000 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26001 macro.
26002 (bit_FMA4_Usable): Updated.
26003 (index_FMA_Usable): New macro.
26004 (CPUID_FMA): Likewise
26005 (HAS_FMA): Defined with bit_FMA_Usable.
26006
51367701
RM
260072012-10-01 Roland McGrath <roland@hack.frob.com>
26008
26009 * bits/types.h (__swblk_t): Type removed.
26010 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26011 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26013 (__SWBLK_T_TYPE): Likewise.
26014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26015 (__SWBLK_T_TYPE): Likewise.
26016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26017 (__SWBLK_T_TYPE): Likewise.
26018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26019 (__SWBLK_T_TYPE): Likewise.
26020
4d57bf63 260212012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26022 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26023
26024 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26025 (xdr_mapname): Use YPMAXMAP as maxsize.
26026 (xdr_peername): Use YPMAXPEER as maxsize.
26027 (xdr_keydat): Use YPAXRECORD as maxsize.
26028 (xdr_valdat): Use YPMAXRECORD as maxsize.
26029
93c65d43
RM
260302012-10-01 Roland McGrath <roland@hack.frob.com>
26031
497a03d6
RM
26032 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26033
93c65d43
RM
26034 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26035 * csu/init-first.c: ... here.
26036 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26037 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26038 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26039 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26040 * sysdeps/i386/init-first.c: File removed.
26041 * sysdeps/sh/init-first.c: File removed.
26042
bec749fd
JM
260432012-10-01 Joseph Myers <joseph@codesourcery.com>
26044
26045 [BZ #14645]
26046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26047 if x * y might underflow to zero and z is zero.
26048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26050 * math/libm-test.inc (min_subnorm_value): New variable.
26051 (fma_test): Add more tests.
26052 (fma_test_towardzero): Likewise.
26053 (fma_test_downward): Likewise
26054 (fma_test_upward): Likewise.
26055 (initialize): Set min_subnorm_value.
26056
8ec5b013
JM
260572012-09-29 Joseph Myers <joseph@codesourcery.com>
26058
26059 [BZ #14638]
26060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26061 0 + 0.
26062 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26063 mode for addition resulting in exact zero.
26064 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26066 exact 0 + 0.
26067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26069 * math/libm-test.inc (fma_test): Add more tests.
26070 (fma_test_towardzero): New function.
26071 (fma_test_downward): Likewise.
26072 (fma_test_upward): Likewise.
26073 (main): Call the new functions.
26074
b1fa802e
DM
260752012-09-28 David S. Miller <davem@davemloft.net>
26076
26077 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26078
d3b9fd9e
RM
260792012-09-28 Roland McGrath <roland@hack.frob.com>
26080
ea4d37b3
RM
26081 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26082 instead of SIGALRM.
26083
ac51c949
RM
26084 * sysdeps/gnu/_G_config.h: Moved to ...
26085 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26086 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26087 * sysdeps/generic/_G_config.h: ... here.
26088
28c195f7
RM
26089 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26090
848917f9
RM
26091 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26092
6bacf05b
RM
26093 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26094 Conditionalize target on [libnss_test1.so-version].
26095
91363dbb
RM
26096 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26097
cc87f7d8
RM
26098 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26099 (elfobjdir): Move out of conditionals.
26100
b1c608fe
RM
26101 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26102 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26103 (__nss_lookup_function): Conditionalize label remove_from_tree on
26104 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26105
1d9a6d96
DM
261062012-09-28 David S. Miller <davem@davemloft.net>
26107
26108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26109 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26110 file.
26111 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26112 sysdep_routines.
26113 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26115 when HWCAP_SPARC_CRYPTO is present.
26116
72581615
PT
261172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26118
26119 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26120
715a900c
JL
261212012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26122
26123 [BZ #6530]
26124 * stdio-common/vfprintf.c (process_string_arg): Revert
26125 2000-07-22 change.
26126
261272011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26128
26129 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26130 for testcase.
26131 * stdio-common/tst-sprintf.c: Include <locale.h>
26132 (main): Test sprintf's handling of incomplete multibyte
26133 characters.
26134
9bac1d86
L
261352012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26136
26137 * elf/dl-runtime.c (VERSYMIDX): Removed.
26138 * elf/dl-version.c (VERSYMIDX): Likewise.
26139 * elf/do-rel.h (VERSYMIDX): Likewise.
26140 (VALIDX): Likewise.
26141 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26142 * elf/rtld.c (VALIDX): Likewise.
26143 (ADDRIDX): Likewise.
9bac1d86
L
26144 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26145 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26146 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26147 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26148 (VALIDX): Likewise.
26149 (ADDRIDX): Likewise.
9bac1d86 26150
b31606c0
PT
261512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26152
26153 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26154
11541177
JL
261552012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26156
26157 [BZ #11438]
26158 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26159 to global scope.
26160 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26161 addresses are in the same scope as 192.0.2/24.
26162 * posix/gai.conf: Document new scope table defaults.
26163
adb26fae
SP
261642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26165
26166 [BZ #5298]
26167 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26168 for ftell. Compute offsets from write pointers instead.
26169 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26170
4573c6b0
SP
261712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26172
26173 [BZ #14543]
26174 * libio/Makefile (tests): New test case tst-fseek.
26175 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26176 combination works in wide mode.
26177 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26178 state when the external buffer state changes.
26179
aa9bbfe6
DM
261802012-09-27 David S. Miller <davem@davemloft.net>
26181
26182 [BZ #14376]
26183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26184 pass reloc->r_addend in as the 'high' argument to
26185 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26186
784421e7
DM
26187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26188
c39bc8b8
PT
261892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26190
26191 * rt/tst-aio2.c: Include <pthread.h>.
26192 * rt/tst-aio3.c: Likewise.
26193
1ccc2399
SE
261942012-09-27 Steve Ellcey <sellcey@mips.com>
26195
26196 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26197
31ed4153
L
261982012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26199
25f5f885
L
26200 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26201 contents on [SHARED].
31ed4153 26202
b7bfe116
MP
262032012-09-26 Marek Polacek <polacek@redhat.com>
26204
26205 [BZ #14530]
26206 [BZ #13741]
26207 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26208 for C++ and GCC <4.3 as well as for non GCC compilers.
26209
43c4edba
MT
262102012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26211
26212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26213
6a1bf82f
RM
262142012-09-25 Roland McGrath <roland@hack.frob.com>
26215
26216 * Makefile.in (all, install): Declare with .PHONY.
26217 Reported by Michael Hope <michael.hope@linaro.org>.
26218
8ad11b9a
TMQMF
262192012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26220
26221 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26222 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26223 system header.
26224 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26225 Likewise.
26226 (sydep_routines): Add the new and the internal functions.
26227 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26228 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26230 (GLIBC_2.17): Add the new function.
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26232 (GLIBC_2.17): Likewise.
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26234 (GLIBC_2.17): Likewise.
26235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26236 (GLIBC_2.17): Likewise.
26237 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26238
7e2fca8d
AM
262392012-09-25 Alan Modra <amodra@gmail.com>
26240
26241 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26242 Add release barrier before setting once_control to say
26243 initialisation is done. Add hints on lwarx. Use macro in
26244 place of isync.
26245 (clear_once_control): Add release barrier.
26246
b87c4b24
JM
262472012-09-25 Joseph Myers <joseph@codesourcery.com>
26248
d032e0d2
JM
26249 [BZ #13629]
26250 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26251 specially.
26252 * math/s_clog10.c (__clog10): Likewise.
26253 * math/s_clog10f.c (__clog10f): Likewise.
26254 * math/s_clog10l.c (__clog10l): Likewise.
26255 * math/s_clogf.c (__clogf): Likewise.
26256 * math/s_clogl.c (__clogl): Likewise.
26257 * math/Makefile (libm-calls): Add x2y2m1.
26258 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26259 (__x2y2m1): Likewise.
26260 (__x2y2m1l): Likewise.
26261 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26262 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26265 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26267 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26268 * sysdeps/i386/fpu/libm-test-ulps: Update.
26269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26270
b87c4b24
JM
26271 [BZ #14621]
26272 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26273 int as type of variable DEPTH.
26274 (glob): Use size_t instead of int as type of variables NEWCOUNT
26275 and OLD_PATHC.
26276
6d3bf199
LD
262772012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26278
22bf5c17
LD
26279 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26280 Add s_sincosf-sse2.
26281 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26282 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26283 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26284 macros for using routine as __sincosf_ia32.
26285 Use macro for function declaration and weak_alias.
26286 * sysdeps/i386/fpu/libm-test-ulps: Update.
26287
26288 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26290
26291 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26292 subnormal argument.
26293 * math/s_cexpf.c (__cexpf): Likewise.
26294 * math/s_csinf.c (__csinf): Likewise.
26295 * math/s_csinhf.c (__csinhf): Likewise.
26296 * math/s_ctanf.c (__ctanf): Likewise.
26297 * math/s_ctanhf.c (__ctanhf): Likewise.
26298 * math/s_ccosh.c (__ccoshf): Likewise.
26299 * math/s_cexp.c (__cexpl): Likewise.
26300 * math/s_csin.c (__csin): Likewise.
26301 * math/s_csinh.c (__csinh): Likewise.
26302 * math/s_ctan.c (__ctan): Likewise.
26303 * math/s_ctanh.c (ctanh): Likewise.
26304 * math/s_ccoshl.c (__ccoshl): Likewise.
26305 * math/s_cexpl.c (__cexpl): Likewise.
26306 * math/s_csinl.c (__csinl): Likewise.
26307 * math/s_csinhl.c (__csinhl): Likewise.
26308 * math/s_ctanl.c (__ctanl): Likewise.
26309 * math/s_ctanhl.c (__ctanhl): Likewise.
26310
203e5603
JM
263112012-09-25 Joseph Myers <joseph@codesourcery.com>
26312
26313 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26314 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26315 (_IO_off_t): Define to __off_t, not _G_off_t.
26316 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26317 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26318 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26319 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26320 type of __dummy and __dummy2 fields.
26321 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26322 (_G_ssize_t): Likewise.
26323 (_G_off_t): Likewise.
26324 (_G_pid_t): Likewise.
26325 (_G_uid_t): Likewise.
26326 (_G_wchar_t): Likewise.
26327 (_G_wint_t): Likewise.
26328 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26329 (_G_ssize_t): Likewise.
26330 (_G_off_t): Likewise.
26331 (_G_pid_t): Likewise.
26332 (_G_uid_t): Likewise.
26333 (_G_wchar_t): Likewise.
26334 (_G_wint_t): Likewise.
26335 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26336 (_G_ssize_t): Likewise.
26337 (_G_off_t): Likewise.
26338 (_G_pid_t): Likewise.
26339 (_G_uid_t): Likewise.
26340 (_G_wchar_t): Likewise.
26341 (_G_wint_t): Likewise.
26342
9fab36eb
SP
263432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26344
26345 * malloc/arena.c: Include malloc-sysdep.h.
26346 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26347 is sufficient to shrink the heap or an unmap is needed.
26348 * sysdeps/generic/malloc-sysdep.h: New file. Define
26349 new function check_may_shrink_heap.
26350 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26351 new function check_may_shrink_heap.
26352
2b4f00d1
SP
263532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26354
26355 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26356 comments.
26357
9a9028b1
DL
263582012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26359
57c69bef
DL
26360 * catgets/test-gencat.sh: Add "set -e".
26361 * elf/tst-pathopt.sh: Likewise.
26362 * grp/tst_fgetgrent.sh: Likewise.
26363 * iconvdata/run-iconv-test.sh: Likewise.
26364 * intl/tst-gettext.sh: Likewise.
26365 * intl/tst-gettext2.sh: Likewise.
26366 * intl/tst-gettext4.sh: Likewise.
26367 * intl/tst-gettext6.sh: Likewise.
26368 * intl/tst-translit.sh: Likewise.
26369 * io/ftwtest-sh: Likewise.
26370 * libio/test-freopen.sh: Likewise.
26371 * malloc/tst-mtrace.sh: Likewise.
26372 * posix/globtest.sh: Likewise.
26373 * posix/tst-getconf.sh: Likewise.
26374 * posix/wordexp-tst.sh: Likewise.
26375 * stdio-common/tst-printf.sh: Likewise.
26376 * stdio-common/tst-unbputc.sh: Likewise.
26377 * stdlib/tst-fmtmsg.sh: Likewise.
26378 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26379 * catgets/Makefile: Do not specify -e option when running
26380 testsuite shell scripts.
26381 * elf/Makefile: Likewise.
26382 * grp/Makefile: Likewise.
26383 * iconvdata/Makefile: Likewise.
26384 * intl/Makefile: Likewise.
26385 * io/Makefile: Likewise.
26386 * libio/Makefile: Likewise.
26387 * malloc/Makefile: Likewise.
26388 * posix/Makefile: Likewise.
26389 * stdio-common/Makefile: Likewise.
26390 * stdlib/Makefile: Likewise.
26391 * sysdeps/x86_64/Makefile: Likewise.
26392
9a9028b1
DL
26393 * io/ftwtest-sh: Add copyright header.
26394 * posix/globtest.sh: Likewise.
26395 * posix/tst-getconf.sh: Likewise.
26396 * posix/wordexp-tst.sh: Likewise.
26397 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26398
ced6f16e
L
263992012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26400
94b32c39
L
26401 [BZ #13679]
26402 * Makeconfig (+link): Defined as $(+link-static) if
26403 $(build-shared) isn't yes.
26404 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26405 isn't yes.
26406 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26407
189e935b
L
26408 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26409
ced6f16e
L
26410 [BZ #14562]
26411 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26412 new chunk size with MALLOC_ALIGN_MASK.
26413
a9f8e53a
JM
264142012-09-24 Joseph Myers <joseph@codesourcery.com>
26415
26416 [BZ #5044]
26417 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26418 <rounding-mode.h>.
26419 (__printf_fphex): Determine rounding using get_rounding_mode and
26420 round_away.
26421 * stdio-common/tst-printf-round.c (struct hex_test): New
26422 structure.
26423 (hex_tests): New variable.
26424 (test_hex_in_one_mode): New function.
26425 (do_test): Also run tests for hex float output.
26426
43153109
JM
264272012-09-21 Joseph Myers <joseph@codesourcery.com>
26428
26429 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26430 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26431 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26432 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26433 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26434 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26435 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26436 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26437
8a26625d
JM
264382012-09-20 Joseph Myers <joseph@codesourcery.com>
26439
26440 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26441 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26442 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26443 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26444
f3fd569c
DL
264452012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26446
26447 [BZ #14579]
26448 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26449 mode only.
26450 * elf/tst-rtld-load-self.sh: New test.
26451 * elf/Makefile: Run it.
26452
63bbedd4
JM
264532012-09-18 Joseph Myers <joseph@codesourcery.com>
26454
26455 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26456 (tst-writev-ENV): Remove.
26457 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26458
626f8b6a
CM
264592012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26460
26461 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26462
b7aaa4d6
JM
264632012-09-17 Joseph Myers <joseph@codesourcery.com>
26464
26465 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26466 unconditional.
26467 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26468 Likewise.
26469 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26470 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26471 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26472 Likewise.
26473
65513990
L
264742012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26475
26476 [BZ #14587]
26477 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26478 * config.make.in (have-cpp-asm-debuginfo): Removed.
26479 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26480 * configure: Regenerated.
26481
784761be
JM
264822012-09-14 Joseph Myers <joseph@codesourcery.com>
26483
26484 [BZ #5044]
26485 * stdio-common/printf_fp.c: Include <stdbool.h> and
26486 <rounding-mode.h>.
26487 (___printf_fp): Determine rounding using get_rounding_mode and
26488 round_away.
26489 * stdio-common/tst-printf-round.c: New file.
26490 * stdio-common/Makefile (tests): Add tst-printf-round.
26491 (link-libm): New variable.
26492 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26493
9503345f
L
264942012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26495
26496 [BZ #14576]
26497 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26498 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26499 Likewise.
26500 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26501 Likewise.
26502
ad35fc00
JM
265032012-09-13 Joseph Myers <joseph@codesourcery.com>
26504
26505 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26506 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26507 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26509
6c9b0f68
JM
265102012-09-12 Joseph Myers <joseph@codesourcery.com>
26511
26512 [BZ #14518]
26513 * include/rounding-mode.h: New file.
26514 * sysdeps/generic/get-rounding-mode.h: Likewise.
26515 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26516 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26517 (MAX_VALUE): New macro.
26518 (MIN_VALUE): Likewise.
26519 (overflow_value): New function.
26520 (underflow_value): Likewise.
26521 (round_and_return): Use overflow_value and underflow_value to
26522 determine return values in overflow and underflow cases. Use
26523 round_away to determine rounding depending on rounding mode.
26524 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26525 determine return values in overflow and underflow cases.
26526 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26527 (struct test_results): New structure.
26528 (struct test): Use struct test_results to store expected results
26529 for all rounding modes.
26530 (TEST): Include expected results for all rounding modes.
26531 (test_in_one_mode): New function.
26532 (do_test): Use test_in_one_mode to compute and check results.
26533 Check results for all rounding modes.
26534 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26535 $(link-libm).
26536
19fcedd5
AM
265372012-12-09 Allan McRae <allan@archlinux.org>
26538
1e9d84cd 26539 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26540
8bbfd2f1
JM
265412012-09-11 Joseph Myers <joseph@codesourcery.com>
26542
26543 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26544 (_G_int32_t): Likewise.
26545 (_G_uint16_t): Likewise.
26546 (_G_uint32_t): Likewise.
26547 (_G_HAVE_BOOL): Likewise.
26548 (_G_HAVE_ATEXIT): Likewise.
26549 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26550 (_G_HAVE_IO_FILE_OPEN): Likewise.
26551 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26552 (_G_int32_t): Likewise.
26553 (_G_uint16_t): Likewise.
26554 (_G_uint32_t): Likewise.
26555 (_G_HAVE_BOOL): Likewise.
26556 (_G_HAVE_ATEXIT): Likewise.
26557 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26558 (_G_HAVE_IO_FILE_OPEN): Likewise.
26559 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26560 (_G_int32_t): Likewise.
26561 (_G_uint16_t): Likewise.
26562 (_G_uint32_t): Likewise.
26563 (_G_HAVE_BOOL): Likewise.
26564 (_G_HAVE_ATEXIT): Likewise.
26565 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26566 (_G_HAVE_IO_FILE_OPEN): Likewise.
26567
b1dc5912
L
265682012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26569
26570 * csu/libc-tls.c: Update copyright years.
26571
0e886ef9
JM
265722012-09-10 Joseph Myers <joseph@codesourcery.com>
26573
28361c5e
JM
26574 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26575 [!_G_USING_THUNKS]: Remove conditional code.
26576 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26577 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26578
0e886ef9
JM
26579 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26580 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26581 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26582 (_G_VTABLE_LABEL_PREFIX): Likewise.
26583 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26584 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26585 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26586 (_G_VTABLE_LABEL_PREFIX): Likewise.
26587 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26588 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26589 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26590 (_G_VTABLE_LABEL_PREFIX): Likewise.
26591 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26592
bcba7aa2
L
265932012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26594
26595 * libio/Makefile: Include ../Makeconfig before tests.
26596 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26597 only if $(build-shared) is yes.
26598
06585ee8
L
26599 * iconv/gconv_db.c: Update copyright years.
26600
80ccd52c
LD
266012012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26602
26603 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26604 unwind info if defined PIC. Fix special cases description.
26605 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26606
26607 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26608 DP_HI_MASK entry.
26609 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26610
691bc9c1
L
266112012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26612
3d9b46b3
L
26613 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26614
de2139a9
L
26615 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26616 is NULL.
26617
5ca78dd0
L
26618 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26619 (LDLIBS-tst-chk4): This.
26620 (LDFLAGS-tst-chk5): Renamed to ...
26621 (LDLIBS-tst-chk5): This.
26622 (LDFLAGS-tst-chk6): Renamed to ...
26623 (LDLIBS-tst-chk6): This.
26624 (LDFLAGS-tst-lfschk4): Renamed to ...
26625 (LDLIBS-tst-lfschk4): This.
26626 (LDFLAGS-tst-lfschk5): Renamed to ...
26627 (LDLIBS-tst-lfschk5): This.
26628 (LDFLAGS-tst-lfschk6): Renamed to ...
26629 (LDLIBS-tst-lfschk6): This.
26630
691bc9c1
L
26631 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26632 on $(common-objpfx)soversions.mk.
26633
65cafb1c
JM
266342012-09-07 Joseph Myers <joseph@codesourcery.com>
26635
26636 [BZ #10014]
26637 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26638 example host name.
26639
c78ab094
SP
266402012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26641
26642 * malloc/arena.c (arena_get_retry): New function that gets
26643 another arena for the caller to try its request on.
26644 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26645 current arena cannot fulfill the request.
26646 (__libc_memalign): Likewise.
26647 (__libc_memalign): Likewise.
26648 (__libc_pvalloc): Likewise.
26649 (__libc_calloc): Likewise.
26650
01f49f59
JT
266512012-09-05 John Tobey <john.tobey@gmail.com>
26652
26653 [BZ #13542]
26654 * manual/arith.texi (Operations on Complex): Fix description
26655 of carg branch cut.
26656
4c23fed5
JM
266572012-09-06 Joseph Myers <joseph@codesourcery.com>
26658
1d3c8572
JM
26659 [BZ #10014]
26660 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26661 host name.
26662
4c23fed5
JM
26663 [BZ #10038]
26664 * manual/memory.texi (Memory): Make order of menu items match
26665 order of sections.
26666
04570aaa
L
266672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26668
26669 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26670 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26671 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26672
b80af2f4
L
266732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26674
26675 * csu/libc-tls.c (static_dtv): Renamed to ...
26676 (_dl_static_dtv): This. Make it global.
26677 (_dl_initial_dtv): Removed.
26678 (__libc_setup_tls): Updated.
26679 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26680 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26681 DL_INITIAL_DTV.
26682
2abe9f15
PM
266832012-09-06 Petr Machata <pmachata@redhat.com>
26684
26685 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26686 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26687 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26688 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26689
0948c3af
L
266902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26691
26692 [BZ #14545]
26693 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26694 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26695 freeing dtv[-1].
26696
a5055ad1
L
266972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26698
26699 [BZ #14544]
26700 * Makeconfig (link-static-before-libc): Replace $(+prector)
26701 with $(+prectorT).
26702 (link-static-after-libc): Replace $(+postctor) with
26703 $(+postctorT).
26704 (link-bounded): Replace $(+prector)/$(+postctor) with
26705 $(+prectorT)/$(+postctorT).
26706 (+prectorT): New macro.
26707 (+postctorT): Likewise.
26708
ed8c2ecd
JM
267092012-09-06 Joseph Myers <joseph@codesourcery.com>
26710
26711 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26712 (round_str): Handle values above the maximum for IBM long double
26713 as inexact.
26714 * stdlib/tst-strtod-round.c (tests): Regenerated.
26715
14c996c8
AK
267162012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26717
26718 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26719 assembler flag.
26720 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26721 zarch_nohighgprs around the zarch optimized routines.
26722 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26723 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26725 for zarch.
26726
430d6ce6
DM
267272012-09-05 David S. Miller <davem@davemloft.net>
26728
26729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26730
57f41c40
AS
26731 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26732 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26733 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26734 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26735 entries.
26736
24d4e01b
AO
267372012-09-05 Alexandre Oliva <aoliva@redhat.com>
26738
26739 * malloc/arena.c: Fold copyright years.
26740 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26741
61d58174
AO
267422012-09-05 Alexandre Oliva <aoliva@redhat.com>
26743
26744 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26745
20196a5e
AO
267462012-09-05 Alexandre Oliva <aoliva@redhat.com>
26747
26748 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26749
5c447383
AO
267502012-09-05 Alexandre Oliva <aoliva@redhat.com>
26751
26752 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26753 change internal state upon failure.
26754
fad64255
AO
267552012-09-05 Alexandre Oliva <aoliva@redhat.com>
26756
26757 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26758 * malloc/memusage.c (mmap): Likewise.
26759 (mmap64, mremap): Likewise. Adjust name in comment.
26760
1ffb8c90
SP
267612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26762
26763 * libio/fileops.c: Fix typos in comments.
26764 * libio/oldfileops.c: Likewise.
26765 * libio/wfileops.c: Likewise.
26766
6ef9cc37
SP
267672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26768
26769 [BZ #1349]
26770 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26771 (tst-malloc-usable-ENV): Set environment for test case.
26772 * malloc/hooks.c (malloc_check_get_size): New function to get
26773 requested size.
26774 * malloc/malloc.c (musable): Use malloc_check_get_size.
26775 * malloc/tst-malloc-usable.c: New test case.
26776
4d038ae3
AS
267772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26778
26779 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26780
c4e85184
AM
267812012-09-05 Allan McRae <allan@archlinux.org>
26782
b9dafc56 26783 [BZ #13966]
c4e85184
AM
26784 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26785 determine header location.
26786 * configure: Regenerated.
26787
e1343020
AS
267882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26789
26790 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26791 float format.
26792 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26793 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26794 format.
e1343020
AS
26795 (test): Regenerate.
26796
0a9f1987
DM
267972012-09-04 David S. Miller <davem@davemloft.net>
26798
26799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26801 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26802
29237804
FW
268032012-09-04 Florian Weimer <fweimer@redhat.com>
26804
26805 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26806 failures.
26807
edb3cb88
FW
26808 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26809
60160d83
JM
268102012-09-04 Joseph Myers <joseph@codesourcery.com>
26811
26812 [BZ #9914]
26813 * libio/iogetdelim.c: Include <limits.h>.
26814 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26815 + len + 1 would overflow.
26816
bcd6c8dc
AJ
268172012-09-03 Andreas Jaeger <aj@suse.de>
26818
26819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821
4ffffbd2
LD
268222012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26823
26824 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26825 Add s_sinf-sse2, s_conf-sse2.
26826
26827 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26828 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26829 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26830 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26831
26832 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26833 for using routine as __sinf_ia32.
26834 Use macro for function declaration and weak_alias.
26835 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26836 for using routine as __cosf_ia32.
26837 Use macro for function declaration and weak_alias.
26838
26839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26840 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26841
26842 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26843 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26845
26846 * math/libm-test.inc (cos_test): Add more test cases.
26847 (sin_test): Likewise.
26848 (sincos_test): Likewise.
26849
511fa286
AK
268502012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26851
26852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26853 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26854 hidden.
26855 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26856
5f30cfec
L
268572012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26858
26859 [BZ #14538]
26860 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26861 first element of the GOT.
26862 (elf_machine_load_address): Return the difference between
26863 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26864
0786794f
AM
268652012-09-01 Allan McRae <allan@archlinux.org>
26866
5f30cfec
L
26867 [BZ #13412]
26868 * configure.in (AWK): Require gawk version 3.0 or later.
26869 * configure: Regenerated.
0786794f 26870
26889eac
JM
268712012-09-01 Joseph Myers <joseph@codesourcery.com>
26872
26873 * sysdeps/unix/sysv/linux/kernel-features.h
26874 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26876 [__NR_clock_getres]: Make code unconditional.
26877 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26878 (clock_getcpuclockid): Remove code left unreachable by removal of
26879 conditionals.
26880 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26881 code unconditional.
26882 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26883 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26884 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26885 Make code unconditional.
26886 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26888 * sysdeps/unix/sysv/linux/clock_settime.c
26889 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26890 conditional code.
26891 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26892 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26893
d22e28b0
L
268942012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26895
26896 [BZ #14476]
26897 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26898 scripts/test-installation.pl.
26899
26900 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26901 and $ld_so_version if it is set.
26902
050af9c4
SP
269032012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26904
26905 [BZ #14516]
26906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26907 failure if reading from procfs failed.
26908 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26909
ad845c0b
JM
269102012-08-27 Joseph Myers <joseph@codesourcery.com>
26911
26912 * sysdeps/unix/sysv/linux/kernel-features.h
26913 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26914 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26915 Remove conditional code.
26916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26917 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26918 Remove conditional code.
26919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26920 * sysdeps/unix/sysv/linux/i386/fxstat.c
26921 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26923 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26924 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26926 * sysdeps/unix/sysv/linux/i386/lxstat.c
26927 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26929 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26930 Remove conditional code.
26931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26932 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26933 Remove conditional code.
26934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26935 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26936 <kernel-features.h>.
26937 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26938 Remove.
26939 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26940 Remove conditional code.
26941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26942 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26943 Remove conditional.
26944
5dbf56af
MF
269452012-08-27 Mike Frysinger <vapier@gentoo.org>
26946
26947 [BZ #5400]
26948 * NEWS: Add fixed bug number.
26949
d6e70f43
JM
269502012-08-27 Joseph Myers <joseph@codesourcery.com>
26951
7efb4737
JM
26952 [BZ #14519]
26953 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26954 underflowing exponent in case of negative sign.
26955 * stdlib/tst-strtod-round-data: Add more tests.
26956 * stdlib/tst-strtod-round.c (tests): Regenerated.
26957
af92131a
JM
26958 [BZ #3479]
26959 * stdlib/strtod_l.c (NDIG): Remove.
26960 (HEXNDIG): Likewise.
26961 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26962 smallest representable value.
26963 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26964 lie within an exact representation of 1/2 ulp of the result.
26965 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26966 unconditionally.
26967 (TENS_P9_IDX): Define unconditionally.
26968 (TENS_P9_SIZE): Likewise.
26969 (TENS_P10_IDX): Likewise.
26970 (TENS_P10_SIZE): Likewise.
26971 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26972 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26973 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26974 entries for 10^2^13 and 10^2^14.
26975 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26976 (TENS_P13_IDX): Define.
26977 (TENS_P13_SIZE): Likewise.
26978 (TENS_P14_IDX): Likewise.
26979 (TENS_P14_SIZE): Likewise.
26980 (_fpioconst_pow10): Change array size to
26981 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26982 unconditional.
26983 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26984 1024]: Add entries for 10^2^13 and 10^2^14.
26985 [LAST_POW10 > _LAST_POW10]: Remove #error.
26986 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26987 (_fpioconst_pow10): Change array size to
26988 FPIOCONST_POW10_ARRAY_SIZE.
26989 * stdlib/gen-fpioconst.c: New file.
26990 * stdlib/gen-tst-strtod-round.c: Likewise.
26991 * stdlib/tst-strtod-round-data: Likewise.
26992 * stdlib/tst-strtod-round.c: Likewise.
26993 * stdlib/Makefile (tests): Add tst-strtod-round.
26994
d6e70f43
JM
26995 [BZ #14459]
26996 * stdlib/strtod_l.c: Include <stdint.h>.
26997 (NDEBUG): Do not define.
26998 (round_and_return): Change EXPONENT parameter to type intmax_t.
26999 Rearrange calculations to avoid internal overflow possibilities.
27000 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27001 Rearrange calculations to avoid internal overflow possibilities.
27002 Assert that number fits inside MPNSIZE limbs.
27003 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27004 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27005 calculations and add assertions to avoid internal overflow
27006 possibilities. Add casts to avoid signed/unsigned operations.
27007 * stdlib/tst-strtod-overflow.c: New file.
27008 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27009
1f529f7d
MP
270102012-08-25 Marek Polacek <polacek@redhat.com>
27011
27012 * time/time.h: Fix some typos in comments.
27013
59a629f1
RM
270142012-08-23 Roland McGrath <roland@hack.frob.com>
27015
27016 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27017 * posix/tst-rfc3484-2.c: Likewise.
27018 * posix/tst-rfc3484-3.c: Likewise.
27019
d3bafbc9
SM
270202012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27021
27022 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27023 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27024
4efcc022
JM
270252012-08-23 Joseph Myers <joseph@codesourcery.com>
27026
27027 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27028 #include of fxstatat64.c.
27029
3cc3ef96
RM
270302012-08-22 Roland McGrath <roland@hack.frob.com>
27031
f04e2132
RM
27032 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27033 * shadow/getspent_r.c: Likewise.
27034 * shadow/getspnam.c: Likewise.
27035 * shadow/getspnam_r.c: Likewise.
27036 * gshadow/getsgent.c: Likewise.
27037 * gshadow/getsgent_r.c: Likewise.
27038 * gshadow/getsgnam.c: Likewise.
27039 * gshadow/getsgnam_r.c: Likewise.
27040 * inet/getnetbyad.c: Likewise.
27041 * inet/getnetbyad_r.c: Likewise.
27042 * inet/getnetbynm.c: Likewise.
27043 * inet/getnetbynm_r.c: Likewise.
27044 * inet/getnetent.c: Likewise.
27045 * inet/getnetent_r.c: Likewise.
27046 * inet/getproto.c: Likewise.
27047 * inet/getproto_r.c: Likewise.
27048 * inet/getprtent.c: Likewise.
27049 * inet/getprtent_r.c: Likewise.
27050 * inet/getprtname.c: Likewise.
27051 * inet/getprtname_r.c: Likewise.
27052 * inet/getrpcbyname.c: Likewise.
27053 * inet/getrpcbyname_r.c: Likewise.
27054 * inet/getrpcbynumber.c: Likewise.
27055 * inet/getrpcbynumber_r.c: Likewise.
27056 * inet/getrpcent.c: Likewise.
27057 * inet/getrpcent_r.c: Likewise.
27058 * inet/getaliasent.c: Likewise.
27059 * inet/getaliasent_r.c: Likewise.
27060 * inet/getaliasname.c: Likewise.
27061 * inet/getaliasname_r.c: Likewise.
27062 * nscd/getgrgid_r.c: Likewise.
27063 * nscd/getgrnam_r.c: Likewise.
27064 * nscd/gethstbyad_r.c: Likewise.
27065 * nscd/gethstbynm3_r.c: Likewise.
27066 * nscd/getpwnam_r.c: Likewise.
27067 * nscd/getpwuid_r.c: Likewise.
27068 * nscd/getsrvbynm_r.c: Likewise.
27069 * nscd/getsrvbypt_r.c: Likewise.
27070 * nscd/gai.c: Likewise.
27071
c53d909c
RM
27072 * configure.in (build_nscd): New substituted variable, set
27073 by --disable-build-nscd and defaults to $use_nscd.
27074 * configure: Regenerated.
27075 * config.make.in (build-nscd): New substituted variable.
27076 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27077 Change conditional to require [$(build-nscd) = yes] as well.
27078 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27079
3cc3ef96
RM
27080 [BZ# 13696]
27081 * configure.in (use_nscd): New substituted variable, set by
27082 --disable-nscd. If enabled, define USE_NSCD.
27083 * configure: Regenerated.
27084 * config.h.in: Add USE_NSCD.
27085 * config.make.in (use-nscd): New substituted variable.
27086 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27087 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27088 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27089 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27090 (CFLAGS-getgrnam_r.c): Likewise.
27091 (CFLAGS-initgroups.c): Likewise.
27092 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27093 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27094 Variables removed.
27095 * inet/getnetgrent_r.c
27096 (nscd_setnetgrent): New function, broken out of ...
27097 (setnetgrent): ... here. Call it.
27098 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27099 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27100 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27101 * nscd/Makefile (routines, aux): Move definitions after include of
27102 Makeconfig. Conditionalize on [$(use-nscd) != no].
27103 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27104 Conditionalize on [USE_NSCD].
27105 (is_nscd, nscd_init_cb): Likewise.
27106 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27107 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27108 * nss/nss_db/db-init.c: Likewise.
27109 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27110 [USE_NSCD].
27111 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27112 (make_request): Use it.
27113 (cache_valid_p): New function.
27114 (__check_pf): Use it.
27115 * NEWS: Add item for --disable-nscd.
27116
07e51550
DL
271172012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27118
27119 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27120 to support sed >= 4.2.1-20-ga9bf076.
27121 * configure: Regenerated.
27122
35a5b08b
RM
271232012-08-22 Roland McGrath <roland@hack.frob.com>
27124
27125 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27126 Conditionalize whole body on [IREL].
27127
8479f23a
JL
271282012-08-22 Jeff Law <law@redhat.com>
27129
27130 [BZ #14505]
27131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27132 if the family is PF_UNSPEC.
27133
48da0b21
MF
271342012-08-22 Mike Frysinger <vapier@gentoo.org>
27135
27136 * Makerules (lib-version): Rename from V.
27137 (install-lib-nosubdir): Change V to lib-version.
27138
15d0da8c
WS
271392012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27140
27141 [BZ #14252]
27142 * powerpc32/power6/wcschr.c: New file.
27143 * powerpc32/power6/wcscpy.c: New file.
27144 * powerpc32/power6/wcsrchr.c: New file.
27145 * powerpc64/power6/wcschr.c: New file.
27146 * powerpc64/power6/wcscpy.c: New file.
27147 * powerpc64/power6/wcsrchr.c: New file.
27148
bcca0895
MK
271492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27150
27151 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27152 (two_way_short_needle): Use it.
5a4aaa33
RM
27153 * string/strstr.c (AVAILABLE1_USES_J): Define.
27154 * string/strcasestr.c: Likewise.
99677e57
MK
27155
27156 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27157 array references.
27158 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27159
400726de
MK
27160 [BZ #11607]
27161 * NEWS: Add an entry.
27162 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27163 define their defaults.
27164 (two_way_short_needle): Detect end-of-string on-the-fly.
27165 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27166 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27167 * string/bug-strcasestr1.c: New test.
27168 * string/Makefile: Run it.
27169
20a71f2c
MK
271702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27171
27172 [BZ #11607]
27173 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27174 the first character.
27175
21ad0558
RM
271762012-08-21 Roland McGrath <roland@hack.frob.com>
27177
27178 * csu/elf-init.c (__libc_csu_irel): Function removed.
27179 * csu/libc-start.c (apply_irel): New function.
27180 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27181
0e1d9911
JM
271822012-08-21 Joseph Myers <joseph@codesourcery.com>
27183
27184 * sysdeps/unix/sysv/linux/kernel-features.h
27185 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27186 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27187 <kernel-features.h>.
27188 [__NR_fadvise64_64]: Make code unconditional.
27189 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27190 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27191 !__NR_fadvise64_64)]: Likewise.
27192 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27193 !__NR_fadvise64_64))]: Likewise.
27194 [__NR_fadvise64]: Make code unconditional.
27195 [!__NR_fadvise64]: Remove conditional code.
27196 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27197 <kernel-features.h>.
27198 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27199 unconditional.
27200 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27201 conditional code.
27202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27203 not include <kernel-features.h>.
27204 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27205 unconditional.
27206 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27207 conditional code.
27208 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27209 include <kernel-features.h>.
27210 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27211 unconditional.
27212 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27213 conditional code.
27214
14a50c9d
WS
272152012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27216
27217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27218 slight instruction rearrangements per scrollpipe analysis.
27219 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27220
c0f4faf0
RM
272212012-08-20 Roland McGrath <roland@hack.frob.com>
27222
696da859
RM
27223 * manual/syslog.texi (syslog; vsyslog, closelog):
27224 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27225 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27226
c0f4faf0
RM
27227 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27228 DSOCAPS to match condition on defining it.
27229
348363b2
JM
272302012-08-20 Joseph Myers <joseph@codesourcery.com>
27231
a35cbf28
JM
27232 * sysdeps/unix/sysv/linux/kernel-features.h
27233 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27235 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27236 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27238 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27239 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27241 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27242 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27243
445f7ecd
JM
27244 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27245 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27246
348363b2
JM
27247 * sysdeps/unix/sysv/linux/kernel-features.h
27248 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27249 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27250 unconditional.
27251 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27252 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27253 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27254 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27255 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27256 Make code unconditional.
27257 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27258 (__mmap64) [!__NR_mmap2]: Likewise.
27259 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27260 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27261 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27262 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27263 [__NR_mmap2]: Make code unconditional.
27264 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27265 (__mmap64) [!__NR_mmap2]: Likewise.
27266
bc5bc0e5
AK
272672012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27268
27269 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27270
88d506de
AJ
272712012-08-18 Andreas Jaeger <aj@suse.de>
27272
27273 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27274
493387d2
MF
272752012-08-18 Mike Frysinger <vapier@gentoo.org>
27276
27277 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27278 * include/unistd.h (__have_sock_cloexec): Likewise.
27279 (__have_pipe2): Likewise.
27280 (__have_dup3): Likewise.
27281
a277af22
MF
272822012-08-18 Mike Frysinger <vapier@gentoo.org>
27283
27284 [BZ #9685]
27285 * include/unistd.h (__have_pipe2): Change define into an extern int.
27286 (__have_dup3): Likewise.
27287 * socket/have_sock_cloexec.c: Include fcntl.h.
27288 (__have_pipe2): New variable.
27289 (__have_dup3): Likewise.
27290
fdab8fd3
MF
272912012-08-17 Mike Frysinger <vapier@gentoo.org>
27292
27293 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27294
31035e80
MP
272952012-08-17 Marek Polacek <polacek@redhat.com>
27296
27297 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27298 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27299
3bd9e993
RM
273002012-08-17 Roland McGrath <roland@hack.frob.com>
27301
c91c505f
RM
27302 * configure.in: Add AC_SUBST for sysheaders.
27303 * configure: Regenerated.
27304 * config.make.in (sysheaders): New substituted variable.
27305
7c6f9d53
RM
27306 * sysdeps/unix/mkfifo.c: Moved ...
27307 * sysdeps/posix/mkfifo.c: ... here.
27308 * sysdeps/unix/mkfifoat.c: Moved ...
27309 * sysdeps/posix/mkfifoat.c: ... here.
27310
27311 * sysdeps/unix/utime.c: Moved ...
27312 * sysdeps/posix/utime.c: ... here.
27313
27314 * sysdeps/unix/time.c: Moved ...
27315 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27316 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27317 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27318
27319 * sysdeps/unix/nice.c: Moved ...
27320 * sysdeps/posix/nice.c: ... here.
27321
27322 * sysdeps/unix/alarm.c: Moved ...
27323 * sysdeps/posix/alarm.c: ... here.
27324
3bd9e993
RM
27325 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27326
d1f09384
JL
273272012-08-17 Jeff Law <law@redhat.com>
27328
27329 * intl/Makefile (codeset_mo): New variable.
27330 ($(codeset_mo)): New target.
27331 (tst-codeset.out): Depend on that. Remove explicit rule.
27332 (tst-gettext3.out, tst-gettext5.out): Likewise.
27333 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27334 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27335 * intl/tst-codeset.sh: Remove.
27336 * intl/tst-gettext3.sh: Likewise.
27337 * intl/tst-gettext5.sh: Likewise.
27338
2ae1ae5c
RM
273392012-08-17 Roland McGrath <roland@hack.frob.com>
27340
c31fdb83
RM
27341 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27342 * sysdeps/unix/syscalls.list: ... here.
27343
a0844057
RM
27344 * sysdeps/posix/getaddrinfo.c
27345 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27346 (gaiconf_init, gaiconf_reload): Use them.
27347 [!_STATBUF_ST_NSEC]
27348 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27349 Define using time_t rather than struct timespec.
27350
750c1f2a
RM
27351 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27352 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27353 Macros removed.
27354 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27355 [!NO_THREADS].
27356 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27357 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27358 Likewise.
27359
2ae1ae5c
RM
27360 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27361 __libc_cleanup_push argument.
27362
e66a42f5
RM
27363 * bits/param.h: New file.
27364 * misc/sys/param.h: New file.
27365 * include/sys/param.h: New file.
27366 * misc/Makefile (headers): Add bits/param.h.
27367 * sysdeps/generic/sys/param.h: File removed.
27368 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27369 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27370 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27371 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27372
b7c08a66
RM
27373 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27374 last change.
27375
b2e1c562
RM
27376 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27377 [_IO_MTSAFE_IO].
27378 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27379 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27380 New macros.
27381
c75ccd4c
RM
27382 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27383 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27384 rather than -D_IO_MTSAFE_IO conditionally.
27385 * stdio-common/Makefile (CPPFLAGS): Likewise.
27386 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27387 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27388 Use $(libio-mtsafe).
27389 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27390 of -D_IO_MTSAFE_IO.
27391 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27392 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27393 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27394 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27395 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27396 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27397 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27398 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27399 (CFLAGS-fread_u_chk.c): Likewise.
27400 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27401 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27402 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27403 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27404 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27405 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27406 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27407 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27408 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27409
27410 * libio/Makefile: Test [$(libc-reentrant) = yes]
27411 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27412
27413 * Makeconfig
27414 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27415 * sysdeps/pthread/configure: File removed.
27416 * sysdeps/pthread/Makeconfig: New file.
27417 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27418 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27419
d9195db8
GB
274202012-08-16 Gary Benson <gbenson@redhat.com>
27421
27422 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27423 unmapping the first object in a namespace.
27424
86466cd9
RM
274252012-08-16 Roland McGrath <roland@hack.frob.com>
27426
27427 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27428 (__internal_setnetgrent): ... this. Add internal_function to
27429 definition. Add libc_hidden_def.
27430 (setnetgrent): Update caller.
27431 (internal_endnetgrent): Renamed to ...
27432 (__internal_endnetgrent): ... this. Add internal_function to
27433 definition. Add libc_hidden_def.
27434 (endnetgrent): Update caller.
27435 (internal_getnetgrent_r): Renamed to ...
27436 (__internal_getnetgrent_r): ... this. Add internal_function to
27437 definition. Add libc_hidden_def.
27438 (__getnetgrent_r): Update caller.
27439 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27440
c3c8283c
JM
274412012-08-16 Joseph Myers <joseph@codesourcery.com>
27442
27443 * stdlib/longlong.h: Update from GCC.
27444
db1ee0a8
RM
274452012-08-16 Roland McGrath <roland@hack.frob.com>
27446
27447 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27448 on _QL, which is set by umul_ppmm but never used.
27449 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27450 variables, which are set by GMP macros but never used.
27451 * stdio-common/_itowa.c (_itowa): Likewise.
27452 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27453 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27454
30f69637
CD
274552012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27456
27457 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27458 struct La_sh_regs is not constant.
27459 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27460 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27461 and struct La_sparc64_regs are not constant.
27462
93a78ac4
JM
274632012-08-16 Joseph Myers <joseph@codesourcery.com>
27464
27465 * sysdeps/unix/sysv/linux/kernel-features.h
27466 (__ASSUME_POSIX_TIMERS): Remove.
27467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27468 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27469 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27470 Make code unconditional.
27471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27472 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27473 Make code unconditional.
27474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27475 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27476 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27478 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27479 Make code unconditional.
27480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27481 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27482 (__libc_missing_posix_timers): Remove.
27483
dd924cd7
RM
274842012-08-15 Roland McGrath <roland@hack.frob.com>
27485
4b4f2771
RM
27486 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27487 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27488
601c888b
RM
27489 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27490
176790a7
RM
27491 * elf/dl-sym.c: Include <stdlib.h>.
27492
329bc018
RM
27493 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27494 constants, which avoids warnings in 32-bit builds.
27495
e04e272d
RM
27496 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27497 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27498
952bf94a
RM
27499 * misc/lseek.c: File moved to ...
27500 * io/lseek.c: ... here.
27501
7c99b50a
RM
27502 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27503
dd924cd7
RM
27504 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27505 shifting LEN more than 31 bits at once.
27506
b3f479a8
LD
275072012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27508
27509 [BZ #14195]
8c4ae0d4
RM
27510 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27511 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27512 * string/test-strncasecmp.c (check1): Renamed to...
27513 (bz12205): ...this.
27514 (bz14195): Add new testcase for two empty input strings and N > 0.
27515 (test_main): Call new testcase, adapt for renamed function.
27516
9c55864e
AJ
275172012-08-15 Andreas Jaeger <aj@suse.de>
27518
27519 [BZ #14090]
27520 * crypt/md5test2.c: New test, based on test supplied by Serge
27521 Belyshev <belyshev@depni.sinp.msu.ru>.
27522 * crypt/Makefile (xtests): Add md5test-giant..
27523 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27524
02dcb6c5
PE
275252012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27526
27527 [BZ #14090]
27528 * crypt/md5.c (md5_process_block): Don't assume the buffer
27529 length is less than 2**32.
27530 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27531 length is less than 2**64.
27532
a3f95dcc
RM
275332012-08-15 Roland McGrath <roland@hack.frob.com>
27534
be75d758
RM
27535 * string/str-two-way.h: Include <sys/param.h>.
27536 (MAX): Macro removed.
27537
7312ca90
RM
27538 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27539 Move #define and #undef of memmove to just before and after
27540 including <string.h>.
27541
9a0a5486
RM
27542 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27543 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27544 and after including <string.h>. Move declarations of
27545 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27546 to before #include "string/memmove.c".
27547
67cc348d
RM
27548 * include/dirent.h: Declare __getdirentries.
27549
a3f95dcc
RM
27550 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27551 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27552
ca98e171
MF
275532012-08-14 Mike Frysinger <vapier@gentoo.org>
27554
27555 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27556 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27557 * sysdeps/i386/configure: Regenerated.
27558 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27559 STABS_CURRENT_FILE, and STABS_FUN.
27560 (END): Remove call to STABS_FUN_END.
27561 (STABS_CURRENT_FILE1): Delete.
27562 (STABS_CURRENT_FILE): Likewise.
27563 (STABS_FUN): Likewise.
27564 (STABS_FUN_END): Likewise.
27565 (STABS_FUN2): Likewise.
27566 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27567 * sysdeps/x86_64/configure: Regenerated.
27568
5908bf46
RM
275692012-08-14 Roland McGrath <roland@hack.frob.com>
27570
27571 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27572 * elf/dl-lookup.c: Likewise.
5908bf46 27573
f2c05b9e
JM
275742012-08-14 Joseph Myers <joseph@codesourcery.com>
27575
27576 * sysdeps/unix/sysv/linux/kernel-features.h
27577 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27578 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27579 unconditionally.
27580 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27581 unconditionally.
27582 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27583 condition on __ASSUME_CLONE_THREAD_FLAGS.
27584
e11f5155
AJ
275852012-08-14 Andreas Jaeger <aj@suse.de>
27586
27587 * sysdeps/i386/fpu/libm-test-ulps: Update.
27588
51a9ba86
MK
275892012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27590
2fdd4f78
AJ
27591 * include/atomic.h (atomic_exchange_and_add): Split into ...
27592 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27593 New atomic macros.
51a9ba86 27594
ba6cba9e
MT
275952012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27596
27597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27598
42443a47
JL
275992012-08-13 Jeff Law <law@redhat.com>
27600
27601 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27602 null byte in the output string.
27603
121dce05
JM
276042012-08-10 Joseph Myers <joseph@codesourcery.com>
27605
27606 * sysdeps/unix/sysv/linux/kernel-features.h
27607 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27608 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27609 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27610 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27611 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27612 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27613 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27614
bf51f568
JL
276152012-08-09 Jeff Law <law@redhat.com>
27616
27617 [BZ #13939]
27618 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27619 When avoid_arena is set, don't retry in the that arena. Pick the
27620 next one, whatever it might be.
27621 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27622 (arena_lock): Pass in new parameter to arena_get2.
27623 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27624 arena_get2.
27625 (__libc_malloc): Unify retrying after main arena failure with
27626 __libc_memalign version.
27627 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27628
f85fa270
L
276292012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27630
27631 [BZ #14166]
27632 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27633 to __redirect_strstr.
27634 (__strstr_sse42): Use typeof __redirect_strstr.
27635 (__strstr_ia32): Likewise.
27636 (__libc_strstr): New prototype.
27637 (strstr): Renamed to ...
27638 (__libc_strstr): This.
27639 (strstr): New strong alias of __libc_strstr.
27640 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27641 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27642 __redirect_time.
27643 Include <time.h>.
27644 (__libc_time): New prototype.
27645 (time_ifunc): Replace time with __libc_time.
27646 (time): New strong alias and hidden definition of __libc_time.
27647 (__GI_time): Remove strong alias.
27648 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27649 Include <stddef.h>.
27650 (memmove): Redefined to __redirect_memmove.
27651 (__memmove_sse2): Use typeof __redirect_memmove.
27652 (__memmove_ssse3): Likewise.
27653 (__memmove_ssse3_back): Likewise.
27654 (__libc_memmove): New prototype.
27655 (memmove): Renamed to ...
27656 (__libc_memmove): This.
27657 (memmove): New strong alias of __libc_memmove.
27658
33b4a91e
MS
276592012-08-08 Mark Salter <msalter@redhat.com>
27660
27661 * elf/elf.h
27662 (R_MN10300_TLS_GD): Define.
27663 (R_MN10300_TLS_LD): Likewise.
27664 (R_MN10300_TLS_LDO): Likewise.
27665 (R_MN10300_TLS_GOTIE): Likewise.
27666 (R_MN10300_TLS_IE): Likewise.
27667 (R_MN10300_TLS_LE): Likewise.
27668 (R_MN10300_TLS_DTPMOD): Likewise.
27669 (R_MN10300_TLS_DTPOFF): Likewise.
27670 (R_MN10300_TLS_TPOFF): Likewise.
27671 (R_MN10300_SYM_DIFF): Likewise.
27672 (R_MN10300_ALIGN): Likewise.
27673 (R_MN10300_NUM): Update.
27674
b36137f1
JM
276752012-08-08 Joseph Myers <joseph@codesourcery.com>
27676
27677 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27678 Remove.
27679
cdd915fd
RM
276802012-08-08 Roland McGrath <roland@hack.frob.com>
27681
a2433aac
RM
27682 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27683
cdd915fd
RM
27684 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27685 sysdeps/unix -> sysdeps/posix move.
27686 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27687
bf9b740a
AM
276882012-08-07 Allan McRae <allan@archlinux.org>
27689
27690 [BZ #14303]
27691 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27692 (SUNOS_CPP): Likewise.
27693 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27694 not found.
27695 (open_input): Call CPP using execvp.
27696
93df14ee
JM
276972012-08-07 Joseph Myers <joseph@codesourcery.com>
27698
27699 * sysdeps/unix/sysv/linux/kernel-features.h
27700 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27701 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27702 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27703 (__ASSUME_WAITID_SYSCALL): Likewise.
27704 * sysdeps/unix/sysv/linux/dl-execstack.c
27705 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27706 code unconditional.
27707 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27708 conditional code.
27709 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27710 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27711 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27712 code.
27713 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27714 unconditional.
27715 [__ASSUME_WAITID_SYSCALL]: Likewise.
27716 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27717
d34689de
RM
277182012-08-07 Roland McGrath <roland@hack.frob.com>
27719
a281decc
RM
27720 * sysdeps/unix/closedir.c: Renamed to ...
27721 * sysdeps/posix/closedir.c: ... here.
27722 * sysdeps/unix/dirfd.c: Renamed to ...
27723 * sysdeps/posix/dirfd.c: ... here.
27724 * sysdeps/unix/dirstream.h: Renamed to ...
27725 * sysdeps/posix/dirstream.h: ... here.
27726 * sysdeps/unix/fdopendir.c: Renamed to ...
27727 * sysdeps/posix/fdopendir.c: ... here.
27728 * sysdeps/unix/opendir.c: Renamed to ...
27729 * sysdeps/posix/opendir.c: ... here.
27730 * sysdeps/unix/readdir.c: Renamed to ...
27731 * sysdeps/posix/readdir.c: ... here.
27732 * sysdeps/unix/readdir_r.c: Renamed to ...
27733 * sysdeps/posix/readdir_r.c: ... here.
27734 * sysdeps/unix/rewinddir.c: Renamed to ...
27735 * sysdeps/posix/rewinddir.c: ... here.
27736 * sysdeps/unix/seekdir.c: Renamed to ...
27737 * sysdeps/posix/seekdir.c: ... here.
27738 * sysdeps/unix/telldir.c: Renamed to ...
27739 * sysdeps/posix/telldir.c: ... here.
27740 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27741 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27742 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27743 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27744
22895b47
RM
27745 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27746 * bits/fcntl.h: ... here.
27747
707a53b6
RM
27748 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27749 not 0.
27750 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27751 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27752 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27753 (struct flock): Move l_start, l_len to the beginning.
27754 Use __pid_t for l_pid.
27755 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27756 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27757 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27758 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27759 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27760 [__USE_LARGEFILE64] (struct flock64): New type.
27761 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27762
f0bd3e25
RM
27763 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27764 * bits/dirent.h: ... here.
27765
d34689de
RM
27766 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27767 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27768
6dad2c06
JM
277692012-08-07 Joseph Myers <joseph@codesourcery.com>
27770
27771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27772 Change from 2.6.0 to 2.6.16.
27773 * sysdeps/unix/sysv/linux/configure: Regenerated.
27774 * sysdeps/unix/sysv/linux/kernel-features.h
27775 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27776 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27777 version.
27778 (__ASSUME_UTIMES): Likewise.
27779 (__ASSUME_CLONE_STOPPED): Remove.
27780 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27781 architectures, not kernel version.
27782 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27783 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27784 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27785 (__ASSUME_WAITID_SYSCALL): Likewise.
27786 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27787 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27788 * README: State 2.6.16 as minimum Linux kernel version. Do not
27789 refer to older versions.
27790
03af9520
RM
277912012-08-06 Roland McGrath <roland@hack.frob.com>
27792
8e49df1d
RM
27793 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27794 Define alphasort64 as an alias.
27795 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27796 Define versionsort64 as an alias.
27797 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27798 Define scandir64 as an alias.
27799 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27800 Define scandirat64 as an alias.
27801 * dirent/alphasort64.c (alphasort64):
27802 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27803 * dirent/versionsort64.c: Likewise.
27804 * dirent/scandir64.c: Likewise.
27805 * dirent/scandirat64.c: Likewise.
27806 * sysdeps/wordsize-64/alphasort.c: File removed.
27807 * sysdeps/wordsize-64/alphasort64.c: File removed.
27808 * sysdeps/wordsize-64/scandir.c: File removed.
27809 * sysdeps/wordsize-64/scandir64.c: File removed.
27810 * sysdeps/wordsize-64/scandirat.c: File removed.
27811 * sysdeps/wordsize-64/scandirat64.c: File removed.
27812 * sysdeps/wordsize-64/versionsort.c: File removed.
27813 * sysdeps/wordsize-64/versionsort64.c: File removed.
27814 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27816 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27817 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27818 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27819 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27822
27823 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27825 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27827 [defined __arch64__ || defined __sparcv9]
27828 (__INO_T_MATCHES_INO64_T): New macro.
27829 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27830 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27831 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27832 * sysdeps/unix/sysv/linux/bits/dirent.h
27833 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27834 (_DIRENT_MATCHES_DIRENT64): New macro.
27835
03af9520
RM
27836 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27837 Define lockf64 as an alias.
27838 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27839 Define fseeko64 as an alias.
27840 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27841 Define ftello64 as an alias.
27842 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27843 Define _IO_fgetpos64 and fgetpos64 as aliases.
27844 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27845 Define _IO_fsetpos64 and fsetpos64 as aliases.
27846 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27847 Conditionalize body on this.
27848 * libio/fseeko64.c: Likewise.
27849 * libio/ftello64.c: Likewise.
27850 * libio/iofgetpos64.c: Likewise.
27851 * libio/iofsetpos64.c: Likewise.
27852 * sysdeps/wordsize-64/lockf.c: File removed.
27853 * sysdeps/wordsize-64/lockf64.c: File removed.
27854 * sysdeps/wordsize-64/fseeko.c: File removed.
27855 * sysdeps/wordsize-64/fseeko64.c: File removed.
27856 * sysdeps/wordsize-64/ftello.c: File removed.
27857 * sysdeps/wordsize-64/ftello64.c: File removed.
27858 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27859 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27860 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27861 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27865 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27867 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27868 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27869 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27870 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27871 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27872
27873 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27875 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27877 [defined __arch64__ || defined __sparcv9]
27878 (__OFF_T_MATCHES_OFF64_T): New macro.
27879 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27880 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27882 (__OFF_T_MATCHES_OFF64_T): New macro.
27883
c5757acd
L
278842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27885
27886 * stdlib/secure-getenv.c (__secure_getenv): Replace
27887 GLIBC_2_16 with GLIBC_2_17.
27888
3a31811e
L
278892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27890
27891 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27892 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27893
faa2bccb
DM
278942012-08-03 David S. Miller <davem@davemloft.net>
27895
27896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27897
85fe1997
JM
278982012-08-03 Joseph Myers <joseph@codesourcery.com>
27899
27900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27901 Remove.
27902 (__ASSUME_CORRECT_SI_PID): Likewise.
27903 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27904 (__ASSUME_TMPFS_NAME): Likewise.
27905 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27906 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27907 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27908 (HAVE_AUX_SECURE): Make definition unconditional.
27909 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27910 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27911
4f75b7a0
RM
279122012-08-03 Roland McGrath <roland@hack.frob.com>
27913
27914 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27915 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27916 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27918 __eloop_threshold instead of SYMLOOP_MAX.
27919
27920 * sysdeps/generic/eloop-threshold.h: New file.
27921 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27922 of MAXSYMLINKS.
27923 * elf/chroot_canon.c (chroot_canon): Likewise.
27924
7aab07e4
JM
279252012-08-03 Joseph Myers <joseph@codesourcery.com>
27926
27927 [BZ #13717]
27928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27929 Change to 2.6.0 everywhere.
27930 * sysdeps/unix/sysv/linux/configure: Regenerated.
27931 * sysdeps/unix/sysv/linux/kernel-features.h
27932 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27933 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27934 kernel versions.
27935 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27936 (__ASSUME_FUTEX_REQUEUE): Remove.
27937 (__ASSUME_STATFS64): Define unconditionally.
27938 (__ASSUME_AT_SECURE): Likewise.
27939 (__ASSUME_CORRECT_SI_PID): Likewise.
27940 (__ASSUME_TGKILL): Define without depending on kernel version for
27941 i386.
27942 (__ASSUME_UTIMES): Likewise.
27943 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27944 kernel version.
27945 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27946 (__ASSUME_TMPFS_NAME): Likewise.
27947 * README: Update reference to Linux kernel versions.
27948
b67e9372
MP
279492012-08-02 Marek Polacek <polacek@redhat.com>
27950
1f529f7d 27951 [BZ# 14150]
b67e9372
MP
27952 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27953 libc_cv_asm_type_prefix with %.
27954 * configure: Regenerated.
d2441631
RM
27955 * include/libc-symbols.h: Remove comment about
27956 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27957 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27958 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27959 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27960 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27961 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27962 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27963 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27964 * elf/tst-unique2mod1.c: Likewise.
27965 * elf/tst-unique1mod2.c: Likewise.
27966 * elf/tst-unique1mod1.c: Likewise.
27967 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27968 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27969 Replace ASM_TYPE_DIRECTIVE with .type.
27970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27971 * sysdeps/i386/sysdep.h: Likewise.
27972 * sysdeps/x86_64/sysdep.h: Likewise.
27973 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27975 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27976 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27977 * sysdeps/powerpc/powerpc32/sysdep.h:
27978 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27979 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27981 * sysdeps/i386/fpu/e_powf.S: Likewise.
27982 * sysdeps/i386/fpu/e_expl.S: Likewise.
27983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27984 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27985 * sysdeps/i386/fpu/e_pow.S: Likewise.
27986 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27987 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27988 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27989 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27990 * sysdeps/i386/fpu/e_log2.S: Likewise.
27991 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27992 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27993 * sysdeps/i386/fpu/e_powl.S: Likewise.
27994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27996 * sysdeps/i386/fpu/e_logl.S: Likewise.
27997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27998 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27999 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28002 * sysdeps/i386/fpu/e_log.S: Likewise.
28003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28004 * sysdeps/i386/fpu/e_logf.S: Likewise.
28005 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28006 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28007 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28008 * sysdeps/i386/fpu/e_log10.S: Likewise.
28009 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28011 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28012 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28014 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28015 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28016 * sysdeps/i386/i686/strtok.S: Likewise.
28017 * sysdeps/i386/i386-mcount.S: Likewise.
28018 * sysdeps/i386/strtok.S: Likewise.
28019 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28022 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28023 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28024 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28025 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28026 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28027 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28028 * sysdeps/x86_64/_mcount.S: Likewise.
28029 * sysdeps/x86_64/strtok.S: Likewise.
28030 * sysdeps/sh/_mcount.S: Likewise.
28031
2747bf9a
RM
280322012-08-01 Roland McGrath <roland@hack.frob.com>
28033
28034 * libio/iofopen.c: Include <fcntl.h>.
28035 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28036 (_IO_fopen64, fopen64): Define as aliases.
28037 * libio/iofopen64.c: Include <fcntl.h>.
28038 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28039 Conditionalize body on this.
28040 * sysdeps/wordsize-64/iofopen.c: File removed.
28041 * sysdeps/wordsize-64/iofopen64.c: File removed.
28042
3fb791b8
MP
280432012-08-01 Marek Polacek <polacek@redhat.com>
28044
28045 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28046 Use dlfcn directly instead of a variable.
28047 (binfmt-subdir): Do not define.
28048 (dlfcn): Likewise.
28049
a9f1039f
JM
280502012-08-01 Joseph Myers <joseph@codesourcery.com>
28051
23bddc06
JM
28052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28053 Remove all definitions.
28054 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28055 <kernel-features.h>.
28056 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28057 (miss_F_GETOWN_EX): Remove all definitions.
28058 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28059 macro definition.
28060 [!__ASSUME_FCNTL64]: Remove conditional code.
28061 [__ASSUME_FCNTL64]: Make code unconditional.
28062 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28063 <kernel-features.h>.
28064 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28065 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28066 (lockf64) [__NR_fcntl64]: Make code unconditional.
28067 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28068
a9f1039f
JM
28069 * sysdeps/unix/sysv/linux/kernel-features.h
28070 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28071 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28072 Make code unconditional.
28073 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28074 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28076 [__NR_vfork]: Make code unconditional.
28077 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28078 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28080 [__NR_vfork]: Make code unconditional.
28081 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28082 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28083
09c0ee5f
RM
280842012-08-01 Roland McGrath <roland@hack.frob.com>
28085
48aec5b9
RM
28086 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28087 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28088
cd97c966
RM
28089 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28090 Define mkstemp64 as an alias.
3f55550c
RM
28091 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28092 Define mkstemps64 as an alias.
cd97c966
RM
28093 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28094 Define mkostemp64 as an alias.
b8625cfc
RM
28095 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28096 Define mkostemps64 as an alias.
cd97c966
RM
28097 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28098 Conditionalize body on this.
28099 * misc/mkostemp64.c: Likewise.
b8625cfc 28100 * misc/mkostemps64.c: Likewise.
3f55550c 28101 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28102 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28103 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28104 * sysdeps/wordsize-64/mkostemp.c: File removed.
28105 * sysdeps/wordsize-64/mkstemp.c: File removed.
28106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28107 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28109 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28110
09c0ee5f
RM
28111 [BZ #14138]
28112 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28113 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28114 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28115 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28116
28117 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28118 compat_symbol macros from <shlib-compat.h> rather than the underlying
28119 default_symbol_version and symbol_version macros, so that DEFAULT
28120 lines in shlib-versions are respected.
28121 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28122
7e66ee51
FW
281232012-08-01 Florian Weimer <fweimer@redhat.com>
28124
28125 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28126 Declare with warn_unused_result.
28127 (setgid, setregid, setegid, setresgid): Likewise.
28128 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28129 Likewise.
28130 * WUR-REPORT: Remove set*id functions.
28131
d2a54255
PT
281322012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28133
28134 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28135
7ecdb005
RM
281362012-07-31 Roland McGrath <roland@hack.frob.com>
28137
b4180a5e 28138 [BZ #10191]
789bd351
RM
28139 * include/sys/socket.h (__libc_accept, __libc_accept4):
28140 Add attribute_hidden.
28141 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28142
40ce302d
RM
28143 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28144 use of PTR_MANGLE.
28145 * inet/getnetgrent_r.c (setup): Likewise.
28146
7ecdb005
RM
28147 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28148
e2eabb2c
DM
281492012-07-31 David S. Miller <davem@davemloft.net>
28150
28151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28152
d0419dbf
JM
281532012-07-31 Joseph Myers <joseph@codesourcery.com>
28154
28155 [BZ #13629]
28156 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28157 value between 1.0 and 2.0 and smaller part has absolute value less
28158 than 1.0.
28159 * math/s_clog10.c (__clog10): Likewise.
28160 * math/s_clog10f.c (__clog10f): Likewise.
28161 * math/s_clog10l.c (__clog10l): Likewise.
28162 * math/s_clogf.c (__clogf): Likewise.
28163 * math/s_clogl.c (__clogl): Likewise.
28164 * math/libm-test.inc (clog_test): Add more tests.
28165 (clog10_test): Likewise.
28166 * sysdeps/i386/fpu/libm-test-ulps: Update.
28167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28168
2bc13872
FW
281692012-07-31 Florian Weimer <fweimer@redhat.com>
28170
28171 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28172 Exit with zero in case no suitable GID is found, and write a
28173 message to standard error.
28174
bea9b193
RM
281752012-07-30 Roland McGrath <roland@hack.frob.com>
28176
28177 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28178 rather than to 1.
28179 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28180 (MAXPATHLEN): Removed.
28181 (NOGROUP, NODEV): New macros.
28182 (setbit, clrbit, isset, isclr): New macros.
28183 (howmany, roundup, powerof2): New macros.
28184 (DEV_BSIZE): New macro.
28185
28186 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28187 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28188
28189 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28190 definition on [!__NO_LONG_DOUBLE_MATH].
28191
28192 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28193 PTR_MANGLE and PTR_DEMANGLE.
28194
28195 * socket/accept4.c (accept4): Rename to __libc_accept4.
28196 Define accept4 as a weak alias.
28197
28198 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28199 on [_DIRENT_HAVE_D_TYPE].
28200 * io/ftw.c (ftw_dir): Likewise.
28201
28202 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28203
28204 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28205
28206 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28207 Use the BSD numbers rather than the arbitrary ones we had.
28208 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28209 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28210 (SIGXCPU, SIGXFSZ): New macros.
28211 (_NSIG): Now 32.
28212
28213 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28214 initializer on [_LIBC_REENTRANT].
28215
28216 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28217 definitions inside [_POSIX_MAPPED_FILES].
28218
28219 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28220
28221 * dirent/opendir.c: Include <fcntl.h>.
28222
28223 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28224 (__libc_getspecific): Likewise.
28225 (__libc_key_create): Likewise.
28226
28227 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28228 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28229 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28230 (tmpfile64): Define as alias.
28231 * sysdeps/wordsize-64/tmpfile.c: File removed.
28232 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28235
28236 * stdio-common/vfscanf.c: Include <stdbool.h>.
28237 * nss/makedb.c: Likewise.
28238 * stdio-common/_i18n_number.h: Likewise.
28239 * argp/argp-help.c: Likewise.
28240 * posix/wordexp.c: Likewise.
28241 * sysdeps/posix/spawni.c: Likewise.
28242 * nss/nss_files/files-initgroups.c: Likewise.
28243 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28244 * nss/nss_files/files-initgroups.c: Likewise.
28245 * nss/nss_db/db-netgrp.c: Likewise.
28246 * nss/nss_db/db-initgroups.c: Likewise.
28247 * io/fchmodat.c: Include <sys/stat.h>.
28248
28249 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28250 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28251
28252 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28253 [HAVE_MMAP].
28254
28255 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28256 Add multiple inclusion protection.
28257
e5abc686
DM
282582012-07-27 David S. Miller <davem@davemloft.net>
28259
28260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28261
815e6fa3
GB
282622012-07-27 Gary Benson <gbenson@redhat.com>
28263
28264 [BZ #14298]
28265 * elf/rtld.c: Include <stap-probe.h>.
28266 (dl_main): Added static probes "init_start" and "init_complete".
28267 * elf/dl-load.c: Include <stap-probe.h>.
28268 (lose): Take new parameter "nsid".
28269 Added static probe "map_failed".
28270 (_dl_map_object_from_fd): Pass namespace id to lose.
28271 Added static probe "map_start".
28272 (open_verify): Pass namespace id to lose.
28273 * elf/dl-open.c: Include <stap-probe.h>.
28274 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28275 and "reloc_complete".
28276 * elf/dl-close.c: Include <stap-probe.h>.
28277 (_dl_close_worker): Added static probes "unmap_start" and
28278 "unmap_complete".
28279 * elf/rtld-debugger-interface.txt: New file documenting the above.
28280
9f98c16c
RM
282812012-07-26 Roland McGrath <roland@hack.frob.com>
28282
28283 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28284 rather than a string variable.
28285 * sunrpc/rpc_main.c (h_output): Likewise.
28286 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28287
f3c22df3
PT
282882012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28289
28290 * inet/check_native.c: New file.
28291
3129cfc6
JM
282922012-07-26 Joseph Myers <joseph@codesourcery.com>
28293
da865e95
JM
28294 [BZ #13629]
28295 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28296 if larger part has absolute value 1.0.
28297 * math/s_clog10.c (__clog10): Likewise.
28298 * math/s_clog10f.c (__clog10f): Likewise.
28299 * math/s_clog10l.c (__clog10l): Likewise.
28300 * math/s_clogf.c (__clogf): Likewise.
28301 * math/s_clogl.c (__clogl): Likewise.
28302 * math/libm-test.inc (clog_test): Add more tests.
28303 (clog10_test): Likewise.
28304 * sysdeps/i386/fpu/libm-test-ulps: Update.
28305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28306
3129cfc6
JM
28307 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28308 (pltexit): Likewise.
28309 (La_regs): Likewise.
28310 (La_retval): Likewise.
28311 (int_retval): Likewise.
28312 Update #error for removed macros to refer only to definitions in
28313 tst-audit.h.
28314 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28315 macro.
28316 (pltexit): Likewise.
28317 (La_regs): Likewise.
28318 (La_retval): Likewise.
28319 (int_retval): Likewise.
28320 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28321 macro.
28322 (pltexit): Likewise.
28323 (La_regs): Likewise.
28324 (La_retval): Likewise.
28325 (int_retval): Likewise.
28326 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28327 macro.
28328 (pltexit): Likewise.
28329 (La_regs): Likewise.
28330 (La_retval): Likewise.
28331 (int_retval): Likewise.
28332 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28333 macro.
28334 (pltexit): Likewise.
28335 (La_regs): Likewise.
28336 (La_retval): Likewise.
28337 (int_retval): Likewise.
28338 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28339 macro.
28340 (pltexit): Likewise.
28341 (La_regs): Likewise.
28342 (La_retval): Likewise.
28343 (int_retval): Likewise.
28344 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28345 macro.
28346 (pltexit): Likewise.
28347 (La_regs): Likewise.
28348 (La_retval): Likewise.
28349 (int_retval): Likewise.
28350 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28351 macro definitions in tst-audit.h.
28352 * sysdeps/i386/tst-audit.h: New file.
28353 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28354 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28355 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28356 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28357 * sysdeps/sh/tst-audit.h: Likewise.
28358 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28359 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28360 * sysdeps/x86_64/tst-audit.h: Likewise.
28361
bfc07087
AJ
283622012-07-26 Andreas Jaeger <aj@suse.de>
28363
b1b2aaf8
AJ
28364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28365 ptrace.
28366
28367 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28368 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28369 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28370 PTRACE_O_MASK.
28371 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28372 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28373 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28374
bfc07087
AJ
28375 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28376 value.
28377
28378 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28379 _sigsys.
28380 (si_call_addr, si_syscall, si_arch): Define new macro.
28381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28382 _sigsys.
28383 (si_call_addr, si_syscall, si_arch): Define new marcro.
28384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28385 _sigsys.
28386 (si_call_addr, si_syscall, si_arch): Define new macro.
28387 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28388 _sigsys.
28389 (si_call_addr, si_syscall, si_arch): Define new macro.
28390
89b4b02f
JM
283912012-07-25 Joseph Myers <joseph@codesourcery.com>
28392
28393 [BZ #13717]
28394 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28395 Change to 2.4.21 where previously 2.4.1.
28396 * sysdeps/unix/sysv/linux/configure: Regenerated.
28397 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28398 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28399 Linux kernel version.
28400 (__ASSUME_STD_AUXV): Remove.
28401 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28402 kernel version.
28403 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28404 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28405 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28406 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28407 (__ASSUME_NETLINK_SUPPORT): Likewise.
28408 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28409 (__no_netlink_support): Remove conditional definition.
28410 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28411 Remove.
28412 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28413 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28414 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28415 (if_nameindex_ioctl): Remove.
28416 (if_nameindex_netlink): Do not handle __no_netlink_support.
28417 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28418 code.
28419 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28420 Remove conditional code.
28421 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28422 code.
28423 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28424 unconditional.
28425 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28426 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28427 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28428 Remove.
28429 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28430 [!__ASSUME_STD_AUXV]: Remove conditional code.
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28432 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28433 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28435 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28436 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28437 code.
28438 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28440 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28441 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28442 conditional code.
28443 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28445 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28446 code.
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28448 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28449 conditional code.
28450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28451 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28452 code unconditional.
28453 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28454 conditional code.
28455 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28456 unconditional.
28457 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28458 conditional code.
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28460 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28461 unconditional.
28462 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28463 conditional code.
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28465 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28466 code unconditional.
28467 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28468 conditional code.
28469 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28470 unconditional.
28471 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28472 conditional code.
28473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28474 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28475 code unconditional.
28476 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28477 conditional code.
28478 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28479 unconditional.
28480 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28481 conditional code.
28482
842a39cd
AS
284832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28484
28485 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28486 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28487 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28488 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28489 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28490 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28491 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28492 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28493 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28494 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28495 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28496 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28497 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28498 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28499 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28500 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28501 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28503 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28505 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28506 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28508
84b3fd84
FW
285092012-07-25 Florian Weimer <fweimer@redhat.com>
28510
28511 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28512 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28513 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28514 Introduce __libc_secure_getenv.
0c7936d5
FW
28515 * stdlib/Versions (2.17): Add secure_getenv
28516 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28517 * stdlib/secure-getenv.c: Rename __secure_getenv to
28518 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28519 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28520 * stdlib/tst-secure-getenv.c: New.
28521 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28522 * manual/startup.texi (Environment Access): Document
28523 secure_getenv.
84b3fd84
FW
28524 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28525 __libc_secure_getenv.
28526 * inet/ruserpass.c (ruserpass): Likewise.
28527 * malloc/mtrace.c (mtrace): Likewise.
28528 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28529 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28530 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28531 * sysdeps/posix/tempname.c: Likewise. Evaluate
28532 HAVE_SECURE_GETENV.
28533 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28534 __secure_getenv to __libc_secure_getenv.
84b3fd84 28535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28537 Likewise.
28538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28539 Likewise.
28540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28547
56e49b71
JM
285482012-07-25 Joseph Myers <joseph@codesourcery.com>
28549
28550 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28551 (struct La_i86_retval): Likewise.
28552 (struct La_x86_64_regs): Likewise.
28553 (struct La_x86_64_retval): Likewise.
28554 (struct La_x32_regs): Likewise.
28555 (struct La_x32_retval): Likewise.
28556 (struct La_ppc32_regs): Likewise.
28557 (struct La_ppc32_retval): Likewise.
28558 (struct La_ppc64_regs): Likewise.
28559 (struct La_ppc64_retval): Likewise.
28560 (struct La_sh_regs): Likewise.
28561 (struct La_sh_retval): Likewise.
28562 (struct La_s390_32_regs): Likewise.
28563 (struct La_s390_32_retval): Likewise.
28564 (struct La_s390_64_regs): Likewise.
28565 (struct La_s390_64_retval): Likewise.
28566 (struct La_sparc32_regs): Likewise.
28567 (struct La_sparc32_retval): Likewise.
28568 (struct La_sparc64_regs): Likewise.
28569 (struct La_sparc64_retval): Likewise.
28570 (struct audit_ifaces): Remove architecture-specific pltenter and
28571 pltexit members.
28572 * sysdeps/i386/ldsodefs.h: New file.
28573 * sysdeps/powerpc/ldsodefs.h: Likewise.
28574 * sysdeps/s390/ldsodefs.h: Likewise.
28575 * sysdeps/sh/ldsodefs.h: Likewise.
28576 * sysdeps/sparc/ldsodefs.h: Likewise.
28577 * sysdeps/x86_64/ldsodefs.h: Likewise.
28578
354691b7
MP
285792012-07-25 Marek Polacek <polacek@redhat.com>
28580
28581 [BZ #6808]
28582 * math/libm-test.inc (yn_test): Add another test.
28583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28584 to ERANGE when the result is +-Inf.
28585 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28586 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28587 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28588 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28589
bf9e2071
JM
285902012-07-24 Joseph Myers <joseph@codesourcery.com>
28591
28592 * conform/data/time.h-data (NULL): Use macro-constant. Require
28593 equal to 0.
28594 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28595 clock_t.
28596 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28597
57633811
TS
285982012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28599
28600 * configure.in <sysdeps resolving>: Correct printing
28601 Implies_before.
28602 * configure: Regenerate.
28603
c23c33b0
TS
286042012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28605
28606 * math/w_ilogb.c: Include <limits.h>.
28607 * math/w_ilogbl.c: Likewise.
28608
b5982523
JM
286092012-07-20 Joseph Myers <joseph@codesourcery.com>
28610
28611 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28612 va_copy. Document allowing for unavailable va_copy only as
28613 pre-C99 compatibility.
28614 * manual/string.texi (Copying and Concatenation): Use va_copy
28615 instead of __va_copy in concat example.
28616
ac4ea442
PT
286172012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28618
28619 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28620 (__sendto): Use create_address_port. Initialize APORT and deallocate
28621 it if not null.
28622
f98eafbd
PT
28623 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28624 with O_NOLINK passed to __file_name_lookup.
28625
898c7aab
PT
28626 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28627 with O_NOLINK passed to __file_name_lookup.
28628
0ced335a
PT
28629 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28630 negative N or less than NGIDS.
28631
b3404dbd
PT
28632 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28633 type to string_t. Set ERANGE as errno and return it if NAME is not big
28634 enough. Use memcpy instead of strncpy.
28635
0f48659e
JM
286362012-07-20 Joseph Myers <joseph@codesourcery.com>
28637
28638 * elf/Makefile (check-data): Remove.
28639 (localplt.data): New vpath directive.
28640 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28641 instead of $(check-data).
28642 * scripts/data/localplt-generic.data: Move to ...
28643 * sysdeps/generic/localplt.data: ... here.
28644 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28645 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28646 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28648 ... here.
28649 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28651 ... here.
28652 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28654 ... here.
28655 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28657 ... here.
28658 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28660 ... here.
28661 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28663 ... here.
28664
d37cbdaa
AZ
286652012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28666
28667 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28668 PPC32 and PPC64 files.
28669 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28670 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28671
46f85fc2
AK
286722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28673
28674 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28675 __makecontext_ret to ...
28676 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28677 ... here and call exit if uc_link is NULL. New file.
28678 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28679 __makecontext_ret.S.
28680 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28681 __makecontext_ret to ...
28682 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28683 ... here and call exit if uc_link is NULL. New file.
28684 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28685 __makecontext_ret.S.
28686
08f43f9b
AK
286872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28688
28689 * elf/elf.h (R_390_IRELATIVE): New definition.
28690 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28691 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28692 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28694 (elf_machine_lazy_rel): Likewise.
28695 * sysdeps/s390/dl-irel.h: New file.
28696 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28697 * sysdeps/s390/s390-64/memset.S: New asm code.
28698 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28699 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28700 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28701 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28702 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28703 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28704 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28705 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28706 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28707 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28708 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28709 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28710 * sysdeps/s390/s390-32/memset.S: New asm code.
28711 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28712
3b05db33
MP
287132012-07-17 Marek Polacek <polacek@redhat.com>
28714
28715 [BZ #14349]
28716 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28717 * sysdeps/s390/s390-64/configure.in: Likewise.
28718 * sysdeps/sparc/configure.in: Likewise.
28719 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28720 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28721 * sysdeps/i386/configure.in: Likewise.
28722 * sysdeps/x86_64/configure.in: Likewise.
28723 * sysdeps/sh/configure.in: Likewise.
28724 * sysdeps/s390/s390-32/configure: Regenerated.
28725 * sysdeps/s390/s390-64/configure: Likewise.
28726 * sysdeps/x86_64/configure: Likewise.
28727 * sysdeps/sh/configure: Likewise.
28728 * sysdeps/powerpc/powerpc64/configure: Likewise.
28729 * sysdeps/powerpc/powerpc32/configure: Likewise.
28730 * sysdeps/sparc/configure: Likwise.
28731 * sysdeps/i386/configure: Likewise.
28732
a66877c6
MP
28733 * elf/dl-open.c: Comment fixes.
28734
cfc82fd8
JM
287352012-07-17 Joseph Myers <joseph@codesourcery.com>
28736
bd29910a
JM
28737 * Makefile [CXX] (check-data): Remove.
28738 [CXX] (c++-types.data): New vpath directive.
28739 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28740 vpath. Do not allow for C++ type data being missing.
28741 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28742 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28743 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28744 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28745 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28746 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28747 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28749 ... here.
28750 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28752 ... here.
28753 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28755 ... here.
28756 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28758 ... here.
28759 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28761 ... here.
28762 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28764 ... here.
28765 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28767 ... here.
28768 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28770
cfc82fd8
JM
28771 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28772 definitions to architecture-specific files.
28773 (TLS_IE): Likewise.
28774 (TLS_LD): Likewise.
28775 (TLS_GD): Likewise.
28776 * sysdeps/i386/tls-macros.h: New file.
28777 * sysdeps/powerpc/tls-macros.h: Likewise.
28778 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28779 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28780 * sysdeps/sh/tls-macros.h: Likewise.
28781 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28782 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28783 * sysdeps/x86_64/tls-macros.h: Likewise.
28784
f7db3170
TS
287852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28786
07cbfc23
TS
28787 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28788 zero value for regular exit case.
28789
f7db3170
TS
28790 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28791 (__start_context): Preserve zero value for regular exit case.
28792
dc97c227
TS
287932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28794 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28795
28796 * manual/setjmp.texi (setcontext): Clarify normal process
28797 termination when uc_link is the null pointer.
28798 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28799 exit call.
28800
d0cd7d02
AS
288012012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28802
28803 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28804 preprocessor. Test for each exception mask separately.
28805
dd318934
AJ
288062012-07-16 Andreas Jaeger <aj@suse.de>
28807
28808 * po/ru.po: Update from translation team.
28809
8048311a
JM
288102012-07-15 Joseph Myers <joseph@codesourcery.com>
28811
28812 * conform/data/string.h-data (NULL): Use macro-constant. Require
28813 equal to 0.
28814 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28815 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28816 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28817 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28819
b637d46e
AJ
288202012-07-13 Andreas Jaeger <aj@suse.de>
28821
28822 * po/fr.po: Update from translation team.
28823
541428fe
MP
288242012-07-12 Marek Polacek <polacek@redhat.com>
28825
28826 [BZ #14173]
28827 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28829 loop condition.
28830
ec332e94
JM
288312012-07-12 Joseph Myers <joseph@codesourcery.com>
28832
28833 [BZ #13717]
28834 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28835 Change to 2.4.1 where previously 2.4.0.
28836 * sysdeps/unix/sysv/linux/configure: Regenerated.
28837 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28838 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28839 version.
28840 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28841 (__ASSUME_AT_CLKTCK): Remove.
28842 (__ASSUME_AT_PAGESIZE): Likewise.
28843 (__ASSUME_AT_XID): Likewise.
28844 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28845 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28846 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28847 unconditionally.
28848 (HAVE_AUX_PAGESIZE): Likewise.
28849 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28850 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28851 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28852
7b6e99be
JB
288532012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28854
28855 [BZ #14307]
28856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28857 the temporary buffer used to invoke __gethostbyname2_r,
28858 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28859 host_data / struct gaih_addrtuple.
28860 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28861 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28862 header file nss/nsswitch.h.
28863 * nss/nsswitch.h (global scope): Add definition of implementation
28864 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28865 resolv/nss_dns/dns-host.c).
28866
608404eb
AJ
288672012-07-11 Andreas Jaeger <aj@suse.de>
28868
28869 * po/fr.po: Update from translation team.
28870
71220aca
AJ
28871 * po/sv.po: Update from translation team
28872 * po/fr.po: Another update from translation team.
28873
28cfe843
AZ
288742012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28875
28876 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28877 for subnormals or multiply small sinh result by itself.
28878 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28880
6b90f981
DM
288812012-07-11 David S. Miller <davem@davemloft.net>
28882
28883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28884
c6825772
AS
288852012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28886
28887 [BZ #14347]
28888 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28889 (INTERNAL_MARK): Shift it here.
28890
7b8e0d49
MP
288912012-07-10 Marek Polacek <polacek@redhat.com>
28892
28893 [BZ #14151]
28894 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28895 libc_cv_asm_global_directive with .globl.
28896 * configure: Regenerated.
28897 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28898 with .globl.
28899 * sysdeps/i386/configure: Regenerated.
28900 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28901 with .globl.
28902 * sysdeps/x86_64/configure: Regenerated.
28903 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28904 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28905 * elf/tst-unique2mod2.c: Likewise.
28906 * elf/tst-unique2mod1.c: Likewise.
28907 * elf/tst-unique1mod2.c: Likewise.
28908 * elf/tst-unique1mod1.c: Likewise.
28909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28910 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28912 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28913 * sysdeps/mach/sysdep.h: Likewise.
28914 * sysdeps/i386/sysdep.h: Likewise.
28915 * sysdeps/i386/i386-mcount.S: Likewise.
28916 * sysdeps/x86_64/_mcount.S: Likewise.
28917 * sysdeps/x86_64/sysdep.h: Likewise.
28918 * sysdeps/sh/_mcount.S: Likewise.
28919 * sysdeps/sh/sysdep.h: Likewise.
28920 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28921 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28922 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28923 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28924 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28925 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28926 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28927 * locale/localeinfo.h: Likewise.
28928 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28929 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28930
6c55cda3
RM
289312012-07-09 Roland McGrath <roland@hack.frob.com>
28932
28933 [BZ #14336]
28934 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28935 system".
28936 * manual/message.texi (The Uniforum approach): Likewise.
28937 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28938 (glibc iconv Implementation): Likewise.
28939
638a572e
JM
289402012-07-09 Joseph Myers <joseph@codesourcery.com>
28941
28942 [BZ #14337]
28943 * math/s_clog.c (__clog): Avoid scaling a value down where that
28944 could result in underflow.
28945 * math/s_clog10.c (__clog10): Likewise.
28946 * math/s_clog10f.c (__clog10f): Likewise.
28947 * math/s_clog10l.c (__clog10l): Likewise.
28948 * math/s_clogf.c (__clogf): Likewise.
28949 * math/s_clogl.c (__clogl): Likewise.
28950 * math/libm-test.inc (clog_test): Add more tests.
28951 (clog10_test): Likewise.
28952 * sysdeps/i386/fpu/libm-test-ulps: Update.
28953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28954
261f4859
AS
289552012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28956
0abaf3e4
AS
28957 [BZ #14283]
28958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28959 by 7 not 8 to examine high bit of fractional part.
28960
261f4859
AS
28961 [BZ #14042]
28962 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28963 for call to __mcount_internal.
28964 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28965 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28966 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28967
f17ac40d
JM
289682012-07-06 Joseph Myers <joseph@codesourcery.com>
28969
9ad63c23
JM
28970 [BZ #14154]
28971 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28972 approximation for values within 0x1p-13f of an odd multiple of
28973 pi/4.
28974 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28975 exception. Add more tests.
28976 * sysdeps/i386/fpu/libm-test-ulps: Update.
28977
f17ac40d
JM
28978 [BZ #6778]
28979 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28980 inputs and return -1 for them. Do not check for +Inf in case not
28981 reachable for +Inf.
28982 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28983 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28985 and return -1 for them. Do not check for +Inf in case not
28986 reachable for +Inf.
28987 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28988 define.
28989 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28990 and return -1 for them. Do not check for +Inf in case not
28991 reachable for +Inf.
28992 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28993 spurious underflow.
28994 * sysdeps/i386/fpu/libm-test-ulps: Update.
28995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28996
fb21f89b
MF
289972012-07-06 Mike Frysinger <vapier@gentoo.org>
28998
28999 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29000
cdfe2c5e
JM
290012012-07-05 Joseph Myers <joseph@codesourcery.com>
29002
29003 [BZ #14157]
29004 [BZ #14331]
29005 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29006 could result in spurious underflow. Scale down values above
29007 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29008 * math/s_csqrtf.c (__csqrtf): Likewise.
29009 * math/s_csqrtl.c (__csqrtl): Likewise.
29010 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29011 spurious underflow.
29012 * sysdeps/i386/fpu/libm-test-ulps: Update.
29013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29014
70d35b67
AS
290152012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29016
704bc459
AS
29017 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29018 xopen-msg.sed.
29019 * catgets/xopen-msg.awk: New file.
29020 * catgets/xopen-msg.sed: Removed.
29021
70d35b67
AS
29022 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29023 po2text.sed.
29024 * intl/po2test.awk: New file.
29025 * intl/po2test.sed: Removed.
29026
ca61cf32
JM
290272012-07-04 Joseph Myers <joseph@codesourcery.com>
29028
29029 [BZ #14328]
29030 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29031 or multiply small sinh result by itself.
29032 * math/s_ctanf.c (__ctanf): Likewise.
29033 * math/s_ctanh.c (__ctanh): Likewise.
29034 * math/s_ctanhf.c (__ctanhf): Likewise.
29035 * math/s_ctanhl.c (__ctanhl): Likewise.
29036 * math/s_ctanl.c (__ctanl): Likewise.
29037 * math/libm-test.inc (ctan_test_tonearest): New function.
29038 (ctan_test_towardzero): Likewise.
29039 (ctan_test_downward): Likewise.
29040 (ctan_test_upward): Likewise.
29041 (ctanh_test_tonearest): Likewise.
29042 (ctanh_test_towardzero): Likewise.
29043 (ctanh_test_downward): Likewise.
29044 (ctanh_test_upward): Likewise.
29045 (main): Call these new functions.
29046 * sysdeps/i386/fpu/libm-test-ulps: Update.
29047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29048
ca48a46a
MF
290492012-07-03 Mike Frysinger <vapier@gentoo.org>
29050
29051 * .gitignore: Delete /ports entry.
29052
9d63d37d
AJ
290532012-07-03 Andreas Jaeger <aj@suse.de>
29054
29055 * po/bg.po: Update from translation team.
29056 * po/cs.po: Likewise.
29057 * po/de.po: Likewise.
29058 * po/hr.po: Likewise.
29059 * po/nl.pl: Likewise.
29060 * po/pl.po: Likewise.
29061 * po/vi.po: Likewise.
29062
370ca3d2
JM
290632012-07-03 Joseph Myers <joseph@codesourcery.com>
29064
95f5a9a8
JM
29065 * Makeconfig [!+link] (+link-before-libc): New variable.
29066 [!+link] (+link-after-libc): Likewise.
29067 [!+link] (+link-tests): Likewise.
29068 [!+link] (+link): Define in terms of $(+link-before-libc) and
29069 $(+link-after-libc).
29070 [!+link-static] (+link-static-before-libc): New variable.
29071 [!+link-static] (+link-static-after-libc): Likewise.
29072 [!+link-static] (+link-static-tests): Likewise.
29073 [!+link-static] (+link-static): Define in terms of
29074 $(+link-static-before-libc) and $(+link-static-after-libc).
29075 [build-shared] (link-libc-before-gnulib): New variable.
29076 [build-shared] (link-libc-tests): Likewise.
29077 [build-shared] (link-libc): Define in terms of
29078 $(link-libc-before-gnulib).
29079 [!build-shared] (link-libc-tests): New variable.
29080 (link-libc-static-tests): New variable.
29081 [!gnulib] (gnulib-arch): New variable.
29082 [!gnulib] (gnulib-tests): Likewise.
29083 [!gnulib] (static-gnulib-arch): Likewise.
29084 [!gnulib] (static-gnulib-tests): Likewise.
29085 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29086 Define with "=" instead of ":=".
29087 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29088 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29089 * Rules (binaries-all-notests): New variable.
29090 (binaries-all-tests): Likewise.
29091 (binaries-static-notests): Likewise.
29092 (binaries-static-tests): Likewise.
29093 (binaries-all): Define using $(binaries-all-notests) and
29094 $(binaries-all-tests).
29095 (binaries-static): Define using $(binaries-static-notests) and
29096 $(binaries-static-tests).
29097 (binaries-shared-tests): New variable.
29098 (binaries-shared-notests): Likewise.
29099 (binaries-shared): Remove variable.
29100 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29101 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29102 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29103 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29104 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29105 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29106 * elf/Makefile (sln-modules): New variable.
29107 (extra-objs): Add $(sln-modules:=.o).
29108 (ldconfig-modules): Add static-stubs.
29109 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29110 * elf/static-stubs.c: New file.
29111
7a845b2c
JM
29112 [BZ #14283]
29113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29114 by 7 not 8 to examine high bit of fractional part. Use volatile
29115 variables when splitting into final array of floats if
29116 __FLT_EVAL_METHOD__ != 0.
29117 * math/libm-test.inc (cos_test): Add another test.
29118 (sin_test): Likewise.
29119 * sysdeps/i386/fpu/libm-test-ulps: Update.
29120
e2283f38
JM
29121 [BZ #14273]
29122 * math/libm-test.inc (cosh_test): Add more tests.
29123
370ca3d2
JM
29124 * version.h (RELEASE): Set to "development".
29125 (VERSION): Set to "2.16.90".
29126
ee9247c3
CD
291272012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29128
29129 * NEWS: Update copyright. Remove last-updated date.
29130 Mention math library bug fixes and timezone data changes.
29131 * README: Mention GNU/Hurd, x32, and HPPA support status.
29132
4648c381
TS
291332012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29134
29135 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29136
aac78a43
AJ
291372012-06-27 Andreas Jaeger <aj@suse.de>
29138
29139 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29140
ed3dbfad
AJ
291412012-06-25 Andreas Jaeger <aj@suse.de>
29142
29143 * sysdeps/s390/fpu/libm-test-ulps: Update.
29144
4d0ee855
AS
291452012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29146 Thomas Schwinge <thomas@codesourcery.com>
29147
29148 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29149 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29151 fanotify_mark.
29152
af1bce34
TS
291532012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29154
a9fa33ba
TS
29155 * sysdeps/mach/start.c: Remove file.
29156 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29157 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29158 * sysdeps/sh/init-first.c: Likewise.
29159
58f902b8
TS
29160 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29161 registers for frame unwinding purposes, add CFI directives.
29162 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29164 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29165 Likewise.
29166
1518f58b
TS
29167 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29168 __fortify_fail returning.
29169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29170
db9b5059
TS
29171 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29172 sysdeps/sh/____longjmp_chk.S.
29173 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29174 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29175 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29176 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29177
967705fe
TS
29178 * sysdeps/sh/abort-instr.h: New file.
29179 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29180 process in case exit returns.
29181
a9def8c4
TS
29182 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29183 initialize the GOT register before use.
29184
2a649725
TS
29185 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29186 calculation of ARGC > 4.
29187
af1bce34
TS
29188 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29189 meaningful names to some local labels.
29190
d230f50a
KK
291912012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29192 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29193
29194 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29195 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29196 (__arch_compare_and_exchange_val_16_acq): Likewise.
29197 (__arch_compare_and_exchange_val_32_acq): Likewise.
29198 (atomic_exchange_and_add): Fix gUSA sequence.
29199 (atomic_add): Likewise.
29200 (atomic_add_negative): Likewise.
29201 (atomic_add_zero): Likewise.
29202 (atomic_bit_test_set): Likewise.
29203
0479b305
AS
292042012-06-22 Andreas Schwab <schwab@redhat.com>
29205
29206 [BZ #13579]
29207 * include/link.h (struct link_map): Add l_free_initfini.
29208 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29209 l_initfini.
29210 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29211 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29212 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29213 set.
29214
0e3933b9
CD
292152012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29216
29217 * configure.in: Use AC_LANG_SOURCE.
29218 * configure: Regenerate.
29219
4248b1b1
RM
292202012-06-22 Roland McGrath <roland@hack.frob.com>
29221
29222 * configure.in (libc_cv_localstatedir): New substituted variable.
29223 * configure: Regenerated.
29224 * config.make.in (localstatedir): New variable, substituted from
29225 libc_cv_localstatedir.
29226 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29227 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29228 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29229 * sysdeps/gnu/configure: Regenerated.
29230
006dd861
JL
292312012-06-21 Jeff Law <law@redhat.com>
29232
29233 [BZ #14277]
29234 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29235 free. Simplify list management for _LIBC case.
29236
79662d42
JM
292372012-06-21 Joseph Myers <joseph@codesourcery.com>
29238
b7abb4bf
JM
29239 [BZ #14273]
29240 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29241 Clear sign bit of 64-bit integer value before comparing against
29242 overflow value.
29243
79662d42
JM
29244 * sysdeps/mach/configure: Regenerated.
29245
1f150908
L
292462012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29247
29248 [BZ #14278]
29249 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29250
28363bbf
JL
292512012-06-21 Jeff Law <law@redhat.com>
29252
29253 [BZ #13882]
29254 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29255 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29257 * elf/dl-open.c (dl_open_worker): Likewise.
29258
09615db4
CD
292592012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29260
29261 * scripts/list-sources.sh: Scan PORTS for translations.
29262 * po/libc.pot: Regenerated.
29263
2174c6dd
AJ
292642012-06-21 Andreas Jaeger <aj@suse.de>
29265
29266 [BZ #12194]
29267 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29268 warning.
29269 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29270 * bits/byteswap-16.h (__bswap_16): Likewise.
29271 * bits/byteswap.h (__bswap_constant_16): Likewise.
29272
3ee947b1
L
292732012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29274
29275 [BZ #14117]
a2f34833
L
29276 * sysdeps/i386/fpu_control.h: Removed.
29277 * sysdeps/x86_64/fpu_control.h: Moved to ...
29278 * sysdeps/x86/fpu_control.h: Here.
29279
3ee947b1
L
29280 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29281 (_FPU_SETCW): Likewise.
29282
ed1825f8
L
292832012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29284
25f1282a
L
29285 [BZ #14117]
29286 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29287 * sysdeps/x86/fpu/bits/mathinline.h: This.
29288 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29289
ed1825f8
L
29290 [BZ #14050]
29291 [BZ #14117]
29292 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29293 functions if __x86_64__ is defined.
29294
36d54b74
CLT
292952012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29296
29297 * string/endian.h: Add !__ASSEMBLER__ condition for including
29298 conversion interfaces.
29299
10285c21
JM
293002012-06-15 Joseph Myers <joseph@codesourcery.com>
29301
29302 [BZ #14241]
29303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29304 of ABS(x) in calculating zero to negative powers other than odd
29305 integers.
29306 * math/libm-test.inc (pow_test): Add more tests.
29307
06c5abbd
AJ
293082012-06-15 Andreas Jaeger <aj@suse.de>
29309
29310 * manual/contrib.texi (Contributors): Update entry of Liubov
29311 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29312 Machado Filho.
29313
a3aeac40
CH
293142012-06-15 Cyril Hrubis <metan@ucw.cz>
29315
29316 * string/string.h: Add __wur to GNU version of strerror_r.
29317
49bdf4c1
L
293182012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29319
29320 [BZ #14229]
29321 * string/Makefile (tests): Add tst-strtok_r.
29322 * string/tst-strtok_r.c: New file.
29323 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29324 RAX_LP/RDX_LP on SAVE_PTR.
29325
834f9b8d
RM
293262012-06-14 Roland McGrath <roland@hack.frob.com>
29327
29328 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29329
75fa1921
JM
293302012-06-14 Joseph Myers <joseph@codesourcery.com>
29331
29332 * libm_test.inc (csqrt_test): Allow more spurious underflow
29333 exceptions.
29334 (j0_test): Likewise.
29335 (j1_test): Likewise.
29336 (y0_test): Likewise.
29337 (y1_test): Likewise.
29338
771766df
CD
293392012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29340
29341 * po/Makefile (libc.pot): Use UTF-8 charset.
29342
ceb9e56b
PP
293432012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29344
29345 [BZ #14210]
29346 Suppress sign-conversion warning from FD_SET.
29347 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29348 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29349 not unsigned long int.
29350 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29351
ddb28975
L
293522012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29353
29354 [BZ #14050]
29355 [BZ #14117]
29356 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29357 __extern_always_inline instead of __extern_inline.
29358 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29359 (__signbit): Likewise.
29360 (__signbitl): Support C++ namespace.
29361 (lrintf): New inline function.
29362 (lrint): Likewise.
29363 (llrintf): Likewise.
29364 (llrint): Likewise.
29365 (fmaxf): Likewise.
29366 (fmax): Likewise.
29367 (fminf): Likewise.
29368 (fmin): Likewise.
29369 (rint): Likewise.
29370 (rintf): Likewise.
29371 (ceil): Likewise.
29372 (ceilf): Likewise.
29373 (floor): Likewise.
29374 (floorf): Likewise.
29375 (nearbyint): Likewise.
29376 (nearbyintf): Likewise.
29377
d7b4fb26
TS
293782012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29379
29380 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29381 non-default versions.
29382
eb55f5c2
RM
293832012-06-11 Roland McGrath <roland@hack.frob.com>
29384
29385 [BZ #14218]
29386 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29387
366af02c
TS
293882012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29389
99ff6e5c
TS
29390 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29391 (FE_UPWARD, FE_DOWNWARD): Don't define.
29392 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29394
366af02c
TS
29395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29396 reading it.
29397 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29398 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29399
793ea851
KK
294002012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29401
29402 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29405 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29406
a728a38f
L
294072012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 [BZ #14117]
c08010c7
L
29410 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29411 * sysdeps/i386/fpu/Implies: New file.
29412 * sysdeps/x86_64/fpu/Implies: Likewise.
29413 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29414 * sysdeps/x86/fpu/bits/fenv.h: This.
29415
a728a38f
L
29416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29417 __SSE_MATH__.
29418
6e230d11
SP
294192012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29420
29421 [BZ #14134]
29422 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29423 character 0xffff that matches the last element of the
29424 conversion table.
29425
1b671feb
AZ
294262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29427
29428 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29429 fmodl commit.
29430
6043738b
AZ
294312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29432
29433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29434 values higher than 25.6283.
29435
34ae0b32
AZ
294362012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29437
29438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29439 subnormal exponent extraction and add some __builtin_expect.
29440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29441 Fix for subnormal mantissa calculation.
29442
1214ec8f
MF
294432012-06-04 Mike Frysinger <vapier@gentoo.org>
29444
29445 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29446 cpu2 is -1 and errno is not ENOSYS.
29447
f3d1f93c
L
294482012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29449
29450 [BZ #14117]
0e4a3cd7
L
29451 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29452 * sysdeps/x86/bits/string.h: This.
29453 * sysdeps/x86_64/bits/string.h: Removed.
29454
6704c645
L
29455 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29456 if not compiling for x86-64, but compiling for >= i486.
29457
48495318
L
29458 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29459 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29460
14adcbfc
L
29461 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29462 New macro from Linux kernel 3.4.0.
29463 (FP_XSTATE_MAGIC2): Likewise.
29464 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29465 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29466 (struct _fpx_sw_bytes): New struct.
29467 (struct _xsave_hdr): Likewise.
29468 (struct _ymmh_state): Likewise.
29469 (struct _xstate): Likewise.
29470
68e408ab
L
29471 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29472 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29474 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29476 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29477
f3d1f93c
L
29478 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29479 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29480 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29481 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29482 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29483 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29484
d9dc34cd
TMQMF
294852012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29486
29487 [BZ #13743]
29488 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29489 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29490 (sysdep_headers): Include sys/platform/ppc.h.
29491 * sysdeps/powerpc/test-gettimebase.c: Test for
29492 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29493 * manual/Makefile (appendices): Include platform.texi.
29494 * manual/contrib.texi (Contributors): Update @node pointers.
29495 * manual/maint.texi (Maintenance): Likewise.
29496 (Platform): New node.
29497 * manual/platform.texi: New file. Document the new features.
29498
4af3879c
SP
294992012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29500 Jakub Jelinek <jakub@redhat.com>
29501
29502 [BZ #14188]
29503 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29504 where __builtin_expect is unavailable.
29505
2fd6ff13
DM
295062012-06-03 David S. Miller <davem@davemloft.net>
29507
29508 * stdlib/longlong.h: Updated from GCC.
29509
173f7220
AS
295102012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29511
29512 [BZ #14042]
29513 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29514 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29515 __mcount_internal.
29516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29517 (GLIBC_2.16): Likewise.
29518
f34a1c6f
L
295192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29520
29521 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29522
88a4576f
JM
295232012-06-01 Joseph Myers <joseph@codesourcery.com>
29524
ea32bcdd
JM
29525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29526 (default-abi): New variable.
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29528 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29529 variable.
29530 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29531 Likewise.
29532 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29533 Likewise.
29534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29535 Likewise.
29536
88a4576f
JM
29537 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29538 definition. Document in comment.
29539
402fe938
DM
295402012-06-01 David S. Miller <davem@davemloft.net>
29541
29542 * stdlib/longlong.h: Updated from GCC.
29543
3553723f
L
295442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29545
29546 [BZ #14117]
3bd872c4
L
29547 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29548 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29549 sys/debugreg.h sys/io.h here.
29550 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29551 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29552 sys/io.h.
29553 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29554 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29555 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29556 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29557 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29558 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29559
3553723f
L
29560 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29561 Define only if __x86_64__ is defined.
29562
4842e4fe
JM
295632012-06-01 Joseph Myers <joseph@codesourcery.com>
29564
c5bfe3d5
JM
29565 [BZ #14048]
29566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29567 Use int64_t for variable i.
29568 * math/libm-test.inc (fmod_test): Add more tests.
29569
4842e4fe
JM
29570 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29571 z computation is not scheduled after fetestexcept.
29572 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29573 Use math_force_eval instead of asm to ensure calculation scheduled
29574 before exception test.
29575 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29576 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29577
efb73488
AJ
295782012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29579
29580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29581 computation is not scheduled after fetestexcept.
29582
29bcce7c
L
295832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29584
29585 [BZ #14117]
29586 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29587 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29588
73a68f94
AZ
295892012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29590
29591 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29592 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29593
67b6df78
L
295942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29595
edf2933a 29596 [BZ #14117]
ebc64a18
L
29597 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29598 <bits/wordsize.h>.
29599 (__WCHAR_MIN): Support __WORDSIZE == 64.
29600 (__WCHAR_MAX): Likewise.
29601
edf2933a
L
29602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29604
57c6cf40
L
29605 [BZ #14183]
29606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29607 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29608
67b6df78 29609 [BZ #14117]
8eb6281e
L
29610 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29612
aac639f4
L
29613 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29614 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29615
67b6df78
L
29616 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29617 Defined to 1 if __x86_64__ isn't defined.
29618 (_STAT_VER_LINUX_OLD): New.
29619 (st_atime): Remove duplicate.
29620 (st_mtime): Likewise.
29621 (st_ctime): Likewise.
29622
1c2cfe81
DM
296232012-05-31 David S. Miller <davem@davemloft.net>
29624
29625 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29626 entries.
29627
5be8418c
AS
296282012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29629
e7725326
AS
29630 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29631 gen-libm-test.pl.
29632
5be8418c
AS
29633 [BZ #14132]
29634 * elf/dl-reloc.c: Include <_itoa.h>.
29635 (_dl_reloc_bad_type): Remove use of INTUSE.
29636 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29637 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29638 * stdio-common/psiginfo.c (psiginfo): Likewise.
29639 * stdio-common/psignal.c (psignal): Likewise.
29640 * string/strsignal.c (strsignal): Likewise.
29641 * include/signal.h (_sys_siglist): Declare hidden proto.
29642 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29643 INTVARDEF with libc_hidden_data_def.
29644 * stdio-common/itoa-udigits.c: Likewise.
29645 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29646 (_itoa_lower_digits_internal): Remove declaration.
29647 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29648 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29649 (_sys_sigabbrev_internal): Remove aliases.
29650 (_sys_siglist): Define hidden alias.
29651
507352f1
MT
296522012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29653
29654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29655 bits/sysctl.h.
29656
42bbb1c3
L
296572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29658
29659 [BZ #14117]
6bd784b6
L
29660 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29661 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29662
8bca20f0
L
29663 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29664 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29665 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29666 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29668 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29669
f9e890a9
L
29670 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29672 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29673
471101a1
L
29674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29675 with __addr.
29676 (insw): Likewise.
29677 (insl): Likewise.
29678 (outsb): Likewise.
29679 (outsw): Likewise.
29680 (outsl): Likewise.
29681
6451c862
L
29682 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29683 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29684 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29685
a254b8c9
L
29686 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29687 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29689 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29690 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29691 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29692
b8dfdd92
L
29693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29694 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29695
578cd270
L
29696 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29697 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29698
de662f5f
L
29699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29701 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29702
25653439
L
29703 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29704 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29705 to ...
29706 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29707
6bad24a0
L
29708 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29709 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29710 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29711
42bbb1c3
L
29712 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29713 for x86-64.
29714 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29715
2d10d547
JM
297162012-05-31 Joseph Myers <joseph@codesourcery.com>
29717
29718 * math/math.h (M_El): Use two more decimal places.
29719 (M_LOG2El): Likewise.
29720 (M_LOG10El): Likewise.
29721 (M_LN2l): Likewise.
29722 (M_LN10l): Likewise.
29723 (M_PIl): Likewise.
29724 (M_PI_2l): Likewise.
29725 (M_PI_4l): Likewise.
29726 (M_1_PIl): Likewise.
29727 (M_2_PIl): Likewise.
29728 (M_2_SQRTPIl): Likewise.
29729 (M_SQRT2l): Likewise.
29730 (M_SQRT1_2l): Likewise.
29731
f230c29b
DM
297322012-05-31 David S. Miller <davem@davemloft.net>
29733
29734 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29735 values between float registers.
29736 * sysdeps/sparc/sparc64/memset.S: Likewise.
29737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29738
fed806c3
MF
297392012-05-31 Mike Frysinger <vapier@gentoo.org>
29740
29741 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29742 -D_FORTIFY_SOURCE=1.
29743 (CPPFLAGS-tst-longjmp_chk.c): Define.
29744 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29745 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29746 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29747 CFLAGS-tst-wchar-h.c.
29748
30917259
MP
297492012-05-31 Marek Polacek <polacek@redhat.com>
29750
29751 [BZ #14132]
29752 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29753 __endmntent_internal): Remove declaration.
29754 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29755 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29756 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29757
1c58d5dc
DM
297582012-05-30 David S. Miller <davem@davemloft.net>
29759
29760 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29761 (___Q_simulate_exceptions): Use real FP ops rather than writing
29762 into the %fsr.
29763 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29764 Likewise.
29765
7dc00e0d
L
297662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 [BZ #14117]
0bd53985
L
29769 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29770 * sysdeps/x86/bits/xtitypes.h: This.
29771
3a257e66
L
29772 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29773 * sysdeps/x86/bits/wordsize.h: This.
29774
62f62904
L
29775 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29776 * sysdeps/x86/bits/huge_vall.h: This.
29777
404fe9d9
L
29778 * sysdeps/i386/bits/select.h: Removed.
29779 * sysdeps/x86_64/bits/select.h: Renamed to ...
29780 * sysdeps/x86/bits/select.h: This.
29781
d48d0446
L
29782 * sysdeps/i386/bits/setjmp.h: Removed.
29783 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29784 * sysdeps/x86/bits/setjmp.h: This.
29785
7dc00e0d
L
29786 * sysdeps/i386/bits/mathdef.h: Removed.
29787 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29788 * sysdeps/x86/bits/mathdef.h: This.
29789
03277f8f
AS
297902012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29791
29792 [BZ #14132]
29793 * include/sys/socket.h (__connect_internal)
29794 (__libc_sa_len_internal): Remove declaration.
29795 (__connect, __libc_sa_len): Declare hidden_proto.
29796 (SA_LEN): Remove use of INTUSE.
29797 * socket/connect.c: Add libc_hidden_def.
29798 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29799 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29800 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29801 alias.
29802 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29803 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29804 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29805 of adding _internal alias.
29806
13764867
L
298072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29808
29809 [BZ #14117]
6bd97696
L
29810 * sysdeps/i386/bits/link.h: Removed.
29811 * sysdeps/i386/bits/linkmap.h: Likewise.
29812 * sysdeps/x86_64/bits/link.h: Renamed to ...
29813 * sysdeps/x86/bits/link.h: This.
29814 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29815 * sysdeps/x86/bits/linkmap.h: This.
29816
f726f0bb
L
29817 * sysdeps/i386/bits/endian.h: Removed.
29818 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29819 * sysdeps/x86/bits/endian.h: This.
29820
13764867
L
29821 * sysdeps/i386/bits/byteswap.h: Removed.
29822 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29823 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29824 * sysdeps/x86/bits/byteswap.h: This.
29825 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29826 * sysdeps/x86/bits/byteswap-16.h: This.
29827 * sysdeps/i386/Implies: Add x86.
29828 * sysdeps/x86_64/Implies: Likewise.
29829
ae251b0b
DM
298302012-05-30 David S. Miller <davem@davemloft.net>
29831
29832 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29833 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29834 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29835 (FP_TRAPPING_EXCEPTIONS): Define.
29836 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29837 (FP_TRAPPING_EXCEPTIONS): Define.
29838 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29839 subnormals only when inexact has been signalled or underflow
29840 exceptions are enabled.
29841 (_FP_PACK_CANONICAL): Likewise.
29842
d5c90867
L
298432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29844
29845 [BZ #14183]
29846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29847 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29848
63f1549e
RH
298492012-05-30 Richard Henderson <rth@twiddle.net>
29850
8d8f2279
RH
29851 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29852 with #ifndef NOT_IN_libc.
29853
63f1549e
RH
29854 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29855 marked to avoid plt entry.
29856
0ab0291b
L
298572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29858
29859 [BZ #14112]
29860 * Makeconfig (default-abi): New macro.
29861 (abi-includes): Likewise.
29862 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29863 $(abi-$(default-abi)-lib-soname) for soname if defined.
29864 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29865 abi-variants.
29866 * Makefile (installed-stubs): Likewise.
29867 * include/stubs-biarch.h: Removed.
29868 * scripts/lib-names.awk: Only handle one library at a time.
29869 * scripts/soversions.awk: Remove WORDSIZE support.
29870 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29871 entries.
29872 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29873 Removed.
29874 (syscall-list-default-condition): Likewise.
29875 (syscall-list-default-condition): Likewise.
29876 (syscall-list-includes): Likewise.
29877 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29878 syscall-list-* with abi-*. Handle undefined abi-variants.
29879 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29880 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29881 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29882 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29883 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29884 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29885 Removed.
29886 (syscall-list-32-options): Likewise.
29887 (syscall-list-32-condition): Likewise.
29888 (syscall-list-64-options): Likewise.
29889 (syscall-list-64-condition): Likewise.
29890 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29891 macro.
29892 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29893 Renamed to ...
29894 (abi-*): This.
29895 (abi-64-ld-soname): New macro.
29896 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29897 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29898 Renamed to ...
29899 (abi-*): This.
29900 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29901 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29902
4da0431d
JM
299032012-05-30 Joseph Myers <joseph@codesourcery.com>
29904
3a85279c
JM
29905 * sysdeps/unix/sysv/linux/kernel-features.h
29906 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29907 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29908 include <kernel-features.h>.
29909 [!__NR_ftruncate64]: Remove conditional code.
29910 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29911 [__NR_ftruncate64]: Make code unconditional.
29912 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29913 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29914 include <kernel-features.h>.
29915 [!__NR_ftruncate64]: Remove conditional code.
29916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29917 [__NR_ftruncate64]: Make code unconditional.
29918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29920 include <kernel-features.h>.
29921 [!__NR_ftruncate64]: Remove conditional code.
29922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29923 [__NR_ftruncate64]: Make code unconditional.
29924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29926 include <kernel-features.h>.
29927 [!__NR_ftruncate64]: Remove conditional code.
29928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29929 [__NR_ftruncate64]: Make code unconditional.
29930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29931
4da0431d
JM
29932 * configure.in (libc_cv_fpie): Weaken to a compile test using
29933 LIBC_TRY_CC_OPTION.
29934 * configure: Regenerated.
29935
11ef492c
AK
299362012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29937
29938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29942 Refreshed.
29943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29949 Refreshed.
29950
d66ef399
DM
299512012-05-27 David S. Miller <davem@davemloft.net>
29952
29953 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29954 (___Q_zero): New.
29955 (__Q_simulate_exceptions): Return void. Change to simulate
29956 exceptions by writing into the %fsr.
29957 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29958 (__Qp_handle_exceptions): Likewise.
29959 (numbers): Delete.
29960 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29961 __Qp_handle_exceptions.
29962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29963 __Qp_handle_exceptions.
29964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29965 as unused and give dummy FP_RND_NEAREST initializer.
29966 (FP_INHIBIT_RESULTS): Define.
29967 (___Q_simulate_exceptions): Update declaration.
29968 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29969 formatting.
29970 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29971 as unused and give dummy FP_RND_NEAREST initializer.
29972 (__Qp_handle_exceptions): Update declaration.
29973 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29974 formatting.
29975
04fb54b5
TS
299762012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29977
29978 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29979 the temporary FPU control word.
29980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29981 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29982 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29983 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29984 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29985 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29986 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29987 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29988 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29989 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29990 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29991
3f99608f
KK
299922012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29993
29994 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29995 fields.
29996
65a4de4e
CLT
299972012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29998
29999 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30000 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30001 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30002 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30003 Likewise.
30004 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30005 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30006 Likewise.
30007
15749d40
UD
300082012-05-27 Ulrich Drepper <drepper@gmail.com>
30009
30010 * po/h.po: Update from translation team.
30011
25dbcb27
AS
300122012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30013
3d3f8e55
AS
30014 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30015
25dbcb27
AS
30016 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30017 handling of denormals.
30018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30019 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30020 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30021 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30025 Likewise.
30026
7ad47a80 300272012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30028
30029 [BZ #14152]
30030 * math/libm-test.inc (fma_test): Don't always expect underflow
30031 exception.
30032
9c6ea9fa
SP
300332012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30034
30035 [BZ #12416]
30036 * elf/tst-execstack.c: Include stackinfo.h.
30037 (do_test): Adjust test case to ensure that pthread_getattr_np
30038 behaviour remains the same after marking stack executable.
30039
a8239222
JM
300402012-05-25 Joseph Myers <joseph@codesourcery.com>
30041
30042 * sysdeps/unix/sysv/linux/kernel-features.h
30043 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30044 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30045 kernel-features.h.
30046 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30047 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30048 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30049 kernel-features.h.
30050 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30051 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30052
918b5606
L
300532012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30054
30055 * configure.in: Define the default includes to being none.
30056 * configure: Regenerated.
30057
3a097cc7
RM
300582012-05-25 Roland McGrath <roland@hack.frob.com>
30059
8422c9a5
RM
30060 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30061 * sysdeps/x86_64/setjmp.S: Likewise.
30062 * sysdeps/i386/bsd-setjmp.S: Likewise.
30063 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30064 * sysdeps/i386/setjmp.S: Likewise.
30065 * sysdeps/i386/__longjmp.S: Likewise.
30066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30067 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30068
3a097cc7
RM
30069 * include/stap-probe.h: New file.
30070 * configure.in: Handle --enable-systemtap.
30071 * configure: Regenerated.
30072 * config.h.in (USE_STAP_PROBE): New #undef.
30073 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30074 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30075 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30076
21708942
JM
300772012-05-25 Joseph Myers <joseph@codesourcery.com>
30078
30079 [BZ #13717]
30080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30081 to 2.4.0 where earlier.
30082 * sysdeps/unix/sysv/linux/configure: Regenerated.
30083 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30084 <kernel-features.h>.
30085 [__ASSUME_32BITUIDS]: Make code unconditional.
30086 [!__ASSUME_32BITUIDS]: Remove conditional code.
30087 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30088 <kernel-features.h>.
30089 [__ASSUME_32BITUIDS]: Make code unconditional.
30090 [!__ASSUME_32BITUIDS]: Remove conditional code.
30091 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30092 [__ASSUME_32BITUIDS]: Make code unconditional.
30093 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30094 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30095 <kernel-features.h>.
30096 [__ASSUME_32BITUIDS]: Make code unconditional.
30097 [!__ASSUME_32BITUIDS]: Remove conditional code.
30098 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30099 <kernel-features.h>.
30100 [__ASSUME_32BITUIDS]: Make code unconditional.
30101 [!__ASSUME_32BITUIDS]: Remove conditional code.
30102 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30103 <kernel-features.h>.
30104 [__ASSUME_32BITUIDS]: Make code unconditional.
30105 [!__ASSUME_32BITUIDS]: Remove conditional code.
30106 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30107 <kernel-features.h>.
30108 [__ASSUME_32BITUIDS]: Make code unconditional.
30109 [!__ASSUME_32BITUIDS]: Remove conditional code.
30110 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30111 <kernel-features.h>.
30112 [__ASSUME_32BITUIDS]: Make code unconditional.
30113 [!__ASSUME_32BITUIDS]: Remove conditional code.
30114 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30115 <kernel-features.h>.
30116 [__ASSUME_32BITUIDS]: Make code unconditional.
30117 [!__ASSUME_32BITUIDS]: Remove conditional code.
30118 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30119 <kernel-features.h>.
30120 [__ASSUME_32BITUIDS]: Make code unconditional.
30121 [!__ASSUME_32BITUIDS]: Remove conditional code.
30122 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30123 <kernel-features.h>.
30124 [__ASSUME_32BITUIDS]: Make code unconditional.
30125 [!__ASSUME_32BITUIDS]: Remove conditional code.
30126 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30127 <kernel-features.h>.
30128 [__ASSUME_32BITUIDS]: Make code unconditional.
30129 [!__ASSUME_32BITUIDS]: Remove conditional code.
30130 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30131 <kernel-features.h>.
30132 [__ASSUME_32BITUIDS]: Make code unconditional.
30133 [!__ASSUME_32BITUIDS]: Remove conditional code.
30134 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30135 <kernel-features.h>.
30136 [__NR_setresgid] (__setresgid): Do not declare.
30137 [__ASSUME_32BITUIDS]: Make code unconditional.
30138 [!__ASSUME_32BITUIDS]: Remove conditional code.
30139 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30140 <kernel-features.h>.
30141 [__NR_setresuid] (__setresuid): Do not declare.
30142 [__ASSUME_32BITUIDS]: Make code unconditional.
30143 [!__ASSUME_32BITUIDS]: Remove conditional code.
30144 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30145 <kernel-features.h>.
30146 [__ASSUME_32BITUIDS]: Make code unconditional.
30147 [!__ASSUME_32BITUIDS]: Remove conditional code.
30148 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30149 <kernel-features.h>.
30150 [__ASSUME_32BITUIDS]: Make code unconditional.
30151 [!__ASSUME_32BITUIDS]: Remove conditional code.
30152 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30153 <kernel-features.h>.
30154 [__ASSUME_32BITUIDS]: Make code unconditional.
30155 [!__ASSUME_32BITUIDS]: Remove conditional code.
30156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30157 <kernel-features.h>.
30158 [__ASSUME_32BITUIDS]: Make code unconditional.
30159 [!__ASSUME_32BITUIDS]: Remove conditional code.
30160 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30161 <kernel-features.h>.
30162 [__ASSUME_32BITUIDS]: Make code unconditional.
30163 [!__ASSUME_32BITUIDS]: Remove conditional code.
30164 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30165 <kernel-features.h>.
30166 [__ASSUME_32BITUIDS]: Make code unconditional.
30167 [!__ASSUME_32BITUIDS]: Remove conditional code.
30168 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30169 <kernel-features.h>.
30170 [__ASSUME_32BITUIDS]: Make code unconditional.
30171 [!__ASSUME_32BITUIDS]: Remove conditional code.
30172 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30173 <kernel-features.h>.
30174 [__ASSUME_32BITUIDS]: Make code unconditional.
30175 [!__ASSUME_32BITUIDS]: Remove conditional code.
30176 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30177 <kernel-features.h>.
30178 [__ASSUME_32BITUIDS]: Make code unconditional.
30179 [!__ASSUME_32BITUIDS]: Remove conditional code.
30180 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30181 <kernel-features.h>.
30182 [__ASSUME_32BITUIDS]: Make code unconditional.
30183 [!__ASSUME_32BITUIDS]: Remove conditional code.
30184 * sysdeps/unix/sysv/linux/kernel-features.h
30185 (__ASSUME_SETRESUID_SYSCALL): Remove.
30186 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30187 (__ASSUME_32BITUIDS): Likewise.
30188 (__ASSUME_LDT_WORKS): Likewise.
30189 (__ASSUME_O_DIRECTORY): Likewise.
30190 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30191 architecture but not kernel version.
30192 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30193 (__ASSUME_MMAP2_SYSCALL): Likewise.
30194 (__ASSUME_STAT64_SYSCALL): Likewise.
30195 (__ASSUME_IPC64): Likewise.
30196 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30197 <kernel-features.h>.
30198 [__ASSUME_32BITUIDS]: Make code unconditional.
30199 [!__ASSUME_32BITUIDS]: Remove conditional code.
30200 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30201 <kernel-features.h>.
30202 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30203 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30204 132096]: Remove conditional code.
30205 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30206 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30207 <kernel-features.h>.
30208 [__ASSUME_32BITUIDS]: Make code unconditional.
30209 [!__ASSUME_32BITUIDS]: Remove conditional code.
30210 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30211 <kernel-features.h>.
30212 [__ASSUME_32BITUIDS]: Make code unconditional.
30213 [!__ASSUME_32BITUIDS]: Remove conditional code.
30214 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30215 <kernel-features.h>.
30216 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30217 unconditional.
30218 (__setresgid): Do not declare.
30219 [__ASSUME_32BITUIDS]: Make code unconditional.
30220 [!__ASSUME_32BITUIDS]: Remove conditional code.
30221 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30222 <kernel-features.h>.
30223 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30224 unconditional.
30225 (__setresuid): Do not declare.
30226 [__ASSUME_32BITUIDS]: Make code unconditional.
30227 [!__ASSUME_32BITUIDS]: Remove conditional code.
30228 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30229 <kernel-features.h>.
30230 [__ASSUME_32BITUIDS]: Make code unconditional.
30231 [!__ASSUME_32BITUIDS]: Remove conditional code.
30232 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30233 <kernel-features.h>.
30234 [__ASSUME_32BITUIDS]: Make code unconditional.
30235 [!__ASSUME_32BITUIDS]: Remove conditional code.
30236
a386f1cc
RH
302372012-05-25 Richard Henderson <rth@twiddle.net>
30238
30239 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30240 dl_hwcap to ifunc resolver.
30241 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30242 elf_ifunc_invoke.
30243 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30244 dl_hwcap to ifunc resolver.
30245 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30246
b6550497
JM
302472012-05-24 Joseph Myers <joseph@codesourcery.com>
30248
30249 [BZ #14153]
30250 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30251 for |x| <= 2**-26, not 2**-57.
30252 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30253 exception.
30254
b0bc23a1
JL
302552012-05-24 Jeff Law <law@redhat.com>
30256
30257 * stdio-common/Makefile (tests): Add bug25.
30258 * stdio-common/bug25.c: New test.
30259
347c92e9
L
302602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 [BZ #13576]
30263 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30264 multiple of MALLOC_ALIGNMENT in size.
30265 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30266
6bcc8b3f
JM
302672012-05-24 Joseph Myers <joseph@codesourcery.com>
30268
30269 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30270 Require >= 256.
30271 (FILENAME_MAX): Use macro-int-constant.
30272 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30273 (_IOFBF): Use macro-int-constant.
30274 (_IOLBF): Likewise.
30275 (_IONBF): Likewise.
30276 (SEEK_CUR): Likewise.
30277 (SEEK_END): Likewise.
30278 (SEEK_SET): Likewise.
30279 (TMP_MAX): Likewise.
30280 (EOF): Use macro-int-constant. Require < 0.
30281 (NULL): Use macro-constant. Require == 0.
30282 (stdin): Require type to be FILE *.
30283 (stdout): Likewise.
30284 (stderr): Likewise.
30285 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30286 macro-int-constant.
30287 (EXIT_SUCCESS): Likewise.
30288 (NULL): Use macro-constant. Require == 0.
30289 (RAND_MAX): Use macro-int-constant.
30290 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30291 [C99-based standards] (strtof): Require function.
30292 [C99-based standards] (strtold): Likewise.
30293 [C99-based standards] (strtoll): Likewise.
30294 [C99-based standards] (strtoull): Likewise.
30295 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30296 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30297 [ISO || ISO99 || ISO11] (math.h): Likewise.
30298 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30299 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30301
d18ea0c5
AS
303022012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30303
30304 [BZ #14132]
56d25bb8
AS
30305 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30306 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30307 * intl/dgettext.c (DCGETTEXT): Likewise.
30308 * intl/gettext.c (DCGETTEXT): Likewise.
30309 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30310 * posix/regex_internal.h (gettext): Likewise.
30311 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30312 Remove declaration.
30313 * include/argz.h (__argz_count_internal)
30314 (__argz_stringify_internal): Remove declaration.
30315 (__argz_count, __argz_stringify): Declare hidden proto.
30316 * intl/dcgettext.c: Remove use of INTDEF.
30317 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30318 * string/argz-stringify.c: Likewise.
30319 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30320 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30321 Declare hidden proto.
d18ea0c5
AS
30322 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30323 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30324 Declare hidden proto.
30325 * include/stdio.h (__asprintf_internal): Don't declare.
30326 (__asprintf): Don't define as macro. Declare hidden proto.
30327 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30328 (__fsetlocking): Declare hidden proto.
30329 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30330 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30331 hidden proto.
30332 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30333 (_IO_setlinebuf): Remove use of INTUSE.
30334 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30335 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30336 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30337 Remove declaration.
30338 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30339 (_IO_do_flush): Remove use of INTUSE.
30340 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30341 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30342 (_IO_adjust_column, _IO_least_wmarker)
30343 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30344 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30345 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30346 (_IO_default_doallocate, _IO_wdefault_doallocate)
30347 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30348 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30349 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30350 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30351 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30352 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30353 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30354 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30355 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30356 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30357 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30358 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30359 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30360 proto.
30361 (_IO_flush_all_internal, _IO_adjust_column_internal)
30362 (_IO_default_uflow_internal, _IO_default_finish_internal)
30363 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30364 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30365 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30366 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30367 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30368 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30369 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30370 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30371 (_IO_file_close_internal, _IO_file_close_it_internal)
30372 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30373 (_IO_file_init_internal, _IO_file_attach_internal)
30374 (_IO_file_fopen_internal, _IO_file_read_internal)
30375 (_IO_file_sync_internal, _IO_file_seek_internal)
30376 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30377 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30378 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30379 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30380 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30381 (_IO_list_all_internal, _IO_link_in_internal)
30382 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30383 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30384 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30385 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30386 (_IO_do_write_internal, _IO_padn_internal)
30387 (_IO_getline_info_internal, _IO_getline_internal)
30388 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30389 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30390 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30391 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30392 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30393 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30394 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30395 with libc_hidden_ver, remove use of INTUSE.
30396 * libio/genops.c: Likewise.
30397 * libio/freopen.c: Likewise.
30398 * libio/freopen64.c: Likewise.
30399 * libio/iofclose.c: Likewise.
30400 * libio/iofdopen.c: Likewise.
30401 * libio/iofflush.c: Likewise.
30402 * libio/iofflush_u.c: Likewise.
30403 * libio/iofgets.c: Likewise.
30404 * libio/iofgets_u.c: Likewise.
30405 * libio/iofopen.c: Likewise.
30406 * libio/iofopncook.c: Likewise.
30407 * libio/iofread.c: Likewise.
30408 * libio/iofread_u.c: Likewise.
30409 * libio/ioftell.c: Likewise.
30410 * libio/iofwrite.c: Likewise.
30411 * libio/iogetline.c: Likewise.
30412 * libio/iogets.c: Likewise.
30413 * libio/iogetwline.c: Likewise.
30414 * libio/iopadn.c: Likewise.
30415 * libio/iopopen.c: Likewise.
30416 * libio/ioseekoff.c: Likewise.
30417 * libio/ioseekpos.c: Likewise.
30418 * libio/iosetbuffer.c: Likewise.
30419 * libio/iosetvbuf.c: Likewise.
30420 * libio/ioungetc.c: Likewise.
30421 * libio/ioungetwc.c: Likewise.
30422 * libio/iovdprintf.c: Likewise.
30423 * libio/iovsprintf.c: Likewise.
30424 * libio/iovsscanf.c: Likewise.
30425 * libio/memstream.c: Likewise.
30426 * libio/obprintf.c: Likewise.
30427 * libio/oldfileops.c: Likewise.
30428 * libio/oldiofclose.c: Likewise.
30429 * libio/oldiofdopen.c: Likewise.
30430 * libio/oldiofopen.c: Likewise.
30431 * libio/oldiopopen.c: Likewise.
30432 * libio/oldstdfiles.c: Likewise.
30433 * libio/putc.c: Likewise.
30434 * libio/setbuf.c: Likewise.
30435 * libio/setlinebuf.c: Likewise.
30436 * libio/stdfiles.c: Likewise.
30437 * libio/strops.c: Likewise.
30438 * libio/vasprintf.c: Likewise.
30439 * libio/vscanf.c: Likewise.
30440 * libio/vsnprintf.c: Likewise.
30441 * libio/vswprintf.c: Likewise.
30442 * libio/wfiledoalloc.c: Likewise.
30443 * libio/wfileops.c: Likewise.
30444 * libio/wgenops.c: Likewise.
30445 * libio/wmemstream.c: Likewise.
30446 * libio/wstrops.c: Likewise.
30447 * libio/__fpurge.c: Likewise.
30448 * libio/__fsetlocking.c: Likewise.
30449 * assert/assert.c: Likewise.
30450 * debug/fgets_chk.c: Likewise.
30451 * debug/fgets_u_chk.c: Likewise.
30452 * debug/fread_chk.c: Likewise.
30453 * debug/fread_u_chk.c: Likewise.
30454 * debug/gets_chk.c: Likewise.
30455 * debug/obprintf_chk.c: Likewise.
30456 * debug/vasprintf_chk.c: Likewise.
30457 * debug/vdprintf_chk.c: Likewise.
30458 * debug/vsnprintf_chk.c: Likewise.
30459 * debug/vsprintf_chk.c: Likewise.
30460 * malloc/mtrace.c: Likewise.
30461 * misc/error.c: Likewise.
30462 * misc/syslog.c: Likewise.
30463 * stdio-common/asprintf.c: Likewise.
30464 * stdio-common/fxprintf.c: Likewise.
30465 * stdio-common/getw.c: Likewise.
30466 * stdio-common/isoc99_fscanf.c: Likewise.
30467 * stdio-common/isoc99_scanf.c: Likewise.
30468 * stdio-common/isoc99_vfscanf.c: Likewise.
30469 * stdio-common/isoc99_vscanf.c: Likewise.
30470 * stdio-common/isoc99_vsscanf.c: Likewise.
30471 * stdio-common/printf-prs.c: Likewise.
30472 * stdio-common/printf_fp.c: Likewise.
30473 * stdio-common/printf_fphex.c: Likewise.
30474 * stdio-common/printf_size.c: Likewise.
30475 * stdio-common/putw.c: Likewise.
30476 * stdio-common/scanf.c: Likewise.
30477 * stdio-common/sprintf.c: Likewise.
30478 * stdio-common/tmpfile.c: Likewise.
30479 * stdio-common/vfprintf.c: Likewise.
30480 * stdio-common/vfscanf.c: Likewise.
30481 * stdlib/strfmon_l.c: Likewise.
30482 * sunrpc/openchild.c: Likewise.
30483 * sunrpc/xdr_stdio.c: Likewise.
30484 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30485 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30486
d6c33fda
RM
304872012-05-24 Roland McGrath <roland@hack.frob.com>
30488
c1487492
RM
30489 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30490
30491 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30492 in the third column, to generate for the shared library an IFUNC
30493 that uses _dl_vdso_vsym.
30494 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30495 * Makeconfig (object-suffixes-noshared): New variable.
30496
30497 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30498 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30499 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30500 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30501
d6c33fda
RM
30502 [BZ #14132]
30503 * include/sys/time.h (__gettimeofday): Remove macro.
30504 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30505 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30506 Remove INTDEF.
30507 (__gettimeofday): Add libc_hidden_def.
30508 (gettimeofday): Add libc_hidden_weak.
30509 * sysdeps/mach/gettimeofday.c: Likewise.
30510 * sysdeps/posix/gettimeofday.c: Likewise.
30511 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30512 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30514 (__gettimeofday_internal): Remove strong_alias.
30515 (__gettimeofday): Add libc_hidden_def.
30516 (gettimeofday): Add libc_hidden_weak.
30517 * sysdeps/unix/syscalls.list (gettimeofday):
30518 Remove __gettimeofday_internal alias.
30519
b5a2bbe6
L
305202012-05-24 Daniel Jacobowitz <drow@false.org>
30521 H.J. Lu <hongjiu.lu@intel.com>
30522
30523 [BZ #12495]
30524 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30525 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30526 (largebin_index_32_big): New.
30527 (largebin_index): Use it for 16-byte alignment.
30528 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30529 correction with front_misalign.
30530
cfba4fda
L
305312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30532
7f907421
L
30533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30535 Likewise.
30536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30537 Likewise.
30538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30539 Likewise.
30540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30541 Likewise.
30542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30543 Likewise.
30544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30545 Likewise.
30546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30547 Likewise.
30548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30549 Likewise.
30550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30551 Likewise.
30552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30553 Likewise.
30554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30555 Likewise.
30556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30557 Likewise.
30558
cfba4fda
L
30559 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30560 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30561
80bad0cc
JM
305622012-05-24 Joseph Myers <joseph@codesourcery.com>
30563
7a25eb06
JM
30564 [BZ #10846]
30565 [BZ #14036]
30566 * math/libm-test.inc (exp_test): Add test from bug 14036.
30567 (pow_test): Add test from bug 10846.
30568
795405f9
JM
30569 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30570 and other flags.
30571 (special_function): Do not include flags in test name.
30572 (parse_args): Likewise.
30573 * sysdeps/i386/fpu/libm-test-ulps: Update.
30574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30575 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30576 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30578
80bad0cc
JM
30579 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30580 exceptions.
30581 * math/libm-test.inc ("Philosophy"): Update comment about
30582 exception testing.
30583 (UNDERFLOW_EXCEPTION): New macro.
30584 (UNDERFLOW_EXCEPTION_OK): Likewise.
30585 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30586 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30587 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30588 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30589 (INVALID_EXCEPTION_OK): Update value.
30590 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30591 (OVERFLOW_EXCEPTION_OK): Likewise.
30592 (IGNORE_ZERO_INF_SIGN): Likewise.
30593 (test_exceptions): Handle underflow exceptions.
30594 (acos_test): Update for underflow exception expectations.
30595 (cexp_test): Likewise.
30596 (clog_test): Likewise.
30597 (clog10_test): Likewise.
30598 (csqrt_test): Likewise.
30599 (ctan_test): Likewise.
30600 (ctanh_test): Likewise.
30601 (exp_test): Likewise.
30602 (exp10_test): Likewise.
30603 (exp2_test): Likewise.
30604 (expm1_test): Likewise.
30605 (fma_test): Likewise.
30606 (j0_test): Likewise.
30607 (jn_test): Likewise.
30608 (nexttoward_test): Likewise.
30609 (pow_test): Likewise.
30610 (scalbn_test): Likewise.
30611 (scalbln_test): Likewise.
30612 (tan_test): Likewise.
30613 (y1_test): Likewise.
30614 * sysdeps/i386/fpu/libm-test-ulps: Update.
30615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30616
9e0e3d0b
DM
306172012-05-23 David S. Miller <davem@davemloft.net>
30618
30619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30620 (__libc_sigaction): Remove unused local variables.
30621
ccd0a08f
L
306222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30623
30624 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30625
62bdf9a6
PE
306262012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30627
f8591f80
PE
30628 mktime: avoid signed integer overflow
30629 * time/mktime.c (__mktime_internal): Do not mishandle the case
30630 where diff == INT_MIN.
30631
94c7d826
PE
30632 mktime: simplify computation of average
30633 * time/mktime.c (ranged_convert): Use new time_t_avg function
30634 instead of rolling our own (probably-slower) code.
30635
ce73d683
PE
30636 mktime: do not assume signed right shift propagates sign bit
30637 * time/mktime.c (isdst_differ): New static function.
30638 (__mktime_internal): No need to normalize tm_isdst now.
30639 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30640 tm_isdst values.
30641
72a22e59
PE
30642 mktime: merge another wrapv change from gnulib
30643 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30644 from some compilers.
30645
68605433
PE
30646 mktime: remove incorrect attempt at unusual arithmetics
30647 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30648 The code didn't really work on such machines anyway.
30649 (TYPE_MINIMUM): Assume two's complement.
30650 (twos_complement_arithmetic): Verify that long_int and time_t
30651 are two's complement (or unsigned, in the latter case).
30652
03cf7fe3
PE
30653 mktime: check signed shifts on long_int and time_t, too
30654 * time/mktime.c (SHR): Check that shifts work as desired
30655 on the types long_int and time_t too, as SHR is used on
30656 such types.
30657
f04dfbc2
PE
30658 mktime: do not assume 'long' is wide enough
30659 * time/mktime.c (verify): Move decl up.
30660 (long_int): New type.
30661 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30662 to remove assumption in the code that 'long' is wide enough to
30663 store year values. This assumption is not true on x32 and on
30664 some non-glibc platforms.
30665
62bdf9a6
PE
30666 mktime: merge wrapv change from gnulib
30667 * time/mktime.c (WRAPV): New macro.
30668 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30669 (guess_time_tm, __mktime_internal): Do not assume that signed
30670 integer overflow wraps around; modern compilers generate code
30671 where this assumption is no longer valid.
30672
5e292e4f
L
306732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30676 Replace "jmp L(pseudo_end)" with "ret".
30677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30678 Likewise.
30679
8caf8c87
AJ
306802012-05-23 Andreas Jaeger <aj@suse.de>
30681
30682 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30683 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30684
1a09dc56
AJ
306852012-05-23 Andreas Jaeger <aj@suse.de>
30686 Maximilian Attems <max@stro.at>
30687
30688 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30689 New macros.
30690
1c87aba0
L
306912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30692
30693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30694 code so that pseudo_end is just ret and the stack pointer is
30695 correct also for static library in error case.
30696
40e45bd5
JM
306972012-05-23 Joseph Myers <joseph@codesourcery.com>
30698
c2670533
JM
30699 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30700 move to syscalls.list.
30701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30705
40e45bd5
JM
30706 * manual/install.texi (Running make install): Do not mention Linux
30707 kernel version for which pt_chown is not needed.
30708 (Linux): Do not mention problems with nscd with 2.0 kernels.
30709 * INSTALL: Regenerated.
30710
be08eda5
AJ
307112012-05-23 Andreas Jaeger <aj@suse.de>
30712
30713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30714 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30715 macro.
30716 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30718 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30720 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30724 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30726 * sysdeps/unix/sysv/linux/bits/in.h
30727 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30728
a6a056bb
RM
307292012-05-22 Roland McGrath <roland@hack.frob.com>
30730
30731 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30732 (PREPARE_VERSION): Just use assert instead, it will be elided
30733 under [NDEBUG] anyway.
30734
c9009328
L
307352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30736
30737 * sysdeps/unix/sysv/linux/Makefile: Include
30738 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30739 (sysdep_routines): Remove sysctl.
c9009328
L
30740 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30741 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30742 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30743 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30744 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30745
73338355
AJ
307462012-05-22 Andreas Jaeger <aj@suse.de>
30747
30748 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30749 that pseudo_end is just ret and the stack pointer is correct also
30750 for static library in error case.
30751
d44638b0
PP
307522012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30753
30754 [BZ #14122]
30755 * nss/nsswitch.c (defconfig_entries): New variable.
30756 (__nss_database_lookup): Don't leak defconfig entries.
30757 (nss_parse_service_list): Don't leak on error paths.
30758 (free_database_entries): New function.
30759 (free_defconfig): New function.
30760 (free_mem): Move common code to free_database_entries.
30761
31a39bd8
L
307622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30763
da0331a8
L
30764 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30765 Add arch_prctl.
30766 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30767
31a39bd8
L
30768 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30769 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30771 New macro.
30772 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30773 (INTERNAL_SYSCALL_TYPES): Likewise.
30774 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30775 (LOAD_REGS_TYPES_[1-6]): Likewise.
30776 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30777 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30778
45470df3
AZ
307792012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30780
30781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30782 copysignl for GLIBC_2_0.
30783 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30784 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30786 logbl for GLIBC_2_0.
30787 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30788 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30789
98a61bcb
L
307902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30791
a4f6e481
L
30792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30794
f63d5db6
L
30795 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30796 Use "neg %eax".
30797
98a61bcb
L
30798 * time/mktime.c: Update copyright years.
30799
95770f14
PE
308002012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30801
6226efbd
PE
30802 mktime: merge comment-quoting-style change from gnulib
30803 * time/mktime.c: Quote 'like this' in comments.
30804 The GNU coding standards suggest that we no longer quote `like this',
30805 as "`" and "'" are typically rendered asymmetrically nowadays.
30806 The typical gnulib style is to quote 'like this' when quoting
30807 code, and "like this" when quoting English.
30808
b99e4f78
PE
30809 * time/mktime.c (compile-command): Add "-I.".
30810
643e01e6
PE
30811 mktime: merge mktime-internal.h change from gnulib
30812 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30813
2554247d
PE
30814 mktime: merge time_r change from gnulib
30815 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30816
826dd0ab
PE
30817 mktime: merge DEBUG change from gnulib
30818 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30819 case system <time.h> has a #define.
30820
bd83aabe
PE
30821 mktime: merge <sys/types.h> change from gnulib
30822 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30823 since <time.t> is now guaranteed to define time_t.
30824
95770f14
PE
30825 mktime: merge HAVE_CONFIG_H change from gnulib
30826 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30827
5e1a27a9
L
308282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30829
0e44a77e
L
30830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30831 Use "neg %eax".
30832
5e1a27a9
L
30833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30834 __rlim_t cast.
30835 (struct rusage): Use anonymous union to pad each field to
30836 __syscall_slong_t.
30837
46259bec
DM
308382012-05-21 David S. Miller <davem@davemloft.net>
30839
30840 * Makefules (o-iterator): Remove .s cases.
30841 (compile-command.s): Delete.
30842 (COMPILE.s): Delete.
30843 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30844
59f0c22e
JM
308452012-05-21 Joseph Myers <joseph@codesourcery.com>
30846
30847 * configure.in (libc_cv_predef_stack_protector): Only consider
30848 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30849 * configure: Regenerated.
30850
20c07380
L
308512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30852
bbb3154b
L
30853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30854 New macro. Use R*LP on int and pointer.
30855 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30856 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30857 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30858 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30859
20c07380
L
30860 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30861 [__WORDSIZE_TIME64_COMPAT32] instead of
30862 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30863 (struct utmp): Likewise.
30864 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30865 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30866 Renamed to ...
30867 (__WORDSIZE_TIME64_COMPAT32): This.
30868 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30869 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30870 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30871 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30872 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30873 (__WORDSIZE_TIME64_COMPAT32): New macro.
30874
d8d1017e
AJ
308752012-05-21 Andreas Jaeger <aj@suse.de>
30876
30877 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30878 only if [SHARED]. Add prototype for __wcschr_ia32.
30879
6c7fb145
RM
308802012-05-21 Roland McGrath <roland@hack.frob.com>
30881
30882 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30883 of %rbp unmolested in the jmp_buf while mangling the low bits.
30884 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30885 unmolested high bits of %rbp while demangling the low bits.
30886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30887
66274218
AJ
308882012-05-21 Andreas Jaeger <aj@suse.de>
30889
07c58f8f
AJ
30890 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30891 * sunrpc/svc_simple.c: Use it for registerrpc.
30892 * sunrpc/xcrypt.c: Use it for passwd2des.
30893
66274218
AJ
30894 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30895
61f65140
L
308962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30897
30898 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30899 Don't define if [__SYSCALL_WORDSIZE != 32].
30900 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30901 New macro.
30902
5fefb436
AJ
309032012-05-21 Bruno Haible <bruno@clisp.org>
30904 Andreas Jaeger <aj@suse.de>
30905
30906 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30907 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30908 inptr and inend for must_buffer_ch.
30909 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30910 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30911 * stdio-common/Makefile (tests): Remove bug15.
30912 (bug15-ENV): Remove macro.
30913 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30914 anymore.
30915
d8e272ab
AJ
309162012-05-19 Andreas Jaeger <aj@suse.de>
30917 Roland McGrath <roland@hack.frob.com>
30918
30919 * manual/contrib.texi: Completely rewritten. It contains now an
30920 alphabetical list of contributors and their contributions.
30921
4a56a162
RH
309222012-05-21 Richard Henderson <rth@twiddle.net>
30923
30924 * misc/getauxval.c (__getauxval): Use unsigned long int.
30925 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30926 (getauxval): Use unsigned long int.
30927
d024d23c
L
309282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30929
30930 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30931
cbc00a03
RM
309322012-05-21 Roland McGrath <roland@hack.frob.com>
30933
30934 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30935 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30936 __alignof__ (long double).
30937
478143fa
AZ
309382012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30939
30940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30941
c7683a6d
RH
309422012-05-20 Richard Henderson <rth@twiddle.net>
30943
30944 * misc/getauxval.c: New file.
30945 * misc/sys/auxv.h: New file.
30946 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30947 (routines): Add getauxval.
30948 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30949 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30950 * elf/dl-sysdep.c (_dl_auxv): Remove.
30951 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30952 * elf/dl-support.c (_dl_auxv): New variable.
30953 (_dl_aux_init): Initialize it.
30954 * manual/startup.texi (Auxiliary Vector): New node.
30955 * sysdeps/generic/bits/hwcap.h: New file.
30956 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30957 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30958 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30959 * sysdeps/sparc/sysdep.h: ... here. Include it.
30960 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30961 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30963 Update.
c7683a6d
RH
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30972
a6f1845d
AZ
309732012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30974
30975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30976
cbcbe830
DM
309772012-05-19 David S. Miller <davem@davemloft.net>
30978
30979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30980
e0b16cc2
JM
309812012-05-19 Joseph Myers <joseph@codesourcery.com>
30982
30983 [BZ #14123]
30984 * math/s_ccosh.c: Include <float.h>
30985 (__ccosh): Avoid internal overflow calculating sinh and cosh
30986 values before multiplying by sin and cos values.
30987 * math/s_ccoshf.c: Likewise.
30988 * math/s_ccoshl.c: Likewise.
30989 * math/s_csin.c: Likewise.
30990 * math/s_csinf.c: Likewise.
30991 * math/s_csinl.c: Likewise.
30992 * math/s_csinh.c: Likewise.
30993 * math/s_csinhf.c: Likewise.
30994 * math/s_csinhl.c: Likewise.
30995 * math/libm-test.inc (ccos_test): Add more tests.
30996 (ccosh_test): Likewise.
30997 (csin_test): Likewise.
30998 (csinh_test): Likewise.
30999 * sysdeps/i386/fpu/libm-test-ulps: Update.
31000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31001
6ad13e08
L
310022012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31003
f66f0ce8
L
31004 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31005 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31006
6ad13e08
L
31007 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31008
b1d072a7
JM
310092012-05-19 Joseph Myers <joseph@codesourcery.com>
31010
31011 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31012 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31013 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31014 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31015 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31016 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31017 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31018 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31019 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31020 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31021 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31022 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31023 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31024 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31025 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31026 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31027 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31028 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31029 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31030 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31031 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31032 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31033 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31034 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31035 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31036 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31037 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31038 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31039 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31040 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31041 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31042
9eae47cb
AJ
310432012-05-18 Andreas Jaeger <aj@suse.de>
31044
31045 * csu/.gitignore: Delete.
31046
bb07f69f
L
310472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31048
31049 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31050 (timex): Use __syscall_slong_t.
31051
e6bdb741
AJ
310522012-05-18 Andreas Jaeger <aj@suse.de>
31053 Carlos O'Donell <carlos_odonell@mentor.com>
31054
31055 * manual/install.texi (Configuring and compiling): Update
31056 description about files modified in the source directory.
d6c33fda 31057 * INSTALL: Regenerated.
e6bdb741 31058
1b74487e
L
310592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31060
31061 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31062 value. Use "or" to set return value to -1.
31063 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31064 negate return value.
31065
a88b64b9
TMQMF
310662012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31067
57f41c40
AS
31068 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31069 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31070 failure if the compiler has Graphite support disabled.
31071 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31072 Likewise.
57f41c40
AS
31073 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31074 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31076 Likewise.
31077
3707636e
L
310782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31079
610b8622
L
31080 * sysdeps/x86_64/x32/_itoa.h: New file.
31081
7cd195df
L
31082 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31083 getdents system call only if kernel and user dirents have the
31084 same d_ino and d_off.
31085
94b07d20
L
31086 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31087 LLONG_MAX != LONG_MAX.
31088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31089 (_fitoa_word): Likewise.
31090
18298070
L
31091 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31092 years.
31093 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31094 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31095 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31096
553c7ea4
L
31097 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31098 include <bits/wordsize.h>. Check __x86_64__ instead of
31099 __WORDSIZE.
31100 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31101 if __x86_64__ is defined. Use anonymous union on fpstate.
31102
3707636e
L
31103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31104 anonymous union.
31105
b53ef01a
AS
311062012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31107
37fb1dc0
AS
31108 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31109 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31111 Refer to _rtld_local_ro instead of _rtld_global_ro.
31112 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31113 Likewise.
31114 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31115 Likewise.
31116 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31117 Likewise.
31118 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31119 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31120 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31121
b53ef01a
AS
31122 * sysdeps/powerpc/powerpc32/dl-machine.c
31123 (__elf_machine_runtime_setup) [PROF]: Don't reference
31124 _dl_prof_resolve.
31125
7a185db2
AJ
311262012-05-18 Andreas Jaeger <aj@suse.de>
31127
31128 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31129 function only available for GCCs before 3.4 since GCC 3.4
31130 introduced a builtin.
31131 (lrint): Likewise.
31132 (llrintf): Likewise.
31133 (llrint): Likewise.
31134 (fmaxf): Likewise.
31135 (fmax): Likewise.
31136 (fminf): Likewise.
31137 (fmin): Likewise.
31138 (rint): Likewise.
31139 (rintf): Likewise.
31140 (nearbyint): Likewise.
31141 (nearbyintf): Likewise.
31142 (ceil): Likewise.
31143 (ceilf): Likewise.
31144 (floor): Likewise.
31145 (floorf): Likewise.
31146
3e5aef87
L
311472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31148
428bd707
L
31149 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31150 on both fields and cast pointer to __syscall_ulong_t.
31151
3e5aef87
L
31152 * bits/types.h (__fsword_t): New type.
31153 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31154 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31156 (__FSWORD_T_TYPE): Likewise.
31157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31158 (__FSWORD_T_TYPE): Likewise.
31159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31160 (__FSWORD_T_TYPE): Likewise.
31161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31162 (__FSWORD_T_TYPE): Likewise.
31163 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31164 __SWORD_TYPE with __fsword_t.
31165 (statfs64): Likewise.
31166
1ba7c3dc
DM
311672012-05-17 David S. Miller <davem@davemloft.net>
31168
31169 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31170
59910343
AJ
311712012-05-17 Andreas Jaeger <aj@suse.de>
31172
31173 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31174 warning.
31175
2e4c1e9e
L
311762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31177
31178 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31179
de7f5ce7
AJ
311802012-05-17 Andreas Jaeger <aj@suse.de>
31181
31182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31183 when it is used.
31184
286abc3d
CM
311852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31186
31187 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31188
477cc68e
L
311892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31190
31191 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31192 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31193
1a0994f5
CD
311942012-05-17 Andreas Jaeger <aj@suse.de>
31195 Carlos O'Donell <carlos_odonell@mentor.com>
31196
31197 [BZ #14059]
31198 * sysdeps/x86_64/multiarch/init-arch.h
31199 (bit_YMM_Usable): Rename to...
31200 (bit_AVX_Usable): ... this.
31201 (bit_FMA4_Usable): New macro.
31202 (bit_XMM_state): New macro.
31203 (bit_YMM_state): New macro.
31204 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31205 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31206 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31207 (CPUID_OSXSAVE): New macro.
31208 (CPUID_AVX): New macro.
31209 (CPUID_FMA4): New macro.
31210 (index_YMM_Usable): Rename to...
31211 (index_AVX_Usable): ... this.
31212 (HAS_AVX): Use HAS_ARCH_FEATURE.
31213 (HAS_FMA4): Likewise.
31214 (HAS_YMM_USABLE): Remove.
31215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31216 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31217 are present.
31218 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31219 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31220 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31221 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31222 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31223
0af797de
CM
312242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31225
31226 * math/libm-test.c: Support platforms without multiple rounding modes.
31227 * math/bug-nextafter.c: Support platforms without FP exceptions.
31228 * math/bug-nexttoward.c: Likewise.
31229 * math/test-fenv.c: Likewise.
31230 * math/test-misc.c: Likewise.
31231 * stdlib/bug-getcontext.c: Likewise.
31232
e39745ff
AJ
312332012-05-17 Andreas Jaeger <aj@suse.de>
31234
31235 * manual/examples/search.c (critter_cmp): Change signature to
31236 avoid warnings.
31237 * manual/string.texi (Collation Functions): Likewise.
31238
48970aba
L
312392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31240
31241 * bits/types.h: Fold copyright years.
31242 * bits/typesizes.h: Likewise.
31243 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31247 * time/time.h: Likewise.
31248
bedee953
PP
312492012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31250
31251 [BZ #208]
31252 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31253 in instead of returning them. Return void.
31254 (__libc_mallinfo): Accumulate over all arenas.
31255 (__malloc_stats): Adjust for change in int_mallinfo interface.
31256
61653dfb
RM
312572012-05-16 Roland McGrath <roland@hack.frob.com>
31258
30b99d79
RM
31259 [BZ #10375]
31260 * configure.in (NM): Add AC_CHECK_TOOL for it.
31261 (libc_extra_cflags): New substituted variable.
31262 Check for -fstack-protector being used implicitly.
31263 * configure: Regenerated.
31264 * config.make.in (config-extra-cflags): New variable,
31265 gets @libc_extra_cflags@.
31266 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31267
61653dfb
RM
31268 [BZ #10375]
31269 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31270 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31271 * configure: Regenerated.
31272 * config.make.in (CPPUNDEFS): New substituted variable.
31273 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31274 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31275 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31276
661768bb
L
312772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31280 (mq_attr): Use __syscall_slong_t.
31281
d4261567
L
312822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31283
31284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31285 Check __x86_64__ instead of __WORDSIZE.
31286 (_STAT_VER_LINUX): Likewise.
31287 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31288 __syscall_ulong_t and __syscall_slong_t.
31289 (stat64): Likewise.
31290
cf3ff365
L
312912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31292
31293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31294
76cf3e4d
L
312952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31296
31297 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31298
a637753a
L
312992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31300
31301 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31302 __syscall_ulong_t.
31303
d5e05119
L
31304 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31305 include <bits/wordsize.h>. Check __x86_64__ instead of
31306 __WORDSIZE.
31307 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31308 defined.
31309 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31310
f62ee380
L
31311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31312 include <bits/wordsize.h>. Check __x86_64__ instead of
31313 __WORDSIZE.
31314 (user_regs_struct): Use "__extension__ unsigned long long"
31315 instead of "unsigned long" if __x86_64__ is defined.
31316 (user): Likewise. Pad after pointer field if __ILP32__ is
31317 defined.
31318
4e124ced
JM
313192012-05-16 Joseph Myers <joseph@codesourcery.com>
31320
6a3951a0
JM
31321 * configure.in (makeinfo): Require version 4.5 or later. Allow
31322 versions 5 to 9.
31323 * configure: Regenerated.
31324 * manual/install.texi (texinfo): Increase version requirement to
31325 4.5 or later.
31326 * INSTALL: Regenerated.
31327
4e124ced
JM
31328 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31329
953ca31a
L
313302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31331
31332 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31333
617aca05
L
31334 * sysdeps/x86_64/x32/ffs.c: New file.
31335
5762f7ae
L
31336 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31337 __syscall_ulong_t.
31338 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31339 defined. Use __syscall_ulong_t.
31340 (shminfo): Use __syscall_ulong_t.
31341 (shm_info): Likewise.
31342
a26b6856
L
31343 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31344 __syscall_ulong_t.
31345
cb2b9ef7
L
31346 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31347 <bits/wordsize.h>.
31348 (msgqnum_t): Use __syscall_ulong_t.
31349 (msglen_t): Likewise.
31350 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31351 __syscall_ulong_t.
31352
34683bb0
L
31353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31354 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31355
84a68786
L
31356 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31357
48baa5f1
L
31358 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31359 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31360
180be88b
L
31361 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31362 __syscall_slong_t.
31363
5e90c8ad
L
31364 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31365 include <bits/wordsize.h>. Check __x86_64__ instead of
31366 __WORDSIZE.
31367
23dfb58b
L
31368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31369 "unsigned long long int" if __x86_64__ is defined.
31370 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31371
ce5d54b0
L
31372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31373 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31374 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31375
13dc9eac
L
31376 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31377 <stdint.h>.
31378 (GET_PC): Cast to uintptr_t first.
31379 (GET_FRAME): Likewise.
31380 (GET_STACK): Likewise.
31381
a7895d15
L
31382 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31383 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31384 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31385 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31386 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31387 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31388 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31389 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31390 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31392 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31394 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31395 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31396 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31397 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31398 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31400 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31402 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31403 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31404 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31405 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31406 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31407 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31408 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31409 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31410 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31411
656416c9
AS
314122012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31413
5bd66283
AS
31414 * Makerules (+depfiles): Also collect depfiles from .oS in
31415 $(extra-objs).
31416 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31417 .oS, $(libnldbl-routines)).
31418
656416c9
AS
31419 * Makerules (native-compile-mkdep-flags): Define.
31420 * sunrpc/Makefile (extra-objs): Add $(addprefix
31421 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31422 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31423 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31424 calling $(make-target-directory).
31425
a46f2169
L
314262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31427
31428 * bits/types.h (__snseconds_t): Removed.
31429 * time/time.h (struct timespec): Replace __snseconds_t with
31430 __syscall_slong_t.
31431 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31432 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31433 Likewise.
31434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31435 (__SNSECONDS_T_TYPE): Likewise.
31436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31437 (__SNSECONDS_T_TYPE): Likewise.
31438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31439 (__SNSECONDS_T_TYPE): Likewise.
31440
6af6528b
L
314412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31442
31443 * sysdeps/mach/hurd/bits/typesizes.h
31444 (__SYSCALL_SLONG_TYPE): New macro.
31445 (__SYSCALL_ULONG_TYPE): Likewise.
31446
de986b56
L
314472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31448
31449 * bits/types.h (__syscall_slong_t): New type.
31450 (__syscall_ulong_t): Likewise.
31451
31452 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31453 (__SYSCALL_ULONG_TYPE): Likewise.
31454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31455 (__SYSCALL_SLONG_TYPE): Likewise.
31456 (__SYSCALL_ULONG_TYPE): Likewise.
31457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31458 (__SYSCALL_SLONG_TYPE): Likewise.
31459 (__SYSCALL_ULONG_TYPE): Likewise.
31460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31461 (__SYSCALL_SLONG_TYPE): Likewise.
31462 (__SYSCALL_ULONG_TYPE): Likewise.
31463
85736dc7
L
314642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31465
31466 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31467 Add sigaltstack-offsets.sym.
31468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31469 <sigaltstack-offsets.h>.
31470 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31471 longjmp_msg pointer.
31472 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31473 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31474 signal stack.
31475 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31476
cc03b296
JM
314772012-05-15 Joseph Myers <joseph@codesourcery.com>
31478
a9538892
JM
31479 * elf/stackguard-macros.h: Remove file.
31480 * sysdeps/generic/stackguard-macros.h: New file.
31481 * sysdeps/i386/stackguard-macros.h: Likewise.
31482 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31483 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31484 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31485 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31486 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31487 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31488 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31489 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31490 <elf/stackguard-macros.h>.
31491
cc03b296
JM
31492 [BZ #14109]
31493 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31494 __aligned__ in attribute.
31495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31496 (gregset_t): Likewise.
31497
93171016
L
314982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31499
31500 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31501 * sysdeps/x86_64/64/Implies-after: Here. New file.
31502 * sysdeps/x86_64/x32/Implies-after: New file.
31503
d86813a0
L
315042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31505
31506 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31507 and access return value for _dl_profile_fixup. Use R10_LP to
31508 load frame size.
31509
2953ec75
L
315102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31511
31512 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31513
3b550e9e
L
315142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31515
31516 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31517 * sysdeps/x86_64/x32/sysdep.h: New file.
31518
eda41706
L
315192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31520
31521 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31522 * sysdeps/x86_64/setjmp.S: Likewise.
31523
9ea01d93
AZ
315242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31525
31526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31528 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31529 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31530 remove unused global constant.
31531
02a91938
CM
315322012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31533
31534 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31535 include of <not-cancel.h>.
31536
6540185f
RM
315372012-05-15 Roland McGrath <roland@hack.frob.com>
31538
31539 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31540
509072a0
AJ
315412012-05-15 Jeff Law <law@redhat.com>
31542 Andreas Jaeger <aj@suse.de>
31543
31544 [BZ #13594]
31545 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31546 out from...
31547 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31548 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31549 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31550 code changing __hst_map_handle.map.
31551
ba75122d
RM
315522012-05-15 Roland McGrath <roland@hack.frob.com>
31553
31554 * configure.in (sysnames): Look for Implies-before and Implies-after
31555 files.
31556 * configure: Regenerated.
31557
890d8bd8
L
315582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31559
31560 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31561 8-byte data alignment with LP_SIZE alignment.
31562
f6ee6623
L
315632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31564
31565 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31566 into R10_LP.
31567
ea2626f6
L
315682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31569
31570 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31571
085f715e
L
315722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31573
31574 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31575 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31577 Likewise.
31578 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31579
be8498fc
L
315802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31581
31582 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31583 (stackinfo_sub_sp): Likewise.
31584
70bc83b9
L
315852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31586
31587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31588 RAX_LP.
31589
9bc0b730
L
315902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31591
31592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31593 into R*_LP.
31594
6d2850e7
L
315952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31596
31597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31598 sizes into R*_LP.
31599
3cb84561
L
316002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31601
31602 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31603
54e2ed81
L
316042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31607 into R11_LP and load __x86_64_shared_cache_size_half into
31608 R8_LP.
31609
8a17f349
L
316102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31611
31612 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31613 R8_LP.
31614
777b1eea
AZ
316152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31616
31617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31618 logb for POWER7.
31619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31620 logbf for POWER7.
31621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31622 logbl for POWER7.
31623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31624 powerpc32/power7/fpu/s_logb.c via #include.
31625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31626 powerpc32/power7/fpu/s_logbf.c via #include.
31627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31628 powerpc32/power7/fpu/s_logbl.c via #include.
31629
d20d4ac2
JM
316302012-05-15 Joseph Myers <joseph@codesourcery.com>
31631
31632 * README.libm: Remove file.
31633
6cdef1ab
L
316342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31635
31636 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31637 count for x32. Use R*_LP and omit operand-size suffix.
31638
0b254d8f
L
316392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31642 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31643 * sysdeps/x86_64/x32/shlib-versions: New file.
31644
ceb809dc
RM
316452012-05-14 Roland McGrath <roland@hack.frob.com>
31646
31647 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31648 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31649 Use _dl_fatal_printf instead.
31650
37f1abd4
JM
316512012-05-14 Joseph Myers <joseph@codesourcery.com>
31652
31653 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31654 set if not set by the user. Do not allow for being unset.
31655 * sysdeps/unix/sysv/linux/configure: Regenerated.
31656
11de3a33
L
316572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31658
31659 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31660 the `q' suffix from lea and replace .quad with ASM_ADDR.
31661
e02f153a
L
316622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31663
31664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31665 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31666 instead of $17.
31667 (PTR_DEMANGLE): Likewise.
31668
520ae0fd
L
316692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31670
31671 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31672 (LP_OP): Likewise.
31673 (ASM_ADDR): Likewise.
31674 (RAX_LP): Likewise.
31675 (RBP_LP): Likewise.
31676 (RBX_LP): Likewise.
31677 (RCX_LP): Likewise.
31678 (RDI_LP): Likewise.
31679 (RSI_LP): Likewise.
31680 (RSP_LP): Likewise.
31681 (R8_LP): Likewise.
31682 (R9_LP): Likewise.
31683 (R10_LP): Likewise.
31684 (R10_LP): Likewise.
31685 (R11_LP): Likewise.
31686 (R12_LP): Likewise.
31687 (R13_LP): Likewise.
31688 (R14_LP): Likewise.
31689 (R15_LP): Likewise.
31690
b985be81
L
316912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31692
31693 * sysdeps/x86_64/x32/dl-machine.h: New file.
31694
6a4888ff
AJ
316952012-05-14 Andreas Jaeger <aj@suse.de>
31696
31697 * manual/Makefile (subdir): Remove export of subdir.
31698 (all): Remove target.
31699 (.PHONY): Remove all from list.
31700 (mkinstalldirs): Remove.
31701 (.PHONY): Remove installdirs from list.
31702 ($(inst_infodir)/libc.info): Use make-target-directory.
31703 (installdirs): Remove.
31704 (subdir_%): Remove.
31705 (glibc-targets): Remove.
31706 (lib): Remove.
31707 (stubs): Remove.
31708 ($(objpfx)stubs ../po/manual.pot): Remove.
31709 ($(objpfx)stamp%): Remove.
31710 (make-target-directory): Remove.
31711 (subdir_install): Remove.
31712 (routines): Remove.
31713 (aux): Remove.
31714 (sources): Remove.
31715 (objects): Remove.
31716 (headers): Remove.
31717
31718 [BZ #13750]
31719 * manual/.gitignore: Remove, it's not needed anymore.
31720 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31721 all files in it.
31722 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31723 directory.
31724 (texis): Renamed to $(objpfx)texis.
31725 (texis-path): New, contains path to generated files.
31726 (chapters.%): Use texis-path for complete path, add extra argument
31727 libc-texinfo.sh.
31728 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31729 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31730 (summary,texi, stamp-summary): Use complete path of
31731 files. Generate files in build dir.
31732 (dir-add.texi): Build in build dir.
31733 (libm-err.texi,stamp-libm-err): Likewise.
31734 (version.texi, stamp-version): Likewise.
31735 (.%c.texi): Likewise.
31736 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31737 (mostlyclean): Remove target.
31738 (realclean): Remove target.
31739 (generated): Add new variable with contents from mostlyclean and
31740 realclean, remove entries duplicated in common-mostlyclean, add
31741 stamp-libm-err and stamp-version.
31742 (generated-dirs): Add libc directory.
31743 ($(inst_infodir)/libc.info): Install files from build dir.
31744
31745 * manual/install.texi (Configuring and compiling): Adjust since
31746 the info files are not part of the tar ball anymore.
31747
7ac77294
AJ
317482012-05-14 Andreas Jaeger <aj@suse.de>
31749
31750 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31751 variable.
31752
ffb7875d
JM
317532012-05-14 Joseph Myers <joseph@codesourcery.com>
31754
31755 [BZ #13717]
31756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31757 to 2.2.0 where earlier.
31758 * sysdeps/unix/sysv/linux/configure: Regenerated.
31759 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31760 Remove conditional code.
31761 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31762 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31763 Remove conditional code.
31764 [!__NR_lchown]: Likewise.
31765 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31766 [__NR_lchown]: Likewise.
31767 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31768 comment referencing __ASSUME_LCHOWN_SYSCALL.
31769 * sysdeps/unix/sysv/linux/i386/sigaction.c
31770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31772 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31773 Remove conditional code.
31774 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31775 (__protocol_available): Remove #if 0 code.
31776 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31777 conditional code.
31778 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31779 * sysdeps/unix/sysv/linux/kernel-features.h
31780 (__ASSUME_GETCWD_SYSCALL): Don't define.
31781 (__ASSUME_REALTIME_SIGNALS): Likewise.
31782 (__ASSUME_PREAD_SYSCALL): Likewise.
31783 (__ASSUME_PWRITE_SYSCALL): Likewise.
31784 (__ASSUME_POLL_SYSCALL): Likewise.
31785 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31786 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31787 non-SPARC.
31788 (__ASSUME_SIOCGIFNAME): Don't define.
31789 (__ASSUME_MSG_NOSIGNAL): Likewise.
31790 (__ASSUME_SENDFILE): Define unconditionally.
31791 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31792 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31793 conditional code.
31794 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31795 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31796 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31797 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31798 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31799 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31800 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31802 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31805 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31806 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31811 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31814 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31825 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31826 Remove conditional code.
31827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31828 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31829 Remove conditional code.
31830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31831 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31832 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31833 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31834 Remove conditional code.
31835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31836 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31837 Remove conditional code.
31838 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31839 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31840 Remove conditional code.
31841 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31842 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31843 Remove conditional code.
31844 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31845 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31846 Remove conditional code.
31847 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31848 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31849 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31851 * sysdeps/unix/sysv/linux/sigaction.c
31852 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31853 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31854 * sysdeps/unix/sysv/linux/sigpending.c
31855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31857 * sysdeps/unix/sysv/linux/sigprocmask.c
31858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31860 * sysdeps/unix/sysv/linux/sigsuspend.c
31861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31864 (__libc_missing_rt_sigs): Remove.
31865 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31866 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31867 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31868 Remove conditional code.
31869 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31870 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31871 return 1.
31872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31873 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31874 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31875 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31876
1bfb7291
AJ
318772012-05-14 Andreas Jaeger <aj@suse.de>
31878
caae5a81
AJ
31879 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31880 it's not used in glibc.
31881 (__coshm1): Likewise.
31882 (__acosh1p): Likewise.
31883 (__sgn): Likewise.
31884
1bfb7291
AJ
31885 * manual/string.texi (Copying and Concatenation): Add missing
31886 variable in concat example.
31887 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31888
c044d724
L
318892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31890
144c5467 31891 [BZ #14103]
c044d724
L
31892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31893 __builtin_clzl with __builtin_clzll.
31894
2523c62b
L
318952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31896
31897 [BZ #14104]
31898 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31899 libc_freeres_ptr.
31900
d7bb4c42
LD
319012012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31902
31903 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31904 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31905 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31906 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31907
9dc4e1fb
MF
319082012-05-14 Mike Frysinger <vapier@gentoo.org>
31909
31910 * NEWS: Update ia64 info.
31911
c7df0112
AS
319122012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31913
31914 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31915 used as bcopy.
31916
dc70356c
TS
319172012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31918
31919 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31920 * sysdeps/unix/syscalls.list (dup3): Likewise.
31921 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31922 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31923
9fb1a21f
L
319242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31925
31926 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31927 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31928
4822a2a5
L
319292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31930
31931 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31932 thread pointer.
31933 (TLS_IE): Use mov/add instead of movq/addq to load thread
31934 pointer.
31935 (TLS_GD_PREFIX): New.
31936 (TLS_GD): Use it.
31937
842b81d6
DM
319382012-05-11 David S. Miller <davem@davemloft.net>
31939
31940 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31941 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31942 (_FPU_SETCW): Likewise.
31943
1cf463cd
L
319442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31945
31946 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31947 is 32-byte aligned.
31948
60cc4a18
AS
319492012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31950
31951 [BZ #11837]
31952 * iconvdata/gb18030.c: Update tables.
31953 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31954 characters specially.
31955 (BODY for TO_LOOP): Add encoding of missing ranges.
31956
febb44a4
TS
319572012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31958
31959 [BZ #13673]
31960 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31961 * sysdeps/mach/hurd/dup3.c: Likewise.
31962 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31963 * sysdeps/powerpc/memmove.c:: Likewise.
31964
0a10fb9e
L
319652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31966
31967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31968 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31969
df8a552f
L
319702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31971
31972 * elf/elf.h (R_X86_64_RELATIVE64): New.
31973 (R_X86_64_NUM): Updated.
31974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31975 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31976 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31977 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31978 tst-quad1pie tst-quad2pie
31979 (modules-names): Add tst-quadmod1 tst-quadmod2.
31980 ($(objpfx)tst-quad1): New dependency.
31981 ($(objpfx)tst-quad2): Likewise.
31982 ($(objpfx)tst-quad1pie): Likewise.
31983 ($(objpfx)tst-quad2pie): Likewise.
31984 * sysdeps/x86_64/tst-quad1.c: New file.
31985 * sysdeps/x86_64/tst-quad1pie.c: New file.
31986 * sysdeps/x86_64/tst-quad2.c: Likewise.
31987 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31988 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31989 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31990 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31991 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31992
f34d6f84
ST
319932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31994
f42d41d1
ST
31995 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31996 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31997 * streams/stropts.h (t_scalar_t): Define type.
31998
3c3571fc
ST
31999 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32000 (_PATH_PRESERVE): Set to "/var/lib".
32001 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32002
61f06bd3
ST
32003 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32004 instead of int.
32005
918d4d71
ST
32006 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32007 if __dir_mkfile succeeded.
32008
f34d6f84
ST
32009 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32010 checking for _hurd_dtablesize. Unlock it right after having
32011 finished _hurd_dtable allocation.
32012
10589b4a
TS
320132012-05-10 Thomas Schwinge <thomas@schwinge.name>
32014
674cdbc7
TS
32015 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32016 * sysdeps/mach/hurd/configure: Regenerated.
32017 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32018 special-casing to...
32019 * sysdeps/gnu/configure.in: ... this new file.
32020 * sysdeps/unix/sysv/linux/configure: Regenerated.
32021 * sysdeps/gnu/configure: New generated file.
32022
8e41b99f
TS
32023 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32024 for Linux: use nsec instead of usec, as well as:
32025 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32026 members of type struct timespec.
32027 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32028 New macros.
32029 (struct stat64): Likewise.
32030 (_STATBUF_ST_NSEC): New macro.
32031 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32032
10589b4a
TS
32033 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32034 __strtoul_internal rather than strtoul.
32035
63643c85
PT
320362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32037
32038 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32039 and reject them.
32040
3faebe6a
ST
320412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32042
32043 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32044 which preserves existing values.
32045 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32046
c6474b07
PT
320472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32048
32049 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32050 TIMEOUT values. Return EINVAL for NFDS values either negative or
32051 greater than FD_SETSIZE.
32052
1043890b
ST
320532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32054
32055 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32056 allocated, call __vm_protect to finish enabling the existing space, and
32057 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32058 allocate the remainder.
32059
37ed8b9b
PT
320602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32061
32062 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32063 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32064
db653660
ST
320652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32066
37ed8b9b
PT
32067 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32068 sysdeps/mach/hurd/readlink.c.
b29d4053 32069
db653660
ST
32070 * posix/tst-sysconf.c (posix_options): Only use
32071 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32072 _POSIX_SYNCHRONIZED_IO when they are defined
32073 * sysdeps/mach/hurd/bits/posix_opt.h:
32074 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32075 (_XOPEN_REALTIME): Undefine macro.
32076 (_XOPEN_REALTIME_THREADS): Undefine macro.
32077 (_XOPEN_SHM): Undefine macro.
32078 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32079 macro to -1.
32080 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32081 macro to -1.
32082 (_POSIX_ASYNC_IO): Undefine macro.
32083 (_POSIX_PRIORITIZED_IO): Undefine macro.
32084 (_POSIX_SPIN_LOCKS): Define macro to -1.
32085
ee16e894
ST
32086 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32087 SA_NODEFER, SA_RESETHAND.
32088 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32089 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32090 F_DUPFD_CLOEXEC.
32091
6103ae3b
TS
320922012-05-10 Thomas Schwinge <thomas@schwinge.name>
32093
32094 * elf/Makefile (pldd-modules): Define unconditionally.
32095
80b4e5f3
TS
320962012-05-10 Thomas Schwinge <thomas@schwinge.name>
32097
32098 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32099
edadcbd6
ST
321002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32101
32102 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32103 Return ENOENT when name is empty.
32104 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32105
80694780
TS
321062012-05-10 Thomas Schwinge <thomas@schwinge.name>
32107
1792c087
TS
32108 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32109
80694780
TS
32110 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32111
6b645f0d
ST
321122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32113
80694780
TS
32114 Fix mlock in all cases except non-readable pages.
32115 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32116 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32117
6b645f0d
ST
32118 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32119 (__mkdir): When path is `/', just fail with EEXIST.
32120 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32121
e468f8a3
TS
321222012-05-10 Thomas Schwinge <thomas@schwinge.name>
32123
32124 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32125 <sys/uio.h> (for writev).
32126 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32127 and <sys/param.h> (for MIN).
32128
a4186cff
PT
321292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32130
32131 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32132 REQUESTED_TIME. Properly set the remaining time and return EINTR
32133 if interrupted.
32134
510bbf14
TS
321352012-05-10 Thomas Schwinge <thomas@schwinge.name>
32136
32137 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32138 Depend on against $(link-rpcuserlibs).
32139
5d5722e8
ST
321402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32141
a4186cff
PT
32142 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32143 (__libc_stack_end): Do not use attribute_relro.
32144 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32145 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32146 to libthread-provided value.
a4186cff
PT
32147 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32148 attribute_relro.
5d5722e8 32149
37233df9
TS
321502012-05-10 Thomas Schwinge <thomas@schwinge.name>
32151
be971a2b
TS
32152 [BZ #3748]
32153 * bits/libc-lock.h (__libc_once_get): New macro.
32154 * sysdeps/mach/bits/libc-lock.h: Likewise.
32155 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32157 instead of using implementation details.
32158
37233df9
TS
32159 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32160 * libio/freopen.c: Likewise.
32161 * libio/freopen64.c: Likewise.
32162 * misc/syslog.c: Likewise.
32163 * nscd/connections.c: Likewise.
32164 * nscd/netgroupcache.c: Likewise.
32165 * sysdeps/posix/getcwd.c: Likewise.
32166
38de94a5
RM
321672012-05-10 Roland McGrath <roland@hack.frob.com>
32168
32169 * math/w_ilogbf.c: Add #include <limits.h>.
32170
67530489
ST
321712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32172
a4186cff 32173 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32174 path instead of returning without unlocking.
32175
67530489
ST
32176 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32177 immediate-write ioctls.
32178 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32179
5aa3a74a
TS
321802012-05-10 Thomas Schwinge <thomas@schwinge.name>
32181
18bad2ae
TS
32182 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32183 __builtin_frame_address instead of making assumptions about the
32184 location of the return address relative to DATA. Force early load of
32185 the return address.
32186 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32187 __builtin_frame_address.
32188
5aa3a74a
TS
32189 dup3 for GNU Hurd.
32190 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32191 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32192 implement dup3 and do some further code clean-ups.
32193 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32195
ecd0de9a
ST
321962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32197
cd9fa985
ST
32198 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32199
a4186cff
PT
32200 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32201 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32202 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32203 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32204 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32205 d->port.lock.
802ca5a5 32206
a4186cff
PT
32207 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32208 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32209 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32210
bcf55240
TS
322112012-05-10 Thomas Schwinge <thomas@schwinge.name>
32212
6960eb42
TS
32213 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32214 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32215 definitions.
32216
eb43375f
TS
32217 accept4 for GNU Hurd.
32218 * include/sys/socket.h (__libc_accept4): New prototype.
32219 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32220 to implement __libc_accept4.
32221 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32222 __libc_accept4.
32223 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32224
bcf55240
TS
32225 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32226 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32227 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32228 signal-defines.sym.
32229
6178c55b
ST
322302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32231
a4186cff 32232 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32233
6f080c2f
TS
322342012-05-10 Thomas Schwinge <thomas@schwinge.name>
32235
32236 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32237 assertion on O_CLOEXEC flag.
32238 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32239 * hurd/intern-fd.c: Likewise.
32240 * hurd/port2fd.c: Likewise.
32241
bcfe3a54
ST
322422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32243
32244 [BZ #3906]
32245 * bits/in.h (IPV6_PKTINFO): Define new macro.
32246 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32247
89c9aa49
AZ
322482012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32249
32250 [BZ #13954]
32251 [BZ #13955]
32252 [BZ #13956]
32253 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32255 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32256 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32258 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32259 * math/libm-test.inc (logb_test) : Additional logb tests.
32260
021db4be
AJ
322612012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32262 Andreas Jaeger <aj@suse.de>
32263
32264 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32265 * configure: Regenerated.
32266 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32267 * config.make.in (link-obsolete-rpc): New substituted variable.
32268 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32269 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32270 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32271 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32272 so that libc.a contains the symbols.
32273 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32274 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32275 * sunrpc/auth_none.c: Likewise.
32276 * sunrpc/auth_unix.c: Likewise.
32277 * sunrpc/authdes_prot.c: Likewise.
32278 * sunrpc/authuxprot.c: Likewise.
32279 * sunrpc/clnt_gen.c: Likewise.
32280 * sunrpc/clnt_perr.c: Likewise.
32281 * sunrpc/clnt_raw.c: Likewise.
32282 * sunrpc/clnt_simp.c: Likewise.
32283 * sunrpc/clnt_tcp.c: Likewise.
32284 * sunrpc/clnt_udp.c: Likewise.
32285 * sunrpc/clnt_unix.c: Likewise.
32286 * sunrpc/des_crypt.c: Likewise.
32287 * sunrpc/des_soft.c: Likewise.
32288 * sunrpc/get_myaddr.c: Likewise.
32289 * sunrpc/key_call.c: Likewise.
32290 * sunrpc/key_prot.c: Likewise.
32291 * sunrpc/netname.c: Likewise.
32292 * sunrpc/pm_getmaps.c: Likewise.
32293 * sunrpc/pm_getport.c: Likewise.
32294 * sunrpc/pmap_clnt.c: Likewise.
32295 * sunrpc/pmap_prot.c: Likewise.
32296 * sunrpc/pmap_prot2.c: Likewise.
32297 * sunrpc/pmap_rmt.c: Likewise.
32298 * sunrpc/publickey.c: Likewise.
32299 * sunrpc/rpc_cmsg.c: Likewise.
32300 * sunrpc/rpc_common.c: Likewise.
32301 * sunrpc/rpc_dtable.c: Likewise.
32302 * sunrpc/rpc_prot.c: Likewise.
32303 * sunrpc/rpc_thread.c: Likewise.
32304 * sunrpc/rtime.c: Likewise.
32305 * sunrpc/svc.c: Likewise.
32306 * sunrpc/svc_auth.c: Likewise.
32307 * sunrpc/svc_raw.c: Likewise.
32308 * sunrpc/svc_run.c: Likewise.
32309 * sunrpc/svc_tcp.c: Likewise.
32310 * sunrpc/svc_udp.c: Likewise.
32311 * sunrpc/svc_unix.c: Likewise.
32312 * sunrpc/svcauth_des.c: Likewise.
32313 * sunrpc/xcrypt.c: Likewise.
32314 * sunrpc/xdr.c: Likewise.
32315 * sunrpc/xdr_array.c: Likewise.
32316 * sunrpc/xdr_float.c: Likewise.
32317 * sunrpc/xdr_intXX_t.c: Likewise.
32318 * sunrpc/xdr_mem.c: Likewise.
32319 * sunrpc/xdr_rec.c: Likewise.
32320 * sunrpc/xdr_ref.c: Likewise.
32321 * sunrpc/xdr_sizeof.c: Likewise.
32322 * sunrpc/xdr_stdio.c: Likewise.
32323
b5c086a2
RM
323242012-05-10 Roland McGrath <roland@hack.frob.com>
32325
32326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32327 change. Update copyright years.
32328
6d74dd09
JM
323292012-05-10 Joseph Myers <joseph@codesourcery.com>
32330
32331 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32332
28e72501
MK
323332012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32334 Joseph Myers <joseph@codesourcery.com>
32335 Paul Pluzhnikov <ppluzhnikov@google.com>
32336
32337 [BZ #14012]
32338 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32339 requiring rpcgen.
32340 [cross-compiling] (extra-libs): Likewise.
32341 [cross-compiling] (extra-libs-others): Likewise.
32342 [cross-compiling] (librpcsvc-routines): Likewise.
32343 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32344 [cross-compiling] (omit-deps): Likewise.
32345 (sunrpc-CPPFLAGS): New variable.
32346 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32347 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32348 (cross-rpcgen-objs): New variable.
32349 (extra-objs): Append $(cross-rpcgen-objs).
32350 ($(cross-rpcgen-objs)): New rule.
32351 ($(objpfx)cross-rpcgen): Likewise.
32352 (rpcgen-cmd): Define to use $(built-program-file). Expand
32353 comment.
32354 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32355 ($(objpfx)x%.stmp): Likewise.
32356 * sunrpc/proto.h [IS_IN_build] (_): Define.
32357 [IS_IN_build] (_libc_intl_domainname): Likewise.
32358
c8c59454
L
323592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32360
32361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32362 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32363 and R_X86_64_TPOFF64.
32364
6f27cd16
JM
323652012-05-10 Joseph Myers <joseph@codesourcery.com>
32366
32367 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32368 sysdeps/unix/sysv/syscalls.list.
32369 (stime): Likewise.
32370 (utime): Likewise.
32371 * sysdeps/unix/sysv/syscalls.list: Remove file.
32372
02467e1c
PE
323732012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32374
32375 [BZ #3440]
32376 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32377 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32378 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32379 (__LC_IDENTIFICATION): Make these macros useful in #if
32380 expressions, as required by C99.
32381
da392631
AS
323822012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32383
32384 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32385 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32386 after this.
32387
8115f29b
L
323882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32389
32390 * stdlib/longlong.h: Updated from GCC.
32391
bdd74070
AJ
323922012-05-09 Andreas Jaeger <aj@suse.de>
32393
edfe0dbe
AJ
32394 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32395 default is first entry.
32396 (run_mode): Set type.
32397 (main): Remove informal message about syslog.
32398 (options): Fix typo.
32399
bcfe3a54
ST
32400 [BZ #14053]
32401 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32402 to asm.
bcfe3a54
ST
32403 (lrint): Likewise.
32404 (llrintf): Likewise.
32405 (llrint): Likewise.
32406 (rint): Likewise.
32407 (rintf): Likewise.
32408 (nearbyint): Likewise.
32409 (nearbyintf): Likewise.
bdd74070 32410
91d8d69e
AJ
324112012-05-09 Andreas Jaeger <aj@suse.de>
32412 Pedro Alves <palves@redhat.com>
32413
32414 * nscd/nscd.c (run_mode): Use enum.
32415 (main): Cleanup coding style issue.
32416
bb90b80b
AJ
324172012-05-09 Alexandre Oliva <aoliva@redhat.com>
32418 Andreas Jaeger <aj@suse.de>
32419
bcfe3a54
ST
32420 * nscd/nscd.c (go_background): Replaced with...
32421 (run_mode): ... this.
bb90b80b 32422 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32423 (options): Add -F --foreground.
32424 (main): Implement it.
32425 (parse_opt): Parse it.
bb90b80b 32426
1a4b75a1
AJ
324272012-05-09 Andreas Jaeger <aj@suse.de>
32428
32429 [BZ #14083]
32430 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32431 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32432 -Wconversion warning.
32433 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32434 Likewise.
32435
b1cc2472
JM
324362012-05-09 Joseph Myers <joseph@codesourcery.com>
32437
32438 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32439 == 0.
32440 (LC_ALL): Use macro-int-constant.
32441 (LC_COLLATE): Likewise.
32442 (LC_CTYPE): Likewise.
32443 (LC_MESSAGES): Likewise.
32444 (LC_MONETARY): Likewise.
32445 (LC_NUMERIC): Likewise.
32446 (LC_TIME): Likewise.
32447 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32448 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32450 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32451 Specify type.
32452 [C99-based standards] (float_t): Expect type.
32453 [C99-based standards] (double_t): Expect type.
32454 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32455 type.
32456 [C99-based standards] (HUGE_VALL): Likewise.
32457 [C99-based standards] (INFINITY): Likewise.
32458 [C99-based standards] (NAN): Likewise.
32459 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32460 [C99-based standards] (FP_NAN): Likewise.
32461 [C99-based standards] (FP_NORMAL): Likewise.
32462 [C99-based standards] (FP_SUBNORMAL): Likewise.
32463 [C99-based standards] (FP_ZERO): Likewise.
32464 [C99-based standards] (FP_FAST_FMA): Use
32465 optional-macro-int-constant. Specify type. Require == 1.
32466 [C99-based standards] (FP_FAST_FMAF): Likewise.
32467 [C99-based standards] (FP_FAST_FMAL): Likewise.
32468 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32469 [C99-based standards] (FP_ILOGBNAN): Likewise.
32470 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32471 Specify type.
32472 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32473 [C99-based standards] (math_errhandling): Specify type.
32474 [ISO99 || ISO11] (signgam): Do not allow.
32475 [non-C99-based standards] (copysignf): Do not allow.
32476 [non-C99-based standards] (exp2f): Likewise.
32477 [non-C99-based standards] (log2f): Likewise.
32478 [non-C99-based standards] (modff): Allow.
32479 [non-C99-based standards] (erff): Do not allow.
32480 [non-C99-based standards] (erfcf): Likewise.
32481 [non-C99-based standards] (gammaf): Likewise.
32482 [non-C99-based standards] (hypotf): Likewise.
32483 [non-C99-based standards] (j0f): Likewise.
32484 [non-C99-based standards] (j1f): Likewise.
32485 [non-C99-based standards] (jnf): Likewise.
32486 [non-C99-based standards] (lgammaf): Likewise.
32487 [non-C99-based standards] (tgammaf): Likewise.
32488 [non-C99-based standards] (y0f): Likewise.
32489 [non-C99-based standards] (y1f): Likewise.
32490 [non-C99-based standards] (ynf): Likewise.
32491 [non-C99-based standards] (isnanf): Likewise.
32492 [non-C99-based standards] (acoshf): Likewise.
32493 [non-C99-based standards] (asinhf): Likewise.
32494 [non-C99-based standards] (atanhf): Likewise.
32495 [non-C99-based standards] (cbrtf): Likewise.
32496 [non-C99-based standards] (expm1f): Likewise.
32497 [non-C99-based standards] (ilogbf): Likewise.
32498 [non-C99-based standards] (log1pf): Likewise.
32499 [non-C99-based standards] (logbf): Likewise.
32500 [non-C99-based standards] (nextafterf): Likewise.
32501 [non-C99-based standards] (remainderf): Likewise.
32502 [non-C99-based standards] (rintf): Likewise.
32503 [non-C99-based standards] (scalbf): Likewise.
32504 [non-C99-based standards] (copysignl): Likewise.
32505 [non-C99-based standards] (exp2l): Likewise.
32506 [non-C99-based standards] (log2l): Likewise.
32507 [non-C99-based standards] (modfl): Allow.
32508 [non-C99-based standards] (erfl): Do not allow.
32509 [non-C99-based standards] (erfcl): Likewise.
32510 [non-C99-based standards] (gammal): Likewise.
32511 [non-C99-based standards] (hypotl): Likewise.
32512 [non-C99-based standards] (j0l): Likewise.
32513 [non-C99-based standards] (j1l): Likewise.
32514 [non-C99-based standards] (jnl): Likewise.
32515 [non-C99-based standards] (lgammal): Likewise.
32516 [non-C99-based standards] (tgammal): Likewise.
32517 [non-C99-based standards] (y0l): Likewise.
32518 [non-C99-based standards] (y1l): Likewise.
32519 [non-C99-based standards] (ynl): Likewise.
32520 [non-C99-based standards] (isnanl): Likewise.
32521 [non-C99-based standards] (acoshl): Likewise.
32522 [non-C99-based standards] (asinhl): Likewise.
32523 [non-C99-based standards] (atanhl): Likewise.
32524 [non-C99-based standards] (cbrtl): Likewise.
32525 [non-C99-based standards] (expm1l): Likewise.
32526 [non-C99-based standards] (ilogbl): Likewise.
32527 [non-C99-based standards] (log1pl): Likewise.
32528 [non-C99-based standards] (logbl): Likewise.
32529 [non-C99-based standards] (nextafterl): Likewise.
32530 [non-C99-based standards] (remainderl): Likewise.
32531 [non-C99-based standards] (rintl): Likewise.
32532 [non-C99-based standards] (scalbl): Likewise.
32533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32534 [non-C99-based standards] (FP_*): Do not allow.
32535 [C99-based standards] (FP_*): Change to
32536 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32537 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32538 allow.
32539 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32540 (SIG_ERR): Likewise.
32541 [X/Open-based standards] (SIG_HOLD): Likewise.
32542 (SIG_IGN): Likewise.
32543 (SIGABRT): Use macro-int-constant. Specify type. Require
32544 positive value.
32545 (SIGFPE): Likewise.
32546 (SIGILL): Likewise.
32547 (SIGINT): Likewise.
32548 (SIGSEGV): Likewise.
32549 (SIGTER): Likewise.
32550 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32551 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32552 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32553 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32554 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32555 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32556 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32557 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32558 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32559 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32560 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32561 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32562 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32563 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32564 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32565 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32566 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32567 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32568 [X/Open-based standards] (SIGTRAP): Likewise.
32569 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32570 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32571 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32572 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32573 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32574 allow.
32575
b9f1922d
IW
325762012-05-08 Ian Wienand <ianw@vmware.com>
32577
32578 [BZ #14080]
32579 * time/tzset.c (__tzset_parse_tz): Update default rules for
32580 daylight time changes in the Energy Policy Act of 2005.
32581
1db86e88
AJ
325822012-05-09 Andreas Jaeger <aj@suse.de>
32583
32584 [BZ #13983]
32585 * elf/ldconfig.c (parse_conf): Change string to make clear that
32586 ldconfig only issued a warning if ld.so.conf does not exist.
32587
dee4a4e3
DM
325882012-05-08 David S. Miller <davem@davemloft.net>
32589
ee0db190
DM
32590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32591 movxtod instead of popping the value on the stack.
32592
dee4a4e3
DM
32593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32594
6a43ec98
CD
325952012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32596
32597 * config.h.in: Add HAVE_ARM_PCS_VFP.
32598
05c2c961
RMG
325992012-05-08 Roland Mc Grath <roland@hack.frob.com>
32600
bcfe3a54
ST
32601 [BZ #13979]
32602 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32603 checking but the checks are disabled for any reason.
05c2c961 32604
4b30f61a
L
326052012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32606
32607 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32608 and ELF64_R_TYPE with ELFW(R_TYPE).
32609
eee2bc67
JM
326102012-05-08 Joseph Myers <joseph@codesourcery.com>
32611
7ea5391a
JM
32612 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32613 (ulimit): Likewise.
32614
eee2bc67
JM
32615 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32616 (settimeofday): Likewise.
32617
abb66a67
MF
326182012-05-08 Mike Frysinger <vapier@gentoo.org>
32619
32620 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32621 a struct th_u2 inside the union, and move tu_block/tu_code into
32622 a new th_u3 union of tu_block/tu_code inside of that. Move
32623 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32624 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32625 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32626 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32627 (th_stuff): Change to th_u1.tu_stuff.
32628 (th_data): Define.
32629 (th_msg): Change to th_u1.th_u2.tu_data.
32630
7f18b530
DM
326312012-05-07 David S. Miller <davem@davemloft.net>
32632
05760585
DM
32633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32634
7f18b530
DM
32635 [BZ #14074]
32636 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32637 (SETUP_PIC_REG): Use it.
32638 (SETUP_PIC_REG_LEAF): Use it.
32639
495fd99f
JM
326402012-05-07 Joseph Myers <joseph@codesourcery.com>
32641
32642 [BZ #13885]
32643 [BZ #13923]
32644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32645 USE_AS_EXPM1L.
32646 (EXPL_FINITE): Likewise.
32647 (FLDLOG): Likewise.
32648 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32649 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32650 e_expl.S.
32651 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32652 USE_AS_EXPM1L.
32653 (EXPL_FINITE): Likewise.
32654 (FLDLOG): Likewise.
32655 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32656 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32657 e_expl.S.
32658 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32659 test of -max_value argument for long double.
32660 * sysdeps/i386/fpu/libm-test-ulps: Update.
32661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32662
6693d694
DM
326632012-05-06 David S. Miller <davem@davemloft.net>
32664
32665 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32666 quad soft-float symbols whose references which are compiler
32667 generated.
32668 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32669
6c23e11c
JM
326702012-05-06 Joseph Myers <joseph@codesourcery.com>
32671
d8b82cad
JM
32672 [BZ #13884]
32673 [BZ #13914]
32674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32675 USE_AS_EXP10L.
32676 (EXPL_FINITE): Likewise.
32677 (FLDLOG): Likewise.
32678 (c0): Likewise.
32679 (c1): Likewise.
32680 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32681 Adjust comments for base varying.
32682 (__expl_finite): Change alias to EXPL_FINITE.
32683 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32684 e_expl.S.
32685 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32686 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32688 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32690 USE_AS_EXP10L.
32691 (EXPL_FINITE): Likewise.
32692 (FLDLOG): Likewise.
32693 (c0): Likewise.
32694 (c1): Likewise.
32695 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32696 Adjust comments for base varying.
32697 (__expl_finite): Change alias to EXPL_FINITE.
32698 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32699 tests for bugs.
32700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32701
6c23e11c
JM
32702 [BZ #14064]
32703 * math/libm-test.inc (check_float_internal): Correct ulp
32704 calculation for subnormal expected results.
32705
29ba805c
AJ
327062012-05-06 Andreas Jaeger <aj@suse.de>
32707
32708 * Makeconfig (+math-flags): New, set to -frounding-math.
32709 (+cflags): Add +math-flags so that all of glibc gets compiled with
32710 it.
32711
32712 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32713
7b17aeda
JM
327142012-05-05 Joseph Myers <joseph@codesourcery.com>
32715
5779f134
JM
32716 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32717 Disable one test.
32718
41498f4d
JM
32719 [BZ #13787]
32720 [BZ #13922]
32721 [BZ #14036]
32722 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32723 (__ieee754_expl): Allow for and saturate large arguments.
32724 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32725 (u_threshold): Likewise.
32726 (__exp): Call __ieee754_exp before checking for overflow and
32727 underflow.
32728 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32729 (u_threshold): Likewise.
32730 (__expf): Call __ieee754_expf before checking for overflow and
32731 underflow.
32732 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32733 (u_threshold): Likewise.
32734 (__expl): Call __ieee754_expl before checking for overflow and
32735 underflow.
32736 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32737 (__ieee754_expl): Allow for and saturate large arguments.
32738 * math/libm-test.inc (exp_test): Add another test. Do not allow
32739 missing overflow exception on overflow.
32740 (expm1_test): Do not allow missing overflow exception on overflow.
32741
6698b8bf
JM
32742 * sysdeps/i386/fpu/e_expl.c: Move to ...
32743 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32744 rather than using inline asm.
32745 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32746 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32747 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32748
7b17aeda
JM
32749 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32750 (nice): Likewise.
32751 (poll): Likewise.
32752 (signal): Likewise.
32753 (time): Likewise.
32754 (times): Likewise.
32755
f7c85819
JM
327562012-05-04 Joseph Myers <joseph@codesourcery.com>
32757
32758 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32759 sysdeps/unix/common/syscalls.list.
32760 (fchmod): Likewise.
32761 (fchown): Likewise.
32762 (ftruncate): Likewise.
32763 (getrusage): Likewise.
32764 (gettimeofday): Likewise.
32765 (setpgid): Likewise.
32766 (setregid): Likewise.
32767 (setreuid): Likewise.
32768 (sigaction): Likewise.
32769 (truncate): Likewise.
32770 (vhangup): Likewise.
32771 * sysdeps/unix/common/syscalls.list: Remove file.
32772 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32773 * sysdeps/unix/sysv/linux/Implies: Likewise.
32774
336270d0
L
327752012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32779 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32780 Moved to ...
32781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32782 Here.
32783 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32784 to ...
32785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32786 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32787 to ...
32788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32789 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32790 to ...
32791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32792 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32793 to ...
32794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32795 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32796 to ...
32797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32798 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32799 to ...
32800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32801 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32802 to ...
32803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32804 Here.
32805 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32806 to ...
32807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32808 Here.
32809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32810 to ...
32811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32812 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32813 Moved to ...
32814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32815 Here.
32816 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32817 to ...
32818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32819
d128e450
JM
328202012-05-04 Joseph Myers <joseph@codesourcery.com>
32821
fa8ee516
JM
32822 * sysdeps/unix/common/bits/dirent.h: Remove file.
32823 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32824
d128e450
JM
32825 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32826 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32827 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32828 * sysdeps/unix/bsd/isatty.c: Likewise.
32829 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32830 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32831 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32832
ff8faaf0 328332012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32834
62881be4 32835 [BZ #13563]
31dc8730
AZ
32836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32837 long double comparison inaccuracies.
32838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32840
6fef930c
AS
328412012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32842
32843 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32844 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32845
8f203e6c
JM
328462012-05-04 Joseph Myers <joseph@codesourcery.com>
32847
32848 [BZ #14049]
32849 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32850 nonzero digits before rounding a hex value.
32851 * stdlib/tst-strtod.c (tests): Add another test.
32852
5197d9c2
AK
328532012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32854
32855 * sysdeps/s390/fpu/libm-test-ulps: Update.
32856
f0c1dedf
AJ
328572012-05-03 Andreas Jaeger <aj@suse.de>
32858
32859 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32860 does not get optimized out.
32861 (malloc_opt_barrier): New.
32862
a65ef2ae 328632012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32864 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32865
2b942cb7 32866 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32867 intermediate file deletion.
2b942cb7 32868 (generated): Add .symlist files.
a65ef2ae 32869
54b71e02
JM
328702012-05-03 Joseph Myers <joseph@codesourcery.com>
32871
32872 [BZ #13775]
32873 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32874 Redirect under this condition.
32875 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32876 [__USE_GNU] (__dprintf_chk): Not under this condition.
32877 [__USE_GNU] (__vdprintf_chk): Likewise.
32878 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32879 under this condition.
32880 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32881 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32882 [__USE_XOPEN2K8] (vdprintf): Likewise.
32883 [__USE_GNU] (__dprintf_chk): Not under this condition.
32884 [__USE_GNU] (__vdprintf_chk): Likewise.
32885 [__USE_GNU] (dprintf): Likewise.
32886 [__USE_GNU] (vdprintf): Likewise.
32887
d3dfcc41
RM
328882012-05-03 Roland McGrath <roland@hack.frob.com>
32889
32890 * elf/Makefile (common-generated): Set this instead of generated for
32891 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32892 $(all-built-dso)-derived lists.
32893
7ac30cc5
AJ
328942012-05-03 Andreas Jaeger <aj@suse.de>
32895
0c51e550
AJ
32896 * sysdeps/i386/fpu/libm-test-ulps: Update.
32897
7ac30cc5
AJ
32898 * FAQ: Removed.
32899 * FAQ.in: Likewise.
32900 * scripts/gen-FAQ.pl: Likewise.
32901 * manual/install.texi (Installation): Point to online location of
32902 FAQ.
32903 * Makefile (files-for-dist): Remove FAQ.
32904 (FAQ): Remove.
32905
d4c2917f
AM
329062012-05-02 Allan McRae <allan@archlinux.org>
32907
32908 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32909 (LDFLAGS-reldepmod5.so): Likewise.
32910 (LDFLAGS-reldep6mod1.so): Likewise.
32911 (LDFLAGS-reldep6mod4.so): Likewise.
32912 (LDFLAGS-reldep8mod3.so): Likewise.
32913 (LDFLAGS-unload4mod1.so): Likewise.
32914 (LDFLAGS-unload4mod2.so): Likewise.
32915 (LDFLAGS-tst-initorder): Likewise.
32916 (LDFLAGS-tst-initordera2.so): Likewise.
32917 (LDFLAGS-tst-initordera3.so): Likewise.
32918 (LDFLAGS-tst-initordera4.so): Likewise.
32919 (LDFLAGS-tst-initorderb2.so): Likewise.
32920 (LDFLAGS-noload): Likewise.
32921 (LDFLAGS-next): Likewise.
32922 (LDFLAGS-order2mod1.so): Likewise.
32923 (LDFLAGS-order2mod2.so): Likewise.
32924 (LDFLAGS-tst-initorder2): Likewise.
32925 (LDFLAGS-tst-initorder2a.so): Likewise.
32926 (LDFLAGS-tst-initorder2b.so): Likewise.
32927 (LDFLAGS-tst-initorder2c.so): Likewise.
32928 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32929
d77f993f
DM
329302012-05-02 David S. Miller <davem@davemloft.net>
32931
32932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32933
171a70b4
PP
329342012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32935
32936 [BZ #14055]
32937 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32938
0be196ad
AJ
329392012-05-02 Andreas Jaeger <aj@suse.de>
32940
32941 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32942 since we manipulate rounding mode.
32943 (CPPFLAGS-test-idouble.c): Likewise.
32944 (CPPFLAGS-test-ifloat.c): Likewise.
32945 (CFLAGS-test-ldouble.c): Likewise.
32946 (CFLAGS-test-double.c): Likewise.
32947 (CFLAGS-test-float.c): Likewise.
32948 (CFLAGS-test-misc.c): Likewise.
32949 (CFLAGS-test-test-fenv.c): Likewise.
32950
4f9d04aa
AZ
329512012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32952
2b942cb7
RM
32953 [BZ #2550]
32954 [BZ #2570]
32955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32956 comparisons to determine direction to adjust input.
4f9d04aa 32957
82a79e7d
RM
329582012-05-01 Roland McGrath <roland@hack.frob.com>
32959
f5a01ca9
RM
32960 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32961 output to the target.
32962
90fe4186
RM
32963 * scripts/localplt.awk: New file.
32964 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32965 (check-localplt-CFLAGS): Variable removed.
32966 ($(all-built-dso:=.jmprel)): New static pattern rule.
32967 (generated): Add those targets.
32968 (localplt-built-dso): New variable.
32969 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32970
32971 * elf/check-localplt.c: File removed.
32972
82397ed6
RM
32973 * scripts/check-execstack.awk: New file.
32974 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32975 (check-execstack-CFLAGS): Variable removed.
32976 ($(objpfx)check-execstack.h): Target removed.
32977 ($(objpfx)execstack-default): New target.
32978 (generated): Add that instead of check-execstack.h.
32979 ($(all-built-dso:=.phdr)): New static pattern rule.
32980 (generated): Add those targets.
32981 * elf/check-execstack.c: File removed.
32982
82a79e7d
RM
32983 * scripts/check-textrel.awk: New file.
32984 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32985 (check-textrel-CFLAGS): Variable removed.
32986 (all-built-dso): Use := to define.o
32987 ($(all-built-dso:=.dyn)): New static pattern rule.
32988 (generated): Add those targets.
32989 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32990 * config.make.in (READELF): New substituted variable.
32991 * elf/check-textrel.c: File removed.
32992
62fde54f 329932012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32994
615605c9
JM
32995 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32996 allow.
32997 * conform/data/ctype.h-data [C99-based standards] (isblank):
32998 Expect function.
32999 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33000 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33002 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33003 Specify type. Require positive value.
33004 (EILSEQ): Likewise.
33005 (ERANGE): Likewise.
33006 [ISO || POSIX] (EILSEQ): Do not expect.
33007 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33008 Specify type. Require positive value.
33009 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33018 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33020 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33023 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33026 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33027 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33028 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33029 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33030 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33031 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33032 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33033 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33034 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33035 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33036 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33037 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33038 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33039 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33040 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33041 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33042 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33043 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33044 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33045 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33046 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33047 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33048 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33049 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33050 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33051 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33052 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33053 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33054 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33055 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33056 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33057 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33058 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33059 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33060 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33061 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33062 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33063 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33064 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33065 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33066 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33067 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33068 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33069 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33070 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33071 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33072 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33073 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33074 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33075 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33076 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33077 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33078 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33079 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33080 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33081 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33082 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33083 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33084 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33085 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33086 Require >= 2.
33087 (FLT_ROUNDS): Expect as macro, not constant.
33088 (FLT_MANT_DIG): Use macro-int-constant.
33089 (DBL_MANT_DIG): Likewise.
33090 (LDBL_MANT_DIG): Likewise.
33091 (FLT_DIG): Likewise.
33092 (DBL_DIG): Likewise.
33093 (LDBL_DIG): Likewise.
33094 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33095 (DBL_MIN_EXP): Likewise.
33096 (LDBL_MIN_EXP): Likewise.
33097 (FLT_MAX_EXP): Use macro-int-constant.
33098 (DBL_MAX_EXP): Likewise.
33099 (LDBL_MAX_EXP): Likewise.
33100 (FLT_MAX_10_EXP): Likewise.
33101 (DBL_MAX_10_EXP): Likewise.
33102 (LDBL_MAX_10_EXP): Likewise.
33103 (FLT_MAX): Use macro-constant.
33104 (DBL_MAX): Likewise.
33105 (LDBL_MAX): Likewise.
33106 (FLT_EPSILON): Use macro-constant. Give upper bound.
33107 (DBL_EPSILON): Likewise.
33108 (LDBL_EPSILON): Likewise.
33109 (FLT_MIN): Likewise.
33110 (DBL_MIN): Likewise.
33111 (LDBL_MIN): Likewise.
33112 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33113 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33114 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33115 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33116 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33117 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33118 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33119 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33120 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33121 [ISO11] (FLT_TRUE_MIN): Likewise.
33122 [ISO11] (LDBL_TRUE_MIN): Likewise.
33123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33124 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33125 (SCHAR_MIN): Use macro-int-constant. Specify type.
33126 (SCHAR_MAX): Likewise.
33127 (UCHAR_MAX): Likewise.
33128 (CHAR_MIN): Likewise.
33129 (CHAR_MAX): Likewise.
33130 (MB_LEN_MAX): Use macro-int-constant.
33131 (SHRT_MIN): Use macro-int-constant. Specify type.
33132 (SHRT_MAX): Likewise.
33133 (USHRT_MAX): Likewise.
33134 (INT_MAX): Likewise.
33135 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33136 bound negative.
33137 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33138 bound with "U".
33139 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33140 bound with "L".
33141 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33142 bound negative. Suffix upper bound with "L".
33143 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33144 bound with "UL".
33145 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33146 Specify type.
33147 [C99-based standards] (LLONG_MAX): Likewise.
33148 [C99-based standards] (ULLONG_MAX): Likewise.
33149 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33150 == 0.
33151 [ISO11] (max_align_t): Require type.
33152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33153
c9140a62
JM
33154 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33155 from $CFLAGS, without defining away __attribute__ calls.
33156 (checknamespace): Use $CFLAGS_namespace.
33157
9af0bf29
JM
33158 * conform/conformtest.pl (@keywords): Only include C99 keywords
33159 for standards based on C99 or C11.
33160
343222a2
JM
33161 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33162 Disable tests.
33163 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33164 UNIX98]: Likewise.
33165
661f8cf0
JM
33166 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33167 usability of symbols in #if.
33168
ee74b9cb
JM
33169 * conform/conformtest.pl: If macro or constant types start
33170 "promoted:", expect the symbol to be of the following type
33171 promoted by the integer promotions.
62fde54f 33172
aafc49b3
JM
33173 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33174 in one place. Also handle "macro-constant".
33175
fefdf574
JM
33176 * conform/conformtest.pl: Only accept expected macro values with
33177 "==". Parse all "macro" lines in one place.
33178 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33179
f2d922fe
JM
33180 * conform/conformtest.pl: Handle braced types on "constant" lines
33181 instead of handling "typed-constant".
33182 * conform/data/signal.h-data: Use "constant" instead of
33183 "typed-constant".
33184
d22956c9
JM
33185 * conform/conformtest.pl: Handle "optional-" at start of lines in
33186 one place rather than duplicating several cases. Handle each
33187 format of "macro" line with initial "optional-".
33188
028e2e38
JM
33189 * conform/conformtest.pl: Only accept expected constant or
33190 optional-constant values with "==". Parse all "constant" lines in
33191 one place. Parse all "optional-constant" lines in one place.
33192 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33193 * conform/data/fmtmsg.h-data: Likewise.
33194 * conform/data/netinet/in.h-data: Likewise.
33195 * conform/data/tar.h-data: Likewise.
33196 * conform/data/limits.h-data: Use "==" form on "constant" and
33197 "optional-constant" lines.
33198
1b8f2850
JM
33199 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33200 Use -std=c99 for XOPEN2K.
33201 (@knownproblems): Remove.
33202 (newtoken): Don't check %isknown.
33203
a05a144b
JM
33204 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33205 Do not expect macro.
33206 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33207 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33208 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33209 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33210 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33211 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33212 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33213 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33214 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33215 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33216 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33217 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33218 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33219 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33220 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33221 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33222 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33223 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33224 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33225 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33226 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33227 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33228 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33229 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33230 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33231 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33232 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33233 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33234 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33235 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33236 [XPG3] (acosh): Likewise.
33237 [XPG3] (asinh): Likewise.
33238 [XPG3] (atanh): Likewise.
33239 [XPG3] (cbrt): Likewise.
33240 [XPG3] (expm1): Likewise.
33241 [XPG3] (ilogb): Likewise.
33242 [XPG3] (log1p): Likewise.
33243 [XPG3] (logb): Likewise.
33244 [XPG3] (nextafter): Likewise.
33245 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33246 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33247 [XPG3] (remainder): Likewise.
33248 [XPG3] (rint): Likewise.
33249 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33250 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33251 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33252 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33253 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33254 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33255 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33256 [UNIX98 || XOPEN2K] (scalb): Expect.
33257 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33258 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33259 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33260 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33261 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33262 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33263 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33264 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33265 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33266 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33267 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33268 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33269 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33270 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33271 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33272 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33273 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33274 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33275 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33276 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33277 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33278 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33279 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33280 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33281 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33282 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33283 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33284 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33285 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33286 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33287 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33288 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33289 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33290 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33291 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33292 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33293 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33294 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33295 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33296 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33297 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33298 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33299 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33300 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33301 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33302 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33303 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33304 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33305 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33306 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33307 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33308 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33309 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33310 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33311 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33312 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33313 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33314 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33315 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33316 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33317 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33318 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33319 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33320 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33321 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33322 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33323 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33324 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33325 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33326 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33327 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33328 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33329 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33330 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33331 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33332 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33333 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33334 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33335 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33336 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33337 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33338 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33339 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33340 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33341 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33342 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33343 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33344 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33345 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33346 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33347 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33348 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33349 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33350 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33351 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33352 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33353 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33354 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33355 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33356 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33357 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33358 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33359 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33360 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33361 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33362 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33363 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33364 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33365 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33366 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33367 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33368 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33369 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33370 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33371 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33372 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33373 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33374 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33375 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33376 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33377 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33378 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33379 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33380 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33381 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33382 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33383 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33384 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33385 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33386 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33387 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33388 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33389 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33390 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33391 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33392 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33393 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33394
73c5ebe3
JM
33395 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33396 _XOPEN_SOURCE_EXTENDED for XPG4.
33397
39c33b6c
JM
33398 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33399
62fde54f
JM
33400 * Makeconfig (localtime): Remove variable.
33401 (inst_localtime-file): Likewise.
33402
0741d64c
AS
334032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33404
33405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33406 Update.
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33408 Update.
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33410 Update.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33412 Update.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33414 Update.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33416 Update.
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33418 Update.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33420 Update.
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33422 Update.
33423
7cb029ee
JM
334242012-05-01 Joseph Myers <joseph@codesourcery.com>
33425
33426 [BZ #2550]
33427 [BZ #2570]
33428 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33429 comparisons to determine direction to adjust input.
33430 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33431 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33433 Likewise.
33434 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33435 Likewise.
33436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33437 Likewise.
33438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33440 Likewise.
33441 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33442 Likewise.
33443 * math/libm-test.inc (nexttoward_test): Add more tests.
33444
412bd966
AS
334452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33446
33447 [BZ #14040]
33448 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33449 in version GLIBC_2.1, not GLIBC_2.0.
33450 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33451 Likewise.
33452
9568c0c2
JM
334532012-04-30 Joseph Myers <joseph@codesourcery.com>
33454
adfbc8ac
JM
33455 [BZ #13942]
33456 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33457 (1 - x) * (1 + x).
33458 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33459 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33460 * math/libm-test.inc (acos_test): Add more tests.
33461 (asin_test): Likewise.
33462 * sysdeps/i386/fpu/libm-test-ulps: Update.
33463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33464
5ba3cc69
JM
33465 [BZ #14034]
33466 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33467 of square root.
33468 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33469 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33470 * math/libm-test.inc (acos_test_tonearest): New function.
33471 (acos_test_towardzero): Likewise.
33472 (acos_test_downward): Likewise.
33473 (acos_test_upward): Likewise.
33474 (asin_test_tonearest): Likewise.
33475 (asin_test_towardzero): Likewise.
33476 (asin_test_downward): Likewise.
33477 (asin_test_upward): Likewise.
33478 (main): Call the new functions.
33479 * sysdeps/i386/fpu/libm-test-ulps: Update.
33480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33481
9568c0c2
JM
33482 [BZ #13884]
33483 [BZ #13924]
33484 * math/e_exp10.c: Include <float.h>.
33485 (__ieee754_exp10): Handle underflow here rather than multiplying
33486 large negative argument by M_LN10.
33487 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33488 of __ieee754_expf.
33489 * math/e_exp10l.c: Include <float.h>.
33490 (__ieee754_exp10l): Handle underflow here rather than multiplying
33491 large negative argument by M_LN10l.
33492 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33493 spurious overflow exception on underflow.
33494
5ac3ea17
MP
334952012-04-29 Marek Polacek <polacek@redhat.com>
33496
33497 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33498 (__fortify_function): New macro.
33499 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33500 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33501 __extern_always_inline.
33502 * libio/bits/stdio2.h: Likewise.
33503 * libio/bits/stdio.h: Likewise.
33504 * string/string.h: Likewise.
33505 * string/bits/string3.h: Likewise.
33506 * include/stdio.h: Likewise.
33507 * stdlib/bits/stdlib.h: Likewise.
33508 * stdlib/stdlib.h: Likewise.
33509 * rt/bits/mqueue2.h: Likewise.
33510 * rt/mqueue.h: Likewise.
33511 * posix/bits/unistd.h: Likewise.
33512 * posix/unistd.h: Likewise.
33513 * io/bits/poll2.h: Likewise.
33514 * io/bits/fcntl2.h: Likewise.
33515 * io/fcntl.h: Likewise.
33516 * io/sys/poll.h: Likewise.
33517 * misc/bits/syslog.h: Likewise.
33518 * misc/bits/syslog-ldbl.h: Likewise.
33519 * misc/sys/syslog.h: Likewise.
33520 * socket/bits/socket2.h: Likewise.
33521 * socket/sys/socket.h: Likewise.
33522 * debug/tst-chk1.c: Likewise.
33523 * wcsmbs/bits/wchar2.h: Likewise.
33524 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33525 * wcsmbs/wchar.h: Likewise.
33526
ecf0ebfb
AJ
335272012-04-29 Andreas Jaeger <aj@suse.de>
33528
33529 * Makerules (tests): Remove enable-check-abi protection.
33530 (check-abi-warn): Remove.
33531 (check-abi-%): Remove check-abi-warn usage.
33532
33533 * configure.in: Remove check-abi configure option.
33534 * configure: Regenerated.
33535 * config.make.in (enable-check-abi): Remove.
33536
6d5c57fa
AS
335372012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33538
24c5d07e 33539 [BZ #14033]
ded5180a
AS
33540 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33541 double functions to double *_finite functions.
33542
7e0d315d
AS
33543 [BZ #13941]
33544 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33545 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33546 LDBL_MIN_EXP.
33547 * stdio-common/Makefile (tests): Add tst-sprintf3.
33548 * stdio-common/tst-sprintf3.c: New file.
33549
6d5c57fa
AS
33550 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33551 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33552
0749ff8b
JM
335532012-04-28 Joseph Myers <joseph@codesourcery.com>
33554
33555 * conform/conformtest.pl: Remove duplicate typed-constant
33556 handling.
33557
8dbd5d7b
DM
335582012-04-28 David S. Miller <davem@davemloft.net>
33559
33560 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33561 (check-abi-%): Remove AWK script prerequisite and explicit
33562 abilist directory.
33563 (check-abi): Rewrite to just diff the symlist with the abilist.
33564 (config-tls, config-abi-config): Delete, no longer used.
33565 (update-abi-%): Remove AWK script and explicit abilist directory.
33566 (update-abi): Rewrite to simply compare and conditionally copy the
33567 symlist and the sysdep abilist file. Remove update-abi-config
33568 checks.
33569 * abilist/ld.abilist: Remove.
33570 * abilist/libBrokenLocale.abilist: Remove.
33571 * abilist/libanl.abilist: Remove.
33572 * abilist/libcrypt.abilist: Remove.
33573 * abilist/libdl.abilist: Remove.
33574 * abilist/librt.abilist: Remove.
33575 * abilist/libthread_db.abilist: Remove.
33576 * abilist/libutil.abilist: Remove.
33577 * scripts/extract-abilist.awk: Remove.
33578 * scripts/merge-abilist.awk: Remove.
33579 * sysdeps/generic/libcidn.abilist: New file.
33580 * sysdeps/generic/libnss_compat.abilist: New file.
33581 * sysdeps/generic/libnss_db.abilist: New file.
33582 * sysdeps/generic/libnss_dns.abilist: New file.
33583 * sysdeps/generic/libnss_files.abilist: New file.
33584 * sysdeps/generic/libnss_hesiod.abilist: New file.
33585 * sysdeps/generic/libnss_nis.abilist: New file.
33586 * sysdeps/generic/libnss_nisplus.abilist: New file.
33587 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33588 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33589 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33590 file.
33591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33592 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33593 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33594 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33595 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33596 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33597 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33598 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33599 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33600 file.
33601 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33602 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33603 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33604 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33605 file.
33606 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33608 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33609 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33610 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33611 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33612 file.
33613 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33614 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33615 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33616 file.
33617 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33619 New file.
33620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33621 New file.
33622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33623 New file.
33624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33625 New file.
33626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33627 New file.
33628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33629 New file.
33630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33631 New file.
33632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33633 New file.
33634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33635 New file.
33636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33637 New file.
33638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33639 New file.
33640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33641 New file.
33642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33643 New file.
33644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33645 file.
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33647 New file.
33648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33649 New file.
33650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33651 file.
33652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33653 New file.
33654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33655 New file.
33656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33657 file.
33658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33659 New file.
33660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33661 New file.
33662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33663 New file.
33664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33665 New file.
33666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33667 New file.
33668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33669 New file.
33670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33672 file.
33673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33674 New file.
33675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33676 file.
33677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33678 file.
33679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33680 file.
33681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33682 file.
33683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33684 file.
33685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33686 New file.
33687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33688 file.
33689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33690 file.
33691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33692 New file.
33693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33694 file.
33695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33697 file.
33698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33699 New file.
33700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33701 file.
33702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33703 file.
33704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33705 file.
33706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33707 file.
33708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33709 file.
33710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33711 New file.
33712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33713 file.
33714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33715 file.
33716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33717 New file.
33718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33719 file.
33720 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33721 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33722 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33723 file.
33724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33725 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33726 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33727 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33728 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33729 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33730 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33731 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33732 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33733 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33736 file.
33737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33738 New file.
33739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33740 file.
33741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33742 file.
33743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33744 file.
33745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33746 file.
33747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33748 file.
33749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33750 New file.
33751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33752 New file.
33753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33754 file.
33755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33756 New file.
33757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33758 file.
33759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33761 file.
33762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33763 New file.
33764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33765 file.
33766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33767 file.
33768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33769 file.
33770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33771 file.
33772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33773 file.
33774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33775 New file.
33776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33777 New file.
33778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33779 file.
33780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33781 New file.
33782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33783 file.
33784
41d73a1b
JM
337852012-04-28 Joseph Myers <joseph@codesourcery.com>
33786
33787 * conform/conformtest.pl: Fix typo in handling typed-constant from
33788 allow-header.
33789
28aeeda4
JM
337902012-04-27 Joseph Myers <joseph@codesourcery.com>
33791
adae8f5e
JM
33792 * README: Cut down references to pre-2.6 Linux kernels and
33793 Linuxthreads. Update lists of configurations in libc and ports
33794 and sort alphabetically. Say "or newer" with Linux kernel version
33795 requirements.
33796
28aeeda4
JM
33797 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33798
a462cb63
RA
337992012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33800
33801 [BZ #887]
33802 * math/libm-test.inc (logb_test_downward): New test to expose
33803 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33804 rounding mode.
33805
6ad3493e
JM
338062012-04-27 Joseph Myers <joseph@codesourcery.com>
33807
33808 [BZ #14027]
33809 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33810 to be done.
33811 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33812 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33813
2ce4f015
JM
338142012-04-26 Joseph Myers <joseph@codesourcery.com>
33815
5aeb141a
JM
33816 * sysdeps/unix/i386/brk.S: Remove file.
33817 * sysdeps/unix/i386/dl-brk.S: Likewise.
33818 * sysdeps/unix/i386/pipe.S: Likewise.
33819 * sysdeps/unix/i386/sigreturn.S: Likewise.
33820 * sysdeps/unix/i386/syscall.S: Likewise.
33821 * sysdeps/unix/i386/vfork.S: Likewise.
33822 * sysdeps/unix/i386/wait.S: Likewise.
33823
7143acae
JM
33824 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33825 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33826
2ce4f015
JM
33827 * configure.in (arm*-none*): Do not allow without
33828 --enable-hacker-mode.
33829 (netbsd*): Remove case setting base_os.
33830 (386bsd*): Likewise.
33831 (freebsd*): Likewise.
33832 (bsdi*): Likewise.
33833 (osf*): Likewise.
33834 (sunos*): Likewise.
33835 (ultrix*): Likewise.
33836 (newsos*): Likewise.
33837 (dynix*): Likewise.
33838 (*bsd*): Likewise.
33839 (sysv*): Likewise.
33840 (isc*): Likewise.
33841 (esix*): Likewise.
33842 (sco*): Likewise.
33843 (minix*): Likewise.
33844 (irix4*): Likewise.
33845 (irix6*): Likewise.
33846 (solaris[2-9]*): Likewise.
33847 (none): Likewise.
33848 * configure: Regenerated.
33849
0ac229c8
AZ
338502012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33851
33852 [BZ #11521]
33853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33854 overflow or cancellation in calculating denominator.
33855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33857 down expression to avoid unexpected rounding in newer GCCs.
33858 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33859
33f244f4
DM
338602012-04-26 David S. Miller <davem@davemloft.net>
33861
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33863 long-double compat symbols.
33864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33877
cfa1f3e8
DM
338782012-04-25 David S. Miller <davem@davemloft.net>
33879
33880 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33881 HWCAP_* values only after the memory barriers have been defined.
33882 (atomic_full_barrier): Define.
33883 (atomic_read_barrier): Define.
33884 (atomic_write_barrier): Define.
33885
6e236b92
SP
338862012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33887
33888 * shlib-versions: Add libgcc_s version information.
33889 * sysdeps/generic/libgcc_s.h: Remove.
33890 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33891 libgcc_s.h.
33892 * sysdeps/gnu/unwind-resume.c: Likewise.
33893 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33894
aab39a09
DM
338952012-04-25 David S. Miller <davem@davemloft.net>
33896
33897 * sysdeps/unix/sparc/brk.S: Delete.
33898 * sysdeps/unix/sparc/dl-brk.S: Delete.
33899 * sysdeps/unix/sparc/pipe.S: Delete.
33900 * sysdeps/unix/sparc/sysdep.S: Delete.
33901 * sysdeps/unix/sparc/sysdep.h: Delete.
33902 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33903 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33904 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33905 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33906 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33907 (JUMPTARGET): Remove.
33908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33909 sysdeps/unix/sparc/sysdep.h
33910 (ENTRY, END): Remove.
33911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33912
a3cc4f48
JM
339132012-04-25 Joseph Myers <joseph@codesourcery.com>
33914
2ed8cda2
JM
33915 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33916 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33917 -DIS_IN_build.
33918
35d76d59
JM
33919 * timezone/README: Update upstream location and email address for
33920 tzcode and tzdata.
33921 * timezone/zdump.c: Update from tzcode 2012b.
33922 * timezone/zic.c: Likewise.
33923
a3cc4f48
JM
33924 * configure.in (libc_cv_as_needed): Remove test.
33925 * configure: Regenerated.
33926 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33927 conditional definition.
33928 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33929 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33930 * config.make.in (have-as-needed): Remove variable.
33931
ceab42c3
SP
339322012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33933 Paul Pluzhnikov <ppluzhnikov@google.com>
33934
33935 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33936 strings correctly.
33937
3ce2865f
CLT
339382012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33939
33940 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33941 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33942 * sysdeps/sh/strlen.S: Likewise.
33943
f37e0d68
JM
339442012-04-24 Joseph Myers <joseph@codesourcery.com>
33945
ae186e9a
JM
33946 * sysdeps/unix/fork.S: Remove file.
33947 * sysdeps/unix/i386/fork.S: Likewise.
33948 * sysdeps/unix/sparc/fork.S: Likewise.
33949
b96914af
JM
33950 * sysdeps/unix/system.c: Remove file.
33951 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33952
f37e0d68
JM
33953 * sysdeps/unix/getegid.S: Remove file.
33954 * sysdeps/unix/geteuid.S: Likewise.
33955
87ef29ca
RM
339562012-04-24 Roland McGrath <roland@hack.frob.com>
33957
83bcd236
RM
33958 * scripts/check-localplt.awk: New file.
33959 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33960 of diff.
33961 * scripts/data/localplt-generic.data: Add a comment.
33962
87ef29ca
RM
33963 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33964 NODE when __dir_mkfile failed.
33965 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33966 Reported by Ludovic Courtès <ludo@gnu.org>.
33967
e5a6e567
AJ
339682012-04-24 Andreas Jaeger <aj@suse.de>
33969
33970 * Makerules (common-clean): Also remove gen-as-const-headers
33971 files.
33972
c1820385
JM
339732012-04-24 Joseph Myers <joseph@codesourcery.com>
33974
33975 * Makerules (native-compile): Do not change working directory for
33976 build. Use $(OUTPUT_OPTION) in command.
33977 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33978
94e02fc4
AZ
339792012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33980
33981 [BZ #13886]
33982 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33983 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33984 * math/libm-test.inc (floor_test): Add more tests.
33985 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33986
3a533ca3
JM
339872012-04-24 Joseph Myers <joseph@codesourcery.com>
33988
940ab4b3
JM
33989 * sysdeps/unix/getdents.c: Remove file.
33990 * sysdeps/unix/sysv/getdents.c: Likewise.
33991 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33992
90e037bd
JM
33993 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33994 sysdeps/unix/mman/syscalls.list.
33995 (mmap): Likewise.
33996 (mprotect): Likewise.
33997 (msync): Likewise.
33998 (munmap): Likewise.
33999 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34000 * sysdeps/unix/mman/syscalls.list: Remove.
34001 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34002
3a533ca3
JM
34003 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34004 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34005 * configure: Regenerated.
34006 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34007 $(libgcc_s_suffix).
34008 * config.make.in (libgcc_s_suffix): Remove variable.
34009
1ad743de
JM
340102012-04-23 Joseph Myers <joseph@codesourcery.com>
34011
4ad451e2
JM
34012 * sysdeps/unix/sysv/gethostname.c: Move to ...
34013 * sysdeps/posix/gethostname.c: ... here.
34014
5e37ce39
JM
34015 * sysdeps/unix/execve.S: Remove file.
34016
1ad743de
JM
34017 * sysdeps/unix/_exit.S: Remove file.
34018
4e681b5b
AJ
340192012-04-23 Andreas Jaeger <aj@suse.de>
34020
34021 [BZ #13739]
34022 * manual/Makefile: Remove make dist support, there's no
34023 need for a stand-alone documentation tar ball.
34024 (TEXI2DVI): Define always, it's not in Makeconfig.
34025 (dist): Removed.
34026 (tar-it): Removed.
34027 (edition): Removed.
34028 (glibc-doc-$(edition).tar): Removed
34029 (%.Z): Removed.
34030 (%.gz): Removed.
34031 (%.uu): Removed.
34032 (ETAGS): Remove, it's in Makeconfig.
34033 (move-if-change): Remove, it's in Makeconfig.
34034
38686a03 340352012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34036
34037 [BZ #13970]
34038 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34039 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34040 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34041 (strtod_l, strtof_l, strtold_l): Remove __wur.
34042 It is not necessarily an error to ignore strtol's return value.
34043 One can reliably look at the stored endptr to decide whether
34044 the number had valid syntax.
34045
7c0616fa
AJ
340462012-04-21 Andreas Jaeger <aj@suse.de>
34047
803cb6b7 34048 [BZ #13739]
7c0616fa
AJ
34049 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34050
b0fe253f
JM
340512012-04-21 Joseph Myers <joseph@codesourcery.com>
34052
34053 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34054 * sysdeps/unix/sysv/Versions: Remove file.
34055
8280f22d
MT
340562012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34057
34058 [BZ #13927]
34059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34060
75ce411f 340612012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34062
34063 [BZ #7064]
34064 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34065 version from __vm86.
34066
097d59fa
JM
340672012-04-20 Joseph Myers <joseph@codesourcery.com>
34068
a90f3bcb
JM
34069 * sysdeps/unix/common/lxstat.c: Remove file.
34070 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34071
edc7ea78
JM
34072 * sysdeps/unix/sysv/Makefile: Remove file.
34073
cb78c221
JM
34074 * sysdeps/unix/sysv/direct.h: Remove file.
34075
efa6a45f
JM
34076 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34077 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34078 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34079 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34080 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34081 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34082 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34083
9c9f2d0c
JM
34084 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34085
4541c83b
JM
34086 * sysdeps/unix/xmknod.c: Remove file.
34087 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34088
f5d153a0
JM
34089 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34090
aa746595
JM
34091 * sysdeps/unix/sysv/i386/time.S: Remove file.
34092
cce5905e
JM
34093 * sysdeps/unix/fxstat.c: Remove file.
34094 * sysdeps/unix/xstat.c: Likewise.
34095 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34096
37fa3841
JM
34097 * sysdeps/unix/sysv/sigaction.c: Remove file.
34098
ff1962a3
JM
34099 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34100 (sysdep_headers): Remove variable.
34101 [termio.h not in sysdep_headers] (generated): Likewise.
34102 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34103 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34104 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34105 * sysdeps/unix/sysv/tcflow.c: Likewise.
34106 * sysdeps/unix/sysv/tcflush.c: Likewise.
34107 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34108 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34109 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34110 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34111 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34112
e7740d31
JM
34113 * sysdeps/unix/siglist.c: Remove file.
34114
ee06f18b
JM
34115 * sysdeps/unix/getppid.S: Remove file.
34116
097d59fa
JM
34117 * sysdeps/unix/mkdir.c: Remove file.
34118 * sysdeps/unix/rmdir.c: Likewise.
34119
ff3d51ec
AS
341202012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34121
34122 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34123 ERR_MAX value.
34124 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34125 errlist-compat value.
34126
50f81fd7
DM
341272012-04-18 David S. Miller <davem@davemloft.net>
34128
34129 * sysdeps/generic/memcopy.h (reg_char): Delete.
34130 * debug/strcat_chk.c: Use char, not reg_char.
34131 * debug/strcpy_chk.c: Likewise.
34132 * debug/strncat_chk.c: Likewise.
34133 * debug/strncpy_chk.c: Likewise.
34134 * string/memchr.c: Likewise.
34135 * string/memrchr.c: Likewise.
34136 * string/rawmemchr.c: Likewise.
34137 * string/strcat.c: Likewise.
34138 * string/strchr.c: Likewise.
34139 * string/strchrnul.c: Likewise.
34140 * string/strcmp.c: Likewise.
34141 * string/strcpy.c: Likewise.
34142 * string/strncat.c: Likewise.
34143 * string/strncmp.c: Likewise.
34144 * string/strncpy.c: Likewise.
34145
8ff41c46
WS
341462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34147
34148 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34149 __builtin_memcopy is called when src and dest ranges are known to not
34150 overlap.
34151
6b652f46
WS
341522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34153
34154 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34155 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34156 fwd_align_merge macro call.
34157 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34158 bwd_align_merge macro call.
34159 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34160
b282631e
WS
341612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34162
34163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34164 bwd_align_merge macros.
34165 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34166 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34168
95aa737c
DM
341692012-04-18 David S. Miller <davem@davemloft.net>
34170
34171 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34172
7a99a614
AJ
341732012-04-18 Andreas Jaeger <aj@suse.de>
34174
34175 [BZ# 6794]
34176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34177 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34179
34180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34181 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34183
34184 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34185 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34186 Adjust for changed ldbl-128 files.
34187
34188 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34189 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34190 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34191
e5270c23
DM
341922012-04-17 David S. Miller <davem@davemloft.net>
34193
34194 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34195
fb5e92c9
AS
341962012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34197
34198 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34199 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34200 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34201 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34202 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34203 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34204
76da7265
AZ
342052012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34206
34207 [BZ #6794]
34208 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34209 * math/libm-test.inc: Add ilogb errno and exception tests.
34210 * math/w_ilogb.c: New file: ilogb wrapper.
34211 * math/w_ilogbf.c: New file: ilogbf wrapper.
34212 * math/w_ilogbl.c: New file: ilogbl wrapper.
34213 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34214 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34215 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34216 exception being thrown with 0.0 as argument.
34217 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34218 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34219 exception being thrown with 0.0 as argument.
34220 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34221 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34222 exception being thrown with 0.0 as argument.
34223 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34224 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34225 exception being thrown with 0.0 as argument.
34226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34227 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34229 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34230 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34231 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34232 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34233 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34234 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34235
0396e69d
PB
342362012-04-17 Petr Baudis <pasky@ucw.cz>
34237
34238 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34239 with altivec.
34240
750b5926
MP
342412012-04-16 Marek Polacek <polacek@redhat.com>
34242
34243 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34244
751728a1
MP
342452012-04-16 Marek Polacek <polacek@redhat.com>
34246
34247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34248 operands of fdivp instruction.
34249
34a27407
L
342502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34251
34252 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34253 * elf/tst-auditmod3b.c: Likewise.
34254 * elf/tst-auditmod4b.c: Likewise.
34255 * elf/tst-auditmod5b.c: Likewise.
34256 * elf/tst-auditmod6b.c: Likewise.
34257 * elf/tst-auditmod6c.c: Likewise.
34258 * elf/tst-auditmod7b.c: Likewise.
34259 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34260 * sysdeps/x86_64/preconfigure.in: Likewise.
34261 * sysdeps/x86_64/preconfigure: Regenerated.
34262
7e73e17d
L
342632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34264
34265 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34266 __ILP32__.
34267
c7a6ab72
AB
342682012-04-13 Antoine Balestrat <merkil33@gmail.com>
34269
34270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34271 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34272
a9e8e0e0
CL
342732012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34274
34275 [BZ #13973]
34276 * locale/iso-639.def: Fix gl language name. Spotted by
34277 Yaron Shahrabani.
34278
ec98af7d
RM
342792012-04-12 Roland McGrath <roland@hack.frob.com>
34280
34281 [BZ #2074]
34282 * libio/libio.h (__io_write_fn): Update comment.
34283
247c3ede
PB
342842012-04-12 Petr Baudis <pasky@ucw.cz>
34285
34286 [BZ #2074]
34287 * stdio.texi (Hook Functions): The user provided writer function
34288 is not allowed to return -1.
34289
55939d6d
DM
342902012-04-11 David S. Miller <davem@davemloft.net>
34291
34292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34293
90020f5a
MF
342942012-04-11 Mike Frysinger <vapier@gentoo.org>
34295
34296 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34297 Add a leading slash to rtkaio.
34298
288f9098
JM
342992012-04-11 Jim Meyering <meyering@redhat.com>
34300
90020f5a
MF
34301 [BZ #11959]
34302 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34303 It is not necessarily an error to ignore fwrite's return
34304 value. One can reliably use ferror to test for errors after
34305 the fact.
288f9098 34306
4be2b570
L
343072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34308
34309 * bits/types.h (__snseconds_t): New type.
34310 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34311
34312 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34314 (__SNSECONDS_T_TYPE): Likewise.
34315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34316 (__SNSECONDS_T_TYPE): Likewise.
34317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34318 (__SNSECONDS_T_TYPE): Likewise.
34319
288f9098 343202012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34321
34322 [BZ #2636]
34323 * manual/time.texi (Processor Time): Return type of times is
34324 elapsed real time since an arbitrary point in the past.
34325 (CPU Time): Move CLK_TCK from here...
34326 (Processor Time): ...to here. Correct description.
34327 * manual/conf.texi (Constants for Sysconf): Correct description of
34328 _SC_CLK_TCK.
34329
d7dd4413
DM
343302012-04-10 David S. Miller <davem@davemloft.net>
34331
34332 [BZ #13967]
34333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34334 where the is a gap between DT_REL(A) and DT_JMPREL.
34335
b46068fc
L
343362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34337
34338 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34341
73d65cc3
SP
343422012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34343
34344 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34345 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34346 (dl_main): Handle --inhibit-cache.
34347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34348 _dl_inhibit_cache.
34349 * elf/dl-load.c (_dl_map_object): Use it.
34350 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34351
bcc8d661
JM
343522012-04-09 Joseph Myers <joseph@codesourcery.com>
34353
8f9a2fae
JM
34354 [BZ #13872]
34355 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34356 (__ieee754_powl): Saturate large exponents rather than testing for
34357 overflow of y*log2(x).
34358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34359 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34360 exceptions.
34361
bcc8d661
JM
34362 [BZ #11521]
34363 * math/s_ctan.c: Include <float.h>.
34364 (__ctan): Avoid internal overflow or cancellation in calculating
34365 denominator.
34366 * math/s_ctanf.c: Likewise.
34367 * math/s_ctanl.c: Likewise.
34368 * math/s_ctanh.c: Likewise.
34369 * math/s_ctanhf.c: Likewise.
34370 * math/s_ctanhl.c: Likewise.
34371 * math/libm-test.inc (ctan_test): Add more tests.
34372 (ctanh_test): Likewise.
34373 * sysdeps/i386/fpu/libm-test-ulps: Update.
34374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34375
823fbbb4
AJ
343762012-04-09 Andreas Jaeger <aj@suse.de>
34377
03879793
AJ
34378 [BZ #6894]
34379 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34380 is an optional BSD extension.
34381
823fbbb4
AJ
34382 [BZ #10254]
34383 * manual/stdio.texi (Opening Streams): Document additional fopen
34384 parameters.
34385
8de131cb
RM
343862012-04-09 Roland McGrath <roland@hack.frob.com>
34387
34388 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34389 %eax without telling the compiler.
34390
c0ed9d7d
CD
343912012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34392
34393 [BZ # 13963]
34394 * manual/install.texi: Use sourceware.org.
34395
c483f6b4
JM
343962012-04-09 Joseph Myers <joseph@codesourcery.com>
34397
d7dd9453
JM
34398 [BZ #13873]
34399 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34400 (__ieee754_pow): Generate overflow and underflow using huge*huge
34401 and tiny*tiny rather than just returning constant infinity or zero
34402 for large exponents.
34403 * math/libm-test.inc (pow_test): Require overflow exceptions for
34404 applicable cases of large exponents.
34405
c483f6b4
JM
34406 [BZ #706]
34407 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34408 (__ieee754_pow): Use iterative multiplication algorithm only for
34409 integer exponents with absolute value below 1024. Check for odd
34410 integer exponents when using algorithm for real exponents.
34411 * math/libm-test.inc (pow_test): Add more tests.
34412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34413
d2de7579
JM
344142012-04-08 Joseph Myers <joseph@codesourcery.com>
34415
34416 [BZ #13705]
34417 * math/libm-test.inc (exp_test): Do not allow overflow exception
34418 on underflow test.
34419
f77f1232
AJ
344202012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34421
34422 [BZ #13705]
34423 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34424 instead of __kernel_standard_f.
34425
3884932b
MF
344262012-04-08 Mike Frysinger <vapier@gentoo.org>
34427
34428 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34429 * sysdeps/x86_64/memset_chk.S: Likewise.
34430
54472e9c
AJ
344312012-04-08 Andreas Jaeger <aj@suse.de>
34432
6ab0fbfc
AJ
34433 [BZ #10153]
34434 * manual/startup.texi (Environment Access): Describe return value
34435 for putenv and setenv.
34436
61efba8c
AJ
34437 [BZ #6895]
34438 * manual/filesys.texi (Directory Entries): Add description for
34439 DT_LNK.
34440
95c3f29a
AJ
34441 [BZ #6890]
34442 * manual/filesys.texi (Directory Entries): Clarify that it's file
34443 system not operating system in the description of DT_UNKNOWN.
34444
54472e9c
AJ
34445 [BZ #6578]
34446 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34447
624254b1
SC
344482012-04-08 Stephen Compall <s11@member.fsf.org>
34449
34450 [BZ #6649]
34451 * manual/llio.texi (Opening and Closing Files): Add cross
34452 reference to explain mode argument.
34453
1e4920e0
MF
344542012-04-07 Mike Frysinger <vapier@gentoo.org>
34455
34456 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34457 * sysdeps/x86_64/memset_chk.S: Likewise.
34458
5ed848f3
DM
344592012-04-07 David S. Miller <davem@davemloft.net>
34460
34461 * elf/elf.h (R_SPARC_WDISP10): Define.
34462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34463 R_SPARC_SIZE32.
34464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34465 R_SPARC_SIZE64 and R_SPARC_H34.
34466
96154cd8
CD
344672012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34468
34469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34470 conditions and remove no longer applicable assertion.
34471
9904dc47
L
344722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34473
34474 * bits/byteswap.h: Include <features.h>.
34475 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34476 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34477
f8887d0a
L
344782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34479
34480 * bits/byteswap.h (__bswap_16): Removed.
34481 Include <bits/byteswap-16.h> to get __bswap_16.
34482 * sysdeps/i386/bits/byteswap.h: Likewise.
34483 * sysdeps/s390/bits/byteswap.h: Likewise.
34484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34485 * bits/byteswap-16.h: New file.
34486 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34487 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34488 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34489 * string/Makefile (headers): Add bits/byteswap-16.h.
34490
62470f60
PP
344912012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34492
34493 [BZ #13895]
34494 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34495 extra indirection.
34496 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34497 * nss/tst-nss-static.c: New.
34498
4dad7bab
RM
344992012-04-06 Robert Millan <rmh@gnu.org>
34500
34501 [BZ #6486]
34502 * manual/llio.texi (File Position Primitive): lseek
34503 refers to WHENCE when it really means OFFSET.
34504
e9142a17
AJ
345052012-04-06 Andreas Jaeger <aj@suse.de>
34506
2c040eff
AJ
34507 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34508 strncmp declarations.
34509
e9142a17
AJ
34510 * abilist/libc.abilist: Add __poll and __ppoll.
34511
ff9f1c5f
DM
345122012-04-05 David S. Miller <davem@davemloft.net>
34513
dcd2ae90
DM
34514 * scripts/check-local-headers.sh: Accept a host triplet in the
34515 path matched by the exclude regexp.
34516
993eb054
DM
34517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34518 definition.
34519 * sysdeps/powerpc/powerpc32/dl-machine.h
34520 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34521 * sysdeps/s390/s390-32/dl-machine.h
34522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34523 * sysdeps/sparc/sparc32/dl-machine.h
34524 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34525 * sysdeps/sparc/sparc64/dl-machine.h
34526 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34527
ff9f1c5f
DM
34528 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34529 lazy binding.
48e2e132 34530 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34531 undefined symbol errors.
34532
48e2e132 34533 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34534 DT_NEEDED entries.
34535
e80d6f94
MM
345362012-04-05 Michael Matz <matz@suse.de>
34537
34538 [BZ #13592]
34539 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34540
349fa79f
AJ
345412012-04-05 Andreas Jaeger <aj@suse.de>
34542
34543 [BZ #13908]
34544 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34545 comment.
34546
f402708f
KK
345472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34548
34549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34550 which ROUND is no valid rounding mode.
34551
2ecccfc9
KK
345522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34553
34554 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34555 read again.
34556 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34557
8a53f50f
KK
345582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34559
34560 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34561 an exception using FPU order intentionally.
34562
345632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34564
34565 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34566 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34567 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34568 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34569
d653abb7
SJ
345702012-04-05 Simon Josefsson <simon@josefsson.org>
34571
34572 [BZ #12340]
34573 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34574 EINVAL when BUFLEN is too smal.
34575
c3b1bf7d
TS
345762012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34577
34578 [BZ #13553]
34579 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34580 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34581
b1aa60f3
AJ
345822012-04-03 Andreas Jaeger <aj@suse.de>
34583
c3b1bf7d 34584 [BZ #13938]
67f60a26
AJ
34585 * manual/setjmp.texi (System V contexts): Fix sentence.
34586
b1aa60f3
AJ
34587 [BZ #13926]
34588 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34589 New macro for this case.
34590 [!__GNUC__] (__bswap_64): New inline function for this case.
34591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34592 * bits/byteswap.h: Likewise.
34593 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34594 ull, guard with __GLIBC_HAVE_LONG_LONG.
34595
34596 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34597 __GLIBC_HAVE_LONG_LONG.
34598
34599 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34600 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34601
39c59c35
TMQMF
346022012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34603
34604 [BZ #13691]
34605 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34606 inptr and inend, rather than using last_ch.
34607
135ffda8
DM
346082012-04-02 David S. Miller <davem@davemloft.net>
34609
34610 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34611 * stdio-common/printf-parse.h (read_int): Change return type to
34612 'int', return -1 on INT_MAX overflow.
34613 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34614 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34615 overflows INT_MAX. Check for overflow of in-format-string precision
34616 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34617 SIZE_MAX not INT_MAX for integer overflow test.
34618 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34619 skip the construct in the format string but do not record anything.
34620 * stdio-common/bug22.c: Adjust to test both width/prevision
34621 INT_MAX overflow as well as total length INT_MAX overflow. Check
34622 explicitly for proper errno values.
34623
228c019e
TS
346242012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34625
302cadd3
TS
34626 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34627 CHAR_MAX.
34628 * string/test-strcmp.c [! WIDE]: Likewise.
34629 * time/tst-mktime2.c: Likewise for INT_MAX.
34630 * string/test-string.h: #include <sys/param.h> for MIN.
34631
228c019e
TS
34632 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34633 * sysdeps/i386/init-first.c (init): Likewise.
34634 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34635 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34636 * sysdeps/sh/init-first.c (init): Likewise.
34637
cfa633f5
UD
346382012-04-01 Ulrich Drepper <drepper@gmail.com>
34639
34640 * po/ru.po: Update from translation team.
d1635ef8 34641 * po/vi.po: Likewise.
cfa633f5 34642
6cd0a5ea
SP
346432012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34644
34645 * resolv/nss_dns/dns-host.c: Merge copyright years.
34646
4b43400f
LD
346472012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34648
34649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34650 Optimize memcpy with prefetch if
34651 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34652 src, dst pointers have unequal 16 byte alignments.
34653
48c41d04
SP
346542012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34655
34656 [BZ #13928]
34657 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34658 from a CNAME entry and return the minimum ttl for the query.
34659 (gaih_getanswer_slice): Likewise.
34660
b8dc394d
JL
346612012-03-30 Jeff Law <law@redhat.com>
34662
34663 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34664 due to long keys.
34665 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34666 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34667
2f5a5ed0
JL
34668 * resolv/nss_dns/dns-host.c: Update copyright year.
34669
1d39e359
UD
346702012-03-30 Ulrich Drepper <drepper@gmail.com>
34671
c030f70c 34672 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34673 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34674
1d39e359
UD
34675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34676 comments for sendmmsg.
34677
346782012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34679
34680 [BZ #13691]
34681 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34682 with only 1 character between 0x0041 and 0x01b0.
34683 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34684 * wcsmbs/tst-mbsnrtowcs.c: New file.
34685
20fde227
DM
346862012-03-29 David S. Miller <davem@davemloft.net>
34687
34688 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34689 small copies by hand.
34690
984a4237
JL
346912012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34692
34693 [BZ #13761]
57f41c40
AS
34694 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34695 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34696 group memberships.
984a4237 34697
18c9d62b
DM
346982012-03-28 David S. Miller <davem@davemloft.net>
34699
88d85d4f
DM
34700 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34701 that branches into memcpy.
34702 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34705 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34707 bits.
34708 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34709 implementation too.
34710 * sysdeps/sparc/mempcpy.S: New file.
34711
e5aa83e1
DM
34712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34713 the IFUNC routine in the libc case.
34714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34715
88570753
DM
34716 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34717 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34718 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34719 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34720 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34721 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34722 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34723 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34724
249d7567
DM
34725 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34726 loop to 256 bytes instead of 64 bytes and fix test signedness.
34727
18c9d62b
DM
34728 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34729 * sysdeps/sparc/sparc32/Makefile: rather than here...
34730 * sysdeps/sparc/sparc64/Makefile: and here.
34731
05f3d1f6
UD
347322012-03-28 Ulrich Drepper <drepper@gmail.com>
34733
34734 * malloc/mallocbug.c: Avoid warnings about unused variables.
34735
86ae07a8
JL
347362012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34737
34738 [BZ #13760]
34739 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34740 in the right place. Discard and retry query if response is
34741 larger than input buffer size.
34742
41bf21a1
JM
347432012-03-28 Joseph Myers <joseph@codesourcery.com>
34744
d6270972
JM
34745 [BZ #369]
34746 [BZ #2678]
34747 [BZ #3866]
34748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34749 x for large integer exponent.
34750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34751 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34752 sign of result as needed afterwards.
34753 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34754 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34755 result for underflowing pow the same as for overflow.
34756 (__kernel_standard_l): Handle powl overflow and underflow here
34757 rather than calling __kernel_standard.
34758 * math/libm-test.inc (pow_test): Add more tests.
34759
414fca03 34760 [BZ #3868]
41bf21a1
JM
34761 [BZ #13879]
34762 [BZ #13910]
34763 [BZ #13911]
34764 [BZ #13912]
34765 [BZ #13913]
34766 [BZ #13915]
34767 [BZ #13916]
34768 [BZ #13917]
34769 [BZ #13918]
34770 [BZ #13919]
34771 [BZ #13920]
34772 [BZ #13921]
34773 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34774 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34775 (__kernel_standard_l): New function.
34776 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34777 __kernel_standard.
34778 * math/w_acosl.c (__acosl): Likewise.
34779 * math/w_asinl.c (__asinl): Likewise.
34780 * math/w_atan2l.c (__atan2l): Likewise.
34781 * math/w_atanhl.c (__atanhl): Likewise.
34782 * math/w_coshl.c (__coshl): Likewise.
34783 * math/w_exp10l.c (__exp10l): Likewise.
34784 * math/w_exp2l.c (__exp2l): Likewise.
34785 * math/w_fmodl.c (__fmodl): Likewise.
34786 * math/w_hypotl.c (__hypotl): Likewise.
34787 * math/w_j0l.c (__j0l, __y0l): Likewise.
34788 * math/w_j1l.c (__j1l, __y1l): Likewise.
34789 * math/w_jnl.c (__jnl, __ynl): Likewise.
34790 * math/w_lgammal.c (__lgammal): Likewise.
34791 * math/w_log10l.c (__log10l): Likewise.
34792 * math/w_log2l.c (__log2l): Likewise.
34793 * math/w_logl.c (__logl): Likewise.
34794 * math/w_powl.c (__powl): Likewise.
34795 * math/w_remainderl.c (__remainderl): Likewise.
34796 * math/w_scalbl.c (sysv_scalbl): Likewise.
34797 * math/w_sinhl.c (__sinhl): Likewise.
34798 * math/w_sqrtl.c (__sqrtl): Likewise.
34799 * math/w_tgammal.c (__tgammal): Likewise.
34800 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34801 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34802 * math/libm-test.inc (acos_test): Add more tests.
34803 (acosh_test): Likewise.
34804 (asin_test): Likewise.
34805 (atanh_test): Likewise.
34806 (exp_test): Likewise.
34807 (exp10_test): Likewise.
34808 (exp2_test): Likewise.
34809 (expm1_test): Likewise.
34810 (lgamma_test): Likewise.
34811 (log_test): Likewise.
34812 (log10_test): Likewise.
34813 (log1p_test): Likewise.
34814 (log2_test): Likewise.
34815 (pow_test): Do not allow some spurious overflow exceptions.
34816 (sqrt_test): Add more tests.
34817 (tgamma_test): Likewise.
34818 (y0_test): Likewise.
34819 (y1_test): Likewise.
34820 (yn_test): Likewise.
34821
dd62fda6
AB
348222012-03-27 Anton Blanchard <anton@samba.org>
34823
34824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34825 MAP_HUGETLB.
34826 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34828 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34829
1e3cdfda
AJ
348302012-03-27 David S. Miller <davem@davemloft.net>
34831
b855ab85
DM
34832 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34833
1e3cdfda
AJ
34834 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34835 have-as-vis3 check.
34836
348372012-03-27 Andreas Jaeger <aj@suse.de>
34838
34839 * sysdeps/x86_64/elf/configure.in: Moved to ...
34840 * sysdeps/x86_64/configure.in: ... here.
34841 * sysdeps/x86_64/elf/start.S: Moved to ...
34842 * sysdeps/x86_64/start.S: ... here.
34843 * sysdeps/x86_64/elf/configure: Delete.
34844
34845 * sysdeps/x86_64/configure.in: Merge contents from
34846 sysdeps/i386/configure.in (without i686 check).
34847
34848 * sysdeps/i386/elf/Versions: Merge into ...
34849 * sysdeps/i386/Versions: ... this.
34850 * sysdeps/i386/elf/Versions: Delete file.
34851 * sysdeps/i386/elf/start.S: Moved to ...
34852 * sysdeps/i386/start.S: ...here.
34853 * sysdeps/i386/elf/configure.in: Merge into...
34854 * sysdeps/i386/configure.in: ...here.
34855 * sysdeps/i386/elf/configure.in: Delete file.
34856 * sysdeps/i386/elf/configure: Delete file.
34857
34858 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34859 * debug/backtracesyms.c: ... here.
34860 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34861 * debug/backtracesymsfd.c: ... here.
34862 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34863 * sysdeps/generic/ifunc-sel.h: ... here.
34864
34865 * sysdeps/unix/i386/start.c: Delete file.
34866 * sysdeps/unix/sparc/start.c: Delete file.
34867 * sysdeps/unix/start.c: Delete file.
34868
34869 * sysdeps/sh/elf/configure.in: Moved to ...
34870 * sysdeps/sh/configure.in: ... here.
34871 * sysdeps/sh/elf/start.S: Moved to ...
34872 * sysdeps/sh/start.S: ... here.
34873 * sysdeps/sh/elf/configure: Delete file.
34874
34875 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34876 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34877 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34878 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34879 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34880 * sysdeps/powerpc/powerpc64/start.S: here.
34881 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34882 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34883 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34884 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34885 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34886
34887 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34888 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34889 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34890 * sysdeps/powerpc/powerpc32/start.S: ... here.
34891 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34892 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34893 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34894
34895 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34896 * sysdeps/powerpc/ifunc-sel.h: ... here.
34897 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34898 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34899
34900 * sysdeps/sparc/elf/configure.in: Moved to ...
34901 * sysdeps/sparc/configure.in: ... here.
34902 * sysdeps/sparc/elf/configure: Delete file.
34903 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34904 * sysdeps/sparc/sparc32/start.S: ... here.
34905 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34906 * sysdeps/sparc/sparc64/start.S: ... here.
34907 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34908 * sysdeps/sparc/sparc32/Makefile: ... this.
34909 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34910 * sysdeps/sparc/sparc64/Makefile: ... this.
34911
34912 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34913 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34914 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34915 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34916 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34917 * sysdeps/s390/s390-32/setjmp.S: ... here.
34918 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34919 * sysdeps/s390/s390-32/configure.in: ... here.
34920 * sysdeps/s390/s390-32/elf/configure: Delete file.
34921 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34922 * sysdeps/s390/s390-32/start.S: ... here.
34923
34924 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34925 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34926 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34927 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34928 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34929 * sysdeps/s390/s390-64/setjmp.S: ... here.
34930 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34931 * sysdeps/s390/s390-64/configure.in: ... here
34932 * sysdeps/s390/s390-64/elf/configure: Delete file.
34933 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34934 * sysdeps/s390/s390-64/start.S: ... here.
34935 * sysdeps/s390/s390-64/elf/configure: Delete.
34936
34937 * configure.in: Remove support for elf directories in sysdeps.
34938
34939 * configure: Regenerated.
34940 * sysdeps/i386/configure: Regenerated.
34941 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34942 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34943 * sysdeps/s390/s390-32/configure: Regenerated.
34944 * sysdeps/s390/s390-64/configure: Regenerated.
34945 * sysdeps/sh/configure: Regenerated.
34946 * sysdeps/sparc/configure: Regenerated.
34947 * sysdeps/x86_64/configure: Regenerated.
34948
a3f61311
AS
349492012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34950
c876e002
AS
34951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34952
a3f61311
AS
34953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34954 denormal result into account.
34955
ac4c54f0
RM
349562012-03-25 Roland McGrath <roland@hack.frob.com>
34957
34958 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34959 Reported by Allan McRae <allan@archlinux.org>.
34960
6a9b9c02
JL
349612012-03-23 Jeff Law <law@redhat.com>
34962
34963 * nss/getnssent.c (__nss_getent): Fix typo.
34964
4c42a0c1
DM
349652012-03-23 David S. Miller <davem@davemloft.net>
34966
34967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34968
1532c7ac
L
349692012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34970
34971 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34972 to pad to uint64_t for each field.
34973 (dl_tls_index): Replace unsigned long with uint64_t.
34974
3ff42526
PP
349752012-03-23 Daniel Jacobowitz <dmj@google.com>
34976 Paul Pluzhnikov <ppluzhnikov@google.com>
34977
34978 [BZ #6528]
34979 * grp/Makefile (otherlibs): Don't set it.
34980 * inet/Makefile (otherlibs): Likewise.
34981 * login/Makefile (otherlibs): Likewise.
34982 * nscd/Makefile (otherlibs): Likewise.
34983 * posix/Makefile (otherlibs): Likewise.
34984 * pwd/Makefile (otherlibs): Likewise.
34985 * rt/Makefile (otherlibs): Likewise.
34986 * sunrpc/Makefile (otherlibs): Likewise.
34987 * nss/Makefile (otherlibs): Likewise.
34988 Add libnss_files to routines and static-only-routines.
34989 ($(objpfx)getent): Remove rule.
34990 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34991 static-only-routines.
34992
7c69cd14
JM
349932012-03-22 Joseph Myers <joseph@codesourcery.com>
34994
34995 [BZ #13892]
34996 * math/s_cexp.c: Include <float.h>.
34997 (__cexp): Handle exp result overflowing not necessarily
34998 overflowing both real and imaginary parts of result.
34999 * math/s_cexpf.c: Likewise.
35000 * math/s_cexpl.c: Likewise.
35001 * math/libm-test.inc (cexp_test): Add more tests.
35002 * sysdeps/i386/fpu/libm-test-ulps: Update.
35003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35004
81b035fe
L
350052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35006
35007 * include/link.h (ELFW): New macro.
35008 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35009 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35010
1da7940c
L
350112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35012
35013 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35014 with uint64_t.
35015
b749dbb9
L
350162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35017
35018 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35019 declaration.
35020 (struct La_x32_retval): Likewise.
35021
2ff87f3f
L
350222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35023
35024 * sysdeps/x86_64/preconfigure.in: New file.
35025 * sysdeps/x86_64/preconfigure: New generated file.
35026
c0df8e69
JM
350272012-03-22 Joseph Myers <joseph@codesourcery.com>
35028
48e44791
JM
35029 [BZ #13824]
35030 * math/e_exp2l.c: Include <float.h>.
35031 (__ieee754_exp2l): Handle overflow and underflow cases
35032 separately. Only pass fractional part of argument to
35033 __ieee754_expl.
35034 * math/libm-test.inc (exp2_test): Add more tests.
35035
c0df8e69
JM
35036 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35037 negating x to take absolute value.
35038 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35039 Likewise.
35040 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35041 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35042 Likewise.
35043 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35044 computing low part if x was negated.
35045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35046
c8e43ba7
L
350472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35048
35049 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35050 la_x32_gnu_pltexit.
35051 (pltexit): Cast int_retval to ptrdiff_t.
35052 * elf/tst-auditmod3b.c: Likewise.
35053 * elf/tst-auditmod4b.c: Likewise.
35054 * elf/tst-auditmod5b.c: Likewise.
35055 * elf/tst-auditmod6b.c: Likewise.
35056 * elf/tst-auditmod6c.c: Likewise.
35057 * elf/tst-auditmod7b.c: Likewise.
35058
35059 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35060 and x32_gnu_pltexit.
35061
35062 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35063 __ELF_NATIVE_CLASS.
35064 (La_x32_regs): New macro.
35065 (La_x32_retval): Likewise.
35066 (la_x32_gnu_pltenter): New function prototype.
35067 (la_x32_gnu_pltexit): Likewise.
35068
7998fa78
AS
350692012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35070
dcb33988
AS
35071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35072 exponent.
35073
233fc563
AS
35074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35075
7998fa78
AS
35076 * configure.in (libc_cv_cc_nofma): Check for option to disable
35077 generation of FMA instructions.
35078 * configure: Regenerate.
35079 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35080 * sysdeps/ieee754/dbl-64/Makefile: New file.
35081 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35082 Remove brandred-fma4.
35083 (CFLAGS-brandred-fma4.c): Remove.
35084 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35086 define.
35087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35088 define.
35089
8e95c99a
L
350902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35091
35092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35093 LLONG_MAX != LONG_MAX.
35094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35095 (_fitoa_word): Likewise.
35096 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35097 LLONG_MAX != LONG_MAX.
35098 * stdio-common/_itowa.h: Include <_itoa.h>.
35099 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35100 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35101 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35102 only if not defined.
35103 (_ITOA_WORD_TYPE): Likewise.
35104 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35105 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35106
6f4db457
DM
351072012-03-21 David S. Miller <davem@davemloft.net>
35108
35109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35110
7785fe5a
L
351112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35112
35113 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35114 of x86_64 when setting libc_cv_slibdir, libdir and
35115 libc_cv_localedir.
35116 * sysdeps/unix/sysv/linux/configure: Regenerated.
35117
4535cd55
JM
351182012-03-21 Joseph Myers <joseph@codesourcery.com>
35119
35120 * manual/lang.texi (Old Varargs): Remove section.
35121 (How Variadic): Update menu.
35122 (va_start): Do not mention varargs.h.
35123
17228132
TS
351242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35125 Joseph Myers <joseph@codesourcery.com>
35126
35127 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35128 link test.
35129 * configure: Regenerated.
35130
8149f976
TS
351312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35132
05f3d1f6
UD
35133 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35134 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35135 conformtest.pl
8149f976 35136
1a4ac776
JM
351372012-03-21 Joseph Myers <joseph@codesourcery.com>
35138
be22ce65
JM
35139 * NOTES: Remove.
35140 * Makefile (files-for-dist): Remove NOTES.
35141 (NOTES): Remove rule.
35142 * README: Don't refer to NOTES.
35143 * manual/creature.texi: Don't include macros.texi.
35144 * manual/intro.texi (creature.texi): Remove comment referring to
35145 NOTES.
35146
40b601fb
JM
35147 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35148 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35149 * configure: Regenerated.
35150 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35151 LIBC_TRY_CC_OPTION.
35152 (libc_cv_as_i686): Likewise.
35153 (libc_cv_cc_avx): Likewise.
35154 (libc_cv_cc_sse2avx): Likewise.
35155 (libc_cv_cc_fma4): Likewise.
35156 (libc_cv_cc_novzeroupper): Likewise.
35157 * sysdeps/i386/configure: Regenerated.
35158
1a4ac776
JM
35159 [BZ #13883]
35160 * sysdeps/i386/fpu/s_cexp.S: Remove.
35161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35163 * math/libm-test.inc (cexp_test): Add more tests.
35164 * sysdeps/i386/fpu/libm-test-ulps: Update.
35165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35166
a458e7fe
AM
351672012-03-21 Allan McRae <allan@archlinux.org>
35168
35169 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35170
0cb7efc5
JM
351712012-03-21 Joseph Myers <joseph@codesourcery.com>
35172
35173 [BZ #13871]
35174 * math/w_exp2.c: Do not include <float.h>.
35175 (o_threshold, u_threshold): Remove.
35176 (__exp2): Calculate result before checking finiteness and calling
35177 __kernel_standard.
35178 * math/w_exp2f.c: Likewise.
35179 * math/w_exp2l.c: Likewise.
35180 * math/libm-test.inc (exp2_test): Require overflow exception for
35181 1e6 input.
2460d3aa
JM
35182
35183 [BZ #3866]
35184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35185 range of signed 64-bit integers before using fistpll. Remove
35186 checks for whether integers fit in mantissa bits.
35187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35188 the range of signed 32-bit integers before using fistpl. Remove
35189 checks for whether integers fit in mantissa bits.
35190 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35191 (__ieee754_powl): Test for y outside the range of signed 64-bit
35192 integers before using fistpll. Reduce 64-bit values to 63-bit
35193 ones as needed.
35194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35195 divide-by-zero is raised for zero to large negative powers.
35196 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35197 (__ieee754_powl): Test for y outside the range of signed 64-bit
35198 integers before using fistpll. Reduce 64-bit values to 63-bit
35199 ones as needed.
35200 * math/libm-test.inc (pow_test): Add more tests.
35201
eb96ffb0
L
352022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35203
35204 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35205 <stdio-common/_itoa.h>.
35206 * debug/segfault.c: Likewise.
35207 * elf/dl-cache.c: Likewise.
35208 * elf/dl-minimal.c: Likewise.
35209 * elf/dl-misc.c: Likewise.
35210 * elf/dl-sysdep.c: Likewise.
35211 * elf/dl-version.c: Likewise.
35212 * elf/rtld.c: Likewise.
35213 * hurd/hurdsock.c: Likewise.
35214 * hurd/lookup-retry.c: Likewise.
35215 * malloc/malloc.c: Likewise.
35216 * malloc/mtrace.c: Likewise.
35217 * nscd/nscd_getgr_r.c: Likewise.
35218 * nscd/nscd_getpw_r.c: Likewise.
35219 * nscd/nscd_getserv_r.c: Likewise.
35220 * posix/getopt_init.c: Likewise.
35221 * posix/wordexp.c: Likewise.
35222 * stdio-common/_itoa.c: Likewise.
35223 * stdio-common/printf_fphex.c: Likewise.
35224 * stdio-common/vfprintf.c: Likewise.
35225 * string/_strerror.c: Likewise.
35226 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35227 * sysdeps/i386/i686/hp-timing.h: Likewise.
35228 * sysdeps/mach/_strerror.c: Likewise.
35229 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35230 * sysdeps/mach/hurd/sethostid.c: Likewise.
35231 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35232 * sysdeps/mach/xpg-strerror.c: Likewise.
35233 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35235 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35236 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35237 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35238 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35239 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35240 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35241 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35242 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35243 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35244 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35245 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35246 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35247 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35248 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35249 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35250 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35251 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35252 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35253 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35254
35255 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35256
35257 * stdio-common/_itoa.h: Moved to ...
35258 * sysdeps/generic/_itoa.h: Here.
35259
35260 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35261
35262 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35263 instead of "_itoa.h" and "_itowa.h".
35264 * stdio-common/vfprintf.: Likewise.
35265
d1af992d
L
352662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35267
35268 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35269 <bits/wordsize.h>.
35270 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35271 (__signbit): Likwise.
35272 (llrintf): Likwise.
35273 (llrint): Likwise.
35274
114883e0
L
352752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35276
35277 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35278 __WORDSIZE != 64.
35279
c135cc1b
JM
352802012-03-20 Joseph Myers <joseph@codesourcery.com>
35281
35282 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35283 OVERFLOW_EXCEPTION_OK.
35284 * math/libm-test.inc ("Philosophy"): Update comment about
35285 exception testing.
35286 (OVERFLOW_EXCEPTION): Define.
35287 (OVERFLOW_EXCEPTION_OK): Likewise.
35288 (INVALID_EXCEPTION_OK): Renumber.
35289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35290 (IGNORE_ZERO_INF_SIGN): Likewise.
35291 (test_exceptions): Handle FE_OVERFLOW.
35292 (exp10_test): Expect overflow exceptions.
35293 (exp2_test): Likewise.
35294 (expm1_test): Likewise.
35295 (nextafter_test): Likewise.
35296 (pow_test): Likewise.
35297 (scalbn_test): Likewise.
35298 (scalbln_test): Likewise.
35299
95443d88
L
353002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35301
35302 * sysdeps/x86_64/bits/atomic.h
35303 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35304 64bit integer.
35305 (atomic_exchange_acq): Likewise.
35306 (__arch_exchange_and_add_body): Likewise.
35307 (__arch_add_body): Likewise.
35308 (atomic_add_negative): Likewise.
35309 (atomic_add_zero): Likewise.
35310
490df6c4
L
353112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35312
c2722551 35313 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35314 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35315
5e52b189
L
353162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35317
35318 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35319 Check __x86_64__ instead of __WORDSIZE.
35320
a9879d4c
L
353212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35322
35323 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35324
5df98260
DM
353252012-03-19 David S. Miller <davem@davemloft.net>
35326
e1497744
DM
35327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35328
5df98260
DM
35329 * sysdeps/sparc/fpu/fenv_private.h: New file.
35330 * sysdeps/sparc/fpu/math_private.h: Use it.
35331 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35332 Remove.
57f41c40 35333 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35334 (libc_feholdexcept_setroundl): Remove.
35335 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35336 Remove.
35337 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35338 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35339
b4c35121
L
353402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35341
35342 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35343 int64_t instead of long int.
35344 (INSERT_WORDS64): Likwise.
35345
56965fd7
L
353462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35347
35348 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35349 _Unwind_GetCFA return to _Unwind_Ptr first.
35350
83d1aec8
JM
353512012-03-19 Joseph Myers <joseph@codesourcery.com>
35352
1897ad44
JM
35353 [BZ #13629]
35354 * math/s_clog.c: Include <float.h>.
35355 (__clog): Scale large or subnormal inputs.
35356 * math/s_clogf.c: Likewise.
35357 * math/s_clogl.c: Likewise.
35358 * math/s_clog10.c: Include <float.h>.
35359 (M_LOG10_2): Define.
35360 (__clog10): Scale large or subnormal inputs.
35361 * math/s_clog10f.c: Likewise.
35362 * math/s_clog10l.c: Likewise.
35363 * math/libm-test.inc (clog_test): Add more tests.
35364 (clog10_test): Likewise.
35365 * sysdeps/i386/fpu/libm-test-ulps: Update.
35366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35367
7726d6a9
JM
35368 [BZ #11451]
35369 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35370 x and y.
35371 * math/libm-test.inc (atan2_test): Add another test.
35372
83d1aec8
JM
35373 * Makerules (common-objdir-compile): Remove.
35374 * sysdeps/unix/Makefile (config-generated): Do not add
35375 $(unix-generated) to variable.
35376 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35377 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35378 Remove rule.
35379 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35380 Likewise.
35381 [generic bits/local_lim.h] (before-compile): Do not append to
35382 variable.
35383 [generic bits/local_lim.h] (common-generated): Likewise.
35384 [generic sys/param.h] (before-compile): Do not append to variable.
35385 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35386 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35387 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35388 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35389 include.
35390 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35391 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35392 [generic sys/param.h] ($(addprefix
35393 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35394 [generic sys/param.h] (common-generated): Do not append to
35395 variable.
35396 [generic sys/param.h] (sysdep_headers): Likewise.
35397 [generic bits/errno.h] (before-compile): Do not append to
35398 variable.
35399 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35400 rule.
35401 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35402 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35403 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35404 [generic bits/errno.h] (common-generated): Do not append to
35405 variable.
35406 [generic bits/ioctls.h] (before-compile): Do not append to
35407 variable.
35408 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35409 rule.
35410 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35411 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35412 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35413 rule.
35414 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35415 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35416 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35417 [generic bits/ioctls.h] (common-generated): Do not append to
35418 variable.
35419 [generic sys/syscall.h] (syscall.h): Remove variable.
35420 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35421 rule.
35422 [generic sys/syscall.h] (before-compile): Do not append to
35423 variable.
35424 [generic sys/syscall.h] (common-generated): Likewise.
35425 * sysdeps/unix/errnos-tmpl.c: Remove file.
35426 * sysdeps/unix/errnos.awk: Likewise.
35427 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35428 * sysdeps/unix/ioctls.awk: Likewise.
35429 * sysdeps/unix/mk-local_lim.c: Likewise.
35430 * sysdeps/unix/snarf-ioctls: Likewise.
35431
4851a949
RH
354322012-03-19 Richard Henderson <rth@twiddle.net>
35433
bd37f2ee
RH
35434 * sysdeps/i386/fpu/fenv_private.h: New file.
35435 * sysdeps/i386/fpu/math_private.h: Use it.
35436 (math_opt_barrier, math_force_eval): Remove.
35437 (libc_feholdexcept_setround_53bit): Remove.
35438 (libc_feupdateenv_53bit): Remove.
35439 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35440 (math_opt_barrier, math_force_eval): Remove.
35441 (libc_feholdexcept): Remove.
35442 (libc_feholdexcept_setround): Remove.
35443 (libc_fetestexcept, libc_fesetenv): Remove.
35444 (libc_feupdateenv_test): Remove.
35445 (libc_feupdateenv, libc_feholdsetround): Remove.
35446 (libc_feresetround): Remove.
35447
d0adc922
RH
35448 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35449 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35450
0fe0f1f8
RH
35451 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35452 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35453 (libc_feupdateenv_testl): New.
35454 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35455 (libc_feupdateenv_testf): New.
35456 (libc_feupdateenv): Use libc_feupdateenv_test.
35457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35458 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35459
eb92c487
RH
35460 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35461 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35462 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35463 (libc_feresetround_noex): New.
35464 (libc_feresetround_noexf): New.
35465 (libc_feresetround_noexl): New.
35466 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35467 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35468 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35470 SET_RESTORE_ROUND.
35471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35473 (__cos): Likewise.
35474 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35475 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35476 SET_RESTORE_ROUND_NOEX.
35477 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35478 SET_RESTORE_ROUND_NOEXF.
35479 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35480 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35481 (libc_feholdsetroundf): New.
35482 (libc_feresetround, libc_feresetroundf): New.
35483
7d2e8012
RH
35484 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35485 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35486 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35487
b4dabbb4
RH
35488 * sysdeps/generic/math_private.h: Include <fenv.h>.
35489 (default_libc_feholdexcept): New.
35490 (default_libc_feholdexcept_setround): New.
35491 (default_libc_fesetenv, default_libc_feupdateenv): New.
35492 (libc_feholdexcept): Only define if undefined.
35493 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35494 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35495 (libc_feholdexcept_setroundl): Likewise.
35496 (libc_feholdexcept_setround_53bit): Likewise.
35497 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35498 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35499 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35500 (libc_feupdateenv_53bit): Likewise.
35501 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35502 (libc_feholdexcept): Convert from macro to inline function.
35503 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35504 (libc_fesetenv, libc_feupdateenv): Likewise.
35505
4851a949
RH
35506 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35507 not previously defined.
35508 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35509 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35510 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35511 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35512 * sysdeps/ieee754/flt-32/math_private.h: New file.
35513 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35514 math_private.h below SET_FLOAT_WORD.
35515 (__isnan, __isinf_ns, __finite): Remove.
35516 (__isnanf, __isinf_nsf, __finitef): Remove.
35517
e79d442e
AS
355182012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35519
35520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35521
90b80344
DM
355222012-03-17 David S. Miller <davem@davemloft.net>
35523
35524 [BZ #6471]
35525 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35526 for 2.16.
35527
edc21804
DM
355282012-03-16 David S. Miller <davem@davemloft.net>
35529
77e927af
DM
35530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35531 warnings.
35532
374976dd
DM
35533 [BZ #6471]
35534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35535 properly.
35536 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35537 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35538 sysdep_routines when subdir is sysvipc.
35539 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35540 __getshmlba helper.
35541
edc21804
DM
35542 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35543
473c3ef3
L
355442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35545
35546 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35547 [__LP64__].
35548
eb0f39b6
L
355492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35550
35551 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35552 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35553 (__lround): Renamed to ...
35554 (__llround): This. Replace long int with long long int.
35555 Define lround functions as aliases of llround functions.
35556 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35557
6b6cd74b
L
355582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35559
35560 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35561 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35562 adresses to uintptr_t. Replace "long int" and "unsigned long
35563 int" with "greg_t" on va_arg.
35564
f1a77b01
L
355652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35566
35567 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35568 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35569
35570 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35571 Move e_machine check before EI_CLASS check. Handle x32
35572 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35573 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35574 SKIP_EM_IA_64 and include
35575 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35576
35577 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35578 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35579 (add_system_dir): New macro.
35580
35581 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35582 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35583
11b90b9f
JM
355842012-03-16 Joseph Myers <joseph@codesourcery.com>
35585
c36e1d23
JM
35586 [BZ #2551]
35587 [BZ #2552]
35588 [BZ #2553]
35589 [BZ #2554]
35590 [BZ #2562]
35591 [BZ #2563]
35592 [BZ #2565]
35593 [BZ #2566]
35594 [BZ #2576]
35595 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35596 (y0): Likewise.
35597 * math/w_j0f.c (j0f): Likewise.
35598 (y0f): Likewise.
35599 * math/w_j0l.c (__j0l): Likewise.
35600 (__y0l): Likewise.
35601 * math/w_j1.c (j1): Likewise.
35602 (y1): Likewise.
35603 * math/w_j1f.c (j1f): Likewise.
35604 (y1f): Likewise.
35605 * math/w_j1l.c (__j1l): Likewise.
35606 (__y1l): Likewise.
35607 * math/w_jn.c (jn): Likewise.
35608 (yn): Likewise.
35609 * math/w_jnf.c (jnf): Likewise.
35610 (ynf): Likewise.
35611 * math/w_jnl.c (__jnl): Likewise.
35612 (__ynl): Likewise.
35613 * math/libm-test.inc (j0_test): Add more tests.
35614 (j1_test): Likewise.
35615 (jn_test): Likewise. Add trailing semicolon to existing test.
35616 (y0_test): Likewise.
35617 (y1_test): Likewise.
35618 * sysdeps/i386/fpu/libm-test-ulps: Update.
35619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35620
11b90b9f
JM
35621 [BZ #13851]
35622 [BZ #13854]
35623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35624 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35625 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35627 (__tanl): Set errno for infinite argument.
35628 * sysdeps/i386/fpu/mptan.c: Remove.
35629 * sysdeps/i386/fpu/s_tan.S: Likewise.
35630 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35631 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35632 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35633 * math/libm-test.inc (tan_test): Add more tests and enable more
35634 tests for double and long double.
35635 * sysdeps/i386/fpu/libm-test-ulps: Update.
35636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35637
6a1bd2a1
JK
356382012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35639
35640 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35641 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35642
10a803e0
RM
356432012-03-16 Roland McGrath <roland@hack.frob.com>
35644
35645 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35646 * configure.in: Use it for both main tree and add-ons.
35647 * configure: Regenerated.
35648
f196c7f7
L
356492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35650
35651 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35652
8848d99d
JM
356532012-03-16 Joseph Myers <joseph@codesourcery.com>
35654
96cbe7f4
JM
35655 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35656 in comment.
35657
8848d99d
JM
35658 [BZ #13851]
35659 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35660 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35664 infinite argument.
35665 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35667 != 0 for prec == 2.
35668 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35669 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35670 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35671 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35672 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35673 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35674 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35675 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35676 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35677 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35678 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35679 * math/libm-test.inc (cos_test): Add more tests and enable more
35680 tests for long double.
35681 (sin_test): Likewise.
35682 (sincos_test): Likewise.
35683 * sysdeps/i386/fpu/libm-test-ulps: Update.
35684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35685
dd7f4703
DM
356862012-03-16 David S. Miller <davem@davemloft.net>
35687
35688 * sysdeps/sparc/fpu/math_private.h: New file.
35689
006f1daa
DM
356902012-03-15 David S. Miller <davem@davemloft.net>
35691
c0c83bc8
DM
35692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35693 file.
e6a62e18 35694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35696 file.
e6a62e18
DM
35697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35703 sysdep routines.
35704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35705
88cb87d9
DM
35706 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35707 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35708
006f1daa 35709 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35711 sparc-ifunc.h
006f1daa 35712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35714 Likewise.
35715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35716 Likewise.
006f1daa
DM
35717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35721 Likewise.
006f1daa
DM
35722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35727 Likewise.
35728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35729 Likewise.
006f1daa
DM
35730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35754
11e0098e
AS
357552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35756
35757 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35758 scaling.
35759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35760
e85b09d0
AJ
357612012-03-15 Andreas Jaeger <aj@suse.de>
35762
35763 [BZ #13852]
35764 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35765 ieee754/flt-32 implementation for sin, cos and sincos.
35766 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35767 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35768 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35769 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35770 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35771 ieee754/flt-32 implementation for tan.
35772
35773 * math/libm-test.inc (cos_test): Enable some large input tests for
35774 float as well
35775 (sin_test): Likewise.
35776 (sincos_test): Likewise.
35777 (tan_test): Add tests for large input.
35778
35779 * sysdeps/i386/fpu/libm-test-ulps: Update.
35780
81c64153
AJ
357812012-03-15 Andreas Jaeger <aj@suse.de>
35782
35783 [BZ #13658]
35784 * math/libm-test.inc (cos_test): Add more test cases.
35785 (sin_test): Likewise.
35786 (sincos_test): Likewise.
35787
7bbfa5c6
AJ
357882012-03-15 Andreas Jaeger <aj@suse.de>
35789
35790 [BZ #13837]
35791 * math/libm-test.inc (cos_test): Add a test case for large input
35792 value.
35793 (sin_test): Likewise.
35794 (sincos_test): Likewise.
35795
57f41c40
AS
357962012-03-15 Andreas Jaeger <aj@suse.de>
35797 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35798
35799 [BZ #13658]
0671f479 35800 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35801 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35802 * sysdeps/i386/fpu/branred.c: Likewise.
35803 * sysdeps/i386/fpu/dosincos.c: Likewise.
35804 * sysdeps/i386/fpu/mpa.c: Likewise.
35805 * sysdeps/i386/fpu/s_cos.S: Likewise.
35806 * sysdeps/i386/fpu/s_sin.S: Likewise.
35807 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35808 * sysdeps/i386/fpu/sincos32.c: Likewise.
35809
35810 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35811 Define.
35812 (libc_feupdateenv_53bit): Define.
35813 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35814 Define.
35815 (libc_feupdateenv_53bit): Define.
35816
35817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35818 53 bit (without extend i386 double precision).
35819
35820 * math/libm-test.inc (sincos_test): Add tests for large input.
35821 (sin): Likewise.
35822 (cos): Likewise.
35823
35824 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35825
9cad04ea
AS
358262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35827
35828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35829
f7062b9a
DM
358302012-03-15 David S. Miller <davem@davemloft.net>
35831
35832 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35833 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35834 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35835 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35848 file.
f7062b9a 35849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35851 file.
f7062b9a 35852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35854 file.
f7062b9a 35855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35857 file.
f7062b9a
DM
35858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35860 fmin/fmax sysdep routines.
35861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35862
7bd951ff
DM
358632012-03-14 David S. Miller <davem@davemloft.net>
35864
559398ab
DM
35865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35894 routines.
35895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35896 file.
559398ab 35897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35899 file.
559398ab 35900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35902 file.
559398ab 35903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35905 file.
559398ab 35906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35908 file.
559398ab 35909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35911 file.
35912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35913 file.
35914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35915 file.
35916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35917 file.
35918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35919 New file.
35920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35921 file.
35922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35923 file.
559398ab 35924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35926 file.
559398ab 35927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35929 file.
559398ab 35930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35932 file.
559398ab 35933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35935 VIS3 routines.
559398ab
DM
35936
35937 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35938 New file.
35939
5a1c1e32
DM
35940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35941
eae47a36
DM
35942 * sysdeps/sparc/configure.in: New file.
35943 * sysdeps/sparc/configure: Generate.
35944 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35945 * configure: Regenerate.
35946 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35947 * config.make.in (have-as-vis3): New.
35948 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35949 available use -Av9d instead of -Av9a.
35950 * sysdeps/sparc/sparc64/Makefile: Likewise.
35951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35953 New file.
35954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35955 file.
35956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35957 New file.
35958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35959 file.
eae47a36
DM
35960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35965
c0c83bc8
DM
35966 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35967 fzeros/fnegs to load 0x80000000 into a float register instead of
35968 using the stack.
7bd951ff
DM
35969 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35970
bd951ccb
JM
359712012-03-14 Joseph Myers <joseph@codesourcery.com>
35972
35973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35974 bits/syscall.h.
35975 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35976 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35977 ($(inst_includedir)/bits/syscall.h): Remove rule.
35978 ($(objpfx)bits/syscall.d): Include instead of
35979 $(objpfx)syscall-list.d.
35980 (generated): Change syscall-list.h and syscall-list.d to
35981 bits/syscall.h and bits/syscall.d.
35982
bb4e6db2
RM
359832012-03-14 Roland McGrath <roland@hack.frob.com>
35984
35985 [BZ #13846]
35986 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35987
aa4a2ae1
JM
359882012-03-14 Joseph Myers <joseph@codesourcery.com>
35989
e456826d
JM
35990 [BZ #13841]
35991 * math/s_csqrt.c: Include <float.h>.
35992 (__csqrt): Scale large or subnormal inputs.
35993 * math/s_csqrtf.c: Likewise.
35994 * math/s_csqrtl.c: Likewise.
35995 * math/libm-test.inc (csqrt_test): Add more tests.
35996 * sysdeps/i386/fpu/libm-test-ulps: Update.
35997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35998
aa4a2ae1
JM
35999 [BZ #13840]
36000 * math/libm-test.inc (hypot_test): Add more tests.
36001
7c10fd35
DM
360022012-03-13 David S. Miller <davem@davemloft.net>
36003
36004 [BZ #13840]
36005 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36006 double-precision for the calculation instead of scaling.
36007
f453b98b
JM
360082012-03-13 Joseph Myers <joseph@codesourcery.com>
36009
36010 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36011 manipulate bits before adding and subtracting TWO52[sx].
36012 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36013 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36014 Likewise.
36015 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36016
09a3453f
DM
360172012-03-13 David S. Miller <davem@davemloft.net>
36018
8e59da90
DM
36019 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36020 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36022 rtld-global-offsets.h
36023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36024
2a8ab7f2
DM
36025 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36026 large parameters.
36027
10f62770
DM
36028 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36029
5f0bdb18
DM
36030 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36031 'err' in the ifdef scope in which it is actually used.
36032
09a3453f
DM
36033 * nss/nss_db/db-init.c: Include string.h
36034
b4b2eb5e
DM
360352012-03-12 David S. Miller <davem@davemloft.net>
36036
98bb2f1c
DM
36037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36038 masking out of the most significant byte of random value used.
36039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36040 Fix coding style in previous change.
36041
b4b2eb5e
DM
36042 * sysdeps/unix/sysv/linux/kernel-features.h
36043 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36044 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36045 expression.
36046 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36047 later.
36048
6e226b09
DM
360492012-03-11 David S. Miller <davem@davemloft.net>
36050
a1bcbd40
DM
36051 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36052 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36054 for 'resultvar' otherwise things get truncated on 64-bit.
36055
cb9d6174
DM
36056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36057 Fix masking out of the most significant byte of random value used.
36058
6e226b09
DM
36059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36060
058c132d
AS
360612012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36062
36063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36064
2d2cd515
DM
360652012-03-09 David S. Miller <davem@davemloft.net>
36066
36067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36068 variables with appropriate CPP guards.
57f41c40
AS
36069 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36070 from the frame pointer, not the stack pointer. Correct layout
36071 comments. Fix test on resulting framesize and the management of
36072 the outregs buffer for pltexit. Preserve floating point return
36073 values across _dl_call_pltexit call.
2d2cd515
DM
36074 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36075 framesize and the management of the outregs buffer for pltexit.
36076 Preserve floating point return values across _dl_call_pltexit
36077 call.
57f41c40
AS
36078 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36079 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36080 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36081 (print_exit): Fix format string for return register value.
36082
9a07f9d0
JM
360832012-03-10 Joseph Myers <joseph@codesourcery.com>
36084
36085 * sunrpc/Makefile (others): Add rpcgen.
36086 ($(objpfx)rpcgen): Remove special build rule and dependency on
36087 libc.
36088 * sunrpc/rpcgen.c: New file.
36089
547b5e30
PE
360902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36091
c524201a
PE
36092 [BZ #13673]
36093 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36094 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36095 * sysdeps/i386/crti.S: Likewise.
36096 * sysdeps/i386/crtn.S: Likewise.
36097 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36098 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36099 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36100 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36101 * sysdeps/sh/crti.S: Likewise.
36102 * sysdeps/sh/crtn.S: Likewise.
36103 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36104
7b6235f2
PE
36105 [BZ #13673]
36106 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36107 with URL.
36108 * locale/programs/locfile-kw.gperf: Likewise.
36109 * locale/programs/charmap-kw.h: Regenerated.
36110 * locale/programs/locfile-kw.h: Likewise.
36111
547b5e30
PE
36112 [BZ #13673]
36113 * intl/plural.y: Replace FSF snail mail address with URL.
36114 * intl/plural.c: Regenerated.
36115
5f0a5dae
RH
361162012-03-09 Richard Henderson <rth@twiddle.net>
36117
36118 * include/math_private.h: Remove file.
36119 * math/math_private.h: Move file ...
36120 * sysdeps/generic/math_private.h: ... here.
36121
b8c03620
RH
36122 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36123 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36124 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36125
4e234f5d 36126 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36127 and <math_private.h>.
36128 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36129 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36130 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36131 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36132 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36133 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36134 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36136 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36137 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36139 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36140 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36142 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36143 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36163 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36164 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36169 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36171 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36172 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36173 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36174 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36175 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36176 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36177 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36178 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36179 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36180 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36182 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36183 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36184 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36185 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36186 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36187 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36189 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36193 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36196 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36199 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36206 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36212 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36215 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36216 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36217 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36219 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36220 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36222 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36223 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36224 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36225 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36226 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36227 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36228 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36229 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36230 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36231 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36233 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36234 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36235 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36236 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36237 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36238 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36239 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36240 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36242 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36244 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36245 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36246 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36247 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36248 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36249 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36250 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36251 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36252 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36255 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36256 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36257 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36258 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36259 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36260 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36261 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36262 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36263 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36264 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36265 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36266 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36267 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36269 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36270 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36271 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36272 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36273 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36274 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36275 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36276 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36277 * sysdeps/ieee754/k_standard.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36329 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36334 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36338 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36339 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36354 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36355 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36356 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36358 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36359 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36361 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36364 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36366 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36368 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36369 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36370 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36371 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36374 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36375 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36377 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36382 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36383 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36384 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36385 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36386 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36387 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36388 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36389 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36390 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36391 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36392 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36394 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36395 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36396 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36397 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36398 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36399 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36400 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36401 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36402 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36403 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36404 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36405 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36406 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36407 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36408 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36409 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36410 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36411 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36412 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36413 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36414 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36415 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36416 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36417 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36418 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36419 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36420 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36421 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36423 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36424 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36427 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36428 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36429 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36432 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36433 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36437 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36438 * sysdeps/ieee754/s_lib_version.c: Likewise.
36439 * sysdeps/ieee754/s_matherr.c: Likewise.
36440 * sysdeps/ieee754/s_signgam.c: Likewise.
36441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36443 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36444 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36445 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36446 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36447 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36448 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36449 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36450 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36451 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36452 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36453 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36455 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36456 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36457 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36458 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36459 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36462
1991fa03
JM
364632012-03-09 Joseph Myers <joseph@codesourcery.com>
36464
36465 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36466 * sunrpc/rpc_main.c: Likewise.
36467 * sunrpc/rpc_svcout.c: Likewise.
36468
60d6f5a6
DM
364692012-03-09 David S. Miller <davem@davemloft.net>
36470
36471 * include/math_private.h: New file.
36472
4962050e
JM
364732012-03-09 Joseph Myers <joseph@codesourcery.com>
36474
02a6f887
JM
36475 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36476 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36477 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36478 from <bits/socket_type.h>.
36479 (enum __socket_type): Don't define here.
36480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36482 bits/socket_type.h.
36483
c6e013c1
JM
36484 [BZ #13566]
36485 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36486 checking __USE_GNU.
36487
4962050e
JM
36488 * Makerules ($(inst_includedir)/%.h): New rule.
36489 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36490 (install-others): Remove variable setting.
36491 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36492
38842f45
RH
364932012-03-08 Richard Henderson <rth@twiddle.net>
36494
67bb6da6
RH
36495 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36496 from macro to inline function; merge with the
36497 !__LIBC_INTERNAL_MATH_INLINES version.
36498 (__ieee754_sqrtf): Likewise.
36499
15194b4b
RH
36500 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36501 to inline function.
36502 (__rintf, __floor, __floorf): Likewise.
36503
64e21ede
RH
36504 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36505 macro to inline function.
36506 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36507
38842f45
RH
36508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36509 not <math/math_private.h>.
36510
c64bf5fe
DM
365112012-03-08 David S. Miller <davem@davemloft.net>
36512
36513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36514 copyright year.
36515 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36516
82d86f28
TS
365172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36518
36519 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36520 normalization.
36521 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36522 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36523
aea5d727
UD
365242012-03-08 Ulrich Drepper <drepper@gmail.com>
36525
36526 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36527 be defined individually, they must be defined as a block. Define
36528 S for printing a string instead of hidint the different by using a
36529 macro for adding the 'l'.
36530 * stdio-common/tst-fphex-wide.c: Adjust.
36531
70bca0a3
MP
365322012-03-07 Marek Polacek <polacek@redhat.com>
36533
36534 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36535
65b81130
MP
365362012-03-08 Marek Polacek <polacek@redhat.com>
36537
36538 [BZ #13806]
36539 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36540 * stdio-common/tst-fphex.c: Define a few macros to make the
36541 test reusable. Use them.
36542 * stdio-common/tst-fphex-wide.c: New file.
36543
07037eeb
JM
365442012-03-08 Joseph Myers <joseph@codesourcery.com>
36545
a7a93d50
JM
36546 [BZ #6911]
36547 * manual/macros.texi (gnusystems): New macro.
36548 (nongnusystems): Likewise.
36549 (gnulinuxhurdsystems): Likewise.
36550 (gnuhurdsystems): Likewise..
36551 (gnulinuxsystems): Likewise.
36552 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36553 variants of the GNU system, not "GNU system".
36554 * manual/conf.texi: Likewise.
36555 * manual/errno.texi: Likewise. Update example of errno macro
36556 expansion.
36557 * manual/filesys.texi: Likewise.
36558 (getumask): Document as specific to GNU/Hurd.
36559 * manual/install.texi: Likewise. Reword some references to
36560 GNU/Linux.
36561 * manual/intro.texi: Likewise.
36562 * manual/io.texi: Likewise.
36563 (File Name Portability): Detail which constraints are inapplicable
36564 to all GNU systems and which are only inapplicable to GNU/Hurd.
36565 * manual/job.texi: Likewise.
36566 * manual/llio.texi: Likewise.
36567 (O_NOCTTY): Document as present on GNU/Linux.
36568 * manual/maint.texi: Likewise.
36569 * manual/memory.texi: Likewise.
36570 * manual/pattern.texi: Likewise.
36571 * manual/pipe.texi: Likewise.
36572 * manual/process.texi: Likewise.
36573 * manual/resource.texi: Likewise.
36574 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36575 child on GNU/Hurd.
36576 * manual/setjmp.texi: Likewise.
36577 * manual/signal.texi: Likewise.
36578 * manual/startup.texi: Likewise.
36579 * manual/stdio.texi: Likewise.
36580 * manual/terminal.texi: Likewise.
36581 (ONLCR): Document as POSIX.
36582 (OXTABS): Document availability on GNU/Linux as XTABS.
36583 (ONOEOT): Document availability separately from other bits.
36584 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36585 * manual/time.texi: Likewise.
36586 * manual/users.texi: Likewise.
36587 * INSTALL: Regenerated.
36588 * sysdeps/gnu/errlist.c: Regenerated.
36589
07037eeb
JM
36590 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36591 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36592 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36593 puts.
36594 * configure: Regenerated.
36595
d1d3431a
JM
365962012-03-07 Joseph Myers <joseph@codesourcery.com>
36597
af6a1e37
JM
36598 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36599 default includes instead of AC_HEADER_CHECK.
36600 * sysdeps/i386/configure: Regenerated.
36601
d1d3431a
JM
36602 [BZ #10716]
36603 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36604 * math/s_cacoshf.c (__cacoshf): Likewise.
36605 * math/s_cacoshl.c (__cacoshl): Likewise.
36606 * math/s_casinh.c (__casinh): Set signs of result from argument.
36607 * math/s_casinhf.c (__casinhf): Likewise.
36608 * math/s_casinhl.c (__casinhl): Likewise.
36609 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36610 (casinh_test): Add more tests.
36611 * sysdeps/i386/fpu/libm-test-ulps: Update.
36612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36613
482ff4da
UD
366142012-03-07 Ulrich Drepper <drepper@gmail.com>
36615
872fda05
UD
36616 * po/zh_TW.po: Update from translation team.
36617
a4300c7a
UD
36618 * login/Makefile (distribute): Remove variable.
36619 * catgets/Makefile: Likewise.
36620 * mach/Makefile: Likewise.
36621 * malloc/Makefile: Likewise.
36622 * misc/Makefile: Likewise.
36623 * iconv/Makefile: Likewise.
36624 * nscd/Makefile: Likewise.
36625 * hurd/Makefile: Likewise.
36626 * manual/Makefile: Likewise.
36627 * locale/Makefile: Likewise.
36628 * intl/Makefile: Likewise.
36629 * conform/Makefile: Likewise.
36630 * nss/Makefile: Likewise.
36631 * time/Makefile: Likewise.
36632 * soft-fp/Makefile: Likewise.
36633 * dirent/Makefile: Likewise.
36634 * gmon/Makefile: Likewise.
36635 * po/Makefile: Likewise.
36636 * rt/Makefile: Likewise.
36637 * socket/Makefile: Likewise.
36638 * math/Makefile: Likewise.
36639 * signal/Makefile: Likewise.
36640 * debug/Makefile: Likewise.
36641 * elf/Makefile: Likewise.
36642 * timezone/Makefile: Likewise.
36643 * stdlib/Makefile: Likewise.
36644 * iconvdata/Makefile: Likewise.
36645 * sunrpc/Makefile: Likewise.
36646 * io/Makefile: Likewise.
36647 * argp/Makefile: Likewise.
36648 * inet/Makefile: Likewise.
36649 * hesiod/Makefile: Likewise.
36650 * grp/Makefile: Likewise.
36651 * csu/Makefile: Likewise.
36652 * wctype/Makefile: Likewise.
36653 * crypt/Makefile: Likewise.
36654 * libio/Makefile: Likewise.
36655 * string/Makefile: Likewise.
36656 * nis/Makefile: Likewise.
36657 * resolv/Makefile: Likewise.
36658 * stdio-common/Makefile: Likewise.
36659 * wcsmbs/Makefile: Likewise.
36660 * dlfcn/Makefile: Likewise.
36661 * posix/Makefile: Likewise.
36662
3b7c4e74 36663 [BZ #6959]
482ff4da
UD
36664 * timezone/Makefile: Don't install timezone files, just the programs
36665 and scripts.
36666
f72ed77d
UD
366672012-03-06 Ulrich Drepper <drepper@gmail.com>
36668
a000466f
UD
36669 * nss/databases.def: Add missing gshadow entry.
36670
f72ed77d
UD
36671 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36672
a53b7a4e
MP
366732012-03-06 Marek Polacek <polacek@redhat.com>
36674
36675 [BZ #13726]
36676 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36677 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36678 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36679 * stdio-common/tst-long-dbl-fphex.c: New file.
36680
e9258400
DM
366812012-03-06 David S. Miller <davem@davemloft.net>
36682
36683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36684 (set_obp_int): New function.
36685 (get_obp_int): New function.
36686 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36687 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36688 Avoid unused variable warnings on 'val' and use builtin_expect.
36689 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36690 __builtin_expect.
e9258400
DM
36691 (INLINE_CLONE_SYSCALL): Likewise.
36692
3bd2c723
DM
366932012-03-05 David S. Miller <davem@davemloft.net>
36694
36695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36696
bbb78d03
AS
366972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36698
884c5db4
AS
36699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36700
bbb78d03
AS
36701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36702 only for |x| >= 40.
36703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36704
1c9f702a 367052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36706
36707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36708 Replace gettimeofday with __vdso_gettimeofday.
36709
7be16f82
RM
36710 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36711 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36712 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36713
36714 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36715 time with __vdso_time.
36716
ed58a00f
JM
367172012-03-05 Joseph Myers <joseph@codesourcery.com>
36718
36719 * manual/lang.texi (size_t): Note types to which size_t may be
36720 equivalent with the GNU C Library, but do not describe when
36721 differences between them are significant.
36722
30ee4ced
AJ
367232012-03-05 Andreas Jaeger <aj@suse.de>
36724
36725 * sysdeps/i386/fpu/libm-test-ulps: Update.
36726
b7cd39e8
JM
367272012-03-05 Joseph Myers <joseph@codesourcery.com>
36728
36729 [BZ #3976]
36730 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36731 (__ieee754_pow): Save and restore rounding mode and use
36732 round-to-nearest for main computations.
36733 * math/libm-test.inc (pow_test_tonearest): New function.
36734 (pow_test_towardzero): Likewise.
36735 (pow_test_downward): Likewise.
36736 (pow_test_upward): Likewise.
36737 (main): Call the new functions.
36738 * sysdeps/i386/fpu/libm-test-ulps: Update.
36739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36740
36741 [BZ #3976]
36742 * math/libm-test.inc (cosh_test_tonearest): New function.
36743 (cosh_test_towardzero): Likewise.
36744 (cosh_test_downward): Likewise.
36745 (cosh_test_upward): Likewise.
36746 (sinh_test_tonearest): Likewise.
36747 (sinh_test_towardzero): Likewise.
36748 (sinh_test_downward): Likewise.
36749 (sinh_test_upward): Likewise.
36750 (main): Call the new functions.
36751 * sysdeps/i386/fpu/libm-test-ulps: Update.
36752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36753
6c6a98c9
TV
367542012-03-05 Tom de Vries <tom@codesourcery.com>
36755
36756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36757 default stack guard is set in last bytes.
36758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36759
21bb2d2e 367602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36761
21bb2d2e 36762 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36763
21bb2d2e
AJ
36764 [BZ #13656]
36765 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36766 possibly allocate from heap instead of stack.
36767 * stdio-common/bug-vfprintf-nargs.c: New file.
36768 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36769
c6922934
AS
367702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36771
36772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36773
bc957d53
MP
367742012-03-03 Marek Polacek <polacek@redhat.com>
36775
36776 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36777 * math/math_private.h: Likewise.
36778 * stdlib/tst-strtod.c: Likewise.
36779 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36780 * sysdeps/x86_64/bits/atomic.h: Likewise.
36781
6358490d
DM
367822012-03-02 David S. Miller <davem@davemloft.net>
36783
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36788 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36789 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36790 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36791 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36792
01ae168d
RM
367932012-03-02 Roland McGrath <roland@hack.frob.com>
36794
d9a17c07
RM
36795 [BZ #13792]
36796 * manual/examples/README: New file, says the example source files
36797 can be used under GPL>=2.
36798 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36799 line containing just "*/".
36800 * manual/examples/add.c: Add copyright header (GPL>=2).
36801 * manual/examples/argp-ex1.c: Likewise.
36802 * manual/examples/argp-ex2.c: Likewise.
36803 * manual/examples/argp-ex3.c: Likewise.
36804 * manual/examples/argp-ex4.c: Likewise.
36805 * manual/examples/atexit.c: Likewise.
36806 * manual/examples/db.c: Likewise.
36807 * manual/examples/dir.c: Likewise.
36808 * manual/examples/dir2.c: Likewise.
36809 * manual/examples/execinfo.c: Likewise.
36810 * manual/examples/filecli.c: Likewise.
36811 * manual/examples/filesrv.c: Likewise.
36812 * manual/examples/fmtmsgexpl.c: Likewise.
36813 * manual/examples/genpass.c: Likewise.
36814 * manual/examples/inetcli.c: Likewise.
36815 * manual/examples/inetsrv.c: Likewise.
36816 * manual/examples/isockad.c: Likewise.
36817 * manual/examples/longopt.c: Likewise.
36818 * manual/examples/memopen.c: Likewise.
36819 * manual/examples/memstrm.c: Likewise.
36820 * manual/examples/mkfsock.c: Likewise.
36821 * manual/examples/mkisock.c: Likewise.
36822 * manual/examples/mygetpass.c: Likewise.
36823 * manual/examples/pipe.c: Likewise.
36824 * manual/examples/popen.c: Likewise.
36825 * manual/examples/rprintf.c: Likewise.
36826 * manual/examples/search.c: Likewise.
36827 * manual/examples/select.c: Likewise.
36828 * manual/examples/setjmp.c: Likewise.
36829 * manual/examples/sigh1.c: Likewise.
36830 * manual/examples/sigusr.c: Likewise.
36831 * manual/examples/stpcpy.c: Likewise.
36832 * manual/examples/strdupa.c: Likewise.
36833 * manual/examples/strftim.c: Likewise.
36834 * manual/examples/strncat.c: Likewise.
36835 * manual/examples/subopt.c: Likewise.
36836 * manual/examples/swapcontext.c: Likewise.
36837 * manual/examples/termios.c: Likewise.
36838 * manual/examples/testopt.c: Likewise.
36839 * manual/examples/testpass.c: Likewise.
36840 * manual/examples/timeval_subtract.c: Likewise.
36841
01ae168d
RM
36842 [BZ #13792]
36843 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36844 function to ...
36845 * manual/timeval_subtract.c.texi: ... here, new file.
36846
49efa33d
DM
368472012-03-02 David S. Miller <davem@davemloft.net>
36848
36849 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36850
28afd92d
JM
368512012-03-02 Joseph Myers <joseph@codesourcery.com>
36852
804360ed
JM
36853 [BZ #3976]
36854 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36855 (__sin): Save and restore rounding mode and use round-to-nearest
36856 for all computations.
36857 (__cos): Save and restore rounding mode and use round-to-nearest
36858 for all computations.
36859 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36860 <fenv.h>.
36861 (tan): Save and restore rounding mode and use round-to-nearest for
36862 all computations.
36863 * math/libm-test.inc (cos_test_tonearest): New function.
36864 (cos_test_towardzero): Likewise.
36865 (cos_test_downward): Likewise.
36866 (cos_test_upward): Likewise.
36867 (sin_test_tonearest): Likewise.
36868 (sin_test_towardzero): Likewise.
36869 (sin_test_downward): Likewise.
36870 (sin_test_upward): Likewise.
36871 (tan_test_tonearest): Likewise.
36872 (tan_test_towardzero): Likewise.
36873 (tan_test_downward): Likewise.
36874 (tan_test_upward): Likewise.
36875 (main): Call the new functions.
36876 * sysdeps/i386/fpu/libm-test-ulps: Update.
36877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36878
a6d06d7b
JM
36879 [BZ #10135]
36880 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36881 small n, then large n, before computing and testing k+n.
36882 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36884 Likewise.
36885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36886 Likewise.
36887 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36888 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36894 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36895 * math/libm-test.inc (scalbn_test): Add more tests.
36896 (scalbln_test): Likewise.
36897
07e12bb3
JM
36898 * manual/filesys.texi (mode_t): Describe constraints on size and
36899 signedness, not exact equivalence to a particular type.
36900 (ino_t): Likewise.
36901 (ino64_t): Likewise.
36902 (dev_t): Likewise.
36903 (nlink_t): Likewise.
36904 (blkcnt_t): Likewise.
36905 (blkcnt64_t): Likewise.
36906 * manual/llio.texi (off_t): Likewise.
36907
28afd92d
JM
36908 [BZ #3976]
36909 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36910 (__ieee754_exp): Save and restore rounding mode and use
36911 round-to-nearest for all computations.
36912 * math/libm-test.inc (exp_test_tonearest): New function.
36913 (exp_test_towardzero): Likewise.
36914 (exp_test_downward): Likewise.
36915 (exp_test_upward): Likewise.
36916 (main): Call the new functions.
36917 * sysdeps/i386/fpu/libm-test-ulps: Update.
36918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36919
b1eeb65d
CD
369202012-03-01 Chris Demetriou <cgd@google.com>
36921
36922 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36923 have predictable order.
36924
53362a4b
DM
369252012-03-01 David S. Miller <davem@davemloft.net>
36926
3c969083
DM
36927 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36928
759707de
DM
36929 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36930 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36931 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36932 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36933
dfdb8ff2
DM
36934 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36935 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36936 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36938 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36939 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36940 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36941 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36942 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36943
ead89f96
DM
36944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36945
7f66bd07
DM
36946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36947 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36949
53362a4b
DM
36950 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36951 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36952 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36958 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36959 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36960 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36961 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36963 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36966 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36967 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36968 * sysdeps/sparc/elf/configure: Regenerated.
36969
7b1902cb
JM
369702012-03-01 Joseph Myers <joseph@codesourcery.com>
36971
bec039bc
JM
36972 * configure.in (AS, LD): Require binutils 2.20 or later.
36973 * configure: Regenerated.
36974 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36975 as required minimum version.
36976 * INSTALL: Regenerated.
36977
7b1902cb
JM
36978 [BZ #2541]
36979 [BZ #4108]
36980 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36981 before squaring exponent.
36982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36983 bottom long double and 27 bits of top long double before squaring
36984 exponent.
36985 * math/libm-test.inc (erfc_test): Add more tests.
36986 * sysdeps/i386/fpu/libm-test-ulps: Update.
36987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36989
f775c276
KT
369902012-03-01 Kai Tietz <ktietz@redhat.com>
36991
36992 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36993 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36994 containing bit-fields.
36995 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36996 * soft-fp/single.h (_FP_UNION_S): Likewise.
36997 * soft-fp/double.h (_FP_UNION_D): Likewise.
36998
5b8a4d4a
JM
369992012-02-29 Joseph Myers <joseph@codesourcery.com>
37000
0bab47b6
JM
37001 [BZ #13786]
37002 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37003 not include ../strcmp.S.
37004 [USE_AS_STRNCASECMP_L]: Likewise.
37005 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37006 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37007 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37008 (__strncasecmp_l_ia32): Define as alias to
37009 __strncasecmp_l_nonascii.
37010
0fcad3e2
JM
37011 [BZ #5794]
37012 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37013 * sysdeps/i386/fpu/libm-test-ulps: Update.
37014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37015
5b8a4d4a
JM
37016 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37018
8fdceb2e
JL
370192012-02-29 Jeff Law <law@redhat.com>
37020
37021 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37022 out of bounds read.
37023
1f393a11
MP
370242012-02-29 Marek Polacek <polacek@redhat.com>
37025
37026 [BZ #13706]
37027 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37028 * elf/Makefile: Add rules to run tst-unused-dep.out.
37029
8847f037
DM
370302012-02-28 David S. Miller <davem@davemloft.net>
37031
37032 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37033 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37036 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37037 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37038
169d7f11
JM
370392012-02-29 Joseph Myers <joseph@codesourcery.com>
37040
37041 * math/libm-test.inc (llround_test): Move one test from
37042 lround_test. Use TEST_f_L in moved test.
37043 (lround_test): Move misplaced test to llround_test. Add testcase
37044 from bug 2561.
37045
39adf059
UD
370462012-02-28 Ulrich Drepper <drepper@gmail.com>
37047
37048 * sysdeps/x86_64/fpu/e_expf.S: New file.
37049 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37050
71b5d1c5
SB
370512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37052
37053 [BZ #13637]
37054 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37055 of remain_len that may cause incomplete multi-byte character and
37056 false match.
37057 * posix/bug-regex33.c: New file.
37058 * posix/Makefile (tests): Add bug-regex33.
37059
1f77f049
JM
370602012-02-28 Joseph Myers <joseph@codesourcery.com>
37061
37062 * manual/macros.texi: New file.
37063 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37064 * manual/libc.texinfo: Include macros.texi.
37065 * manual/creatute.texi: Likewise.
37066 * manual/install.texi: Likewise.
37067 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37068 @glibcadj{} in references to the GNU C Library.
37069 * manual/charset.texi: Likewise.
37070 * manual/conf.texi: Likewise.
37071 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37072 when not using those macros.
37073 * manual/creature.texi: Likewise.
37074 * manual/crypt.texi: Likewise.
37075 * manual/errno.texi: Likewise.
37076 * manual/filesys.texi: Likewise.
37077 * manual/header.texi: Likewise.
37078 * manual/install.texi: Likewise.
37079 * manual/intro.texi: Likewise.
37080 * manual/io.texi: Likewise.
37081 * manual/job.texi: Likewise.
37082 * manual/lang.texi: Likewise.
37083 * manual/libc.texiinfo: Likewise.
37084 * manual/llio.texi: Likewise.
37085 * manual/locale.texi: Likewise.
37086 * manual/maint.texi: Likewise.
37087 * manual/math.texi: Likewise.
37088 * manual/memory.texi: Likewise.
37089 * manual/message.texi: Likewise.
37090 * manual/nss.texi: Likewise.
37091 * manual/pattern.texi: Likewise.
37092 * manual/process.texi: Likewise.
37093 * manual/resource.texi: Likewise.
37094 * manual/search.texi: Likewise.
37095 * manual/setjmp.texi: Likewise.
37096 * manual/signal.texi: Likewise.
37097 * manual/socket.texi: Likewise.
37098 * manual/startup.texi: Likewise.
37099 * manual/stdio.texi: Likewise.
37100 * manual/string.texi: Likewise.
37101 * manual/sysinfo.texi: Likewise.
37102 * manual/syslog.texi: Likewise.
37103 * manual/terminal.texi: Likewise.
37104 * manual/time.texi: Likewise.
37105 * manual/users.texi: Likewise.
37106 * INSTALL: Regenerated.
37107 * NOTES: Regenerated.
d40c5d54 37108 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37109
450bf206
AS
371102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37111
37112 * include/dirent.h: Include <dirstream.h> before
37113 <dirent/dirent.h>.
37114
741a235b
DM
371152012-02-28 David S. Miller <davem@davemloft.net>
37116
37117 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37118 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37119 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37120 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37121
d6b5aa58
DM
371222012-02-27 David S. Miller <davem@davemloft.net>
37123
1aff59a3
DM
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37126 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37127 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37128
d6b5aa58
DM
37129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37130 frame pointer instead of stack pointer relative arg slot.
37131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37134
433f48bf
CD
371352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37136
37137 [BZ #3992]
37138 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37139
d674b76d
DM
371402012-02-27 David S. Miller <davem@davemloft.net>
37141
37142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37146 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37147 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37148 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37149 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37150
0e7727f7
JM
371512012-02-27 Joseph Myers <joseph@codesourcery.com>
37152
37153 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37154 later. Allow versions 5-9.
43be4ca2 37155 * configure: Regenerated.
0e7727f7
JM
37156 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37157 required minimum version and 4.6 as recommended version. Do not
37158 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37159 * INSTALL: Regenerated.
0e7727f7 37160
a78bc654
DM
371612012-02-27 David S. Miller <davem@davemloft.net>
37162
428d5830
DM
37163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37167 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37168 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37169 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37170 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37171
a78bc654
DM
37172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37173 manipulate bits before adding and subtracting TWO112[sx].
37174 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37175
4579f81c
RM
371762012-02-27 Roland McGrath <roland@hack.frob.com>
37177
36c8acb4
RM
37178 [BZ #13775]
37179 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37180 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37181 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37182 being in POSIX, because they are in 1003.1-2008.
37183
84ad622b
RM
37184 * rt/tst-aio.c: Include <fcntl.h>.
37185 * rt/tst-aio7.c: Likewise.
37186 * rt/tst-aio64.c: Likewise.
37187
4579f81c
RM
37188 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37189
abd923db
JM
371902012-02-27 Joseph Myers <joseph@codesourcery.com>
37191
37192 * manual/install.texi (--with-headers): Describe headers as
37193 interface headers, not private headers.
37194 (Specific advice for GNU/Linux systems): Describe use of headers
37195 from "make headers_install", not private headers from older
37196 kernels.
43be4ca2 37197 * INSTALL: Regenerated.
abd923db
JM
37198 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37199 Change to 2.6.19.
37200 * sysdeps/unix/sysv/linux/configure: Regenerated.
37201
6664049b
JM
37202 * manual/llio.texi (fclean): Remove documentation.
37203
bb8b6697
JM
37204 * manual/Makefile (libc-texi-generated): New variable. Include
37205 version.texi.
37206 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37207 $(libc-texi-generated), not duplicated list of files.
37208 (version.texi, stamp-version): New rules.
37209 (realclean): Remove $(libc-texi-generated), not individual files
37210 from that list. Do not remove dir-add.texinfo.
37211 * manual/libc.texinfo: Comment out uses of edition numbers and
37212 references to printed manual. Remove last-updated dates.
37213 (EDITION): Comment out.
37214 (ISBN): Likewise.
37215 (VERSION, UPDATED): Remove.
37216 (version.texi): Include.
37217
12e5c3b9
AS
372182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37219
37220 * sysdeps/posix/spawni.c: Include <signal.h>.
37221 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37222 * sysdeps/pthread/aio_fsync.c: Likewise.
37223
4efeffc1 372242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37225
ba63ba08
UD
37226 * conform/Makefile (tests): Run only when not cross-compiling and
37227 when fast-check is not defined.
37228
d94a4670
UD
37229 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37230 * conform/data/limits.h-data: Fixes for POSIX2008.
37231 * conform/run-conformtest.sh: Run all tests.
37232 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37233 headers.
37234 * include/bits/dlfcn.h: Likewise.
37235 * include/langinfo.h: Likewise.
37236 * include/monetary.h: Likewise.
37237 * include/sys/poll.h: Likewise.
37238
37239 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37240 for __USE_GNU.
37241 * posix/spawn.h: Define __need_sigset_t.
37242 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37243 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37244 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37245 to get sigevent_t only.
37246 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37247 only for __USE_GNU.
37248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37249 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37250 process_vm_writev only for __USE_GNU.
37251 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37252
37253 * conform/Makefile: For now ignore errors from run-conformtest.
37254 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37255 POSIX to avoid namespace pollution. Don't prepend headers.
37256 * conform/data/aio.h-data: Fixes for POSIX testing.
37257 * conform/data/fcntl.h-data: Likewise.
37258 * conform/data/glob.h-data: Likewise.
37259 * conform/data/grp.h-data: Likewise.
37260 * conform/data/pthread.h-data: Likewise.
37261 * conform/data/pwd.h-data: Likewise.
37262 * conform/data/signal.h-data: Likewise.
37263 * conform/data/spawn.h-data: Likewise.
37264 * conform/data/stdio.h-data: Likewise.
37265 * conform/data/stdlib.h-data: Likewise.
37266 * conform/data/stropts.h-data: Likewise.
37267 * conform/data/sys/mman.h-data: Likewise.
37268 * conform/data/sys/stat.h-data: Likewise.
37269 * conform/data/sys/types.h-data: Likewise.
37270 * conform/data/sys/wait.h-data: Likewise.
37271 * conform/data/time.h-data: Likewise.
37272 * conform/data/unistd.h-data: Likewise.
37273 * conform/data/utime.h-data: Likewise.
37274
37275 * io/sys/stat.h: fchmod was always in POSIX.
37276 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37277 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37278 * rt/aio.h: Define __need_timespec before including <time.h>.
37279 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37280 struct. Add forward declaration of pthread_attr_t and use it in
37281 sigevent.
37282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37284 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37285 always remove CLK_TCK definition.
37286
c20105c3
AS
372872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37288
37289 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37290
7a270350
UD
372912012-02-25 Ulrich Drepper <drepper@gmail.com>
37292
31341567
UD
37293 * conform/run-conformtest.sh: New file.
37294 * conform/Makefile: Run run-conformtest for tests.
37295 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37296 support.
37297
37298 * conform/data/uchar.h-data: New file.
37299 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37300 * conform/data/arpa/inet.h-data: Likewise.
37301 * conform/data/assert.h-data: Likewise.
37302 * conform/data/complex.h-data: Likewise.
37303 * conform/data/cpio.h-data: Likewise.
37304 * conform/data/ctype.h-data: Likewise.
37305 * conform/data/dirent.h-data: Likewise.
37306 * conform/data/dlfcn.h-data: Likewise.
37307 * conform/data/errno.h-data: Likewise.
37308 * conform/data/fcntl.h-data: Likewise.
37309 * conform/data/float.h-data: Likewise.
37310 * conform/data/fmtmsg.h-data: Likewise.
37311 * conform/data/fnmatch.h-data: Likewise.
37312 * conform/data/ftw.h-data: Likewise.
37313 * conform/data/glob.h-data: Likewise.
37314 * conform/data/grp.h-data: Likewise.
37315 * conform/data/iconv.h-data: Likewise.
37316 * conform/data/inttypes.h-data: Likewise.
37317 * conform/data/langinfo.h-data: Likewise.
37318 * conform/data/libgen.h-data: Likewise.
37319 * conform/data/limits.h-data: Likewise.
37320 * conform/data/locale.h-data: Likewise.
37321 * conform/data/math.h-data: Likewise.
37322 * conform/data/monetary.h-data: Likewise.
37323 * conform/data/mqueue.h-data: Likewise.
37324 * conform/data/ndbm.h-data: Likewise.
37325 * conform/data/net/if.h-data: Likewise.
37326 * conform/data/netdb.h-data: Likewise.
37327 * conform/data/netinet/in.h-data: Likewise.
37328 * conform/data/nl_types.h-data: Likewise.
37329 * conform/data/poll.h-data: Likewise.
37330 * conform/data/pthread.h-data: Likewise.
37331 * conform/data/pwd.h-data: Likewise.
37332 * conform/data/regex.h-data: Likewise.
37333 * conform/data/sched.h-data: Likewise.
37334 * conform/data/search.h-data: Likewise.
37335 * conform/data/semaphore.h-data: Likewise.
37336 * conform/data/setjmp.h-data: Likewise.
37337 * conform/data/signal.h-data: Likewise.
37338 * conform/data/spawn.h-data: Likewise.
37339 * conform/data/stdarg.h-data: Likewise.
37340 * conform/data/stdio.h-data: Likewise.
37341 * conform/data/stdlib.h-data: Likewise.
37342 * conform/data/string.h-data: Likewise.
37343 * conform/data/strings.h-data: Likewise.
37344 * conform/data/stropts.h-data: Likewise.
37345 * conform/data/sys/ipc.h-data: Likewise.
37346 * conform/data/sys/mman.h-data: Likewise.
37347 * conform/data/sys/msg.h-data: Likewise.
37348 * conform/data/sys/resource.h-data: Likewise.
37349 * conform/data/sys/select.h-data: Likewise.
37350 * conform/data/sys/sem.h-data: Likewise.
37351 * conform/data/sys/shm.h-data: Likewise.
37352 * conform/data/sys/socket.h-data: Likewise.
37353 * conform/data/sys/stat.h-data: Likewise.
37354 * conform/data/sys/statvfs.h-data: Likewise.
37355 * conform/data/sys/time.h-data: Likewise.
37356 * conform/data/sys/timeb.h-data: Likewise.
37357 * conform/data/sys/times.h-data: Likewise.
37358 * conform/data/sys/types.h-data: Likewise.
37359 * conform/data/sys/uio.h-data: Likewise.
37360 * conform/data/sys/un.h-data: Likewise.
37361 * conform/data/sys/utsname.h-data: Likewise.
37362 * conform/data/sys/wait.h-data: Likewise.
37363 * conform/data/syslog.h-data: Likewise.
37364 * conform/data/tar.h-data: Likewise.
37365 * conform/data/termios.h-data: Likewise.
37366 * conform/data/utime.h-data: Likewise.
37367 * conform/data/utmpx.h-data: Likewise.
37368 * conform/data/varargs.h-data: Likewise.
37369 * conform/data/wchar.h-data: Likewise.
37370 * conform/data/wctype.h-data: Likewise.
37371 * conform/data/wordexp.h-data: Likewise.
37372
37373 * include/stropts.h: New file.
37374 * include/uchar.h: New file.
37375 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37376 * include/assert.h: Likewise.
37377 * include/ctype.h: Likewise.
37378 * include/dirent.h: Likewise.
37379 * include/dlfcn.h: Likewise.
37380 * include/fcntl.h: Likewise.
37381 * include/fnmatch.h: Likewise.
37382 * include/glob.h: Likewise.
37383 * include/grp.h: Likewise.
37384 * include/libio.h: Likewise.
37385 * include/locale.h: Likewise.
37386 * include/math.h: Likewise.
37387 * include/net/if.h: Likewise.
37388 * include/netdb.h: Likewise.
37389 * include/netinet/in.h: Likewise.
37390 * include/pthread.h: Likewise.
37391 * include/pwd.h: Likewise.
37392 * include/regex.h: Likewise.
37393 * include/sched.h: Likewise.
37394 * include/search.h: Likewise.
37395 * include/setjmp.h: Likewise.
37396 * include/signal.h: Likewise.
37397 * include/stdio.h: Likewise.
37398 * include/stdlib.h: Likewise.
37399 * include/string.h: Likewise.
37400 * include/sys/cdefs.h: Likewise.
37401 * include/sys/mman.h: Likewise.
37402 * include/sys/msg.h: Likewise.
37403 * include/sys/resource.h: Likewise.
37404 * include/sys/select.h: Likewise.
37405 * include/sys/socket.h: Likewise.
37406 * include/sys/stat.h: Likewise.
37407 * include/sys/statvfs.h: Likewise.
37408 * include/sys/time.h: Likewise.
37409 * include/sys/times.h: Likewise.
37410 * include/sys/uio.h: Likewise.
37411 * include/sys/utsname.h: Likewise.
37412 * include/sys/wait.h: Likewise.
37413 * include/termios.h: Likewise.
37414 * include/time.h: Likewise.
37415 * include/ulimit.h: Likewise.
37416 * include/unistd.h: Likewise.
37417 * include/utime.h: Likewise.
37418 * include/wchar.h: Likewise.
37419 * include/wctype.h: Likewise.
37420 * include/wordexp.h: Likewise.
37421
37422 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37423
7a270350
UD
37424 * time/time.h: TIME_UTC must be a macro.
37425 Make timespec_get available for ISO C11 only as well.
37426
7724defc
UD
374272012-02-24 Ulrich Drepper <drepper@gmail.com>
37428
37429 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37430 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37431
6b1d1d46
JM
374322012-02-24 Joseph Myers <joseph@codesourcery.com>
37433
37434 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37435
0f8bbd69
JM
374362012-02-24 Joseph Myers <joseph@codesourcery.com>
37437
37438 * manual/texinfo.tex: Update to version 2012-01-19.16.
37439
66ab80bc
JM
374402012-02-24 Joseph Myers <joseph@codesourcery.com>
37441
37442 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37443
74981cc5
RM
374442012-02-24 Roland McGrath <roland@hack.frob.com>
37445
ee968201
RM
37446 [BZ #13738]
37447 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37448 * manual/fdl-1.3.texi: New file.
37449 * manual/fdl-1.1.texi: File removed.
37450
74981cc5
RM
37451 [BZ #13738]
37452 * manual/libc.texinfo (FDL_VERSION): New @set.
37453 Use it for mention of FDL in cover text.
37454 (Documentation License): Use it in @include file name.
37455
7bb764bc
JM
374562012-02-22 Joseph Myers <joseph@codesourcery.com>
37457 Roland McGrath <roland@hack.frob.com>
37458
37459 [BZ #5461]
57f41c40
AS
37460 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37461 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37462 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37463 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37464 name.
37465 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37466
6cbeae47
JM
374672012-02-22 Joseph Myers <joseph@codesourcery.com>
37468
37469 [BZ #2547]
37470 [BZ #11365]
37471 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37472 manipulate bits before adding and subtracting TWO23[sx].
37473 * math/libm-test.inc (nearbyint_test): Add more tests.
37474
fe45ce09
JM
374752012-02-22 Joseph Myers <joseph@codesourcery.com>
37476
37477 [BZ #2548]
37478 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37479 bits before adding and subtracting TWO23[sx].
37480 * math/libm-test.inc (rint_test): Add more tests.
37481 (rint_test_tonearest): Likewise.
37482 (rint_test_towardzero): Likewise.
37483 (rint_test_downward): Likewise.
37484 (rint_test_upward: Likewise.
37485
ff3b3d82
JM
374862012-02-22 Joseph Myers <joseph@codesourcery.com>
37487
37488 [BZ #10110]
37489 * include/stdc-predef.h: New file. Extracted from features.h.
37490 * include/features.h: Include stdc-predef.h.
37491 * Makefile (headers): Add stdc-predef.h.
37492 * CONFORMANCE (Compiler limitations): Update.
37493
ef0aab35
JM
374942012-02-22 Joseph Myers <joseph@codesourcery.com>
37495
37496 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37497
58639409
DM
374982012-02-21 David S. Miller <davem@davemloft.net>
37499
37500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37502
c0e70b25
DM
375032012-02-20 David S. Miller <davem@davemloft.net>
37504
37505 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37506 using a normal save/restore sequence, rather than allocating a
37507 dummy stack frame just to store a frame pointer and restore.
37508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37509
fb06851d
JM
375102012-02-21 Joseph Myers <joseph@codesourcery.com>
37511
37512 * manual/install.texi: Fix stray word in line-wrapped comment.
37513
7a8b71c3
DM
375142012-02-20 David S. Miller <davem@davemloft.net>
37515
d510c123
DM
37516 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37517 both binutils and gcc support GOTDATA.
37518
0722d7c2
DM
37519 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37520 "rd %pc" in the PIC register setup sequences.
37521
3d2b3019
DM
37522 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37523 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37524 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37525 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37526 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37529 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37531 (SYSCALL_ERROR_HANDLER): Likewise.
37532 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37533 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37535 (SYSCALL_ERROR_HANDLER): Likewise.
37536
c80098a9
DM
37537 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37538 (HAVE_GCC_GOTDATA): New.
37539 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37540 relocation support in both binutils and gcc.
37541 * sysdeps/sparc/elf/configure: Regenerate.
37542
3a2545a0
DM
37543 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37544 * sysdeps/sparc/sparc32/elf/configure: Delete.
37545 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37546 * sysdeps/sparc/sparc64/elf/configure: Delete.
37547 * sysdeps/sparc/elf/configure.in: New file.
37548 * sysdeps/sparc/elf/configure: Generate.
37549
7a8b71c3
DM
37550 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37551 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37552 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37553 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37554 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37555
f1e86fca
JM
375562012-02-21 Joseph Myers <joseph@codesourcery.com>
37557
37558 * manual/install.texi: Do not mention specific glibc version
37559 numbers.
37560 * manual/libc.texinfo (VERSION, UPDATED): Update.
37561 (@copying): Use @copyright{} and range of years.
37562
0e7dfaef
JM
375632012-02-21 Joseph Myers <joseph@codesourcery.com>
37564
37565 [BZ #13695]
37566 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37567 [crti.S not in sysdirs] (generated): Do not append.
37568 [crti.S not in sysdirs] (omit-deps): Likewise.
37569 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37570 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37571 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37572 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37573 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37574 Likewise.
37575 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37576 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37577 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37578 * csu/defs.awk: Remove file.
37579 * sysdeps/generic/initfini.c: Likewise.
37580 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37581 variable.
37582 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37583 Likewise.
37584
599af3ca
JM
375852012-02-20 Joseph Myers <joseph@codesourcery.com>
37586
37587 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37588 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37589 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37590 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37592 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37593 <bits/epoll.h>.
37594 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37595 (__EPOLL_PACKED): Define to empty if not defined by
37596 <bits/epoll.h>.
37597 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37599 bits/epoll.h.
37600
0e499750
JM
376012012-02-20 Joseph Myers <joseph@codesourcery.com>
37602
37603 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37604 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37605 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37606 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37607 <bits/timerfd.h>.
37608 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37610 bits/timerfd.h.
37611
5ad91f6e
JM
376122012-02-20 Joseph Myers <joseph@codesourcery.com>
37613
37614 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37615 in C locale.
37616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37618 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37620
06b99b02
AJ
376212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37622
37623 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37624 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37625
7638c0fd
AS
376262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37627
37628 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37629 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37630 defined.
37631 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37632 Likewise.
37633 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37634 entry for 2.16.
37635
92221550
AJ
376362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37637
37638 * math/w_acos.c: Use non-signaling floating-point comparisons.
37639 * math/w_acosf.c: Likewise.
37640 * math/w_acosh.c: Likewise.
37641 * math/w_acoshf.c: Likewise.
37642 * math/w_acoshl.c: Likewise.
37643 * math/w_acosl.c: Likewise.
37644 * math/w_asin.c: Likewise.
37645 * math/w_asinf.c: Likewise.
37646 * math/w_asinl.c: Likewise.
37647 * math/w_atanh.c: Likewise.
37648 * math/w_atanhf.c: Likewise.
37649 * math/w_atanhl.c: Likewise.
37650 * math/w_exp2.c: Likewise.
37651 * math/w_exp2f.c: Likewise.
37652 * math/w_exp2l.c: Likewise.
37653 * math/w_j0.c: Likewise.
37654 * math/w_j0f.c: Likewise.
37655 * math/w_j0l.c: Likewise.
37656 * math/w_j1.c: Likewise.
37657 * math/w_j1f.c: Likewise.
37658 * math/w_j1l.c: Likewise.
37659 * math/w_jn.c: Likewise.
37660 * math/w_jnf.c: Likewise.
37661 * math/w_log.c: Likewise.
37662 * math/w_log10.c: Likewise.
37663 * math/w_log10f.c: Likewise.
37664 * math/w_log10l.c: Likewise.
37665 * math/w_log2.c: Likewise.
37666 * math/w_log2f.c: Likewise.
37667 * math/w_log2l.c: Likewise.
37668 * math/w_logf.c: Likewise.
37669 * math/w_logl.c: Likewise.
37670 * math/w_sqrt.c: Likewise.
37671 * math/w_sqrtf.c: Likewise.
37672 * math/w_sqrtl.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37678
ebaf36eb
JM
376792012-02-19 Joseph Myers <joseph@codesourcery.com>
37680
37681 [BZ #9739]
37682 * manual/string.texi (strnlen): Use correct parameter name in
37683 equivalent expression.
37684
71c254a6
JM
376852012-02-19 Joseph Myers <joseph@codesourcery.com>
37686
37687 [BZ #11174]
37688 * manual/users.texi (seteuid): Consistently use neweuid for
37689 argument name.
37690
16d2c631
JM
376912012-02-19 Joseph Myers <joseph@codesourcery.com>
37692
37693 [BZ #13704]
37694 * manual/nss.texi (Services in the NSS configuration): Correct
37695 list of services in example configuration file.
37696
cd837b09
NB
376972012-02-19 Nick Bowler <nbowler@draconx.ca>
37698
37699 [BZ #11322]
37700 * manual/arith.texi: Remove statements about negative zero
37701 behaving identically to zero.
37702
02c4bbad
JM
377032012-02-18 Joseph Myers <joseph@codesourcery.com>
37704
37705 [BZ #5993]
37706 * manual/install.texi: Do not document upgrading from libc5.
37707
366842e7
JM
377082012-02-18 Joseph Myers <joseph@codesourcery.com>
37709
37710 [BZ #4596]
37711 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37712
dd54084d
DM
377132012-02-18 David S. Miller <davem@davemloft.net>
37714
37715 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37716 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37717 %o7 across the call.
37718 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37719 instead.
37720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37721 SETUP_PIC_REG_LEAF.
37722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37723 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37724 * sysdeps/sparc/crtn.S: Likewise.
37725
2bcc53a3
UD
377262012-02-17 Ulrich Drepper <drepper@gmail.com>
37727
37728 * aout/Makefile: Remove.
37729
09c093b5
RK
377302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37731
37732 [BZ #13058]
37733 * manual/examples/argp-ex1.c (main): Format definition in GNU
37734 style.
37735 * manual/examples/argp-ex2.c (main): Likewise.
37736 * manual/examples/argp-ex3.c (main): Likewise.
37737 * manual/examples/argp-ex4.c (main): Likewise.
37738 * manual/examples/longopt.c (main): Use new-style prototype
37739 definition.
37740 * manual/examples/strncat.c (main): Specify return type and use
37741 (void) for arguments.
37742 * manual/examples/subopt.c (main): Use char **argv argument.
37743
2ee633a2
JM
377442012-02-17 Joseph Myers <joseph@codesourcery.com>
37745
37746 [BZ #5077]
37747 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37748 rounding modes.
37749
0520adde
FB
377502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37751
37752 [BZ #6907]
37753 * manual/string.texi (strchr): Change when strchrnul is
37754 recommended.
37755
3f4081cd
DGM
377562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37757
37758 [BZ #174]
37759 * manual/locale.texi (setlocale): Document LOCPATH.
37760
d1b10e78
JM
377612012-02-17 Joseph Myers <joseph@codesourcery.com>
37762
37763 [BZ #10210]
37764 * manual/process.texi (execle): Move @dots{} before last argument.
37765
79c6869c
PB
377662012-02-17 Paul Bolle <pebolle@tiscali.nl>
37767
37768 [BZ #12047]
37769 * manual/charset.texi (Generic Charset Conversion): Fix typo
37770 (LC_TYPE -> LC_CTYPE).
37771
cc6e48bc
NB
377722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37773
37774 [BZ #5805]
37775 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37776 (scalbnf): Likewise.
37777 (scalbnl): Likewise.
37778 (scalbln): Likewise.
37779 (scalblnf): Likewise.
37780 (scalblnl): Likewise.
37781 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37782 (vwarnx): Likewise.
37783 (verr): Likewise.
37784 (verrx): Likewise.
37785 * manual/filesys.texi (telldir): Use braces around return type.
37786 * manual/llio.texi (mmap): Add space after comma.
37787 (mmap64): Likewise.
37788 * manual/math.texi (jn): Use @var{} on parameter names.
37789 (jnf): Likewise.
37790 (jnl): Likewise.
37791 (yn): Likewise.
37792 (ynf): Likewise.
37793 (ynl): Likewise.
37794 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37795 line.
37796 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37797 "...".
37798 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37799 (sched_get_priority_max): Likewise.
37800 * manual/signal.texi (sigvec): Add space after comma.
37801 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37802 names.
37803 (if_indextoname): Likewise.
37804 (if_freenameindex): Likewise.
37805 (sendto): Use ',' instead of '.' in prototype.
37806 * manual/startup.texi (syscall): Use @dots{} instead of literal
37807 "...".
37808 * manual/stdio.texi (__fpending): Separate initial words of
37809 paragraph from @deftypefun line.
37810 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37811 "...".
37812 (vsyslog): Use @var{} on parameter names.
37813 * manual/terminal.texi (stty): Use @var{} on parameter names.
37814 * manual/users.texi (getutmp): Use @var{} on parameter names.
37815 (getutmpx): Likewise.
37816
5b23062f
JM
378172012-02-17 Joseph Myers <joseph@codesourcery.com>
37818
37819 [BZ #6884]
37820 * manual/stdio.texi (fopen): Fix typos in description of
37821 ",ccs=STRING".
37822
8dee4833
AJ
378232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37824
37825 [BZ #4026]
37826 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37827 get clock_id definition.
37828
9078ce93
TS
378292012-02-17 Thomas Schwinge <thomas@schwinge.name>
37830
37831 [BZ #4822]
37832 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37833 (madvise): Cast every argument to void on its own.
37834
3835c55f
JM
378352012-02-17 Joseph Myers <joseph@codesourcery.com>
37836
37837 [BZ #9902]
37838 * manual/startup.texi (Exit Status): Fix typo.
37839
35c47e37
JM
378402012-02-17 Joseph Myers <joseph@codesourcery.com>
37841
37842 [BZ #10140]
37843 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37844 * manual/examples/argp-ex2.c: Likewise.
37845 * manual/examples/argp-ex3.c: Likewise.
37846
e3b69ca7
RH
378472012-02-16 Richard Henderson <rth@redhat.com>
37848
37849 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37850 * sysdeps/s390/s390-32/initfini.c: Remove.
37851 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37852 * sysdeps/s390/s390-64/initfini.c: Remove.
37853
df83af67
KK
378542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37855
37856 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37857 compiler output for sysdeps/generic/initfini.c.
37858 * sysdeps/sh/elf/initfini.c: Remove file.
37859
f63f3380
DM
378602012-02-16 David S. Miller <davem@davemloft.net>
37861
fb59b3a4
DM
37862 [BZ #11494]
37863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37864
f63f3380
DM
37865 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37866 * sysdeps/sparc/crti.S: New file.
37867 * sysdeps/sparc/crtn.S: New file.
37868 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37869 * sysdeps/sparc/sparc64/Makefile: Likewise.
37870
df6a4a4a
MF
378712012-02-15 Mike Frysinger <vapier@gentoo.org>
37872
6dd8f3dc 37873 [BZ #3335]
df6a4a4a
MF
37874 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37875
1cac7236
RM
378762012-02-15 Roland McGrath <roland@hack.frob.com>
37877
d2c736f8
RM
37878 [BZ #4822]
37879 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37880
1cac7236
RM
37881 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37882 (write, read, close): Likewise.
37883 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37884
8e475601
JM
378852012-02-15 Joseph Myers <joseph@codesourcery.com>
37886
37887 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37888 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37890 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37891 <bits/signalfd.h>.
37892 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37894 bits/signalfd.h.
37895
ed656b40
MP
378962012-02-14 Marek Polacek <polacek@redhat.com>
37897
37898 * sysdeps/x86_64/crti.S: New file.
37899 * sysdeps/x86_64/crtn.S: New file.
37900 * sysdeps/x86_64/elf/initfini.c: Remove file.
37901
2a979d3a
JM
379022012-02-13 Joseph Myers <joseph@codesourcery.com>
37903
37904 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37905 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37906 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37907 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37908 <bits/inotify.h>.
37909 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37911 bits/inotify.h.
37912
2a418ac3
JM
379132012-02-13 Joseph Myers <joseph@codesourcery.com>
37914
37915 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37916 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37917 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37918 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37919 <bits/eventfd.h>.
37920 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37922 bits/eventfd.h.
37923
fb779be7
TS
379242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37925
e19e83c5
RM
37926 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37927 __feraiseexcept instead of feraiseexcept.
7c35ffed 37928
fb779be7
TS
37929 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37930 nanosleep invocations.
37931 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37932 strings, and add error checking for a nanosleep invocations.
37933
59ba27a6
PE
379342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37935
37936 Replace FSF snail mail address with URLs, as per GNU coding standards.
37937 Most of the snail mail addresses were wrong anyway, and omitting
37938 them makes the source code easier to maintain. Almost all of the
37939 changes are to license notices and to locale LC_IDENTIFICATION
37940 addresses, except for this one:
37941 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37942 not its snail mail address.
37943
57b957eb
RH
379442012-02-09 Richard Henderson <rth@twiddle.net>
37945
af850b1c
RH
37946 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37947 of kernel-features.h.
37948
57b957eb
RH
37949 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37950
6b73181a
MP
379512012-02-08 Marek Polacek <polacek@redhat.com>
37952
37953 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37954 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37955 * sysdeps/gnu/_G_config.h: Likewise.
37956 * sysdeps/generic/_G_config.h: Likewise.
37957
26ecc33a
AS
379582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37959
6c6dbc63
AS
37960 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37961 tests.
37962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37963
e216c012
AS
37964 * sysdeps/powerpc/powerpc32/crti.S: New file.
37965 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37966 * sysdeps/powerpc/powerpc64/crti.S: New file.
37967 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37968
26ecc33a
AS
37969 * Makeconfig (have-initfini): Don't set.
37970 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37971 * configure.in (nopic_initfini): Don't substitute.
37972 * config.h.in (HAVE_INITFINI): Don't #undef.
37973 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37974 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37975
3add8e13
JM
379762012-02-08 Joseph Myers <joseph@codesourcery.com>
37977
37978 Support crti.S and crtn.S provided directly by architectures.
37979 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37980 [crti.S in sysdirs] (omit-deps): Likewise.
37981 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37982 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37983 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37984 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37985 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37986 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37987 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37988 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37989 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37990 compiler output for sysdeps/generic/initfini.c.
37991 * sysdeps/i386/elf/Makefile: Remove file.
37992 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37993
a22f12b4
MP
379942012-02-07 Marek Polacek <polacek@redhat.com>
37995
37996 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37997 * sysdeps/gnu/_G_config.h: Likewise.
37998 * sysdeps/mach/hurd/_G_config.h: Likewise.
37999
148cf100
MP
380002012-02-07 Marek Polacek <polacek@redhat.com>
38001
38002 * math/Makefile (tests): Add tst-CMPLX2.
38003 * math/tst-CMPLX2.c: New file.
38004
cfdc0dd7
AS
380052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38006
84ba42c4
AS
38007 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38008
cfdc0dd7
AS
38009 * math/libm-test.inc (jn_test): Add missing L suffix.
38010
622c86f4
MP
380112012-02-06 Marek Polacek <polacek@redhat.com>
38012
38013 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38014 * sysdeps/i386/fpu/e_powf.S: Likewise.
38015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38016 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38017 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38018 * sysdeps/i386/fpu/e_pow.S: Likewise.
38019 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38020 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38021 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38022 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38023 * sysdeps/i386/fpu/e_log2.S: Likewise.
38024 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38025 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38026 * sysdeps/i386/fpu/e_powl.S: Likewise.
38027 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38029 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38030 * sysdeps/i386/fpu/e_logl.S: Likewise.
38031 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38032 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38033 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38034 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38035 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38036 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38037 * sysdeps/i386/fpu/e_log.S: Likewise.
38038 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38040 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38041 * sysdeps/i386/fpu/e_logf.S: Likewise.
38042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38044 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38045 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38046 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38047 * sysdeps/i386/fpu/e_log10.S: Likewise.
38048 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38049 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38050 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38051 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38052 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38053 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38054 * sysdeps/i386/asm-syntax.h: Likewise.
38055 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38056 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38057 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38058 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38059 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38060 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38061 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38062 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38064 * sysdeps/powerpc/sysdep.h: Likewise.
38065 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38066 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38067
d4a54ac6
JM
380682012-02-06 Joseph Myers <joseph@codesourcery.com>
38069
38070 [BZ #411]
38071 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38072
314054ea
JM
380732012-02-06 Joseph Myers <joseph@codesourcery.com>
38074
38075 * sysdeps/i386/sysdep.h: Include <features.h>.
38076 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38077 version.
38078
d8e0ca50
JM
380792012-02-05 Joseph Myers <joseph@codesourcery.com>
38080
38081 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38082 Define.
38083 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38084 LOAD_PIC_REG_STR.
38085
b1da7dd9
JM
380862012-02-03 Joseph Myers <joseph@codesourcery.com>
38087
38088 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38089 (SETUP_PIC_REG): Use GET_PC_THUNK.
38090 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38091 macro.
38092
9a1d9254
JM
380932012-02-03 Joseph Myers <joseph@codesourcery.com>
38094
38095 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38096 for non-PIC compilation.
38097 (SETUP_PIC_REG): Add .p2align directive.
38098 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38099 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38102 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38103 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38104 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38106 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38107 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38108 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38109 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38110 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38111 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38112 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38113 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38114 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38115 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38116 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38117 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38118 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38119 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38120 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38121 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38124 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38126 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38127 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38128 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38130 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38131 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38132 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38133 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38134 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38135 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38136 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38137 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38138 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38139
65dc3b75
JM
381402012-02-03 Joseph Myers <joseph@codesourcery.com>
38141
38142 * math/tst-CMPLX.c: Include <stdio.h>.
38143
d55bf177
JM
381442012-01-31 Joseph Myers <joseph@codesourcery.com>
38145
38146 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38147 float.
38148 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38149 * sysdeps/sparc/bits/mathdef.h: Likewise.
38150
69db4f8f
MP
381512012-01-31 Marek Polacek <polacek@redhat.com>
38152
38153 * libio/libio.h: Don't define _PARAMS.
38154 * locale/programs/config.h: Don't define PARAMS.
38155 * stdlib/strtol_l.c: Likewise.
38156 (__strtol_l): Remove PARAMS from the prototype.
38157
41b81892
UD
381582012-01-31 Ulrich Drepper <drepper@gmail.com>
38159
3b49edc0
UD
38160 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38161 names. Just use the correct names. Remove unnecessary wrapper
38162 functions.
38163 * malloc/arena.c: Likewise.
38164 * malloc/hooks.c: Likewise.
38165
41b81892
UD
38166 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38167 ARENA_TEST says not to. Simplify test for creation of a new arena.
38168 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38169
27a25b6e
UD
381702012-01-30 Ulrich Drepper <drepper@gmail.com>
38171
38172 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38173 into tail calls.
38174 (update_get_addr): New function.
38175 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38176 GET_ADDR_MODULE parameter.
38177
c8a89e7d
JM
381782012-01-30 Joseph Myers <joseph@codesourcery.com>
38179
38180 * crypt/cert.c: Remove __STDC__ conditionals.
38181 * crypt/crypt-entry.c: Likewise.
38182 * crypt/crypt_util.c: Likewise.
38183 * libio/filedoalloc.c: Likewise.
38184 * libio/fileops.c: Likewise.
38185 * libio/genops.c: Likewise.
38186 * libio/iofclose.c: Likewise.
38187 * libio/iofdopen.c: Likewise.
38188 * libio/iofopen.c: Likewise.
38189 * libio/iofopen64.c: Likewise.
38190 * libio/iogetdelim.c: Likewise.
38191 * libio/iopopen.c: Likewise.
38192 * libio/obprintf.c: Likewise.
38193 * libio/oldfileops.c: Likewise.
38194 * libio/oldiofclose.c: Likewise.
38195 * libio/oldiofdopen.c: Likewise.
38196 * libio/oldiofopen.c: Likewise.
38197 * libio/oldiopopen.c: Likewise.
38198 * libio/wfiledoalloc.c: Likewise.
38199 * libio/wgenops.c: Likewise.
38200 * locale/programs/xmalloc.c: Likewise.
38201 * misc/syslog.c: Likewise.
38202 * stdio-common/xbug.c: Likewise.
38203 * string/memchr.c: Likewise.
38204 * string/memcmp.c: Likewise.
38205 * string/memrchr.c: Likewise.
38206 * string/rawmemchr.c: Likewise.
38207 * sysdeps/posix/getcwd.c: Likewise.
38208 * time/strftime_l.c: Likewise.
38209
3b100462
JM
382102012-01-30 Joseph Myers <joseph@codesourcery.com>
38211
38212 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38213 * config.make.in (config-cflags-sse2avx): Define.
38214 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38215 Fix typo.
38216
607998af
CM
382172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38218
38219 * scripts/config.guess: Update from upstream config git repository.
38220 * scripts/config.sub: Likewise.
38221
3601428f
CM
382222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38223
3ac8b282
CM
38224 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38225 (EM_NUM): Update.
38226 (R_TILEPRO_*, R_TILEGX_*): New macros.
38227
e034841e
CM
38228 * scripts/firstversions.awk: Fix bug in version range handling.
38229
540d7568
CM
38230 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38231
3601428f
CM
38232 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38233
463de862
CM
38234 * include/sys/epoll.h: New file.
38235 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38236 libc_hidden_def.
38237
73139a76
UD
382382012-01-28 Ulrich Drepper <drepper@gmail.com>
38239
96bc5b45
UD
38240 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38241 Avoid unnecessary __WORDSIZE == 64 test.
38242 (fmaxf): Use VEX format if possible.
38243 (fmax): Likewise.
38244 (fminf): Likewise.
38245 (fmin): Likewise.
38246
56f6f6a2
UD
38247 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38248 * math/math_private.h: Remove libc_fegetround* and
38249 libc_fesetround*.
38250 * sysdeps/i386/configure.in: Check for -msse2avx.
38251 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38252 also if SSE2AVX is defined.
38253 Remove libc_fegetround* and libc_fesetround*.
38254 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38255 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38257 of HAS_YMM_USABLE.
38258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38263
73139a76
UD
38264 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38265
d73f93a4
AZ
382662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38267
38268 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38269 size is not set.
38270 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38271
6ee65ed6
UD
382722012-01-27 Ulrich Drepper <drepper@gmail.com>
38273
38274 [BZ #13618]
38275 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38276 relocation.
38277 * Makeconfig (libm): Define.
38278 * elf/Makefile: Add rules to build and run tst-relsort1.
38279 * elf/tst-relsort1.c: New file.
38280 * elf/tst-relsort1mod1.c: New file.
38281 * elf/tst-relsort1mod2.c: New file.
38282
8db21882
JM
382832012-01-27 Joseph Myers <joseph@codesourcery.com>
38284
38285 * math/s_ldexp.c: Remove __STDC__ conditionals.
38286 * math/s_ldexpf.c: Likewise.
38287 * math/s_ldexpl.c: Likewise.
38288 * math/s_nextafter.c: Likewise.
38289 * math/s_nexttowardf.c: Likewise.
38290 * math/s_significand.c: Likewise.
38291 * math/s_significandf.c: Likewise.
38292 * math/s_significandl.c: Likewise.
38293 * math/w_jnl.c: Likewise.
38294 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38295 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38296 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38297 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38298 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38315 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38322 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38323 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38324 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38325 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38326 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38327 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38328 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38329 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38330 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38331 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38332 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38333 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38334 * sysdeps/ieee754/k_standard.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38364 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38365 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38366 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38367 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38368 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38374 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38377 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38378 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38380 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38383 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38384 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38385 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38388 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38389 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38390 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38395 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38396 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38397 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38398 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38399 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38400 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38401 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38402 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38403 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38410 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38411 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38412 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38413 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38414 * sysdeps/ieee754/s_matherr.c: Likewise.
38415 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38416 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38419
965a54a4
JM
384202012-01-26 Joseph Myers <joseph@codesourcery.com>
38421
38422 * crypt/md5.h: Remove __STDC__ conditionals.
38423 * libio/libioP.h: Likewise.
38424 * locale/programs/config.h: Likewise.
38425 * sysdeps/generic/sysdep.h: Likewise.
38426 * sysdeps/i386/asm-syntax.h: Likewise.
38427 * sysdeps/s390/asm-syntax.h: Likewise.
38428 * sysdeps/unix/sysdep.h: Likewise.
38429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38431
7071ad79
JM
384322012-01-26 Joseph Myers <joseph@codesourcery.com>
38433
38434 * libio/libio.h: Remove __STDC__ conditionals.
38435 * malloc/obstack.h: Likewise.
38436 * math/complex.h: Likewise.
38437 * math/math.h: Likewise.
38438 * sysdeps/generic/_G_config.h: Likewise.
38439 * sysdeps/gnu/_G_config.h: Likewise.
38440 * sysdeps/mach/hurd/_G_config.h: Likewise.
38441 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38442 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38443 * sysdeps/sparc/bits/mathdef.h: Likewise.
38444
afc5ed09
UD
384452012-01-26 Ulrich Drepper <drepper@gmail.com>
38446
38447 [BZ #13583]
38448 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38449 Clean up HAS_* macros.
afc5ed09 38450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38451 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38452 possible.
38453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38454 HAS_AVX.
38455 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38456 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38460
bdb6de1d
JM
384612012-01-25 Joseph Myers <joseph@codesourcery.com>
38462
38463 * elf/tst-unique3.cc (gets): Remove declaration.
38464 * elf/tst-unique3lib.cc (gets): Likewise.
38465 * elf/tst-unique3lib2.cc (gets): Likewise.
38466 * elf/tst-unique4.cc (gets): Likewise.
38467
b15549e6
UD
384682012-01-24 Ulrich Drepper <drepper@gmail.com>
38469
38470 * include/stdio.h: Add C++ protection. Add gets declarations and
38471 definitions.
38472 * debug/tst-chk1.c: Don't declare gets here.
38473 * stdio-common/tst-gets.c: Likewise.
38474
a037381f
JM
384752012-01-24 Joseph Myers <joseph@codesourcery.com>
38476
38477 * posix/glob: Remove directory.
38478
f1d4aa75
JM
384792012-01-24 Joseph Myers <joseph@codesourcery.com>
38480
38481 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38482
81c0c964
PT
384832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38484
38485 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38486 of the non-standard EPFNOSUPPORT.
38487
0ea698ae
ST
384882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38489
38490 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38491 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38492 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38493
d220b117
UD
384942012-01-21 Ulrich Drepper <drepper@gmail.com>
38495
38496 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38497
3e1aa84e
UD
384982012-01-20 Ulrich Drepper <drepper@gmail.com>
38499
38500 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38501 transient errors.
38502 * nscd/grpcache.c (cache_addgr): Likewise.
38503 * nscd/hstcache.c (cache_addhst): Likewise.
38504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38505 * nscd/pwdcache.c (cache_addpw): Likewise.
38506 * nscd/servicescache.c (cache_addserv): Likewise.
38507
400aa020
UD
385082012-01-16 Ulrich Drepper <drepper@gmail.com>
38509
d77e7869
UD
38510 * malloc/malloc.c: Various cleanups.
38511 * malloc/hooks.c: Likewise.
38512
400aa020
UD
38513 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38514 * stdlib/bug-fmtmsg1.c: New file.
38515
38516 * stdlib/fmtmsg.c (init): Add missing unlock.
38517 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38518
e0a309cf
MP
385192012-01-12 Marek Polacek <polacek@redhat.com>
38520
38521 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38522 and _GNU_SOURCE.
38523
929d11c7
WS
385242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38525
38526 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38527 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38528 macro to ensure uniqueness of label name.
38529 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38530 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38531
41d0e869
UD
385322012-01-11 Ulrich Drepper <drepper@gmail.com>
38533
0cc5ed3b
UD
38534 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38535
41d0e869
UD
38536 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38537 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38538 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38540
a47a831a
UD
385412012-01-10 Ulrich Drepper <drepper@gmail.com>
38542
daa891c0
UD
38543 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38544
38545 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38546 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38547 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38548
e58ef0f2
UD
38549 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38550
a47a831a 38551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38552 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38553 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38555
38556 * math/bits/math-finite.h: Add ldexp support.
38557
a0bfc9c7
MP
385582012-01-10 Marek Polacek <polacek@redhat.com>
38559
38560 * locale/programs/localedef.h (show_archive_content): Add noreturn
38561 attribute.
38562
d6e97a1d
UD
385632012-01-09 Ulrich Drepper <drepper@gmail.com>
38564
38565 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38566
d5835c26
UD
385672012-01-08 Ulrich Drepper <drepper@gmail.com>
38568
e5f484c6
UD
38569 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38570
d5835c26
UD
38571 * io/Makefile (headers): Add bits/poll2.h.
38572
d1f741e9
WS
385732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38574
38575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38576 typo #include statement.
38577
ec09c1c4
UD
385782012-01-08 Ulrich Drepper <drepper@gmail.com>
38579
38580 * include/sys/cdefs.h: Define __attribute_alloc_size.
38581 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38582 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38583 * elf/pldd.c: Likewise.
38584 * iconv/iconv_charmap.c: Likewise.
38585 * iconv/iconvconfig.c: Likewise.
38586 * iconv/strtab.c: Likewise.
38587 * locale/programs/locale.c: Likewise.
38588 * locale/programs/localedef.h: Likewise.
38589 * locale/programs/simple-hash.c: Likewise.
38590 * nscd/nscd.h: Likewise.
38591 * nss/makedb.c: Likewise.
38592 * sysdeps/generic/ldconfig.h: Likewise.
38593 * locale/programs/localedef.c: Remove xmalloc prototype.
38594 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38595
20b38e03
PP
385962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38597
38598 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38599 appropriate.
38600
a0da5fe1
UD
386012012-01-08 Ulrich Drepper <drepper@gmail.com>
38602
1d5a644a 38603 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38604 * math/tst-CMPLX.c: New file.
1d5a644a 38605
8784a6db
UD
38606 * math/complex.h (CMPLXL): Fix typo.
38607
d9a216c0
UD
38608 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38609 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38610 GLIBC_2.16.
38611 * debug/tst-chk1.c: Add poll and ppoll tests.
38612 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38613 * include/sys/poll.h: Add hidden proto for ppoll.
38614 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38615 * sysdeps/mach/hurd/ppoll.c: Likewise.
38616 * io/ppoll.c: Likewise.
38617 * debug/poll_chk.c: New file.
38618 * debug/ppoll_chk.c: New file.
38619 * include/bits/poll2.h: New file.
38620 * io/bits/poll2.h: New file.
38621
ac097f5c
UD
38622 [BZ #1350]
38623 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38624
2119dcfa
UD
38625 * configure.in: static is always set to yes. Remove.
38626 * config.make.in: Don't set build-static.
38627 * Makeconfig: Remove use of build-static.
38628 * dlfcn/Makefile: Likewise.
38629 * elf/Makefile: Likewise.
38630 * math/Makefile: Likewise.
38631 * misc/Makefile: Likewise.
38632 * nptl/Makefile: Likewise.
38633 * sysdeps/mach/hurd/Makefile: Likewise.
38634
121766a9
UD
38635 * configure.in: PWD_P is not used anymore.
38636 * config.make.in: Remove PWD_P entry.
38637
51a1d39c 38638 * configure.in: Remove last remnants of RANLIB.
8720d066 38639 No need to check for signed size_t anymore.
215f4bdc
UD
38640 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38641 and IA-64.
3857022a 38642 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38643 * aclocal.m4: Likewise.
38644
d3ed7225
UD
38645 * wcsmbs/mbrtoc16.c: Implement using towc function.
38646 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38647 * wcsmbs/wcsmbsload.c: Likewise.
38648 * iconv/gconv_simple.c: Likewise.
38649 * iconv/gconv_int.h: Likewise.
38650 * iconv/gconv_builtin.h: Likewise.
38651 * iconv/iconv_prog.c: Remove CHAR16 handling.
38652
38653 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38654
38655 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38656
a0da5fe1
UD
38657 * configure.in: Remove --with-elf and --enable-bounded options.
38658 Dont set base_machine for ia64. More non-ELF conditions removed.
38659 Remove testing and setting of leading underscore information.
38660 * config.make.in (build-bounded): Set to no.
38661 * config.h.in: Remove NO_UNDERSCORES entry.
38662 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38663 them.
38664 * csu/start.c: Remove !NO_UNDERSCORE code.
38665 * locale/localeinfo.h: Likewise.
38666 * sysdeps/generic/machine-gmon.h: Likewise.
38667 * sysdeps/generic/sysdep.h: Likewise.
38668 * sysdeps/i386/sysdep.h: Likewise.
38669 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38670 * sysdeps/mach/sysdep.h: Likewise.
38671 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38673 * sysdeps/sh/sysdep.h: Likewise.
38674 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38675 * sysdeps/unix/i386/sysdep.S: Likewise.
38676 * sysdeps/unix/sparc/start.c: Likewise.
38677 * sysdeps/unix/sparc/sysdep.S: Likewise.
38678 * sysdeps/unix/sparc/sysdep.h: Likewise.
38679 * sysdeps/unix/start.c: Likewise.
38680 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38681 * sysdeps/x86_64/sysdep.h: Likewise.
38682
df78418a
UD
386832012-01-07 Ulrich Drepper <drepper@gmail.com>
38684
a784e502
UD
38685 [BZ #13553]
38686 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38687 for non-gcc.
38688 * argp/argp-fmtstream.h: Use const instead __const.
38689 * argp/argp.h: Likewise.
38690 * assert/assert.h: Likewise.
38691 * bits/fenv.h: Likewise.
38692 * bits/sched.h: Likewise.
38693 * bits/sigset.h: Likewise.
38694 * bits/sigthread.h: Likewise.
38695 * catgets/nl_types.h: Likewise.
38696 * conform/data/pthread.h-data: Likewise.
38697 * crypt/crypt-private.h: Likewise.
38698 * crypt/crypt.h: Likewise.
38699 * crypt/crypt_util.c: Likewise.
38700 * ctype/ctype.h: Likewise.
38701 * debug/execinfo.h: Likewise.
38702 * debug/mbsnrtowcs_chk.c: Likewise.
38703 * debug/mbsrtowcs_chk.c: Likewise.
38704 * debug/wcsnrtombs_chk.c: Likewise.
38705 * debug/wcsrtombs_chk.c: Likewise.
38706 * debug/wcstombs_chk.c: Likewise.
38707 * dirent/dirent.h: Likewise.
38708 * dlfcn/dlfcn.h: Likewise.
38709 * elf/neededtest4.c: Likewise.
38710 * grp/grp.h: Likewise.
38711 * gshadow/gshadow.h: Likewise.
38712 * iconv/gconv.h: Likewise.
38713 * iconv/gconv_int.h: Likewise.
38714 * iconv/gconv_simple.c: Likewise.
38715 * iconv/iconv.h: Likewise.
38716 * iconv/loop.c: Likewise.
38717 * iconv/skeleton.c: Likewise.
38718 * include/aio.h: Likewise.
38719 * include/aliases.h: Likewise.
38720 * include/argz.h: Likewise.
38721 * include/arpa/inet.h: Likewise.
38722 * include/assert.h: Likewise.
38723 * include/dirent.h: Likewise.
38724 * include/dlfcn.h: Likewise.
38725 * include/execinfo.h: Likewise.
38726 * include/fcntl.h: Likewise.
38727 * include/fenv.h: Likewise.
38728 * include/glob.h: Likewise.
38729 * include/grp.h: Likewise.
38730 * include/libintl.h: Likewise.
38731 * include/mntent.h: Likewise.
38732 * include/netdb.h: Likewise.
38733 * include/pwd.h: Likewise.
38734 * include/rpc/netdb.h: Likewise.
38735 * include/sched.h: Likewise.
38736 * include/search.h: Likewise.
38737 * include/shadow.h: Likewise.
38738 * include/signal.h: Likewise.
38739 * include/stdio.h: Likewise.
38740 * include/stdlib.h: Likewise.
38741 * include/string.h: Likewise.
38742 * include/sys/socket.h: Likewise.
38743 * include/sys/stat.h: Likewise.
38744 * include/sys/statfs.h: Likewise.
38745 * include/sys/statvfs.h: Likewise.
38746 * include/sys/syslog.h: Likewise.
38747 * include/sys/time.h: Likewise.
38748 * include/sys/uio.h: Likewise.
38749 * include/time.h: Likewise.
38750 * include/unistd.h: Likewise.
38751 * include/utmp.h: Likewise.
38752 * include/wchar.h: Likewise.
38753 * include/wctype.h: Likewise.
38754 * inet/aliases.h: Likewise.
38755 * inet/arpa/inet.h: Likewise.
38756 * inet/netinet/ether.h: Likewise.
38757 * inet/netinet/in.h: Likewise.
38758 * intl/libintl.h: Likewise.
38759 * io/bits/fcntl2.h: Likewise.
38760 * io/fcntl.h: Likewise.
38761 * io/ftw.h: Likewise.
38762 * io/sys/poll.h: Likewise.
38763 * io/sys/stat.h: Likewise.
38764 * io/sys/statfs.h: Likewise.
38765 * io/sys/statvfs.h: Likewise.
38766 * io/utime.h: Likewise.
38767 * libio/bits/stdio.h: Likewise.
38768 * libio/bits/stdio2.h: Likewise.
38769 * libio/libio.h: Likewise.
38770 * libio/libioP.h: Likewise.
38771 * libio/stdio.h: Likewise.
38772 * locale/lc-ctype.c: Likewise.
38773 * locale/locale.h: Likewise.
38774 * login/utmp.h: Likewise.
38775 * malloc/arena.c: Likewise.
38776 * malloc/malloc.c: Likewise.
38777 * malloc/malloc.h: Likewise.
38778 * malloc/mcheck.c: Likewise.
38779 * malloc/mtrace.c: Likewise.
38780 * math/bits/mathcalls.h: Likewise.
38781 * math/fenv.h: Likewise.
38782 * math/math_private.h: Likewise.
38783 * misc/bits/error.h: Likewise.
38784 * misc/bits/syslog.h: Likewise.
38785 * misc/err.h: Likewise.
38786 * misc/error.h: Likewise.
38787 * misc/fstab.h: Likewise.
38788 * misc/mntent.h: Likewise.
38789 * misc/regexp.h: Likewise.
38790 * misc/search.h: Likewise.
38791 * misc/sgtty.h: Likewise.
38792 * misc/sys/mman.h: Likewise.
38793 * misc/sys/syslog.h: Likewise.
38794 * misc/sys/uio.h: Likewise.
38795 * misc/sys/xattr.h: Likewise.
38796 * misc/ttyent.h: Likewise.
38797 * nis/rpcsvc/ypclnt.h: Likewise.
38798 * nss/nss.h: Likewise.
38799 * posix/bits/unistd.h: Likewise.
38800 * posix/fnmatch.h: Likewise.
38801 * posix/glob.h: Likewise.
38802 * posix/sched.h: Likewise.
38803 * posix/spawn.h: Likewise.
38804 * posix/sys/wait.h: Likewise.
38805 * posix/unistd.h: Likewise.
38806 * posix/wordexp.h: Likewise.
38807 * pwd/pwd.h: Likewise.
38808 * resolv/netdb.h: Likewise.
38809 * resource/sys/resource.h: Likewise.
38810 * rt/aio.h: Likewise.
38811 * rt/bits/mqueue2.h: Likewise.
38812 * rt/mqueue.h: Likewise.
38813 * shadow/shadow.h: Likewise.
38814 * signal/signal.h: Likewise.
38815 * socket/send.c: Likewise.
38816 * socket/sendto.c: Likewise.
38817 * socket/sys/socket.h: Likewise.
38818 * stdio-common/printf.h: Likewise.
38819 * stdlib/bits/stdlib.h: Likewise.
38820 * stdlib/fmtmsg.h: Likewise.
38821 * stdlib/monetary.h: Likewise.
38822 * stdlib/stdlib.h: Likewise.
38823 * stdlib/ucontext.h: Likewise.
38824 * streams/stropts.h: Likewise.
38825 * string/argz.h: Likewise.
38826 * string/bits/string2.h: Likewise.
38827 * string/string.h: Likewise.
38828 * string/strings.h: Likewise.
38829 * sunrpc/rpc/auth.h: Likewise.
38830 * sunrpc/rpc/auth_des.h: Likewise.
38831 * sunrpc/rpc/clnt.h: Likewise.
38832 * sunrpc/rpc/netdb.h: Likewise.
38833 * sunrpc/rpc/pmap_clnt.h: Likewise.
38834 * sunrpc/rpc/xdr.h: Likewise.
38835 * sysdeps/generic/inttypes.h: Likewise.
38836 * sysdeps/generic/net/if.h: Likewise.
38837 * sysdeps/generic/sys/swap.h: Likewise.
38838 * sysdeps/gnu/net/if.h: Likewise.
38839 * sysdeps/gnu/utmpx.h: Likewise.
38840 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38841 * sysdeps/i386/i486/bits/string.h: Likewise.
38842 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38843 * sysdeps/s390/bits/string.h: Likewise.
38844 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38845 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38846 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38847 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38848 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38849 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38850 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38851 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38852 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38853 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38854 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38855 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38856 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38857 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38858 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38859 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38860 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38864 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38865 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38866 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38867 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38868 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38869 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38870 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38871 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38872 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38874 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38875 * sysvipc/sys/ipc.h: Likewise.
38876 * sysvipc/sys/msg.h: Likewise.
38877 * sysvipc/sys/sem.h: Likewise.
38878 * sysvipc/sys/shm.h: Likewise.
38879 * termios/termios.h: Likewise.
38880 * time/sys/time.h: Likewise.
38881 * time/time.h: Likewise.
38882 * wcsmbs/bits/wchar2.h: Likewise.
38883 * wcsmbs/uchar.h: Likewise.
38884 * wcsmbs/wchar.h: Likewise.
38885 * wctype/wctype.h: Likewise.
38886
0269750c
UD
38887 [BZ #13551]
38888 * Makeconfig: Remove all but ELF support including AIX support.
38889 * Makerules: Likewise.
38890 * config.h.in: Likewise.
38891 * config.make.in: Likewise.
38892 * configure: Likewise.
38893 * configure.in: Likewise.
38894 * csu/Makefile: Likewise.
38895 * csu/version.c: Likewise.
38896 * debug/Makefile: Likewise.
38897 * dlfcn/Makefile: Likewise.
38898 * elf/Makefile: Likewise.
38899 * extra-lib.mk: Likewise.
38900 * iconv/Makefile: Likewise.
38901 * include/libc-symbols.h: Likewise.
38902 * include/shlib-compat.h: Likewise.
38903 * resolv/Makefile: Likewise.
38904 * resolv/res_libc.c: Likewise.
38905 * rt/Makefile: Likewise.
38906 * sysdeps/i386/asm-syntax.h: Likewise.
38907 * sysdeps/i386/sysdep.h: Likewise.
38908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38909 * sysdeps/mach/sysdep.h: Likewise.
38910 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38911 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38912 * sysdeps/s390/asm-syntax.h: Likewise.
38913 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38915 * sysdeps/sh/sysdep.h: Likewise.
38916 * sysdeps/unix/sparc/sysdep.h: Likewise.
38917 * sysdeps/wordsize-32/divdi3.c: Likewise.
38918 * sysdeps/x86_64/sysdep.h: Likewise.
38919
00bbd29b
UD
38920 * argp/Versions: Remove _argp_unlock_xxx.
38921
38922 [BZ #13559]
38923 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38924 * abilist/libBrokenLocale.abilist: Likewise.
38925 * abilist/libanl.abilist: Likewise.
38926 * abilist/libc.abilist: Likewise.
38927 * abilist/libcrypt.abilist: Likewise.
38928 * abilist/libdl.abilist: Likewise.
38929 * abilist/libm.abilist: Likewise.
38930 * abilist/libnsl.abilist: Likewise.
38931 * abilist/libpthread.abilist: Likewise.
38932 * abilist/libresolv.abilist: Likewise.
38933 * abilist/librt.abilist: Likewise.
38934 * abilist/libthread_db.abilist: Likewise.
38935 * abilist/libutil.abilist: Likewise.
38936 * abilist/libnss_db.abilist: New file.
38937
38938 * scripts/abilist.awk: Add support for indirect functions.
38939
a2693a0e
UD
38940 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38941
3f05895f
UD
38942 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38943
ecb6fb48
UD
38944 * shlib-versions: Remove entries for ports architectures.
38945
664f8cb9
UD
38946 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38947 files in ports.
38948 * elf/stackguard-macros.h: Remove support for IA-64.
38949 * elf/tst-auditmod1.c: Likewise.
38950 * sysdeps/generic/ldsodefs.h: Likewise.
38951
7ae81d88
UD
38952 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38953 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38954 configure files.
38955
bdeba135
UD
38956 [BZ #13552]
38957 * configure.in: Remove --enable-omitfp support.
38958 * FAQ.in: Adjust.
38959 * config.make.in: Likewise.
38960 * Makeconfig: Likewise.
38961 * manual/install.texi: Likewise.
38962
d75a0a62
UD
38963 In case anyone cares, the IA-64 architecture could move to ports.
38964 * sysdeps/ia64/*: Removed.
38965 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38966 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38967
dcc9756b
UD
38968 [BZ #13555]
38969 * configure.in: Remove entries for unsupported architectures.
38970
d3761ebc 38971 [BZ #13533]
9954432e
UD
38972 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38973 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38974 routines.
38975 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38976 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38977 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38978 fall back to using wcrtomb.
38979 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38980 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38981 renaming.
38982 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38983 * wcsmbs/tst-c16c32-1.c: New file.
38984
38985 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38986 local variable.
38987
c3a87236
UD
38988 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38989
28926a1b
UD
38990 * elf/tst-unique3.cc: Add explicit declaration of gets.
38991 * elf/tst-unique3lib.cc: Likewise.
38992 * elf/tst-unique3lib2.cc: Likewise.
38993 * elf/tst-unique4.cc: Likewise.
38994
df78418a
UD
38995 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38996
8ecd6b2a
JM
389972012-01-06 Joseph Myers <joseph@codesourcery.com>
38998
38999 [BZ #13566]
39000 * assert/assert.h (static_assert): Don't define for C++.
39001 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39002 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39003
9f115170
UD
390042012-01-03 Ulrich Drepper <drepper@gmail.com>
39005
5e0d0300
UD
39006 * iconv/loop.c (single loop): Fix assertion in storing of
39007 remaining bytes.
39008
9f115170
UD
39009 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39010
81fb02b0
UD
390112012-01-01 Ulrich Drepper <drepper@gmail.com>
39012
39013 * posix/getconf.c: Update copyright year.
39014 * nss/getent.c: Likewise.
a316c1f6 39015 * nss/makedb.c: Likewise.
81fb02b0
UD
39016 * iconv/iconvconfig.c: Likewise.
39017 * iconv/iconv_prog.c: Likewise.
39018 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39019 * elf/pldd.c: Likewise.
39020 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39021 * catgets/gencat.c: Likewise.
39022 * csu/version.c: Likewise.
39023 * elf/ldd.bash.in: Likewise.
39024 * elf/sprof.c (print_version): Likewise.
39025 * locale/programs/locale.c: Likewise.
39026 * locale/programs/localedef.c: Likewise.
a316c1f6 39027 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39028 * nscd/nscd.c (print_version): Likewise.
39029 * debug/xtrace.sh: Likewise.
39030 * malloc/memusage.sh: Likewise.
39031 * malloc/mtrace.pl: Likewise.
39032 * debug/catchsegv.sh: Likewise.
39033
2ba92745
JJ
390342011-12-30 Jakub Jelinek <jakub@redhat.com>
39035
39036 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39037 pure attribute.
39038
dadebdae
UD
390392011-12-24 Ulrich Drepper <drepper@gmail.com>
39040
d3761ebc 39041 [BZ #13533]
db6af3eb
UD
39042 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39043 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39044 transformations.
39045 * iconv/gconv_int.h: Likewise.
39046 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39047 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39048 from libc for GLIBC_2.16.
39049 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39050 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39051 * wcsmbs/uchar.h: Really define mbstate_t.
39052 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39053 * wcsmbs/c16rtomb.c: New file.
39054 * wcsmbs/mbrtoc16.c: New file.
39055 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39056 for C/POSIX locale.
39057 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39058 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39059
dadebdae
UD
39060 * wcsmbs/wchar.h: Add missing __restrict.
39061
67371b56
UD
390622011-12-23 Ulrich Drepper <drepper@gmail.com>
39063
74033a25
UD
39064 [BZ #13532]
39065 * time/Makefile (routines): Add timespec_get.
39066 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39067 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39068 timespec for ISO C11.
39069 * time/timespec_get.c: New file.
39070 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39071 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39072
380d7e87
UD
39073 [BZ #13531]
39074 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39075 * stdlib/stdlib.h: Declare aligned_alloc.
39076 * Versions.def: Add GLIBC_2.16 for libc.
39077 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39078
4e9e7a35
UD
39079 [BZ 13527]
39080 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39081 ISO C11.
39082
380d7e87 39083 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39084 code.
39085
03a71829
UD
39086 [BZ #13528]
39087 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39088
839e283e
UD
39089 [BZ #13529]
39090 * assert/assert.h (static_assert): Define.
39091
ce5294e2 39092 * version.h: Update for 2.16 development version.
90fa7312 39093
8d44e150 39094 [BZ #13526]
d7809905
UD
39095 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39096 _ISOC11_SOURCE.
39097
c0da14cd
UD
39098 * version.h (RELEASE): Bump for 2.15 release.
39099 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39100
530a3249
MP
39101 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39102 Patch by Marek Polacek <mpolacek@redhat.com>.
39103
67371b56
UD
39104 * bits/byteswap.h: Protect long long constants with __extension__.
39105 * sysdeps/i386/bits/byteswap.h: Likewise.
39106 * sysdeps/ia64/bits/byteswap.h: Likewise.
39107 * sysdeps/s390/bits/byteswap.h: Likewise.
39108 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39109
15db4de1
LD
391102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39111
39112 [BZ #13540]
bbe315ea
LD
39113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39114 destination buffer.
15db4de1
LD
39115 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39116
2b2596b1
MP
391172011-12-23 Marek Polacek <polacek@redhat.com>
39118
39119 * elf/dl-addr.c (determine_info): Add inline keyword.
39120 * elf/tst-auditmod4b.c (check_avx): Likewise.
39121 * elf/tst-auditmod6b.c (check_avx): Likewise.
39122 * elf/tst-auditmod6c.c (check_avx): Likewise.
39123 * elf/tst-auditmod7b.c (check_avx): Likewise.
39124
70c6c246
UD
391252011-12-23 Ulrich Drepper <drepper@gmail.com>
39126
39127 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39128 !__SSE_MATH__.
39129
c044cf14
LD
391302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39131
15db4de1 39132 [BZ #13540]
c044cf14
LD
39133 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39134 processing for last bytes.
39135
6b13d9d9
BH
391362011-08-06 Bruno Haible <bruno@clisp.org>
39137
d455f537
BH
39138 [BZ #13061]
39139 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39140 U+0385, not to U+1FEE.
39141
6b13d9d9
BH
39142 [BZ #13062]
39143 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39144 entry for U+00A5 U+0301.
39145
db910efd
UD
391462011-12-22 Ulrich Drepper <drepper@gmail.com>
39147
27deeafc
UD
39148 [BZ #13166]
39149 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39150 buffer for the output is too small.
39151
aed9d171
UD
39152 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39153 optimization.
39154
db910efd
UD
39155 [BZ #13185]
39156 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39157 SSE flags if possible.
39158
2bd779ae
LD
391592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39160
e7f9dac3 39161 [BZ #13540]
2bd779ae
LD
39162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39163 processing for last bytes.
39164
154bfc16
JM
391652011-12-22 Joseph Myers <joseph@codesourcery.com>
39166
39167 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39168 (syscall-list-default-options, syscall-list-default-condition)
39169 (syscall-list-includes): Define.
39170 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39171 list of ABIs and options and #if conditions for each ABI. Do not
39172 handle common syscalls between ABIs specially.
39173 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39174 Remove.
39175 (syscall-list-variants, syscall-list-32bit-options)
39176 (syscall-list-32bit-condition, syscall-list-64bit-options)
39177 (syscall-list-64bit-condition): Define.
39178 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39179 (syscall-list-variants, syscall-list-32bit-options)
39180 (syscall-list-32bit-condition, syscall-list-64bit-options)
39181 (syscall-list-64bit-condition): Define.
39182 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39183 Remove.
39184 (syscall-list-variants, syscall-list-32bit-options)
39185 (syscall-list-32bit-condition, syscall-list-64bit-options)
39186 (syscall-list-64bit-condition): Define.
39187 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39188 Remove.
39189 (syscall-list-variants, syscall-list-32bit-options)
39190 (syscall-list-32bit-condition, syscall-list-64bit-options)
39191 (syscall-list-64bit-condition): Define.
39192
21eaf3a5
UD
391932011-12-22 Ulrich Drepper <drepper@gmail.com>
39194
16c6f992
UD
39195 * locale/iso-639.def: Add brx entry.
39196
41043168
UD
39197 [BZ #13328]
39198 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39199 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39200
21eaf3a5
UD
39201 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39202 __feraiseexcept_renamed.
39203
e3a851a2
UD
392042011-12-21 Ulrich Drepper <drepper@gmail.com>
39205
4920765e
UD
39206 [BZ #13538]
39207 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39208 EPOLLET with unsigned values.
39209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39211
e3a851a2
UD
39212 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39213 to large cancellation.
39214 * math/s_cacoshf.c: Likewise.
39215 * math/s_cacoshl.c: Likewise.
39216
b27e24b8
RK
392172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39218
39219 [BZ #13305]
aebefeee 39220 [BZ #12786]
b27e24b8
RK
39221 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39222 * math/s_cacoshf.c: Likewise.
39223 * math/s_cacoshl.c: Likewise.
39224
ee190f67
UD
392252011-12-21 Ulrich Drepper <drepper@gmail.com>
39226
39227 [BZ #13439]
39228 * iconv/gconv.h: Define __GCONV_SWAP.
39229 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39230 * iconvdata/utf-16.c: Likewise.
39231 * iconvdata/utf-32.c: Likewise.
39232
707f25df
AS
392332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39234
39235 [BZ #13524]
39236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39237 numerator after shifting it by one limb.
39238
d2daaa1e
RÁE
392392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39240
39241 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39242 under [__USE_EXTERN_INLINES].
39243
a4647e72
UD
392442011-12-17 Ulrich Drepper <drepper@gmail.com>
39245
39246 [BZ #13446]
39247 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39248
f0b264f1
AZ
392492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39250
39251 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39252 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39253 optimized code.
39254 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39255 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39256 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39257 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39258 for strncasecmp/strncasecmp_l compilation.
39259 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39260 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39261
8ef4f244
MP
392622011-12-08 Marek Polacek <mpolacek@redhat.com>
39263
39264 [BZ #13484]
39265 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39266 of __asm__.
39267
97ac2654
UD
392682011-12-17 Ulrich Drepper <drepper@gmail.com>
39269
39270 [BZ #13506]
39271 * time/tzfile.c (__tzfile_read): Check values from file header.
39272
91d2a845
WS
392732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39274
39275 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39276 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39277 * powerpc/powerpc32/dl-start.S: Likewise.
39278 * powerpc/powerpc32/elf/start.S: Likewise.
39279 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39280 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39281 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39282 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39283 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39284 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39285 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39286 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39287 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39288 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39289 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39290 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39291 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39292 * powerpc/powerpc32/memset.S: Likewise.
39293 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39294 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39295 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39296 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39297 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39298 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39299 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39300 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39301 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39302 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39303 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39304 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39305 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39306
a1267ba1
AZ
393072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39308
39309 * math/libm-test.inc: Added more nearbyint tests.
39310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39311 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39313 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39314
ad8ac1bd
RL
393152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39316
39317 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39318 FD_CLOEXEC.
39319
1d3e4b61
UD
393202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39321
39322 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39323 Add wcscpy-ssse3 wcscpy-c.
39324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39325 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39326 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39327 * sysdeps/x86_64/wcschr.S: New file.
39328 * sysdeps/x86_64/wcsrchr.S: New file.
39329 * string/test-strcmp.c: Remove checking of wcscmp function for
39330 wrong alignments.
39331 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39332 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39333 wcsrchr-sse2 wcsrchr-c.
39334 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39335 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39336 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39337 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39338 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39339 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39340 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39341 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39343 * wcsmbc/wcschr.c (WCSCHR): New macro.
39344
5b330a2d
UD
393452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39346
39347 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39348 * wcsmbs/test-wcsrchr.c: New file.
39349 * string/test-strrchr.c: Add wcsrchr support.
39350 (WIDE): New macro.
39351 * wcsmbs/test-wcscpy.c: New file.
39352 * string/test-strcpy.c: Add wcscpy support.
39353 (WIDE): New macro.
26428b7c 39354
f039c043
UD
393552011-12-10 Ulrich Drepper <drepper@gmail.com>
39356
39357 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39358 the inner loop.
39359
850fb039
AS
393602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39361
39362 [BZ #13472]
39363 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39364
4efbd5cb
UD
393652011-12-04 Ulrich Drepper <drepper@gmail.com>
39366
52ff5dd0 39367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39368 Minor optimizations.
52ff5dd0 39369
4efbd5cb
UD
39370 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39371 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39372 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39373
8a426e12
UD
393742011-12-03 Ulrich Drepper <drepper@gmail.com>
39375
aff2453d
UD
39376 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39377 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39378 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39379 for gcc to avoid warnings.
39380 * inet/Makefile (tests): Add tst-checks.
39381 * inet/tst-checks.c: New file.
39382
39383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39384 warning.
39385
39386 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39387 __wmemcmp_sse2.
39388
39389 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39390 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39391
8a426e12
UD
39392 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39393
9bea3473
UD
393942011-12-02 Ulrich Drepper <drepper@gmail.com>
39395
3a965496
UD
39396 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39397 problem.
39398
9bea3473
UD
39399 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39400
f101631b
UD
394012011-11-29 Joseph Myers <joseph@codesourcery.com>
39402
39403 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39404 conditional on GCC version.
39405 (__arch_compare_and_exchange_val_8_acq)
39406 (__arch_compare_and_exchange_val_16_acq)
39407 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39408 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39409 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39410
a98275aa
UD
394112011-12-02 Joseph Myers <joseph@codesourcery.com>
39412
39413 * sysdeps/sh/backtrace.c: New file.
39414
d4cc29a2
AS
394152011-12-02 Andreas Schwab <schwab@redhat.com>
39416
39417 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39418 parenthesis.
39419
6257af2d
AS
394202011-12-01 Andreas Schwab <schwab@redhat.com>
39421
39422 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39423 falling back to utime.
39424
b5f44c1a
AS
394252011-11-30 Andreas Schwab <schwab@redhat.com>
39426
39427 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39428 expectations for float.
39429
f3a6cc0a
AS
394302011-11-29 Andreas Schwab <schwab@redhat.com>
39431
39432 * locale/weight.h (findidx): Add parameter len.
39433 * locale/weightwc.h (findidx): Likewise.
39434 * posix/fnmatch_loop.c (FCT): Adjust caller.
39435 * posix/regcomp.c (build_equiv_class): Likewise.
39436 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39437 * posix/regexec.c (check_node_accept_bytes): Likewise.
39438 * string/strcoll_l.c (STRCOLL): Likewise.
39439 * string/strxfrm_l.c (STRXFRM): Likewise.
39440
9d65ea3a
UD
394412011-11-17 Ulrich Drepper <drepper@gmail.com>
39442
39443 * Makefile.in: Remove CVSOPT handling.
39444 * configure.in: Remove use of AC_REVISION.
39445 * iconvdata/Makefile (distribute): No need to filter out CVS.
39446 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39447 handling.
39448
5583a086
AS
394492011-11-16 Andreas Schwab <schwab@redhat.com>
39450
39451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39452 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39453 [USE_AS_STRNCASECMP_L]: Likewise.
39454 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39455 NO_TLS_DIRECT_SEG_REFS.
39456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39457 Fix argument offsets for non-PIC.
39458 [USE_AS_STRNCASECMP_L]: Likewise.
39459 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39460 NO_TLS_DIRECT_SEG_REFS.
39461
d62a8200
UD
394622011-11-15 Ulrich Drepper <drepper@gmail.com>
39463
9d65ea3a 39464 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39465 O_CLOEXEC.
39466 * locale/loadlocale.c (_nl_load_locale): Likewise.
39467
09f93bd3
AS
394682011-11-15 Andreas Schwab <schwab@redhat.com>
39469
446514f9
AS
39470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39471 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39473 (SYSCALL_GETTIME): Set errno on error.
39474
09f93bd3
AS
39475 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39476 count references to noai6ai_cached.
39477
312be3f9
UD
394782011-11-15 Ulrich Drepper <drepper@gmail.com>
39479
39480 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39481
39482 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39483 FD_CLOEXEC for /proc/self/maps.
39484
39485 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39486 FD_CLOEXEC for /proc/meminfo.
39487
39488 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39489 gai.conf.
39490
39491 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39492 FD_CLOEXEC for given file.
39493
39494 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39495
39496 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39497 FD_CLOEXEC for /etc/hosts.
39498 (_gethtent): Likewise.
39499
39500 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39501
39502 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39503 cancellation and set FD_CLOEXEC for /etc/netgroup.
39504
39505 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39506 reading /etc/publickey.
39507
39508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39509 allow cancellation when reading /etc/group.
39510
39511 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39512 cancellation.
39513 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39514
39515 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39516 when using data file.
39517
39518 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39519
39520 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39521 (write_nis_obj): Use "c" and "e" in fopen.
39522
39523 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39524
39525 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39526
39527 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39528
39529 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39530
39531 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39532 locale.alias.
39533
39534 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39535
39536 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39537
39538 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39539
39540 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39541 file parsing and set FD_CLOEXEC.
39542
82af0fa8
UD
395432011-11-14 Ulrich Drepper <drepper@gmail.com>
39544
39545 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39546
a5fb313c
AS
395472011-11-14 Andreas Schwab <schwab@redhat.com>
39548
39549 * malloc/arena.c (arena_get2): Don't call reused_arena when
39550 _int_new_arena failed.
39551
6abf3465
UD
395522011-11-14 Ulrich Drepper <drepper@gmail.com>
39553
39554 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39555 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39556 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39558 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39560 to compile strcasecmp and strncasecmp.
39561 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39562 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39563
39564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39565
76e3966e
UD
395662011-11-13 Ulrich Drepper <drepper@gmail.com>
39567
39568 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39569 locale-defines.sym to gen-as-const-headers.
39570 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39571 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39573 to compile strcasecmp and strncasecmp.
39574 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39575 strcasecmp_l and strncasecmp_l.
39576 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39577 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39578 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39579 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39580 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39581 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39582 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39583 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39584 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39585 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39586 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39587
ab26144e
UD
395882011-11-12 Ulrich Drepper <drepper@gmail.com>
39589
7edb22ef
UD
39590 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39591 result of SYSDEP_GETTIME_CPU to retval.
39592 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39593 parameter list to macro. Remove trailing semicolon. Adjust users.
39594
9694fc44
UD
39595 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39596 variable.
39597
8ad89ef8
UD
39598 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39599 mantissa words.
39600 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39601
0c822ef9
UD
39602 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39603 from unused variable.
39604
874e0564
UD
39605 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39606 DWARF definitions.
39607 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39608 for assembling.
39609
3a2edc79
UD
39610 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39611 over namespaces.
39612
f3c2577f
UD
39613 * sunrpc/rpc_prot.c (rejected): Fix case value.
39614
294ce126
UD
39615 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39616 unsigned long long int to avoid warnings in shift.
39617
5e2b63c6
UD
39618 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39619 of use of trans.
39620 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39621 variable tmp.
39622
e7f4b08e
UD
39623 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39624 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39625 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39626
ab26144e
UD
39627 * nis/nis_table.c (nis_list): Use variable of correct type for
39628 result of __follow_path call.
39629
8a6d5255
AZ
396302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39631
39632 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39633 of math functions ceil, trunc, floor, round, and sqrt, when
39634 avaliable on the platform.
39635 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39636 name clash.
39637 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39638 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39639 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39640
aaddc98c
MP
396412011-10-30 Marek Polacek <mpolacek@redhat.com>
39642
39643 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39645
95b7042b
RM
396462011-11-11 Roland McGrath <roland@hack.frob.com>
39647
39648 * include/unistd.h: Fix __readlink return type.
39649 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39650
57769839
UD
396512011-11-11 Ulrich Drepper <drepper@gmail.com>
39652
39653 * stdlib/ucontext.h: Undo last change for makecontext.
39654
edc5984d
AS
396552011-11-11 Andreas Schwab <schwab@redhat.com>
39656
98591e58
AS
39657 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39658
edc5984d
AS
39659 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39660 * setjmp/setjmp.h: Mark functions as non-leaf.
39661 * setjmp/bits/setjmp2.h: Likewise.
39662 * stdlib/ucontext.h: Likewise.
39663
77cdc054
AS
396642011-11-10 Andreas Schwab <schwab@redhat.com>
39665
39666 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39667 (reused_arena): Don't check arena limit.
39668 (arena_get2): Atomically check arena limit.
39669
fe72eebd
UD
396702011-11-08 Ulrich Drepper <drepper@gmail.com>
39671
5f078c32
UD
39672 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39673 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39674
fe72eebd
UD
39675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39676 instructions.
39677
ae1bc2fa
AS
396782011-11-07 Andreas Schwab <schwab@redhat.com>
39679
7583a88d
AS
39680 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39681 handler when locking.
39682
ae1bc2fa
AS
39683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39684 Fix size of allocated buffer.
39685
10fb0bfa
AS
396862011-11-04 Andreas Schwab <schwab@redhat.com>
39687
998832a4
AS
39688 [BZ #10103]
39689 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39690 declarations for long double functions.
39691 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39692
10fb0bfa
AS
39693 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39694
3d7ba52b
AS
396952011-11-03 Andreas Schwab <schwab@redhat.com>
39696
a9ae54a1
AS
39697 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39698 installed.
39699
3d7ba52b
AS
39700 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39701 is disabled.
39702
bc8db248
ST
397032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39704
39705 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39706
45b96dd6
AS
397072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39708
647776f6
AS
39709 * include/alloca.h (stackinfo_alloca_round): Define.
39710 (extend_alloca): Use it.
39711 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39712 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39713 here.
39714
d91a8b93
AS
39715 * scripts/check-local-headers.sh: Ignore libaudit.h.
39716
45b96dd6
AS
39717 * nscd/Makefile (extra-objs): Make recursively expanded.
39718
432d41ce
UD
397192011-11-01 Ulrich Drepper <drepper@gmail.com>
39720
34372fc6
UD
39721 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39723
fadb59f8
UD
39724 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39725 * posix/tst-rfc3484-2.c: Likewise.
39726 * posix/tst-rfc3484-3.c: Likewise.
39727
78239589
UD
39728 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39729 process_vm_writev.
39730 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39731 process_vm_writev.
39732 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39733 process_vm_writev from libc using GLIBC_2.15 version.
39734
432d41ce
UD
39735 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39736
02f9c6cf
PP
397372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39738
39739 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39740 stack usage.
39741
3a2c0242
UD
397422011-10-31 Ulrich Drepper <drepper@gmail.com>
39743
f4ec4833
UD
39744 [BZ #13367]
39745 * nss/getent.c (initgroups_keys): Show error message in case no group
39746 names are given.
39747
3a2c0242
UD
39748 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39749 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39750 __bump_nl_timestamp.
39751 * nscd/connections (nscd_init): When host database is served open
39752 netlink socket and request notification about configuration changes.
39753 (main_loop_poll): Track netlink file descriptor and bump timestamp
39754 in case data becomes available.
39755 (main_loop_epoll): Likewise.
39756 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39757 (database_pers_head): Add extra_data fileds.
39758 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39760 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39761 Adjust caller.
39762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39763 in6ai data, call __free_in6ai.
39764 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39765 Add -DHAVE_NETLINK.
39766 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39767 interface information. Reuse previous data if netlink timestamp
39768 is not changed.
39769 (__bump_nl_timestamp): New function.
39770 (__free_in6ai): New function.
39771
636064eb
UD
397722011-10-30 Ulrich Drepper <drepper@gmail.com>
39773
39774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39775 close_not_cancel_no_status here.
39776 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39777
9beb2334
UD
397782011-10-29 Ulrich Drepper <drepper@gmail.com>
39779
6ef76f3b
UD
39780 [BZ #13276]
39781 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39782 return value.
39783
0ffc4f3e 39784 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39785 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39786 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39787
cb95113e
UD
397882011-07-03 Andreas Jaeger <aj@suse.de>
39789
39790 [BZ #10709]
39791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39792 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39793 * math/libm-test.inc (sin_test): Add test case.
39794
a1b560ff
UD
397952011-10-29 Ulrich Drepper <drepper@gmail.com>
39796
c9aaface
UD
39797 [BZ #13337]
39798 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39799 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39800
d272e7f1
UD
39801 * elf/chroot_canon.c (chroot_canon): Cleanups.
39802
1bc33071
UD
39803 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39804
1760874d
TJ
39805 [BZ #13335]
39806 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39807 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39808
51d91b18
UD
39809 * string/test-strchr.c: Make usable for strchrnul testing.
39810 * string/test-strchrnul.c: New file.
39811 * string/Makefile (strop-tests): Add strchrnul.
39812
a1b560ff 39813 * po/it.po: Update from translation team.
b611fb81 39814 * po/es.po: Likewise.
a1b560ff 39815
a5b81e1f
UD
398162011-10-28 Ulrich Drepper <drepper@gmail.com>
39817
fd52bc6d
UD
39818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39819 the three constants needed as parameters. Drop the others.
39820 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39821 __m128i_strloadu_tolower.
52e4b9eb
UD
39822 Create and initialize variable zero and use it in all the places
39823 where _mm_setzero_si128 was used.
fd52bc6d 39824
a5b81e1f
UD
39825 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39826 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39827 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39828 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39829 anymore.
39830 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39831 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39832 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39833 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39834 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39835 __mpranred, __mptan.
39836 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39837 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39838 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39839 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39840 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39841 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39843 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39844 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39845
b4343346
AS
398462011-10-28 Andreas Schwab <schwab@redhat.com>
39847
0c92d8a8
AS
39848 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39849 redefine if SHARED.
39850 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39851
b4343346
AS
39852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39853 wide char related routines to wcsmbs subdir.
39854
3871f58f
AS
398552011-10-27 Andreas Schwab <schwab@redhat.com>
39856
39857 [BZ #13344]
39858 * misc/sys/cdefs.h (__THROWNL): Define.
39859 * posix/unistd.h: Use __THREADNL instead of __THREAD
39860 for memory synchronization functions.
39861
94d44d9f
RM
398622011-10-26 Roland McGrath <roland@hack.frob.com>
39863
21b64b15 39864 [BZ #13349]
94d44d9f
RM
39865 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39866 doesn't exist.
39867 * manual/stdio.texi (Obstack Streams): Node removed.
39868
f6ce9294
AS
398692011-10-26 Andreas Schwab <schwab@redhat.com>
39870
80479147
AS
39871 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39872 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39873 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39874
f6ce9294
AS
39875 * math/math_private.h (math_force_eval): Allow non-addressable
39876 arguments.
39877 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39878
618280a1
UD
398792011-10-25 Ulrich Drepper <drepper@gmail.com>
39880
e0016b11
UD
39881 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39882 file is not needed.
39883
39884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39891 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39892 Add AVX variants.
39893 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39894 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39895 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39896 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39897 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39898 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39899 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39900 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39901 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39902 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39903 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39904 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39906 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39907 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39908 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39909 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39910 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39911 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39912
39913 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39914 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39915
618280a1
UD
39916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39917 place. Use VEX encoding when compiling for AVX.
39918
37822576
AS
399192011-10-25 Andreas Schwab <schwab@redhat.com>
39920
1f1e1947
AS
39921 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39922 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39923
37822576
AS
39924 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39925
31ea014d
UD
399262011-10-25 Ulrich Drepper <drepper@gmail.com>
39927
d7826aa1 39928 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39929 useless if() expression.
d7826aa1
UD
39930 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39936 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39940 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39941 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39942 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39943 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39944 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39945 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39948 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39949
31ea014d
UD
39950 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39951
16437fec
AS
399522011-10-25 Andreas Schwab <schwab@redhat.com>
39953
39954 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39955 condition.
39956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39957
31d3cc00
UD
399582011-10-25 Ulrich Drepper <drepper@gmail.com>
39959
39960 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39961 .text section. Avoid duplicate constants.
39962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39964 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39970 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39971 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39972 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39973 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39974 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39975 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39976 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39977 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39978 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39979 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39980 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39982 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39983 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39985 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39986 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39987 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39988 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39989 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39992 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39995 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39996 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39997 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39998 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39999 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40000 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40001 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40003 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40004 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40005 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40006 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40007
58985aa9
UD
400082011-10-24 Ulrich Drepper <drepper@gmail.com>
40009
202c9deb
UD
40010 * sysdeps/x86_64/dla.h: Move to ...
40011 * sysdeps/x86_64/fpu/dla.h: ...here.
40012 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40013 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40014
af968f62
UD
40015 * config.make.in: Add have-mfma4 entry.
40016 * configure.in: Substitute libc_cv_cc_fma4.
40017 * math/Makefile (dbl-only-routines): Add sincostab.
40018 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40019 Use __sincostab not sincos.
40020 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40021 name is a macro.
40022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40026 using __copysign.
40027 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40028 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40029 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40030 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40031 and __inv.
40032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40033 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40034 __copysign.
40035 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40036 define aliases when function name is a macro.
40037 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40038 sysdeps/ieee754/dbl-64/sincos.tbl.
40039 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40040 fma4-enabled routines.
40041 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40042 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40043 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40044 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40045 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40046 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40047 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40049 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40050 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40051 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40052 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40053 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40054 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40055 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40056 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40057 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40058 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40059 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40060 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40061 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40062 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40064 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40066 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40068 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40069 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40070 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40071
58985aa9
UD
40072 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40073 rename.
40074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40082
a201fbcf
AS
400832011-10-24 Andreas Schwab <schwab@redhat.com>
40084
40085 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40086
fc2ee42a
LD
400872011-10-23 Ulrich Drepper <drepper@gmail.com>
40088
bb3129bd
UD
40089 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40090
0275fff8
UD
40091 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40092 prediction.
40093 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40094
2fa2ae85
UD
40095 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40096 Remove unused variable magic_bits.
40097 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40098
fc2ee42a
LD
40099 * string/strnlen.c: Define and use STRNLEN macro.
40100 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40101 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40103 * wcsmbs/wcslen.c: Define and use WCSLEN.
40104 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40105 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40106 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40107 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40108 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40109 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40110 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40111
ce7dd29f
LD
401122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40113
40114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40115 strnlen-sse2-no-bsf.
40116 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40118 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40119 Add strnlen support.
40120 (USE_AS_STRNLEN): New macro.
40121 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40122 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40123 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40124 * sysdeps/x86_64/wcslen.S: New file.
40125
979c70a3
MZ
401262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40127
40128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40129 XMM-moves are used for copying on small sizes.
40130
2d09f82f
LD
401312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40132
40133 * wcsmbs/Makefile (strop-tests): Add wcschr.
40134 * wcsmbs/test-wcschr.c: New file.
40135 * string/test-strchr.c: Update.
40136 Add wcschr support.
40137 (WIDE): New macro.
40138
619fccca
LD
401392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40140
2d09f82f 40141 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40142 * wcsmbs/test-wcslen.c: New file.
40143 * string/test-strlen.c: Update.
40144 Add wcslen support.
40145 (WIDE): New macro.
40146
09f699ea
UD
401472011-10-23 Ulrich Drepper <drepper@gmail.com>
40148
40149 * po/it.po: Update from translation team.
40150
95584d3b
LD
401512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40152
40153 * sysdeps/x86_64/wcscmp.S: Update.
40154 Fix wrong comparison semantics.
40155 wcscmp shall use signed comparison not unsigned.
40156 Don't use substraction to avoid overflow bug.
40157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40158 * wcsmbc/wcscmp.c: Likewise.
40159 * string/test-strcmp.c: Likewise.
40160 Add new tests to check cases with negative values.
40161
c8b3296b
UD
401622011-10-23 Ulrich Drepper <drepper@gmail.com>
40163
40164 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40165 * sysdeps/x86_64/dla.h: ...here. New file.
40166 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40175
246ad57a
AS
401762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40177
40178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40179 __ynl_finite aliases.
40180
a1a87169
UD
401812011-10-22 Ulrich Drepper <drepper@gmail.com>
40182
0d355eb7
UD
40183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40184
a1a87169
UD
40185 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40186 define DLA_FMA.
40187 [DLA_FMA] (EMULV): Use DLA_FMA.
40188 [DLA_FMA] (MUL12): Use EMULV.
40189 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40190 that are not needed.
40191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40198
ee2aafe0
AS
401992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40200
40201 * math/s_nan.c: Undef __nan.
40202 * math/s_nanf.c: Undef __nanf.
40203 * math/s_nanl.c: Undef __nanl.
40204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40205 "math_private.h".
40206
bc62c2fb
UD
402072011-10-22 Ulrich Drepper <drepper@gmail.com>
40208
77425c63
UD
40209 * math/s_catan.c: Add branch predictions.
40210 * math/s_catanf.c: Likewise.
40211 * math/s_catanh.c: Likewise.
40212 * math/s_catanhf.c: Likewise.
40213 * math/s_catanhl.c: Likewise.
40214 * math/s_catanl.c: Likewise.
40215 * math/s_cexp.c: Likewise.
40216 * math/s_cexpf.c: Likewise.
40217 * math/s_cexpl.c: Likewise.
40218 * math/s_clog.c: Likewise.
40219 * math/s_clog10.c: Likewise.
40220 * math/s_clog10f.c: Likewise.
40221 * math/s_clog10l.c: Likewise.
40222 * math/s_clogf.c: Likewise.
40223 * math/s_clogl.c: Likewise.
40224 * math/s_csqrt.c: Likewise.
40225 * math/s_csqrtf.c: Likewise.
40226 * math/s_csqrtl.c: Likewise.
40227 * math/s_ctanf.c: Likewise.
40228 * math/s_ctanh.c: Likewise.
40229 * math/s_ctanhf.c: Likewise.
40230 * math/s_ctanhl.c: Likewise.
40231 * math/s_ctanl.c: Likewise.
40232
bc62c2fb
UD
40233 * math/math_private.h: Define __nan, __nanf, __nanl.
40234 * math/s_cacosh.c: Include <math_private.h>.
40235 * math/s_cacoshl.c: Likewise.
40236 * math/s_casinh.c: Likewise.
40237 * math/s_casinhf.c: Likewise.
40238 * math/s_casinhl.c: Likewise.
40239 * math/s_ccos.c: Rely entire on ccosh.
40240 * math/s_ccosf.c: Rely entire on ccoshf.
40241 * math/s_ccosl.c: Rely entirely on ccoshl.
40242 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40243 Remove tests for FE_INVALID.
40244 * math/s_ccoshf.c: Likewise.
40245 * math/s_ccoshl.c: Likewise.
40246 * math/s_csin.c: Likewise.
40247 * math/s_csinf.c: Likewise.
40248 * math/s_csinh.c Likewise.
40249 * math/s_csinhf.c: Likewise.
40250 * math/s_csinhl.c: Likewise.
40251 * math/s_csinl.c: Likewise.
40252 * math/s_ctan.c: Likewise.
40253 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40254 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40255 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40256
8ec250a4
UD
402572011-10-21 Ulrich Drepper <drepper@gmail.com>
40258
c196fed8
UD
40259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40260 compilation problems.
40261
8ec250a4
UD
40262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40263 __builtin_expect.
40264
8d4f46c6
UD
402652011-10-20 Ulrich Drepper <drepper@gmail.com>
40266
ed72b654
UD
40267 * sysdeps/i386/configure.in: Test for -mfma4 option.
40268 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40269 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40270 COMMON_CPUID_INDEX_80000001.
40271 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40272 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40273 use it if FMA3 is not supported.
40274 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40275
8d4f46c6
UD
40276 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40278
d45c60c2
AS
402792011-10-20 Andreas Schwab <schwab@redhat.com>
40280
40281 [BZ #12892]
40282 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40283 it would create a cycle with a link time dependency.
40284
d9a4d2ab
UD
402852011-10-19 Ulrich Drepper <drepper@gmail.com>
40286
855d1560
UD
40287 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40288 instruction.
40289 * string/Makefile (strop-tests): Add rawmemchr.
40290 * string/test-rawmemchr.c: New file.
40291
d9a4d2ab
UD
40292 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40294 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40295 when compiling str{,n}casecmp and when AVX is available. Hook up
40296 new optimized code in initializers.
40297
8f3b1ffe
AS
402982011-10-19 Andreas Schwab <schwab@redhat.com>
40299
40300 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40301 __feraiseexcept instead of feraiseexcept.
40302
d38f1dba
UD
403032011-10-18 Ulrich Drepper <drepper@gmail.com>
40304
d9a8d0ab
UD
40305 * math/math_private.h: Define defaults for libc_fetestexcept and
40306 libc_feupdateenv.
40307 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40308 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40309 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40310 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40311 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40312 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40313 libc_fetestexcept and libc_feupdateenv.
40314
4855e3dd
UD
40315 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40316 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40317 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40318 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40319 libc_feholdexcept_setround.
40320
581d30e3
UD
40321 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40322 Add s_nearbyint-c and s_nearbyintf-c.
40323 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40324 nearbyintf inlines.
40325 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40326 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40327 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40328 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40329
d38f1dba
UD
40330 * math/math_private.h: Define defaults for libc_fegetround,
40331 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40332 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40333 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40334 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40335 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40336 standard functions.
40337 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40338 Remove comments and hacks for old compiler versions.
40339 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40340 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40341 libc_feholdexceptl.
40342
caa6c9d8
AS
403432011-10-18 Andreas Schwab <schwab@redhat.com>
40344
40345 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40346 (__feraiseexcept_renamed): Add __NTH.
40347 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40348 namespace violations.
40349
97c066e6
UD
403502011-10-17 Ulrich Drepper <drepper@gmail.com>
40351
99ce7b04
UD
40352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40353
1004d182
UD
40354 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40355
228a984d
UD
40356 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40357 recently added interfaces.
40358 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40359
c8553a6a
UD
40360 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40361 about macro parameter expansion.
40362
ed22dcf6
UD
40363 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40364 __NO_MATH_INLINES is defined. Cleanups.
40365
40366 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40367 and __floorf is target has SSE4.1.
40368 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40369 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40370 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40371 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40372
b171c137
UD
40373 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40374 name.
40375 (floorf): Likewise.
40376
97c066e6
UD
40377 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40378
629f62ef
AS
403792011-10-17 Andreas Schwab <schwab@redhat.com>
40380
49a43d80
AS
40381 * misc/sys/cdefs.h: Fix last change.
40382
629f62ef
AS
40383 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40384 database lookup.
40385
e453f6cd
UD
403862011-10-16 Ulrich Drepper <drepper@gmail.com>
40387
aa78043a
UD
40388 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40389
ad0f5cad
UD
40390 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40396 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40398 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40399 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40400 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40401 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40402 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40403 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40404 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40405 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40406 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40407 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40408 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40409 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40410 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40411 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40412
40413 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40414 ceil, ceilf, floor, floorf.
40415
40416 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40417 Perform IRELATIVE relocations last.
40418
e453f6cd
UD
40419 * elf/do-rel.h: Add another parameter nrelative, replacing the
40420 local variable with the same name. Change name of the function
40421 to end in Rel or Rela (uppercase).
40422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40423 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40424 elf_dynamic_do_##reloc function.
40425
fd5bdc09
UD
404262011-10-15 Ulrich Drepper <drepper@gmail.com>
40427
79b195b5
UD
40428 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40429 is sufficient, at least on modern CPUs.
40430
d4a28569
UD
40431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40432
b61099b5
UD
40433 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40434 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40435
bcf01e6d
UD
40436 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40437 __expl_finite.
40438 * math/bits/math-finite.h: Add entries for exp.
40439 * math/e_expl.c: Add __*_finite alias.
40440 * sysdeps/i386/fpu/e_exp.S: Likewise.
40441 * sysdeps/i386/fpu/e_expf.S: Likewise.
40442 * sysdeps/i386/fpu/e_expl.c: Likewise.
40443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40444 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40445 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40447 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40448 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40449 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40450
ba1a0d59
UD
40451 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40452 is sufficient, at least on modern CPUs.
40453
fd5bdc09
UD
40454 * ctype/ctype-info.c (__ctype_init): Define.
40455 * include/ctype.h (__ctype_init): Declare.
40456 (__ctype_b_loc): The variable is always initialized.
40457 (__ctype_toupper_loc): Likewise.
40458 (__ctype_tolower_loc): Likewise.
40459 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40460 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40461
7872cfb0
AS
404622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40463
b468825a
AS
40464 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40465
7872cfb0
AS
40466 * configure.in: Also look in $cxxmachine/include for C++ system
40467 headers.
40468
be13f7bf
LD
404692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40470
40471 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40472 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40473 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40474 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40476 (USE_AS_WMEMCMP): New macro.
40477 Fixing indents.
40478 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40479 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40480 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40481 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40483 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40484 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40485 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40486 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40487 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40488 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40489 (USE_AS_WMEMCMP): New macro.
40490 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40491 * sysdeps/string/test-memcmp.c: Update.
40492 Fix simple_wmemcmp.
40493 Add new tests.
40494 * wcsmbs/wmemcmp.c: Update.
40495 (WMEMCMP): New macro.
40496 Fix overflow bug.
40497
556a2007
AJ
404982011-10-12 Andreas Jaeger <aj@suse.de>
40499
40500 [BZ #13268]
40501 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40502
538faaa7
UD
405032011-10-15 Ulrich Drepper <drepper@gmail.com>
40504
ab6737ff
UD
40505 * libio/iofwide.c (do_length): Avoid warning.
40506
538faaa7
UD
40507 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40508
396a21b1
UD
405092011-10-14 Ulrich Drepper <drepper@gmail.com>
40510
cdf2901f
UD
40511 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40512
38ad40ce
UD
40513 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40514 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40515 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40516 * sysdeps/i386/i686/fpu/e_log.S: New file.
40517 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40518 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40519
396a21b1
UD
40520 * ctype/ctype.h: Add support for inlined isXXX functions when
40521 compiling C++ code.
40522
6b1f68c9
AS
405232011-10-14 Andreas Schwab <schwab@redhat.com>
40524
349290c0
AS
40525 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40526
6b1f68c9
AS
40527 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40528
f2282d42
RM
405292011-10-13 Roland McGrath <roland@hack.frob.com>
40530
40531 [BZ #13291]
40532 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40533
5298ffa8
AS
405342011-10-13 Andreas Schwab <schwab@redhat.com>
40535
714fad23
AS
40536 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40537 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40538 feraiseexcept.
40539
81dcc7fb
AS
40540 * sysdeps/x86_64/memrchr.S: Check for zero size.
40541
5298ffa8
AS
40542 * string/stratcliff.c: Add memrchr tests.
40543
951fbcec
LD
405442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40545
40546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40547 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40548 rawmemchr-sse2 rawmemchr-sse2-bsf.
40549 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40550 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40551 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40552 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40553 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40554 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40555 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40556 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40557 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40558 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40559 * string/memrchr.c (MEMRCHR): New macro.
40560
0ac5ae23
UD
405612011-10-12 Ulrich Drepper <drepper@gmail.com>
40562
40563 Add integration with gcc's -ffinite-math-only and optimize wrapper
40564 functions in libm.
40565 * Versions.def: Define GLIBC_2.15 version for libm.
40566 * math/Makefile (headers): Add bits/math-finite.h.
40567 * math/bits/math-finite.h: New file.
40568 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40569 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40570 * math/e_acoshl.c: Add __*_finite alias.
40571 * math/e_acosl.c: Likewise.
40572 * math/e_asinl.c: Likewise.
40573 * math/e_atan2l.c: Likewise.
40574 * math/e_atanhl.c: Likewise.
40575 * math/e_coshl.c: Likewise.
40576 * math/e_exp10.c: Likewise.
40577 * math/e_exp10f.c: Likewise.
40578 * math/e_exp10l.c: Likewise.
40579 * math/e_exp2l.c: Likewise.
40580 * math/e_fmodl.c: Likewise.
40581 * math/e_gammal_r.c: Likewise.
40582 * math/e_hypotl.c: Likewise.
40583 * math/e_j0l.c: Likewise.
40584 * math/e_j1l.c: Likewise.
40585 * math/e_jnl.c: Likewise.
40586 * math/e_lgammal_r.c: Likewise.
40587 * math/e_log10l.c: Likewise.
40588 * math/e_log2l.c: Likewise.
40589 * math/e_logl.c: Likewise.
40590 * math/e_powl.c: Likewise.
40591 * math/e_sinhl.c: Likewise.
40592 * math/e_sqrtl.c: Likewise.
40593 * math/e_scalb.c: Completely rewritten and optimized.
40594 * math/e_scalbf.c: Likewise.
40595 * math/e_scalbl.c: Likewise.
40596 * math/w_acos.c: Likewise.
40597 * math/w_acosf.c: Likewise.
40598 * math/w_acosl.c: Likewise.
40599 * math/w_acosh.c: Likewise.
40600 * math/w_acoshf.c: Likewise.
40601 * math/w_acoshl.c: Likewise.
40602 * math/w_asin.c: Likewise.
40603 * math/w_asinf.c: Likewise.
40604 * math/w_asinl.c: Likewise.
40605 * math/w_atan2.c: Likewise.
40606 * math/w_atan2f.c: Likewise.
40607 * math/w_atan2l.c: Likewise.
40608 * math/w_atanh.c: Likewise.
40609 * math/w_atanhf.c: Likewise.
40610 * math/w_atanhl.c: Likewise.
40611 * math/w_exp10.c: Likewise.
40612 * math/w_exp10f.c: Likewise.
40613 * math/w_exp10l.c: Likewise.
40614 * math/w_fmod.c: Likewise.
40615 * math/w_fmodf.c: Likewise.
40616 * math/w_fmodl.c: Likewise.
40617 * math/w_j0.c: Likewise.
40618 * math/w_j0f.c: Likewise.
40619 * math/w_j0l.c: Likewise.
40620 * math/w_j1.c: Likewise.
40621 * math/w_j1f.c: Likewise.
40622 * math/w_j1l.c: Likewise.
40623 * math/w_jn.c: Likewise.
40624 * math/w_jnf.c: Likewise.
40625 * math/w_log.c: Likewise.
40626 * math/w_logf.c: Likewise.
40627 * math/w_logl.c: Likewise.
40628 * math/w_log10.c: Likewise.
40629 * math/w_log10f.c: Likewise.
40630 * math/w_log10l.c: Likewise.
40631 * math/w_log2.c: Likewise.
40632 * math/w_log2f.c: Likewise.
40633 * math/w_log2l.c: Likewise.
40634 * math/w_pow.c: Likewise.
40635 * math/w_powf.c: Likewise.
40636 * math/w_powl.c: Likewise.
40637 * math/w_remainder.c: Likewise.
40638 * math/w_remainderf.c: Likewise.
40639 * math/w_remainderl.c: Likewise.
40640 * math/w_scalb.c: Likewise.
40641 * math/w_scalbf.c: Likewise.
40642 * math/w_scalbl.c: Likewise.
40643 * math/w_sqrt.c: Likewise.
40644 * math/w_sqrtf.c: Likewise.
40645 * math/w_sqrtl.c: Likewise.
40646 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40647 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40648 used.
40649 * math/math_private.h: Declare __kernel_standard_f.
40650 * math/w_cosh.c: Remove cruft and optimize a bit.
40651 * math/w_coshf.c: Likewise.
40652 * math/w_coshl.c: Likewise.
40653 * math/w_exp2.c: Likewise.
40654 * math/w_exp2f.c: Likewise.
40655 * math/w_exp2l.c: Likewise.
40656 * math/w_hypot.c: Likewise.
40657 * math/w_hypotf.c: Likewise.
40658 * math/w_hypotl.c: Likewise.
40659 * math/w_lgamma.c: Likewise.
40660 * math/w_lgamma_r.c: Likewise.
40661 * math/w_lgammaf.c: Likewise.
40662 * math/w_lgammaf_r.c: Likewise.
40663 * math/w_lgammal.c: Likewise.
40664 * math/w_lgammal_r.c: Likewise.
40665 * math/w_sinh.c: Likewise.
40666 * math/w_sinhf.c: Likewise.
40667 * math/w_sinhl.c: Likewise.
40668 * math/w_tgamma.c: Likewise.
40669 * math/w_tgammaf.c: Likewise.
40670 * math/w_tgammal.c: Likewise.
40671 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40673 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40674 Minor optimizations. Pretty printing. Remove cruft.
40675 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40676 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40677 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40678 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40679 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40680 * sysdeps/i386/fpu/e_asin.S: Likewise.
40681 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40682 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40683 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40684 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40688 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40689 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40690 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40691 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40692 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40693 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40694 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40695 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40696 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40697 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40698 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40699 * sysdeps/i386/fpu/e_log.S: Likewise.
40700 * sysdeps/i386/fpu/e_log10.S: Likewise.
40701 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40703 * sysdeps/i386/fpu/e_log2.S: Likewise.
40704 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40706 * sysdeps/i386/fpu/e_logf.S: Likewise.
40707 * sysdeps/i386/fpu/e_logl.S: Likewise.
40708 * sysdeps/i386/fpu/e_pow.S: Likewise.
40709 * sysdeps/i386/fpu/e_powf.S: Likewise.
40710 * sysdeps/i386/fpu/e_powl.S: Likewise.
40711 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40712 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40713 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40714 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40715 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40716 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40717 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40718 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40719 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40720 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40721 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40723 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40724 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40725 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40726 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40727 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40729 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40730 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40731 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40733 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40734 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40736 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40737 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40741 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40742 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40743 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40744 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40745 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40747 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40748 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40749 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40750 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40751 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40752 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40753 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40754 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40755 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40756 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40757 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40758 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40759 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40760 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40761 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40805 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40806 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40807 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40808 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40809 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40813 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40815 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40816 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40817 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40818 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40819 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40820 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40821 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40822 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40823 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40824 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40825 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40828 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40829 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40830 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40831 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40832 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40833 (__isnanf): Likewise.
40834 (__isinf_ns): Likewise.
40835 (__isinf_nsf): Likewise.
40836 (__finite): Likewise.
40837 (__finitef): Likewise.
40838 (__ieee754_sqrt): Define as macro.
40839 (__ieee754_sqrtf): Define as macro.
40840 (__ieee754_sqrtl): Define as macro.
40841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40842 inlined copy.
40843 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40844 __FINITE_MATH_ONLY__ consistent.
40845 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40846
12cc2fcd
AS
408472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40848
a843a204
AS
40849 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40850 of rawmemchr.
40851
12cc2fcd
AS
40852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40853
c853acd5
UD
408542011-10-09 Ulrich Drepper <drepper@gmail.com>
40855
40856 * po/ja.po: Update from translation team.
40857
c658d255
RM
408582011-10-08 Roland McGrath <roland@hack.frob.com>
40859
110946e4
RM
40860 * locale/programs/locarchive.c (prepare_address_space): New function.
40861 (create_archive, enlarge_archive, open_archive): Use it.
40862
50604220
RM
40863 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40864 inside [SHARED], where it is used.
40865
c658d255
RM
40866 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40867
40868 * nss/getent.c (netgroup_keys): Remove unused variable.
40869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40870
6a621eb7
UD
408712011-10-08 Ulrich Drepper <drepper@gmail.com>
40872
7edb55ce
UD
40873 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40874 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40876 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40877 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40878 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40879 * math/Makefile (libm-calls): Add s_isinf_ns.
40880 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40881 * math/multc3.c: Likewise.
40882 * math/s_casin.c: Likewise.
40883 * math/s_casinf.c: Likewise.
40884 * math/s_casinl.c: Likewise.
40885 * math/s_ccos.c: Likewise.
40886 * math/s_ccosf.c: Likewise.
40887 * math/s_ccosl.c: Likewise.
40888 * math/s_ctan.c: Likewise.
40889 * math/s_ctanf.c: Likewise.
40890 * math/s_ctanh.c: Likewise.
40891 * math/s_ctanhf.c: Likewise.
40892 * math/s_ctanhl.c: Likewise.
40893 * math/s_ctanl.c: Likewise.
40894 * math/w_fmod.c: Likewise.
40895 * math/w_fmodf.c: Likewise.
40896 * math/w_fmodl.c: Likewise.
40897 * math/w_remainder.c: Likewise.
40898 * math/w_remainderf.c: Likewise.
40899 * math/w_remainderl.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40901 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40902 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40904 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40905 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40906 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40907 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40908
187da0ae
UD
40909 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40910 of the number.
40911 * stdio-common/printf_fphex.c: Likewise.
40912 * stdio-common/printf_size.c: Likewise.
40913
9277c064
UD
40914 * math/e_exp10.c: Include math_private.h using <...> not "...".
40915 * math/e_exp10f.c: Likewise.
40916 * math/e_exp10l.c: Likewise.
40917 * math/e_exp2l.c: Likewise.
40918 * math/e_j0l.c: Likewise.
40919 * math/e_j1l.c: Likewise.
40920 * math/e_jnl.c: Likewise.
40921 * math/e_lgammal_r.c: Likewise.
40922 * math/e_rem_pio2l.c: Likewise.
40923 * math/e_scalb.c: Likewise.
40924 * math/e_scalbf.c: Likewise.
40925 * math/e_scalbl.c: Likewise.
40926 * math/k_cosl.c: Likewise.
40927 * math/k_sinl.c: Likewise.
40928 * math/k_tanl.c: Likewise.
40929 * math/s_cacoshf.c: Likewise.
40930 * math/s_catan.c: Likewise.
40931 * math/s_catanf.c: Likewise.
40932 * math/s_catanh.c: Likewise.
40933 * math/s_catanhf.c: Likewise.
40934 * math/s_catanhl.c: Likewise.
40935 * math/s_catanl.c: Likewise.
40936 * math/s_ccosh.c: Likewise.
40937 * math/s_ccoshf.c: Likewise.
40938 * math/s_ccoshl.c: Likewise.
40939 * math/s_cexp.c: Likewise.
40940 * math/s_cexpf.c: Likewise.
40941 * math/s_cexpl.c: Likewise.
40942 * math/s_clog.c: Likewise.
40943 * math/s_clog10.c: Likewise.
40944 * math/s_clog10f.c: Likewise.
40945 * math/s_clog10l.c: Likewise.
40946 * math/s_clogf.c: Likewise.
40947 * math/s_clogl.c: Likewise.
40948 * math/s_csin.c: Likewise.
40949 * math/s_csinf.c: Likewise.
40950 * math/s_csinh.c: Likewise.
40951 * math/s_csinhf.c: Likewise.
40952 * math/s_csinhl.c: Likewise.
40953 * math/s_csinl.c: Likewise.
40954 * math/s_csqrt.c: Likewise.
40955 * math/s_csqrtf.c: Likewise.
40956 * math/s_csqrtl.c: Likewise.
40957 * math/s_ctan.c: Likewise.
40958 * math/s_ctanf.c: Likewise.
40959 * math/s_ctanh.c: Likewise.
40960 * math/s_ctanhf.c: Likewise.
40961 * math/s_ctanhl.c: Likewise.
40962 * math/s_ctanl.c: Likewise.
40963 * math/s_ldexp.c: Likewise.
40964 * math/s_ldexpf.c: Likewise.
40965 * math/s_ldexpl.c: Likewise.
40966 * math/s_significand.c: Likewise.
40967 * math/s_significandf.c: Likewise.
40968 * math/s_significandl.c: Likewise.
40969 * math/w_acos.c: Likewise.
40970 * math/w_acosf.c: Likewise.
40971 * math/w_acosh.c: Likewise.
40972 * math/w_acoshf.c: Likewise.
40973 * math/w_acoshl.c: Likewise.
40974 * math/w_acosl.c: Likewise.
40975 * math/w_asin.c: Likewise.
40976 * math/w_asinf.c: Likewise.
40977 * math/w_asinl.c: Likewise.
40978 * math/w_atan2.c: Likewise.
40979 * math/w_atan2f.c: Likewise.
40980 * math/w_atan2l.c: Likewise.
40981 * math/w_atanh.c: Likewise.
40982 * math/w_atanhf.c: Likewise.
40983 * math/w_atanhl.c: Likewise.
40984 * math/w_cosh.c: Likewise.
40985 * math/w_coshf.c: Likewise.
40986 * math/w_coshl.c: Likewise.
40987 * math/w_dremf.c: Likewise.
40988 * math/w_exp10.c: Likewise.
40989 * math/w_exp10f.c: Likewise.
40990 * math/w_exp10l.c: Likewise.
40991 * math/w_exp2.c: Likewise.
40992 * math/w_exp2f.c: Likewise.
40993 * math/w_fmod.c: Likewise.
40994 * math/w_fmodf.c: Likewise.
40995 * math/w_fmodl.c: Likewise.
40996 * math/w_hypot.c: Likewise.
40997 * math/w_hypotf.c: Likewise.
40998 * math/w_hypotl.c: Likewise.
40999 * math/w_j0.c: Likewise.
41000 * math/w_j0f.c: Likewise.
41001 * math/w_j0l.c: Likewise.
41002 * math/w_j1.c: Likewise.
41003 * math/w_j1f.c: Likewise.
41004 * math/w_j1l.c: Likewise.
41005 * math/w_jn.c: Likewise.
41006 * math/w_jnf.c: Likewise.
41007 * math/w_jnl.c: Likewise.
41008 * math/w_lgamma.c: Likewise.
41009 * math/w_lgamma_r.c: Likewise.
41010 * math/w_lgammaf.c: Likewise.
41011 * math/w_lgammaf_r.c: Likewise.
41012 * math/w_lgammal.c: Likewise.
41013 * math/w_lgammal_r.c: Likewise.
41014 * math/w_log.c: Likewise.
41015 * math/w_log10.c: Likewise.
41016 * math/w_log10f.c: Likewise.
41017 * math/w_log10l.c: Likewise.
41018 * math/w_log2.c: Likewise.
41019 * math/w_log2f.c: Likewise.
41020 * math/w_log2l.c: Likewise.
41021 * math/w_logf.c: Likewise.
41022 * math/w_logl.c: Likewise.
41023 * math/w_pow.c: Likewise.
41024 * math/w_powf.c: Likewise.
41025 * math/w_powl.c: Likewise.
41026 * math/w_remainder.c: Likewise.
41027 * math/w_remainderf.c: Likewise.
41028 * math/w_remainderl.c: Likewise.
41029 * math/w_scalb.c: Likewise.
41030 * math/w_scalbf.c: Likewise.
41031 * math/w_scalbl.c: Likewise.
41032 * math/w_sinh.c: Likewise.
41033 * math/w_sinhf.c: Likewise.
41034 * math/w_sinhl.c: Likewise.
41035 * math/w_sqrt.c: Likewise.
41036 * math/w_sqrtf.c: Likewise.
41037 * math/w_sqrtl.c: Likewise.
41038 * math/w_tgamma.c: Likewise.
41039 * math/w_tgammaf.c: Likewise.
41040 * math/w_tgammal.c: Likewise.
41041
6a621eb7
UD
41042 * po/ja.po: Update from translation team.
41043
bf582445
AJ
410442011-09-29 Andreas Jaeger <aj@suse.de>
41045
f9efbf3a
AJ
41046 [BZ #13179]
41047 * sunrpc/netname.c (netname2host): Fix logic.
41048
bf582445
AJ
41049 [BZ #6779]
41050 [BZ #6783]
41051 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41052 correctly.
41053 * math/w_remainder.c (__remainder): Likewise.
41054 * math/w_remainderf.c (__remainderf): Likewise.
41055 * math/libm-test.inc (remainder_test): Add test cases.
41056
48693bea
AK
410572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41058
41059 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41060 sdiv_qrnnd.
41061
42622229
LD
410622011-10-07 Ulrich Drepper <drepper@gmail.com>
41063
41064 * string/test-memcmp.c: Avoid unncessary #defines.
41065 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41066
093ecf92
LD
410672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41068
41069 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41070 Use new sse2 version for core i3 - i7 as it's faster
41071 than sse42 version.
41072 (bit_Prefer_PMINUB_for_stringop): New.
41073 * sysdeps/x86_64/rawmemchr.S: Update.
41074 Replace with faster SSE2 version.
41075 * sysdeps/x86_64/memrchr.S: New file.
41076 * sysdeps/x86_64/memchr.S: Update.
41077 Replace with faster SSE2 version.
41078
fde56e5c
MP
410792011-09-12 Marek Polacek <mpolacek@redhat.com>
41080
41081 * elf/dl-load.c (lose): Add cast to avoid warning.
41082
21fd49a9
UD
410832011-10-07 Ulrich Drepper <drepper@gmail.com>
41084
5a06e643
UD
41085 * po/ca.po: Update from translation team.
41086
684ae515
UD
41087 * inet/getnetgrent_r.c: Hook up nscd.
41088 * nscd/Makefile (routines): Add nscd_netgroup.
41089 (nscd-modules): Add netgroupcache.
41090 (CFLAGS-netgroupcache.c): Define.
41091 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41092 (cache_search): Add const to second parameter.
41093 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41094 INNETGR.
41095 (dbs): Add netgrdb entry.
41096 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41097 (verify_persistent_db): Handle netgrdb.
41098 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41099 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41100 GETFDNETGR.
41101 (netgroup_response_header): Define.
41102 (innetgroup_response_header): Define.
41103 (datahead): Add netgroup_response_header and innetgroup_response_header
41104 elements.
41105 * nscd/nscd.conf: Add entries for netgroup cache.
41106 * nscd/nscd.h (dbtype): Add netgrdb.
41107 (_PATH_NSCD_NETGROUP_DB): Define.
41108 (netgroup_iov_disabled): Declare.
41109 (xmalloc, xcalloc, xrealloc): Move declarations here.
41110 (cache_search): Adjust prototype.
41111 Add netgroup-related prototypes.
41112 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41113 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41114 (__nscd_innetgr): Declare.
41115 * nscd/selinux.c (perms): Use access_vector_t as element type and
41116 add netgroup-related initializers.
41117 * nscd/netgroupcache.c: New file.
41118 * nscd/nscd_netgroup.c: New file.
41119 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41120 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41121 For four parameters use innetgr.
41122 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41123 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41124 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41125 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41126
21fd49a9
UD
41127 * nscd/connections.c (register_traced_file): Don't register file
41128 for disabled databases.
41129
054c0457
UD
411302011-10-06 Ulrich Drepper <drepper@gmail.com>
41131
32b63198
UD
41132 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41133
054c0457
UD
41134 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41135 from tree and freeing node.
41136
64031225
JO
411372011-09-25 Jiri Olsa <jolsa@redhat.com>
41138
41139 * nss/nsswitch.c (__nss_database_lookup): Handle
41140 nss_parse_service_list out of memory case.
41141
0490345c
JO
411422011-09-15 Jiri Olsa <jolsa@redhat.com>
41143
41144 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41145 out of memory case.
41146
3a62d00d
AS
411472011-10-04 Andreas Schwab <schwab@redhat.com>
41148
41149 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41150 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41151 pass it down.
41152 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41153 elf_machine_rela, elf_machine_lazy_rel.
41154 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41155 (ELF_DYNAMIC_DO_REL): Likewise.
41156 (ELF_DYNAMIC_DO_RELA): Likewise.
41157 (ELF_DYNAMIC_RELOCATE): Likewise.
41158 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41159 to ELF_DYNAMIC_DO_REL.
41160 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41161 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41162 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41163 elf_machine_rela.
41164 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41165 skip_ifunc, don't call ifunc function if non-zero.
41166 (elf_machine_rela): Likewise.
41167 (elf_machine_lazy_rel): Likewise.
41168 (elf_machine_lazy_rela): Likewise.
41169 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41170 (elf_machine_lazy_rel): Likewise.
41171 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41172 Likewise.
41173 (elf_machine_lazy_rel): Likewise.
41174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41175 Likewise.
41176 (elf_machine_lazy_rel): Likewise.
41177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41178 (elf_machine_lazy_rel): Likewise.
41179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41180 (elf_machine_lazy_rel): Likewise.
41181 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41182 (elf_machine_lazy_rel): Likewise.
41183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41184 (elf_machine_lazy_rel): Likewise.
41185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41186 (elf_machine_lazy_rel): Likewise.
41187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41188 (elf_machine_lazy_rel): Likewise.
41189
68577918
UD
411902011-09-28 Ulrich Drepper <drepper@gmail.com>
41191
41192 * nss/nss_files/files-init.c (_nss_files_init): Use static
41193 initialization for all the *_traced_file variables.
41194
68822d74
AS
411952011-09-28 Andreas Schwab <schwab@redhat.com>
41196
41197 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41198
2056100b
RM
411992011-09-27 Roland McGrath <roland@hack.frob.com>
41200
41201 [BZ #13226]
41202 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41203
32c76b63
AS
412042011-09-27 Andreas Schwab <schwab@redhat.com>
41205
41206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41207 Reread the line before reparsing it.
41208
bf972c9d
AS
412092011-09-26 Andreas Schwab <schwab@redhat.com>
41210
41211 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41212
e057a1b5
JM
412132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41214 Maxim Kuvyrkov <maxim@codesourcery.com>
41215 Joseph Myers <joseph@codesourcery.com>
41216
41217 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41218 if needed for __stack_chk_guard.
41219
bc7e1c36
RM
412202011-09-19 Roland McGrath <roland@hack.frob.com>
41221
ecb1482f
RM
41222 * sysdeps/posix/spawni.c (script_execute): Always define it.
41223 It will be optimized away if unused.
41224 (maybe_script_execute): New function.
41225 (__spawni): Call it.
41226
bc7e1c36
RM
41227 * Makerules: Don't include tls.make.
41228 (config-tls): Always set to thread.
41229 * tls.make.c: File removed.
41230
1c3b002b
MF
412312011-09-19 Mike Frysinger <vapier@gentoo.org>
41232
41233 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41234 * config.make.in (CPPFLAGS-config): New substituted variable.
41235
2840865d
UD
412362011-09-15 Ulrich Drepper <drepper@gmail.com>
41237
88738eb6
UD
41238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41239
cbf645a6 41240 [BZ #13192]
2840865d
UD
41241 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41242 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41243
b402e91a
RM
412442011-09-15 Roland McGrath <roland@hack.frob.com>
41245
41246 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41247 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41249 (CALL_FAIL): Likewise.
41250 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41251 (CALL_FAIL): Macro removed.
41252 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41253
4c1a1f71
UD
412542011-09-15 Ulrich Drepper <drepper@gmail.com>
41255
41256 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41257 for __FINITE_MATH_ONLY__ == 1.
41258
edc121be
AS
412592011-09-15 Andreas Schwab <schwab@redhat.com>
41260
41261 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41262 __ieee754_sqrt instead of sqrt.
41263 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41264 __ieee754_sqrtf instead of sqrtf.
41265 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41266 __floorf instead of floorf.
41267 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41268 __floorf, __truncf instead of floorf, truncf.
41269
cd205654
UD
412702011-09-14 Ulrich Drepper <drepper@gmail.com>
41271
ee4d0315
UD
41272 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41273
cd205654
UD
41274 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41275 __extern_always_inline.
41276 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41277 32-bit.
41278
48b67d71
AS
412792011-09-14 Andreas Schwab <schwab@redhat.com>
41280
41281 * elf/rtld.c (dl_main): Also relocate in dependency order when
41282 doing symbol dependency testing.
41283
1ae12c75
AS
412842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41285
41286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41287 Always define `refsym'.
41288
995a80df
AS
412892011-09-13 Andreas Schwab <schwab@redhat.com>
41290
e529793b
AS
41291 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41292 (__FD_ELT): Renamed from __FDELT.
41293 * misc/bits/select2.h (__FD_ELT): Likewise.
41294 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41295 __FD_MASK instead of __FDELT, __FDMASK.
41296 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41297 Likewise.
41298 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41299 Likewise.
41300
52d4fef8
AS
41301 * elf/Makefile (gen-ldd): Fix pattern.
41302
995a80df
AS
41303 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41304 (init_tls): Likewise.
41305
8682f8b0
UD
413062011-09-12 Ulrich Drepper <drepper@gmail.com>
41307
41308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41309
de82006d
AS
413102011-09-12 Andreas Schwab <schwab@redhat.com>
41311
a7c8e6a1
AS
41312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41313 `struct cmsghdr *' instead of `void *'.
41314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41315 Likewise.
41316
0f31fe77
AS
413172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41318
41319 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41320 if non-absolute.
41321 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41322 ldd_rewrite_script.
0f31fe77 41323
32b4c839
UD
413242011-09-11 Ulrich Drepper <drepper@gmail.com>
41325
83cd1420
UD
41326 * configure.in: Remove --with-tls option.
41327 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41328 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41329 out in case it is missing.
41330 * sysdeps/ia64/elf/configure.in: Likewise.
41331 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41332 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41333 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41334 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41335 * sysdeps/sh/elf/configure.in: Likewise.
41336 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41337 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41338 * sysdeps/x86_64/elf/configure.in: Likewise.
41339 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41340 * sysdeps/mach/hurd/tls.h: Likewise.
41341
633f745d
UD
41342 [BZ #13067]
41343 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41344
f318beb8
UD
41345 [BZ #13090]
41346 * configure.in: Fix use of AC_INIT.
41347
32b4c839
UD
41348 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41349
3ce1f295
UD
413502011-09-10 Ulrich Drepper <drepper@gmail.com>
41351
bb016596
UD
41352 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41353 __set_errno.
8e58439c
UD
41354 * malloc/hooks.c: Likewise.
41355
aebae053 41356 [BZ #11929]
02d46fc4
UD
41357 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41358 variables statically.
41359 (narenas): Initialize.
41360 (list_lock): Initialize.
bb016596
UD
41361 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41362 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41363 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41364 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41365 Add initializers to main_arena and mp_.
41366 (malloc_state): Remove pagesize member. Change all users to use
41367 GLRO(dl_pagesize).
41368
41369 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41370 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41371 is always initialized.
41372
22a89187
UD
41373 * malloc/malloc.c: Removed unused configurations and dead code.
41374 * malloc/arena.c: Likewise.
41375 * malloc/hooks.c: Likewise.
02d46fc4 41376 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41377
d063d164
UD
41378 * include/tls.h: Removed. USE___THREAD must always be defined.
41379 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41380 * elf/dl-libc.c: Likewise.
41381 * elf/dl-tsd.c: Likewise.
41382 * include/errno.h: Likewise.
41383 * include/netdb.h: Likewise.
41384 * include/resolv.h: Likewise.
41385 * inet/herrno-loc.c: Likewise.
41386 * inet/herrno.c: Likewise.
41387 * malloc/arena.c: Likewise.
41388 * malloc/hooks.c: Likewise.
41389 * malloc/malloc.c: Likewise.
41390 * resolv/res-state.c: Likewise.
41391 * resolv/res_libc.c: Likewise.
41392 * sysdeps/i386/dl-machine.h: Likewise.
41393 * sysdeps/ia64/dl-machine.h: Likewise.
41394 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41395 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41396 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41397 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41398 * sysdeps/sh/dl-machine.h: Likewise.
41399 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41400 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41401 * sysdeps/unix/i386/sysdep.S: Likewise.
41402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41403 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41408 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41412 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41413 * sysdeps/x86_64/dl-machine.h: Likewise.
41414 * tls.make.c: Likewise.
41415
3ce1f295
UD
41416 * configure.in: Remove --with-__thread option. Make tests for
41417 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41418 tls_model attribute fail if no support is available. Remove
41419 USE_IN_LIBIO.
41420 * Makeconfig: Adjust for dropped configure option. All features are
41421 now mandatory.
41422 * Makerules: Likewise.
41423 * Versions.def: Likewise.
41424 * argp/argp-fmtstream.c: Likewise.
41425 * argp/argp-fmtstream.h: Likewise.
41426 * argp/argp-help.c: Likewise.
41427 * assert/assert.c: Likewise.
41428 * config.h.in: Likewise.
41429 * config.make.in: Likewise.
41430 * configure: Likewise.
41431 * configure.in: Likewise.
41432 * csu/Versions: Likewise.
41433 * csu/init.c: Likewise.
41434 * elf/tst-audit2.c: Likewise.
41435 * elf/tst-tls10.c: Likewise.
41436 * elf/tst-tls10.h: Likewise.
41437 * elf/tst-tls11.c: Likewise.
41438 * elf/tst-tls12.c: Likewise.
41439 * elf/tst-tls14.c: Likewise.
41440 * elf/tst-tlsmod11.c: Likewise.
41441 * elf/tst-tlsmod12.c: Likewise.
41442 * elf/tst-tlsmod13.c: Likewise.
41443 * elf/tst-tlsmod13a.c: Likewise.
41444 * elf/tst-tlsmod14a.c: Likewise.
41445 * elf/tst-tlsmod15b.c: Likewise.
41446 * elf/tst-tlsmod16a.c: Likewise.
41447 * elf/tst-tlsmod16b.c: Likewise.
41448 * elf/tst-tlsmod7.c: Likewise.
41449 * elf/tst-tlsmod8.c: Likewise.
41450 * elf/tst-tlsmod9.c: Likewise.
41451 * gmon/gmon.c: Likewise.
41452 * grp/fgetgrent_r.c: Likewise.
41453 * grp/putgrent.c: Likewise.
41454 * hurd/fopenport.c: Likewise.
41455 * include/libc-symbols.h: Likewise.
41456 * include/tls.h: Likewise.
41457 * intl/gettextP.h: Likewise.
41458 * intl/loadinfo.h: Likewise.
41459 * locale/global-locale.c: Likewise.
41460 * locale/localeinfo.h: Likewise.
41461 * mach/devstream.c: Likewise.
41462 * malloc/arena.c: Likewise.
41463 * malloc/set-freeres.c: Likewise.
41464 * misc/err.c: Likewise.
41465 * misc/getttyent.c: Likewise.
41466 * misc/mntent_r.c: Likewise.
41467 * posix/getopt.c: Likewise.
41468 * posix/wordexp.c: Likewise.
41469 * pwd/fgetpwent_r.c: Likewise.
41470 * resolv/Versions: Likewise.
41471 * resolv/res_hconf.c: Likewise.
41472 * shadow/fgetspent_r.c: Likewise.
41473 * shadow/putspent.c: Likewise.
41474 * stdio-common/printf_fphex.c: Likewise.
41475 * stdio-common/tmpfile.c: Likewise.
41476 * stdlib/abort.c: Likewise.
41477 * stdlib/fmtmsg.c: Likewise.
41478 * sunrpc/auth_unix.c: Likewise.
41479 * sunrpc/clnt_perr.c: Likewise.
41480 * sunrpc/clnt_tcp.c: Likewise.
41481 * sunrpc/clnt_udp.c: Likewise.
41482 * sunrpc/clnt_unix.c: Likewise.
41483 * sunrpc/openchild.c: Likewise.
41484 * sunrpc/svc_simple.c: Likewise.
41485 * sunrpc/svc_tcp.c: Likewise.
41486 * sunrpc/svc_udp.c: Likewise.
41487 * sunrpc/svc_unix.c: Likewise.
41488 * sunrpc/xdr.c: Likewise.
41489 * sunrpc/xdr_array.c: Likewise.
41490 * sunrpc/xdr_rec.c: Likewise.
41491 * sunrpc/xdr_ref.c: Likewise.
41492 * sunrpc/xdr_stdio.c: Likewise.
41493
1248c1c4
PB
414942011-09-09 Ulrich Drepper <drepper@gmail.com>
41495
41496 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41497
414982011-07-03 Andreas Jaeger <aj@suse.de>
41499
41500 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41501 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41502 regenerate with gen-libm-tests.pl.
41503
415042010-05-12 Petr Baudis <pasky@suse.cz>
41505
41506 [BZ #11589]
41507 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41508 around j0() zero points by switching to j1().
41509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41510 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41513
f22e1074
UD
415142011-09-09 Ulrich Drepper <drepper@gmail.com>
41515
f19009c1
UD
41516 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41517 instead of 0.
41518 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41519 instead of 0.
f19009c1
UD
41520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41521 Patch in part by Pavel Roskin <proski@gnu.org>.
41522
3f8cc204
UD
41523 [BZ #13138]
41524 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41525 realloc.
41526 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41527 Free memory block if necessary.
41528
f22e1074
UD
41529 [BZ #12847]
41530 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41531 be NULL. Don't lock in this case.
41532
0a2349f9
RM
415332011-09-09 Roland McGrath <roland@hack.frob.com>
41534
41535 * elf/elf.h (ELFOSABI_GNU): New macro.
41536 (ELFOSABI_LINUX): Define to that.
41537
f3cdd467
DZ
415382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41539
41540 * string/strncat.c (strncat): Undef the symbol in case it has been
41541 defined in bits/string.h.
41542
74718d13
UD
415432011-09-09 Ulrich Drepper <drepper@gmail.com>
41544
633e9e0f
UD
41545 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41546
0a2349f9 41547 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41548 link map.
41549
f9924780
AJ
415502011-08-17 Andreas Jaeger <aj@suse.de>
41551
41552 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41553
7f5517aa
PP
415542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41555 Ian Lance Taylor <iant@google.com>
41556
41557 * math/libm-test.inc (lround_test): New testcase.
41558 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41559
762011fe
UD
415602011-09-08 Ulrich Drepper <drepper@gmail.com>
41561
92963737
UD
41562 * Makefile: Remove support for automatic cvs check-ins.
41563 * Makerules: Likewise.
41564 * config.make.in: Likewise.
41565 * configure.in: Likewise.
41566 * intl/Makefile: Likewise.
41567 * locale/Makefile: Likewise.
41568 * po/Makefile: Likewise.
41569 * posix/Makefile: Likewise.
41570 * sysdeps/gnu/Makefile: Likewise.
41571 * sysdeps/mach/hurd/Makefile: Likewise.
41572 * sysdeps/sparc/sparc32/Makefile: Likewise.
41573
b0727fd8
JS
41574 [BZ #13118]
41575 * posix/Makefile (bug-regex32-ENV): Define.
41576 Patch by John Stanley <jpsinthemix@verizon.net>.
41577
a0f33f99
UD
41578 * misc/Makefile (headers): Add bits/select2.h.
41579 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41580 * misc/bits/select2.h: New file.
41581 * include/bits/select2.h: New file.
41582 * debug/Makefile (routines): Add fdelt_chk.
41583 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41584 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41585 FD_ISSET.
41586 * debug/fdelt_chk.c: New file.
41587
762011fe
UD
41588 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41589 * wcsmbs/test-wmemcmp.c: Likewise.
41590 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41591 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41592
415932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41594
41595 * string/Makefile (strop-tests): Add memcmp.
41596 * string/test-wmemcmp.c: New file.
41597 * string/test-memcmp.c: Add wmemcmp support.
41598
7f513ec8
RM
415992011-09-08 Roland McGrath <roland@hack.frob.com>
41600
0442afb4
RM
41601 [BZ #13153]
41602 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41603 2011-07-19 change.
41604
7f513ec8
RM
41605 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41606 garbage value in a __mach_port_mod_refs call in the cases of the
41607 task-self and thread-self ports.
41608
a12b2239
ST
416092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41610
41611 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41612
610f9ab4
AS
416132011-09-08 Andreas Schwab <schwab@redhat.com>
41614
7f513ec8 41615 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41616
48882a1a
LD
416172011-09-07 Ulrich Drepper <drepper@gmail.com>
41618
b49865be
UD
41619 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41620
fdc86bc9
UD
41621 * elf/dl-libc.c (dlerror_run): Pass back error code from
41622 dl_catch_error.
41623
c966526a
UD
41624 [BZ #13123]
41625 * elf/dl-load.c (lose): Free l_origin if it is valid.
41626
48882a1a
LD
41627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41628 names.
41629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41630 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41631 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41633 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41634 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41635
77a2a8b4
AZ
416362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41637
41638 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41639 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41640 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41641 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41642 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41643 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41644 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41645 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41646 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41647 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41648
24f579d8
AM
416492011-08-15 Alan Modra <amodra@gmail.com>
41650
41651 [BZ #13092]
41652 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41653 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41654 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41655 ppc_mcount to static-only-routines.
41656 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41657 __mcount_internal.
41658 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41659 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41660
3d4837df
UD
416612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41662
41663 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41664 for finite and infinity parameters.
41665
22700377
WS
416662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41667
41668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41669 and add nop instructions for throughput optimization.
41670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41671
5025581e
WS
416722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41673
41674 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41675 aligned copy for power7 with vector-scalar instructions.
41676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41677
08a300c9
L
416782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41679
41680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41681 AVX check.
41682
59178ef9
AS
416832011-09-07 Andreas Schwab <schwab@redhat.com>
41684
41685 [BZ #13144]
41686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41687 last change.
41688
e38ba7ab
UD
416892011-09-07 Ulrich Drepper <drepper@gmail.com>
41690
41691 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41692 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41693 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41695 clock_gettime.
41696
d53a73ac
UD
416972011-09-06 Ulrich Drepper <drepper@gmail.com>
41698
fc8bffcc
UD
41699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41700 Forgot to demangle the pointer.
41701
ceaa0c5d
UD
41702 * sysdeps/i386/sysdep.h: Define atom_text_section.
41703 * sysdeps/x86_64/sysdep.h: Likewise.
41704 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41705 section with atom_text_section.
41706 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41707 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41708 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41710 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41711
a77d3c17
UD
41712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41713 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41714 already be defined. Change to take two parameters and don't assign
41715 result to variable. Adjust all users.
41716 Define INTERNAL_GETTIME if not already defined.
41717 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41718 call.
41719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41720 HAVE_CLOCK_GETTIME_VSYSCALL.
41721 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41722
d53a73ac
UD
41723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41724 gettimeofday vsyscall, just use time.
41725
a8f84144
AS
417262011-09-06 Andreas Schwab <schwab@redhat.com>
41727
41728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41729 <errno.h>.
41730
ef606249
UD
417312011-09-06 Ulrich Drepper <drepper@gmail.com>
41732
41733 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41734 syscall on x86-64.
41735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41736 syscall.
41737 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41739 syscall if possible.
41740
6585cb60
UD
417412011-09-05 Ulrich Drepper <drepper@gmail.com>
41742
41743 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41744 e_ident. Don't pass to find_mapsXX.
41745 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41746
a5f524e4
LD
417472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41748
41749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41750 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41751 * sysdeps/x86_64/multiarch/strchr.S: Update.
41752 Check bit_slow_BSF bit.
41753 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41754 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41756
554881ef
UD
417572011-09-05 Ulrich Drepper <drepper@gmail.com>
41758
d96de963
UD
41759 [BZ #13134]
41760 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41761 before glibc 2.15.
41762 (tryshell): Define.
41763 (__spawni): Change last parameter to be flag. Test
41764 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41765 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41766 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41767 * posix/spawni.c: Likewise.
41768 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41769 * posix/spawnp.c: Likewise. Change normal version to use
41770 SPAWN_XFLAGS_USE_PATH.
41771 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41772 SPAWN_XFLAGS_TRY_SHELL.
41773
d48e5868
UD
41774 [BZ #13150]
41775 * posix/glob.h: Remove gcc 1.x support.
41776
554881ef
UD
41777 [BZ #13068]
41778 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41779
693fb948
LD
417802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41781
41782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41783 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41784 strrchr-sse2-bsf
41785 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41786 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41787 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41789 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41790 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41791
1b48c537
UD
417922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41793
49d42c37
UD
41794 * sysdeps/x86_64/wcscmp.S: New file.
41795
1b48c537
UD
41796 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41797 wcscmp-c wcscmp-sse2
41798 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41799 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41800 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41801 * wcsmbs/wcscmp.c: Allow renaming.
41802
15c95c5d
DM
418032011-09-05 David S. Miller <davem@davemloft.net>
41804
41805 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41806 stack slot, rather than the struct return pointer slot.
41807 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41808 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41811
2f0ad8f3
UD
418122011-09-05 Ulrich Drepper <drepper@gmail.com>
41813
d88ae418
UD
41814 * po/ja.po: Update from translation team.
41815
2f0ad8f3
UD
41816 [BZ #13144]
41817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41818 kernel in 64-bit binaries.
41819
5f4318d1
DM
418202011-09-01 David S. Miller <davem@davemloft.net>
41821
41822 * elf/elf.h (HWCAP_SPARC_*): Move to..
41823 * sysdeps/sparc/sysdep.h: this new file and add new values.
41824 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41825 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41826 _DL_HWCAP_COUNT to 24.
41827 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41828 entries.
41829 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41830 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41831 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41832 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41833 instead of magic constants.
41834 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41835
3ba57516
DM
418362011-08-31 David S. Miller <davem@davemloft.net>
41837
41838 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41840 Reimplement to do errno handling inline.
41841 (SYSCALL_ERROR_HANDLER): New macro.
41842 (__SYSCALL_STRING): Do not do errno handling in asm.
41843 (__CLONE_SYSCALL_STRING): Delete.
41844 (__INTERNAL_SYSCALL_STRING): Delete.
41845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41846 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41847 (PSEUDO): Reimplement to do errno handling inline.
41848 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41849 (SYSCALL_ERROR_HANDLER): New macro.
41850 (__SYSCALL_STRING): Do not do errno handling in asm.
41851 (__CLONE_SYSCALL_STRING): Delete.
41852 (__INTERNAL_SYSCALL_STRING): Delete.
41853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41854 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41855 i386.
41856 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41857 (inline_syscall*): Add 'err' argument.
41858 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41859 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41860 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41861 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41862
41863 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41864 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41865
2bc17433
AS
418662011-08-30 Andreas Schwab <schwab@redhat.com>
41867
41868 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41869
fbeb5f4d
JO
418702011-08-29 Jiri Olsa <jolsa@redhat.com>
41871
41872 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41873 directive.
41874
ad69cc26
DM
418752011-08-24 David S. Miller <davem@davemloft.net>
41876
41877 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41878
39dd69df
AS
418792011-08-24 Andreas Schwab <schwab@redhat.com>
41880
41881 * elf/Makefile: Add rules to build and run unload8 test.
41882 * elf/unload8.c: New file.
41883 * elf/unload8mod1.c: New file.
41884 * elf/unload8mod1x.c: New file.
41885 * elf/unload8mod2.c: New file.
41886 * elf/unload8mod3.c: New file.
41887
41888 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41889 it wasn't used.
41890
2c0b250a
DM
418912011-08-23 David S. Miller <davem@davemloft.net>
41892
41893 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41894 subtract stack bias.
41895 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41896 %sp not %fp in calculations.
41897 (_JMPBUF_UNWINDS_ADJ): Likewise.
41898
22044b48
DM
41899 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41900 (aio_suspend): Call it to force an exception region around the
41901 AIO_MISC_WAIT() invocation.
41902
2cae4995
AS
419032011-08-23 Andreas Schwab <schwab@redhat.com>
41904
41905 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41906 backslash.
41907
873a772e
AJ
419082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41909
41910 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41911 protection macro.
41912 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41913 and <dl-machine.h>.
41914 (Elf64_FuncDesc): Remove.
41915
25ad0df1
DM
419162011-08-22 David S. Miller <davem@davemloft.net>
41917
41918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41919 sigaltstack check, add missing cfi directives.
41920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41921 missing cfi directives, and sigaltstack handling.
41922
e888bcbe
AS
419232011-08-16 Andreas Schwab <schwab@redhat.com>
41924
41925 [BZ #11724]
41926 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41927 object is seen twice.
41928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41929
41930 * elf/Makefile (distribute): Add tst-initorder2.c.
41931 (tests): Add tst-initorder2.
41932 (modules-names): Add tst-initorder2a tst-initorder2b
41933 tst-initorder2c tst-initorder2d. Add rules to build them.
41934 ($(objpfx)tst-initorder2.out): New rule.
41935 * elf/tst-initorder2.c: New file.
41936 * elf/tst-initorder2.exp: New file.
41937
87162f46
AS
419382011-08-22 Andreas Schwab <schwab@redhat.com>
41939
70538b7f
AS
41940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41941
f55ffe58
AS
41942 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41943 dependencies back to end of function.
41944
87162f46
AS
41945 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41946 $(elfobjdir)/ld.so.
41947
91b392a4
UD
419482011-08-21 Ulrich Drepper <drepper@gmail.com>
41949
41950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41951 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41953 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41954 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41955 of __vdso_gettimeofday.
41956 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41957 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41958 attribute_hidden.
41959 (_libc_vdso_platform_setup): Remove initialization of
41960 __vdso_gettimeofday and __vdso_time.
41961
5c43483f
UD
419622011-08-20 Ulrich Drepper <drepper@gmail.com>
41963
775a77e7
UD
41964 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41965 and fgetc_unlocked.
41966 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41967 getc_unlocked.
89f447ed 41968
49c74ba9
UD
41969 * elf/dl-open.c (add_to_global): Report additions to the global scope
41970 for LD_DEBUG=scopes.
41971 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41972 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41973
5c43483f
UD
41974 [BZ #13114]
41975 * stdio-common/Makefile (tests): Add bug24.
41976 * stdio-common/bug24.c: New file.
41977
a101b025
AJ
419782011-08-19 Andreas Jaeger <aj@suse.de>
41979
41980 [BZ #13114]
41981 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41982 non-existant file when using close-on-exec mode.
41983
c88f1766
UD
419842011-08-20 Ulrich Drepper <drepper@gmail.com>
41985
0276a718
UD
41986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41987 the very first instruction.
41988
c88f1766
UD
41989 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41990 the CFI state in the end.
41991 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41992 inclusion of dl-trampoline.h.
41993 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41994
51ccffa0
AS
419952011-08-19 Andreas Schwab <schwab@redhat.com>
41996
94d7165f
AS
41997 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41998 expectations for long double.
41999
51ccffa0
AS
42000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42001 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42002
fd708658 420032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42004
42005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42006 artificual limit depends upon the system page size.
42007
44f0a71e
UD
420082011-08-17 Ulrich Drepper <drepper@gmail.com>
42009
42010 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42011 * resolv/Makefile: Define CFLAGS-libresolv.
42012
8de79a24
AS
420132011-08-17 Andreas Schwab <schwab@redhat.com>
42014
42015 * nss/makedb.c (compute_tables): Make variables used in nested
42016 function static.
42017
27724598
UD
420182011-08-17 Ulrich Drepper <drepper@gmail.com>
42019
c5305d88
UD
42020 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42021 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42022 if buffer was too small.
42023
27724598
UD
42024 * elf/pldd.c (main): Attach to all threads in the process.
42025 Rewrite /proc handling to use *at functions.
42026
076fe015
UD
420272011-08-16 Ulrich Drepper <drepper@gmail.com>
42028
174baab3
UD
42029 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42030 specifies first scope to show.
42031 (dl_open_worker): Update callers. Move printing scope of new
42032 object to before the relocation.
44f0a71e 42033 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42034 * sysdeps/generic/ldsodefs.h: Update declaration.
42035
076fe015
UD
42036 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42037 string for the scope number.
42038
a60df2c3
UD
420392011-08-14 Ulrich Drepper <drepper@gmail.com>
42040
42041 * nscd/servicescache.c (cache_addserv): Make sure written is always
42042 initialized.
42043
5e4287d1
RM
420442011-08-14 Roland McGrath <roland@hack.frob.com>
42045
85ae0589
RM
42046 * sysdeps/i386/i486/bits/atomic.h
42047 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42048 statement expression, so as to suppress "set but not used" warning.
42049 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42050
69f63097
RM
42051 * string/strncat.c (STRNCAT): Use prototype definition.
42052
675456ef
RM
42053 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42054 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42055 -Iprograms here.
42056 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42057 (localedef-modules): Add localedef.
42058 (locale-modules): Add locale.
42059
5e4287d1
RM
42060 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42061 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42062 to avoid a warning.
42063
9c96ff23
DM
420642011-08-14 David S. Miller <davem@davemloft.net>
42065
42066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42067 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42068
f9ddf089
UD
420692011-08-13 Ulrich Drepper <drepper@gmail.com>
42070
44f0a71e 42071 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42072 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42073 * elf/rtld.c (dl_main): Set l_name of vDSO.
42074 Call _dl_show_scope when DL_DEBUG_SCOPES.
42075 (process_dl_debug): Recognize scopes flag and also set it for all.
42076 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42077 Declare _dl_show_scope.
42078
1dc27704
UD
42079 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42080 (do_dlopen): Pass caller_dlopen to dl_open.
42081 (__libc_dlopen_mode): Initialize caller_dlopen.
42082
f9ddf089
UD
42083 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42084 of libc. Make tolower call locale-independent. Optimize a bit by
42085 using isdigit instead of isalnum.
42086 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42087
9ac533d3
UD
420882011-08-12 Ulrich Drepper <drepper@gmail.com>
42089
42090 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42091 was a dependency or dynamically loaded.
42092
89edf2e9
UD
420932011-08-11 Ulrich Drepper <drepper@gmail.com>
42094
8e999d29
UD
42095 * intl/l10nflist.c: Allow architecture-specific pop function.
42096 * sysdeps/x86_64/l10nflist.c: New file.
42097
89edf2e9
UD
42098 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42099 classification.
42100
14d96785
AS
421012011-08-10 Andreas Schwab <schwab@redhat.com>
42102
42103 * include/dirent.h: Add libc_hidden_proto for scandirat and
42104 scandirat64. Don't declare __scandirat64.
42105 * dirent/scandirat.c: Add libc_hidden_def.
42106 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42107 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42108
6761ac04
DM
421092011-08-10 David S. Miller <davem@davemloft.net>
42110
42111 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42112 enum.
42113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42116
c55fbd1e
UD
421172011-08-09 Ulrich Drepper <drepper@gmail.com>
42118
42119 * Versions.def [libc]: Add GLIBC_2.15.
42120 * dirent/Makefile (routines): Add scandirat and scandirat64.
42121 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42122 GLIBC_2.15.
42123 * dirent/dirent.h: Declare scandirat and scandirat64.
42124 * dirent/scandirat.c: New file.
42125 * dirent/scandirat64.c: New file.
42126 * sysdeps/wordsize-64/scandirat.c: New file.
42127 * sysdeps/wordsize-64/scandirat64.c: New file.
42128 * dirent/opendir.c: Define opendirat.
42129 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42130 using scandirat.
42131 * dirent/scandir64.c: Adjust for scandir.c change.
42132 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42133 __scandirat64, and __scandir_cancel_handler.
42134 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42135 additional parameter and use openat instead of open (outside of ld.so).
42136 Add new __opendir as wrapper around __opendirat.
42137 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42138 here without requiring old scandirat implementation.
42139
879165f2
UD
421402011-08-08 Ulrich Drepper <drepper@gmail.com>
42141
42142 * dirent/scandir.c (cancel_handler): Renamed to
42143 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42144 defined. Adjust users.
42145 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42146 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42147
cb7e923b
UD
421482011-08-04 Ulrich Drepper <drepper@gmail.com>
42149
16292edd
UD
42150 * string/test-string.h (IMPL): Use __STRING to expand name and then
42151 stringify it.
42152
cb7e923b
UD
42153 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42154 of cleanups.
42155
cff82933
LD
421562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42157
42158 * string/Makefile: Update.
42159 (strop-tests): Append strncat.
42160 * string/test-wcscmp.c: New file.
42161 New comprehensive test for wcscmp.
42162 * string/test-strcmp.c: Update.
42163 (WIDE): New define.
42164
9be9bfcc
AS
421652011-07-22 Andreas Schwab <schwab@redhat.com>
42166
42167 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42168 line.
42169
2e96f1c7
AS
421702011-07-26 Andreas Schwab <schwab@redhat.com>
42171
42172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42173 encoding to ACE if AI_IDN.
42174
85188888
JJ
421752011-08-01 Jakub Jelinek <jakub@redhat.com>
42176
42177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42178 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42179
5fa16e9b
LD
421802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42181
42182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42183 Fix overflow bug in strncat.
42184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42185
42186 * string/test-strncat.c: Update.
42187 Add new tests for checking overflow bugs.
42188
421892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42190
42191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42192 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42193 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42194 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42196 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42197 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42198 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42199 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42200
42201 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42202 (USE_AS_STRCAT): Define.
42203 Add strcat and strncat support.
42204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42205
8c1a459f
AS
422062011-07-25 Andreas Schwab <schwab@redhat.com>
42207
42208 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42209 __n bigger than INT_MAX+1.
42210 (__strncmp_g): Likewise.
42211
bba33c28
UD
422122011-07-23 Ulrich Drepper <drepper@gmail.com>
42213
798be72d
UD
42214 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42215 * libio/stido.h: Likewise.
42216
8accd4dc
UD
42217 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42218 (AF_NFC): Define.
42219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42220 (AF_NFC): Define.
42221
cbff0d96
UD
42222 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42226 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42227
9191c04a
UD
42228 [BZ #13021]
42229 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42230 installed.
42231
bba33c28
UD
42232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42233 typo.
42234 (_dl_x86_64_save_sse): Likewise.
42235
90f139dd
UD
422362011-07-22 Ulrich Drepper <drepper@gmail.com>
42237
1aae088a
UD
42238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42239 OSXSAVE.
42240 (_dl_x86_64_save_sse): Likewise.
42241
8e2045f5
UD
42242 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42243
90f139dd
UD
42244 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42245
1d002f25
AS
422462011-07-21 Andreas Schwab <schwab@redhat.com>
42247
42248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42249 change.
42250 (_dl_x86_64_save_sse): Use correct AVX check.
42251
21137f89
UD
422522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42253
42254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42255 bug in strncpy/strncat.
42256 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42257
a65c0b7a
UD
422582011-07-21 Ulrich Drepper <drepper@gmail.com>
42259
42260 * string/tester.c (test_strcat): Add tests for different alignments
42261 of source and destination.
42262 (test_strncat): Likewise.
42263
6986b98a
UD
422642011-07-20 Ulrich Drepper <drepper@gmail.com>
42265
90bb2039
UD
42266 [BZ #12852]
42267 * posix/glob.c (glob): Check passed in values before using them in
42268 expressions to avoid some overflows.
42269 (glob_in_dir): Likewise.
42270
5644ef54
UD
42271 [BZ #13007]
42272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42273 check for AVX enablement so that we don't crash with old kernels and
42274 new hardware.
42275 * elf/tst-audit4.c: Add same checks here.
42276 * elf/tst-audit6.c: Likewise.
42277
42278 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42279
bfc9dc9b
AS
422802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42281
42282 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42283
702e64bb
UD
422842011-07-20 Ulrich Drepper <drepper@gmail.com>
42285
42286 * po/cs.po: Update from translation team.
42287 * po/bg.po: Likewise.
42288
295e904f
MP
422892011-07-12 Marek Polacek <mpolacek@redhat.com>
42290
42291 * misc/sys/cdefs.h: Add support for const attribute.
42292 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42293 to gnu_dev_{major,minor,makedev} functions.
42294
3ff94596
MP
422952011-07-20 Marek Polacek <mpolacek@redhat.com>
42296
42297 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42298
28b59fca
AS
422992011-07-20 Andreas Schwab <schwab@redhat.com>
42300
42301 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42302 strlen results.
42303
19df733e
AK
423042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42305
42306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42307 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42308 register in order to avoid conflicts with the soft frame pointer
42309 being held in r11 when necessary.
42310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42311 (INTERNAL_VSYSCALL_NCS): Likewise.
42312
c8835729
MP
423132011-07-14 Marek Polacek <mpolacek@redhat.com>
42314
42315 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42316 * elf/dl-fini.c (_dl_fini): Adjust caller.
42317 * elf/dl-close.c (_dl_close_worker): Likewise.
42318 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42319
b902330c
MP
423202011-07-15 Marek Polacek <mpolacek@redhat.com>
42321
8991e135
MP
42322 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42323 "aux_cache->nlibs < 0".
42324
b902330c
MP
42325 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42326 in the reload-count case.
42327
99710781
LD
423282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42329
42330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42331 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42332 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42333 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42334 * sysdeps/x86_64/multiarch/strcat.S: New file.
42335 * sysdeps/x86_64/multiarch/strncat.S: New file.
42336 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42337 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42338 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42339 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42341 (USE_AS_STRCAT): Define.
42342 Add strcat and strncat support.
42343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42344 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42345 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42346 * string/strncat.c: Update.
42347 (USE_AS_STRNCAT): Define.
42348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42349 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42350 and i7.
42351 * sysdeps/x86_64/multiarch/init-arch.h
42352 (bit_Prefer_PMINUB_for_stringop): New.
42353 (index_Prefer_PMINUB_for_stringop): Likewise.
42354 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42355 bit_Prefer_PMINUB_for_stringop.
42356
7dc6bd90
UD
423572011-07-19 Ulrich Drepper <drepper@gmail.com>
42358
42359 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42360 buffer64.
42361 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42362 of casting of buffer.
42363 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42364 buffer32 and buffer64.
42365 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42366 writes instead of casting of buffer.
42367 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42368 buffer32.
42369 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42370 casting of buffer.
42371
e0e72284
AS
423722011-07-19 Andreas Schwab <schwab@redhat.com>
42373
42374 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42375
feb1eb0b
UD
423762011-07-19 Ulrich Drepper <drepper@gmail.com>
42377
42378 * nscd/nscd.c (termination_handler): Don't do anything for a database
42379 if it has not yet been initialized.
42380
298711ff
UD
423812011-07-18 Ulrich Drepper <drepper@gmail.com>
42382
42383 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42384
423852011-07-15 Marek Polacek <mpolacek@redhat.com>
42386
42387 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42388
f9d68389
UD
423892011-07-18 Ulrich Drepper <drepper@gmail.com>
42390
42391 * po/nl.po: Update from translation team.
42392 * po/sv.po: Likewise.
42393
db290cf5
RM
423942011-07-16 Roland McGrath <roland@hack.frob.com>
42395
42396 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42397 now disallowed by GCC.
5c550700 42398
fd5e21c7
RM
42399 * configure.in (use-default-link): Default to yes if a test -shared
42400 link meets our qualifications.
42401 * configure: Regenerated.
42402
5c550700
RM
42403 * config.make.in (output-format): New variable.
42404 * configure.in: Check for ld --print-output-format support.
42405 * configure: Regenerated.
42406 * Makerules ($(common-objpfx)format.lds)
42407 [$(output-format) != unknown]: Just use $(output-format),
42408 instead of the linker-script munging.
42409
9fa2c032
RM
424102011-07-14 Roland McGrath <roland@hack.frob.com>
42411
a6928d51
RM
42412 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42413 of $(common-objpfx)shlib.lds.
42414 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42415
661607b3
RM
42416 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42417 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42418
9fa2c032
RM
42419 * configure.in (-z relro check): Adjust test code to add a large
42420 writable data section after it.
42421 * configure: Regenerated.
42422
defe9061
RM
424232011-07-11 Roland McGrath <roland@hack.frob.com>
42424
42425 * configure.in (-z relro check): Fix test code to make the variable
42426 truly const.
42427 * configure: Regenerated.
42428
319b9ad4
UD
424292011-07-11 Ulrich Drepper <drepper@gmail.com>
42430
42431 * nscd/nscd.h (struct traced_file): Define.
42432 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42433 elements. Add traced_files.
42434 (inotify_fd): Declare.
42435 (register_traced_file): Declare.
42436 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42437 (inotify_fd): Export.
42438 (resolv_conf_descr): Remove.
42439 (nscd_init): Move inotify descriptor creation to main.
42440 Don't register files for notification here.
42441 (register_traced_file): New function.
42442 (invalidate_cache): Don't use reset_res to determine whether to call
42443 res_init, go through the list of registered files.
42444 (main_loop_poll): The inotify descriptors are now stored in the
42445 structures for the traced files.
42446 (main_loop_epoll): Likewise
42447 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42448 to __nss_disable_nscd.
42449 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42450 for a database anymore. Check the records for all the registered
42451 files instead.
42452 * nss/Makefile (libnss_files-routines): Add files-init.
42453 (libnss_db-routines): Add db-init.
42454 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42455 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42456 * nss/nss_db/db-init.c: New file.
42457 * nss/nss_files/files-init.c: New file.
42458 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42459 __nss_lookup_function.
42460 (__nss_lookup_function): Call nss_load_library.
42461 (nss_load_all_libraries): New function.
42462 (__nss_disable_nscd): Take parameter with callback function for files
42463 to register. Set is_nscd. Load all the DSOs for the NSS modules
42464 used for the cached services.
42465 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42466 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42467 options for features to all the files in nscd.
42468
42469 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42470
23bee3e8
RM
424712011-07-10 Roland McGrath <roland@hack.frob.com>
42472
42473 * csu/elf-init.c (__libc_csu_init): Comment typo.
42474
46a5b7f0
UD
424752011-07-09 Ulrich Drepper <drepper@gmail.com>
42476
42477 * po/pl.po: Update from translation team.
42478 * po/ja.po: Likewise.
42479 * po/ru.po: Likewise.
42480 * po/ko.po: Likewise.
42481 * po/fr.po: Likewise.
42482
d30cf5bb
RM
424832011-07-09 Roland McGrath <roland@hack.frob.com>
42484
113ddea4
RM
42485 * configure.in (.ctors/.dtors header and trailer check):
42486 Use an empirical test on a built program.
42487 * configure: Regenerated.
42488
574920b4
RM
42489 * configure.in (-z relro check): Use an empirical test on a built DSO.
42490 Detect, but do not require, on ia64.
42491 * configure: Regenerated.
42492
d30cf5bb
RM
42493 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42494 Update tests that use readelf to use $READELF instead.
42495 * configure: Regenerated.
42496
8538fdb3
UD
424972011-07-08 Ulrich Drepper <drepper@gmail.com>
42498
42499 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42500 if the result is not used.
42501
04d08991
AJ
425022011-07-05 Andreas Jaeger <aj@suse.de>
42503
42504 [BZ#9696]
42505 * stdlib/tst-strtod.c: Add testcase.
42506
de283087
AD
425072011-07-07 Ulrich Drepper <drepper@gmail.com>
42508
4e5f31c8 42509 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42510 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42511 The latter has a higher limit. Take additional parameter to pass to
42512 the new function.
42513 (__pathconf): Pass file to __statfs_link_max.
42514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42515 __statfs_link_max.
42516 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42517 __statfs_link_max.
42518
de283087
AD
42519 [BZ #12868]
42520 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42521 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42522 Handle Lustre.
42523 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42524 (__statfs_filesize_max): Likewise.
42525 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42526
c75fa153
AJ
425272011-07-05 Andreas Jaeger <aj@suse.de>
42528
42529 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42530
1a544854
UD
425312011-07-06 Marek Polacek <mpolacek@redhat.com>
42532
42533 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42534 `status' variable.
42535 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42536 Likewise.
42537
6f0eec67
UD
425382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42539
42540 * Makefile (strop-tests): Add strncat.
42541 * string/test-strncat.c: New file.
42542
aae30307
UD
425432011-06-30 Marek Polacek <mpolacek@redhat.com>
42544
42545 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42546
c0cfb5eb
UD
425472011-06-21 Andreas Jaeger <aj@suse.de>
42548
42549 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42550 Copy rule from iconvdata/Makefile.
42551
01636b21
UD
425522011-07-06 Ulrich Drepper <drepper@gmail.com>
42553
42554 [BZ #12922]
42555 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42556 but no long options are defined, just return 'W'.
42557
9895c8bc
UD
425582011-06-22 Marek Polacek <mpolacek@redhat.com>
42559
42560 [BZ #9696]
42561 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42562
5d4cf042
UD
425632011-07-06 Ulrich Drepper <drepper@gmail.com>
42564
42565 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42566 netgroups to read.
960e5535 42567 (innetgr): Likewise.
5d4cf042 42568
751eb97e
RM
425692011-07-05 Roland McGrath <roland@hack.frob.com>
42570
42571 * config.make.in (install_root): Default to $(DESTDIR).
42572
f15f1e45
UD
425732011-07-05 Ulrich Drepper <drepper@gmail.com>
42574
42575 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42576
4e34ac6a
RM
425772011-07-02 Roland McGrath <roland@hack.frob.com>
42578
5e9b6af4
RM
42579 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42580
84f9ea0f
RM
42581 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42582 containing directory rather than embedding absolute directory names.
42583
ea5ee9f7
RM
42584 * scripts/check-local-headers.sh: Rewritten using awk.
42585 Match by word, not by line. Print error messages for matches.
42586 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42587
1b74661a
RM
42588 * Makerules [shlib-lds-flags empty]:
42589 ($(common-objpfx)libc_pic.opts): New target.
42590 ($(common-objpfx)libc_pic.os.clean): New target.
42591 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42592
42593 * config.make.in (OBJCOPY): New variable.
42594 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42595 * configure: Regenerated.
42596
f781ef40
RM
42597 * config.make.in (use-default-link): New variable.
42598 * configure.in (use_default_link): Grok --with-default-link to set it.
42599 * configure: Regenerated.
42600 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42601 (shlib-lds, shlib-lds-flags): Define to empty.
42602
2d4fa81e
RM
42603 * Makerules (shlib-lds): New variable.
42604 (shlib-lds-flags): New variable.
42605 (build-shlib, build-moduile, build-module-asneeded): Use it.
42606 ($(common-objpfx)libc.so): Use $(shlib-lds).
42607 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42608 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42609
31fffa6b
RM
42610 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42611 DT_FLAGS/DT_FLAGS_1 with zero flags.
42612
4e34ac6a
RM
42613 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42614 linker script munging.
42615
fcfc776b
UD
426162011-07-02 Ulrich Drepper <drepper@gmail.com>
42617
42618 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42619 as 128-bit value.
42620 * crypt/sha512.c (sha512_process_block): Perform total addition using
42621 128-bit if possible.
42622 (__sha512_finish_ctx): Likewise.
42623 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42624 as 64-bit value.
42625 * crypt/sha256.c (SWAP64): Define.
42626 (sha256_process_block): Perform total addition using 64-bit if
42627 possible.
42628 (__sha256_finish_ctx): Likewise.
42629
99231d9a
UD
426302011-07-01 Ulrich Drepper <drepper@gmail.com>
42631
42632 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42633 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42634 * nscd/hstcache.c (cache_addhst): Likewise.
42635 * nscd/grpcache.c (cache_addgr): Likewise.
42636 * nscd/aicache.c (addhstaiX): Likewise
42637 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42638
445b4a53
TK
426392011-07-01 Thorsten Kukuk <kukuk@suse.de>
42640
42641 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42643 * nscd/hstcache.c (cache_addhst): Likewise.
42644 * nscd/grpcache.c (cache_addgr): Likewise.
42645 * nscd/aicache.c (addhstaiX): Likewise
42646
6d4d8e8e
AS
426472011-07-01 Andreas Schwab <schwab@redhat.com>
42648
42649 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42650 domain only when needed.
42651
89f654c5
AS
426522011-06-30 Andreas Schwab <schwab@redhat.com>
42653
42654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42655 is always restored.
42656
cf3b23ff
UD
426572011-06-29 Ulrich Drepper <drepper@gmail.com>
42658
42659 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42660 are re-adding the entry.
42661 * nscd/servicescache.c (cache_addserv): Likewise.
42662
751626f9
AJ
426632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42664
42665 * sysdeps/generic/dl-irel.h: fix protection against multiple
42666 inclusions.
42667 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42668
9113ea1f
UD
426692011-06-28 Ulrich Drepper <drepper@gmail.com>
42670
5c0b8d90
UD
42671 [BZ #12935]
42672 * malloc/memusage.sh: Fix quoting in message.
42673 * debug/xtrace.sh: Likewise.
42674
9113ea1f
UD
42675 * configure.in: Remove support for --experimental-malloc option, make
42676 it the default.
42677 * config.make.in: Likewise.
42678 * malloc/Makefile: Likewise.
42679
a4172181
AS
426802011-06-27 Andreas Schwab <schwab@redhat.com>
42681
42682 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42683 two-byte characters.
42684
78a7eee7
RM
426852011-06-27 Roland McGrath <roland@hack.frob.com>
42686
62bede13
RM
42687 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42688 AC_CACHE_CHECK invocation.
42689 * configure: Regenerated.
42690
78a7eee7
RM
42691 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42692
5ce33a62
UD
426932011-06-27 Ulrich Drepper <drepper@gmail.com>
42694
034807a9
UD
42695 [BZ #12350]
42696 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42697 bit from old_res_options.
42698
4902da17
UD
42699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42700
5ce33a62
UD
42701 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42702 value type for setfct.
42703
c2344f56
L
427042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42705
42706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42707 __gettimeofday instead of gettimeofday.
42708
68468076
UD
427092011-06-26 Ulrich Drepper <drepper@gmail.com>
42710
42711 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42712
acb0d739
L
427132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42714
42715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42716
42717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42718 info.
42719
8912479f
L
427202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42721
42722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42723 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42724 strcpy-sse2-unaligned strncpy-sse2-unaligned
42725 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42726 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42727 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42728 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42729 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42732 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42733 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42734 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42735 (STRCPY): Support SSE2 and SSSE3 versions.
42736
d5495a11
UD
427372011-06-24 Ulrich Drepper <drepper@gmail.com>
42738
42739 [BZ #12874]
42740 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42741 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42742 kernels which artificially limit size of requests.
42743
0b1cbaae
L
427442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42745
42746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42747 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42748 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42749 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42750 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42751 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42752 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42753 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42754 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42756 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42757 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42758 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42759 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42760 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42762 Enable unaligned load optimization for Intel Core i3, i5 and i7
42763 processors.
42764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42765 Define.
42766 (index_Fast_Unaligned_Load): Define.
42767 (HAS_FAST_UNALIGNED_LOAD): Define.
42768
07f494a0
MP
427692011-06-23 Marek Polacek <mpolacek@redhat.com>
42770
42771 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42772
fa3fc0fe
UD
427732011-06-22 Ulrich Drepper <drepper@gmail.com>
42774
42775 [BZ #12907]
42776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42777 until it is clear that the information is realy needed.
42778 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42779
e12df166
AS
427802011-06-22 Andreas Schwab <schwab@redhat.com>
42781
42782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42783
852eb34d
UD
427842011-06-22 Ulrich Drepper <drepper@gmail.com>
42785
84e2a551
UD
42786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42787 /sys/devices/system/cpu/online if it is usable.
42788
852eb34d
UD
42789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42790 reading the information from the /proc filesystem to once a second.
42791
6e502e19
UD
427922011-06-21 Andreas Jaeger <aj@suse.de>
42793
42794 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42795 NULL after inclusion of kernel headers.
42796
75d39ff2
UD
427972011-06-21 Ulrich Drepper <drepper@gmail.com>
42798
51f9aa6a
UD
42799 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42800 calls to internal_setent.
42801
c0244a9d
UD
42802 [BZ #12885]
42803 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42804 addresses using gethostbyname4_r ignore IPv4 addresses.
42805
c5e3c2ae
UD
42806 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42807 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42808
75d39ff2
UD
42809 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42810
42675c6f
DM
428112011-06-20 David S. Miller <davem@davemloft.net>
42812
42813 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42814 inclusions.
42815 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42816
42817 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42818 (elf_irel): Use it.
42819 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42820 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42821 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42822 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42823 * sysdeps/x86_64/dl-irel.h: Likewise.
42824
42825 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42826 * elf/dl-sym.c: Likewise.
42827
57912a71
UD
428282011-06-15 Ulrich Drepper <drepper@gmail.com>
42829
42830 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42831 need to dereference resplen2.
42832
ee22793d
AS
428332011-06-14 Andreas Schwab <schwab@redhat.com>
42834
42835 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42836
a9e836b0
UD
428372011-06-15 Ulrich Drepper <drepper@gmail.com>
42838
77fb9117
UD
42839 * Makeconfig: Define vardbdir and inst_vardbdir.
42840 * nss/Makefile: Add rules to install db-Makefile.
42841
40c1b22c
UD
42842 * nss/nss_db/db-XXX.c: Cleanup.
42843
9f2da732
UD
42844 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42845 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42846 GLIBC_PRIVATE.
42847 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42848 * nss/makedb.c: Implement -g option to specify that value strings
42849 are generated and should not be added to table iterated over for
42850 get*ent calls.
42851 * nss/nss_db/db-initgroups.c: New file.
42852
82e9a1f7
UD
42853 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42854 interface.
42855
c41af17e
UD
42856 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42857 (internal_getgrouplist): Adjust to name change.
42858 Update use_initgroups_entry if this is not the first call.
42859 * nss/databases.def: Add initgroups entry.
42860
a9e836b0
UD
42861 * nss/makedb.c (compute_tables): Check result of multiple hash table
42862 sizes to minimize maximum chain length.
42863
2666d441
UD
428642011-06-14 Ulrich Drepper <drepper@gmail.com>
42865
42866 * Versions.def: Add entry for libnss_db.
42867 * shlib-versions: Likewise.
42868 * nss/Makefile: Add rules to build libnss_db.
42869 * nss/Versions: Add libnss_db information. Organize libnss_files
42870 entries better.
42871 * nss/db-Makefile: Add gshadow support. Change rules for the new
42872 makedb progra. Some minor improvements to generate smaller files.
42873 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42874 here from...
42875 * nss/makedb.c: ...here.
42876 Improve database format to be smaller and require less memory at
42877 runtime.
42878 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42879 db anymore.
42880 * nss/nss_db/db-netgrp.c: Likewise.
42881 * nss/nss_db/db-open.c: Likewise.
42882 * nss/nss_files/flies-XXX.x: Adjust comments.
42883 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42884 * nss/nss_files/files-grp.c: Likewise.
42885 * nss/nss_files/files-hosts.c: Likewise.
42886 * nss/nss_files/files-network.c: Likewise.
42887 * nss/nss_files/files-proto.c: Likewise.
42888 * nss/nss_files/files-pwd.c: Likewise.
42889 * nss/nss_files/files-rpc.c: Likewise.
42890 * nss/nss_files/files-service.c: Likewise.
42891 * nss/nss_files/files-sgrp.c: Likewise.
42892 * nss/nss_files/files-spwd.c: Likewise.
42893 * nss/nss_db/db-alias.c: Removed.
42894 * nss/nss_db/dummy-db.h: Removed.
42895
9ee76b5a
UD
428962011-06-02 Ulrich Drepper <drepper@gmail.com>
42897
42898 * nss/makedb.c: Rewritten to not use database library.
42899 * nss/Makefile: Update to build new makedb program.
42900
c71ca1f8
AJ
429012011-06-14 Andreas Jaeger <aj@suse.de>
42902
42903 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42904 memset declaration.
42905
3154bfb8
UD
429062011-06-10 Andreas Schwab <schwab@redhat.com>
42907
42908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42909 tmpbuf.
42910
b350afab
RM
429112011-06-10 Roland McGrath <roland@hack.frob.com>
42912
decd4e50
RM
42913 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42914 * elf/Makefile ($(objpfx)ld.so): Likewise.
42915
5615eaf2
RM
42916 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42917 Don't list ld.so twice in dependencies.
42918
42919 * posix/bug-regex31.c: Include <stdlib.h>.
42920
42921 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42922
42923 * nis/nss_compat/compat-spwd.c
42924 (getspent_next_nss_netgr): Remove unused variable.
42925 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42926
42927 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42928 nonmembers" output to use the right array.
42929
42930 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42931
42932 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42933
42934 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42935 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42936 * catgets/gencat.c (read_input_file): Likewise.
42937 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42938
42939 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42940 variable definition inside #if's controlling its use.
42941
42942 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42943
42944 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42945
42946 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42947
42948 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42949 unreachable code.
42950
42951 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42952
b68e08db
RM
42953 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42954 * configure: Regenerated.
42955
b350afab
RM
42956 * Makerules: Revert last change.
42957 * elf/Makefile: Likewise.
42958
28368601
RM
429592011-06-09 Roland McGrath <roland@hack.frob.com>
42960
42961 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42962 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42963 (reloc-link): Likewise.
42964
11988f8f
UD
429652011-06-09 Ulrich Drepper <drepper@gmail.com>
42966
42967 * elf/Makefile: Add rules to build pldd.
42968 * elf/pldd.c: New file.
42969 * elf/pldd-xx.c: New file.
42970
e80fab37
UD
429712011-06-07 Ulrich Drepper <drepper@gmail.com>
42972
42973 * version.h: Update for 2.15 development version.
42974
9b849836
DM
429752011-06-07 David S. Miller <davem@davemloft.net>
42976
42977 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42978 ifuncs.
42979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42980 elf_machine_lazy_rel): Likewise.
42981 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42983 elf_machine_lazy_rel): Likewise.
42984 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42985 dl_hwcap via passed in argument.
42986 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42987 Likewise.
42988
5a31b283
AK
429892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42990
42991 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42992
069e52f8
RM
429932011-06-06 Roland McGrath <roland@hack.frob.com>
42994
42995 [BZ #12849]
42996 * manual/fdl-1.1.texi: New file, verbatim from:
42997 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42998 * manual/lgpl-2.1.texi: New file, verbatim from:
42999 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43000 * manual/Makefile (licenses): New variable, list those new file names.
43001 (texis): Use it.
43002 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43003
43004 * manual/fdl.texi: File removed.
43005 * manual/lesser.texi: File removed.
43006 * manual/libc.texinfo (Copying, Documentation License):
43007 Use new @include file names, put @appendix directive before @include.
43008
f16846a5
JJ
430092011-06-04 Jakub Jelinek <jakub@redhat.com>
43010
43011 [BZ #12841]
43012 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43013 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43014 (mq_open): Add __NTH.
43015
3d29045b
L
430162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43017
43018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43019 Assume Intel Core i3/i5/i7 processor if AVX is available.
43020
8c297311
UD
430212011-05-31 Ulrich Drepper <drepper@gmail.com>
43022
43023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43024 typo.
43025
c8fc0c91
UD
430262011-05-31 Andreas Schwab <schwab@redhat.com>
43027
43028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43029 memory. Use alloca_account. Fix memory leak when retrying.
43030
5b27a807
UD
430312011-05-31 Ulrich Drepper <drepper@gmail.com>
43032
356f8bc6
UD
43033 * version.h (RELEASE): Bump for 2.14 release.
43034 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43035
5b27a807
UD
43036 * config.make.in (RANLIB): Remove entry.
43037
01f16ab0
UD
430382011-05-30 Ulrich Drepper <drepper@gmail.com>
43039
41fce8bd
UD
43040 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43041 (libc.pot): Work around missing support for .ksh extension in xgettext.
43042
4769ae77
UD
43043 [BZ #12684]
43044 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43045 if both request failed.
43046 (send_dg): In case of server errors clear resplen or *resplen2.
43047
6b1e7d19
UD
43048 [BZ #12454]
43049 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43050 when there are multiple maps.
43051 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43052 (_dl_fini): Remove test here.
43053
01f16ab0
UD
43054 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43055
b1ebd700
UD
430562011-05-29 Ulrich Drepper <drepper@gmail.com>
43057
7ae22829
UD
43058 [BZ #12350]
43059 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43060 bit from old_res_options.
43061 (gaih_inet): Likewise.
43062
553149f6 43063 [BZ #11099]
18a84741 43064 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43065 as signed.
43066
652ffab1
UD
43067 * resolv/res_init.c (res_setoptions): Make the code more compact.
43068
16985fd0
UD
43069 [BZ #11558]
43070 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43071 set RES_USEVC.
43072
0464f746
UD
43073 [BZ #11634]
43074 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43075
7d17596c
UD
43076 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43077
cf6bbbd7
UD
43078 [BZ #11781]
43079 * malloc/malloc.h: Declare malloc hook variables as volatile.
43080
13f1ab36
UD
43081 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43082 in last patch.
43083
b1ebd700
UD
43084 [BZ #11799]
43085 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43086 raise in the comment.
80e2212d
UD
43087 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43089 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43090
ce67228d
UD
430912011-05-28 Ulrich Drepper <drepper@gmail.com>
43092
8887a920
UD
43093 [BZ #12811]
43094 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43095 grow the buffers more if it already has to be sufficient.
43096 (build_wcs_upper_buffer): Likewise.
43097 * posix/regexec.c (check_matching): Likewise.
43098 (clean_state_log_if_needed): Likewise.
43099 (extend_buffers): Don't enlarge buffers beyond size of the input
43100 buffer.
43101 Patches mostly by Emil Wojak <emil@wojak.eu>.
43102 * posix/bug-regex32.c: New file.
43103 * posix/Makefile (tests): Add bug-regex32.
43104
4f031072
UD
43105 * locale/findlocale.c (_nl_find_locale): Return right away if
43106 _nl_explode_name failed.
43107 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43108
d0478f0c
UD
43109 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43110
de81b246
UD
43111 * debug/xtrace.sh: Unify messages.
43112 * malloc/memusage.sh: Likewise.
43113
c738465a
UD
43114 [BZ #12813]
43115 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43116 time symbol from vDSO. Substitute with vsyscall if not available.
43117 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43118 __vdso_time.
43119
f1f929d7
UD
43120 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43121 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43122 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43123 Add sendmmsg and internal_sendmmsg.
43124 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43125 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43126 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43127
ce67228d
UD
43128 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43129 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43130 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43131
e57420c6
UD
431322011-05-27 Ulrich Drepper <drepper@gmail.com>
43133
a8509ca5
UD
43134 [BZ #12813]
43135 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43136 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43137 available.
43138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43139 __vdso_getcpu.
43140
e57420c6
UD
43141 [BZ #12814]
43142 * iconvdata/Makefile (tests): Add bug-iconv9.
43143 * iconvdata/bug-iconv9.c: New file.
43144
4d07db15
AS
431452011-05-27 Andreas Schwab <schwab@redhat.com>
43146
43147 [BZ #12814]
43148 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43149
ea486f69
JJ
431502011-05-25 Jakub Jelinek <jakub@redhat.com>
43151
43152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43153 (struct user_regs_struct): Change intcs field back to cs.
43154
6f038433
UD
431552011-05-25 Ulrich Drepper <drepper@gmail.com>
43156
43157 * po/ja.po: Update from translation team.
43158
67f86a25
UD
431592011-05-23 Ulrich Drepper <drepper@gmail.com>
43160
43161 [BZ #12795]
43162 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43163 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43164
def7fbd6
AS
431652011-05-20 Andreas Schwab <schwab@redhat.com>
43166
43167 * stdlib/longlong.h: Update from GCC.
43168
f50ef8f1
AS
431692011-05-23 Andreas Schwab <schwab@redhat.com>
43170
43171 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43172 parameter name.
43173 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43174 Add parameter name.
43175 (__sysconf): Pass it down.
43176
de7ce8f1
UD
431772011-05-22 Ulrich Drepper <drepper@gmail.com>
43178
f2962a71
UD
43179 [BZ #12671]
43180 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43181 some situations.
43182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43183 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43184 add in in __libc_use_alloca calls. Adjust callers.
43185 (glob): Use malloc in some situations.
43186
de7ce8f1
UD
43187 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43188 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43189 pltexit.
43190
aec84f53
UD
431912011-05-21 Ulrich Drepper <drepper@gmail.com>
43192
05bb4a68
UD
43193 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43194 and CLOCK_BOOTTIME_ALARM.
43195
7ea72f99
UD
43196 [BZ #12782]
43197 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43198 is returned.
43199
7e4afad5
UD
43200 * string/_strerror.c (__strerror_r): Print negative errors as signed
43201 numbers.
43202
8e211fec
UD
43203 [BZ #12777]
43204 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43205 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43206 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43207
f7d82dc9
UD
43208 * configure.in: Fix typo in redirection and correct removal of test
43209 files in two cases.
43210
cc9e536d
UD
43211 [BZ #12788]
43212 * locale/setlocale.c (new_composite_name): Fix test to check for
43213 identical name of all categories.
43214
aec84f53
UD
43215 [BZ #12792]
43216 * libio/filedoalloc.c (local_isatty): New function.
43217 (_IO_file_doallocate): Use local_isatty.
43218 * stdio-common/perror.c (perror): In case a new stream is used
43219 forward the stream error.
43220 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43221 error flag.
43222
78e64fdc
RT
432232011-05-20 Ulrich Drepper <drepper@gmail.com>
43224
34a9094f
UD
43225 [BZ #11869]
43226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43227 alloca.
43228 * include/alloca.h (extend_alloca_account): Define.
43229
78e64fdc
RT
43230 [BZ #11857]
43231 * posix/regex.h: Fix comments with documentation of user-accessible
43232 fields after compilation and describe correct free'ing of pattern
43233 after re_compile_pattern.
43234 Patch by Reuben Thomas <rrt@sc3d.org>.
43235
457bddfc
RA
432362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43237
43238 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43239 and -mno-altivec to prevent the compiler from using Altivec and/or
43240 VSX instructions when the corresponding registers are not available.
43241
a4527b51
AS
432422011-05-19 Andreas Schwab <schwab@redhat.com>
43243
43244 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43245
ed690b2f
UD
432462011-05-19 Ulrich Drepper <drepper@gmail.com>
43247
43248 * libio/freopen.c (freopen): Use __dup2, not dup2.
43249 * libio/freopen64.c (freopen64): Likewise.
43250
8db73634
L
432512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43252
43253 [BZ #12775]
43254 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43255 * math/Makefile (tests): Add test-powl.
43256 (CFLAGS-test-powl.c): Define.
43257 * math/test-powl.c: New file.
43258
0a197a9d
L
432592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43262
ee30c380
UD
432632011-05-17 Ulrich Drepper <drepper@gmail.com>
43264
43265 [BZ #11837]
43266 * iconvdata/gb18030.c: Update to GB18020-2005.
43267
6ce75379
UD
432682011-05-16 Ulrich Drepper <drepper@gmail.com>
43269
a4b89fd8
AR
43270 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43271 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43272 Patch by Aharon Robbins <arnold@skeeve.com>.
43273
ea389b12
UD
43274 [BZ #11892]
43275 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43276 on the stack.
43277
68a3f91f
UD
43278 [BZ #11895]
43279 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43280 through underflows.
43281
15cc7dd1
UD
43282 [BZ #12766]
43283 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43284 point to strings before performing equality test for error_one_per_line
43285 mode.
43286
f3799213
UD
43287 [BZ #11697]
43288 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43289
d79a9c94
UD
43290 [BZ #11820]
43291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43292 (struct user_fpregs_struct): Avoid __uint*_t types.
43293
56e5eb46
UD
43294 [BZ #6420]
43295 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43296 symbol info. Use it instead of calling _dl_addr locally.
43297 (lock_and_info): New function.
43298 (tr_freehook): Call lock_and_info and pass symbol info as additional
43299 parameter to tr_where.
43300 (tr_mallochook): Likewise.
43301 (tr_reallochook): Likewise.
43302 (tr_memalignhook): Likewise.
43303
6ce75379
UD
43304 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43305 used and couldn't be at all thread-safe.
43306
f8a3b5bf
UD
433072011-05-15 Ulrich Drepper <drepper@gmail.com>
43308
94b7cc37
UD
43309 * libio/freopen.c (freopen): Don't close old file descriptor
43310 before the new one is opened. Instead dup the new file descriptor
43311 to the old one after the new stream is created.
43312 * libio/freopen64.c (freopen64): Likewise.
43313 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43314 * libio/fileops.c (_IO_new_file_close_it): Handle new
43315 _IO_FLAGS2_NOCLOSE flag.
43316 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43317 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43318 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43319 _IO_FLAGS2_NOCLOSE flag.
43320 * include/unistd.h: Add hidden_proto for dup3.
43321 Define __have_dup3.
43322 * io/dup3.c: Define hidden symbol.
43323 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43324
bd25564e
UD
43325 [BZ #7101]
43326 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43327 when an incomplete long option is used.
43328 * posix/tst-getopt_long1.c: New file.
43329 * posix/Makefile (tests): Add tst-getopt_long1.
43330
c84cfef4
UD
43331 [BZ #10138]
43332 * scripts/config.guess: Update from autoconf-2.68.
43333 * scripts/config.sub: Likewise.
43334
3b85df27
UD
43335 [BZ #10157]
43336 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43337 tests into ...
43338 (has_cpuclock): ...this. New function.
43339 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43340 macro here based on has_cpuclock code.
43341
15a856b1
UD
43342 [BZ #10149]
43343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43344 First byte (not low byte) is now always NUL.
43345 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43346
05f399e6
UD
43347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43348 Use non-cancelable interfaces.
43349
10a52685 43350 [BZ #9809]
94ecc67d
UD
43351 * locale/iso-639.def: Add entry for Sorani.
43352
f8a3b5bf
UD
43353 [BZ #11901]
43354 * include/stdlib.h: Move include protection to the right place.
43355 Define abort_msg_s. Declare __abort_msg with it.
43356 * stdlib/abort.c (__abort_msg): Adjust type.
43357 * assert/assert.c (__assert_fail_base): New function. Majority
43358 of code from __assert_fail. Allocate memory for __abort_msg with
43359 mmap.
43360 (__assert_fail): Now call __assert_fail_base.
43361 * assert/assert-perr.c: Remove bulk of implementation. Use
43362 __assert_fail_base.
43363 * include/assert.hL Declare __assert_fail_base.
43364 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43365 mmap.
43366 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43367
1af4e298
UD
433682011-05-14 Ulrich Drepper <drepper@gmail.com>
43369
f8a3b5bf 43370 [BZ #11952]
d26dfc60
MG
43371 [BZ #12453]
43372 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43373 until all modules are registered in the DTV.
43374 * elf/Makefile: Add rules to build and run tst-tls19.
43375 * elf/tst-tls19.c: New file.
43376 * elf/tst-tls19mod1.c: New file.
43377 * elf/tst-tls19mod2.c: New file.
43378 * elf/tst-tls19mod3.c: New file.
43379 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43380
2fc54d6f
UD
43381 [BZ #12083]
43382 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43383 correctly.
43384
98d76b46
UD
43385 [BZ #12601]
43386 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43387 two-byte sequence errors.
43388 * iconvdata/Makefile (tests): Add bug-iconv8.
43389 * iconvdata/bug-iconv8.c: New file.
43390
da3c19ef
UD
43391 [BZ #12626]
43392 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43393 buf2 definition.
43394
ca408c15
UD
43395 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43396
d6f67f7d
UD
43397 [BZ #12432]
43398 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43399 (dummy_getcfa): New function.
43400 (init): Get _Unwind_GetCFA address, use dummy if not found.
43401 (backtrace_helper): In recursion check, also check whether CFA changes.
43402 (__backtrace): Completely initialize arg.
43403
1af4e298 43404 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43405 storing incomplete byte sequence in state object. Avoid testing for
43406 guaranteed too small input if we know there is enough data available.
1af4e298 43407
da62f81b
AS
434082011-05-11 Andreas Schwab <schwab@redhat.com>
43409
43410 * Makeconfig (+link-pie): Indent.
43411 * Rules (binaries-pie): Define if $(have-fpie) and
43412 $(build-shared).
43413 (binaries-shared): Also filter out $(binaries-pie).
43414 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43415 * nscd/Makefile (others-pie): Add nscd.
43416 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43417 ($(objpfx)nscd): Remove command override.
43418 * login/Makefile (others-pie): Add pt_chown.
43419 ($(objpfx)pt_chown): Remove command override.
43420 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43421 remove command overrides.
43422
fcabc0f8
UD
434232011-05-13 Ulrich Drepper <drepper@gmail.com>
43424
20030ae6
UD
43425 * libio/tst_putwc.c: Fix error messages.
43426
fcabc0f8
UD
43427 [BZ #12724]
43428 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43429 currently writing and seek to current position when not.
43430 * libio/Makefile (tests): Add bug-fclose1.
43431 * libio/bug-fclose1.c: New file.
43432
320a5dc0
PB
434332011-05-12 Ulrich Drepper <drepper@gmail.com>
43434
43435 [BZ #12511]
43436 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43437 don't set DF_1_NODELETE here.
43438 (do_lookup_x): When entering new entry test for copy relocation
43439 and if necessary set DF_1_NODELETE flag.
43440 * elf/tst-unique4.cc: New file.
43441 * elf/tst-unique4.h: New file.
43442 * elf/tst-unique4lib.cc: New file.
43443 * elf/Makefile: Add rules to build and run tst-unique4.
43444 Patch by Piotr Bury <pbury@goahead.com>.
43445
22836f52
UD
434462011-05-11 Ulrich Drepper <drepper@gmail.com>
43447
f574184a
UD
43448 [BZ #12052]
43449 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43450
e1fb097f
UD
43451 [BZ #12625]
43452 * misc/mntent_r.c (addmntent): Flush the stream after the output
43453
22836f52
UD
43454 [BZ #12393]
43455 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43456 (is_trusted_path_normalize): Skip initial colon. Append slash
43457 to empty buffer. Duplicate is_trusted_path code but allow
43458 constructed patch to be prefix.
43459 (is_dst): Allow $ORIGIN followed by /.
43460 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43461 Correct testing of result of is_trusted_path_normalize
43462 (decompose_rpath): Fix warning.
43463
7b3b0b2a
UD
434642011-05-10 Ulrich Drepper <drepper@gmail.com>
43465
43466 [BZ #11257]
43467 * grp/initgroups.c (internal_getgrouplist): When we found the service
43468 list through the initgroups entry in nsswitch.conf do not always
43469 continue on a successful lookup. Don't always use the
eac80ce2 43470 __nss_group_database value if it is set.
7b3b0b2a
UD
43471 * nss/nsswitch.conf (initgroups): Change action for successful db
43472 lookup to continue for compatibility.
43473
2a81eaa5
UD
434742011-05-09 Ulrich Drepper <drepper@gmail.com>
43475
be97a69e
UD
43476 [BZ #11532]
43477 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43478 and CP774 modules.
43479 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43480 and CP774 modules.
43481 * iconvdata/tst-tables.sh: Likewise.
43482 * iconvdata/cp770.c: New file.
43483 * iconvdata/cp771.c: New file.
43484 * iconvdata/cp772.c: New file.
43485 * iconvdata/cp773.c: New file.
43486 * iconvdata/cp774.c: New file.
43487 * iconvdata/testdata/CP770: New file.
43488 * iconvdata/testdata/CP770..UTF8: New file.
43489 * iconvdata/testdata/CP771: New file.
43490 * iconvdata/testdata/CP771..UTF8: New file.
43491 * iconvdata/testdata/CP772: New file.
43492 * iconvdata/testdata/CP772..UTF8: New file.
43493 * iconvdata/testdata/CP773: New file.
43494 * iconvdata/testdata/CP773..UTF8: New file.
43495 * iconvdata/testdata/CP774: New file.
43496 * iconvdata/testdata/CP774..UTF8: New file.
43497
43498 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43499 END CHARMAP line.
43500 * iconvdata/gen-8bit-gap.sh: Likewise.
43501 * iconvdata/gen-8bit.sh: Likewise.
43502
c1e9e399
UD
43503 * locale/iso-639.def: Add ary entry.
43504
24c55fb3 43505 [BZ #11258]
96b4b1b0
UD
43506 * locale/C-translit.h.in: Add U20A1 transliteration.
43507
bdc2f971
KB
43508 [BZ #12178]
43509 * locale/iso-639.def: Add wae entry.
43510 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43511
2952b117
UD
43512 [BZ #12545]
43513 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43514 for n.
43515
2a81eaa5
UD
43516 [BZ #12711]
43517 * locale/C-translit.h.in: Add entry for U20B9.
43518 Patch by pravin.d.s@gmail.com.
43519
28377d1b
UD
435202011-05-08 Ulrich Drepper <drepper@gmail.com>
43521
7fb90fb8
UD
43522 [BZ #12713]
43523 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43524 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43525 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43526 in rtld. Use *stat64.
7fb90fb8 43527 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43528 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43529 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43530 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43531 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43532 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43533 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43534 __fstatat64 macros.
7fb90fb8
UD
43535 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43536 * dirent/rewinddir.c: Add libc_hidden_def.
43537 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43538 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43539
28377d1b
UD
43540 * include/dirent.h (__alloc_dir): Add flags parameter.
43541 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43542 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43543 __alloc_dir.
43544 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43545 from fdopendir if O_CLOEXEC is already set.
43546
66bdbaa4
AM
435472011-03-15 Alan Modra <amodra@gmail.com>
43548
43549 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43550 l_tls_firstbyte_offset non-zero. Save padding offset in
43551 l_tls_firstbyte_offset for later use.
43552 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43553 freeing static tls block.
43554
95721191
JN
435552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43556
43557 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43558 where #ifdef was intended. The intent is to prevent ARG_MAX from
43559 being defined by the kernel headers.
43560
f87dfb1f
UD
435612011-05-07 Ulrich Drepper <drepper@gmail.com>
43562
43563 [BZ #12734]
43564 * resolv/resolv.h: Define RES_NOTLDQUERY.
43565 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43566 no-tld-query and set RES_NOTLDQUERY.
43567 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43568 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43569 modern BIND to search name as TLD unless forbidden.
43570
47c3cd7a
UD
435712011-05-07 Petr Baudis <pasky@suse.cz>
43572 Ulrich Drepper <drepper@gmail.com>
43573
43574 [BZ #12393]
43575 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43576 (is_trusted_path): ...to here.
c1e9ea35 43577 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43578 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43579 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43580
8a35c912
PP
435812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43582
43583 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43584 __BEGIN/__END_DECLS.
43585
acd41f47
UD
435862011-05-06 Ulrich Drepper <drepper@gmail.com>
43587
43588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43589 NSS_STATUS_NOTFOUND if no record was found.
43590
597df647
AS
435912011-05-05 Andreas Schwab <schwab@redhat.com>
43592
43593 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43594 (headers-not-in-tirpc): Remove rpc/netdb.h
43595 * resolv/netdb.h: Revert last change.
43596
b9af1301
PP
435972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43598
43599 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43600 circular dependency between libgcc.a and libc.a.
43601
4e34d5f5
AS
436022011-05-05 Andreas Schwab <schwab@redhat.com>
43603
43604 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43605 * nis/Makefile: Don't install rpcsvc/*.
43606 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43607 instead of <rpc/types.h>.
43608 (MAXHOSTNAMELEN): Define.
43609
00ee369c
AS
436102011-05-03 Andreas Schwab <schwab@redhat.com>
43611
43612 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43613
0b592a30
MB
436142011-04-28 Maciej Babinski <mbabinski@google.com>
43615
43616 [BZ #12714]
43617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43618 gethostbyname4_r when IPv6 results are possible.
43619
6e04cbbe
UD
436202011-05-02 Ulrich Drepper <drepper@gmail.com>
43621
43622 [BZ #12723]
43623 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43624 _PC_PIPE_BUF handling.
43625
e4ecafe0
BH
436262011-04-30 Bruno Haible <bruno@clisp.org>
43627
43628 [BZ #12717]
43629 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43630 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43631 to 'int'.
43632 * inet/getnameinfo.c (getnameinfo): Likewise.
43633
125ee683
UD
436342011-04-29 Ulrich Drepper <drepper@gmail.com>
43635
43636 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43637 to groups setting in database lookup.
43638 * nss/nsswitch.conf: Add initgroups entry.
43639
b722481a
EB
436402011-04-22 Ulrich Drepper <drepper@gmail.com>
43641
43642 [BZ #12685]
43643 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43644 mode string.
43645 Patch by Eric Blake <eblake@redhat.com>.
43646
4df46dbd
L
436472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43648
43649 * sunrpc/Makefile (need-export-routines): Add svc_run.
43650 (routines): Remove svc_run.
43651 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43652 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43653 * sunrpc/svc_run.c (svc_run): Likewise.
43654 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43655
e84142d2
UD
436562011-04-21 Ulrich Drepper <drepper@gmail.com>
43657
43658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43659 problem in reallocation in last patch.
43660
877175d8
UD
436612011-04-20 Ulrich Drepper <drepper@gmail.com>
43662
43663 * sunrpc/Makefile: Move inclusion of Rules.
43664
ab8eed78
UD
436652011-04-19 Ulrich Drepper <drepper@gmail.com>
43666
43667 * nss/nss_files/files-initgroups.c: New file.
43668 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43669 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43670 _nss_files_initgroups_dyn.
43671
e3d8f584
RS
436722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43673
43674 * elf/elf.h (R_ARM_IRELATIVE): Define.
43675
af190f45
UD
436762011-04-19 Ulrich Drepper <drepper@gmail.com>
43677
43678 * po/ru.po: Update from translation team.
43679
53cf59ef
UD
436802011-04-17 Ulrich Drepper <drepper@gmail.com>
43681
43682 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43683 dependencies.
43684
4c559bcd
MF
436852011-02-06 Mike Frysinger <vapier@gentoo.org>
43686
43687 [BZ #12653]
43688 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43689 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43690 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43691 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43693
4420675c
AS
436942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43695
43696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43697 differing bytes.
43698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43701
75ea32ab
UD
437022011-04-17 Ulrich Drepper <drepper@gmail.com>
43703
43704 [BZ #12420]
43705 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43706 storing it.
43707 * stdlib/bug-getcontext.c: New file.
43708 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43709
27390476
AK
437102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43711
43712 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43713 instructions into .machine "z9-109".
43714 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43715 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43716
10442705
AK
437172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43718
43719 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43720 between environment variables and auxiliary vector.
43721
7b57bfe5
UD
437222011-04-16 Ulrich Drepper <drepper@gmail.com>
43723
43724 * Makefile: Add rules to build linkobj/libc.so.
43725 * include/libc-symbols.h: Define libc_hidden_nolink.
43726 * include/rpc/auth.h: Mark functions which are to be hidden.
43727 * include/rpc/auth_des.h: Likewise.
43728 * include/rpc/auth_unix.h: Likewise.
43729 * include/rpc/clnt.h: Likewise.
43730 * include/rpc/des_crypt.h: Likewise.
43731 * include/rpc/key_prot.h: Likewise.
43732 * include/rpc/pmap_clnt.h: Likewise.
43733 * include/rpc/pmap_prot.h: Likewise.
43734 * include/rpc/pmap_rmt.h: Likewise.
43735 * include/rpc/rpc_msg.h: Likewise.
43736 * include/rpc/svc.h: Likewise.
43737 * include/rpc/svc_auth.h: Likewise.
43738 * include/rpc/xdr.h: Likewise.
43739 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43740 * nss/Makefile: Likewise.
43741 * sunrpc/Makefile: Don't install headers. Build library with normal
43742 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43743 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43744 for the compat linking library. Remove use of INTDEF/INTUSE.
43745 * sunrpc/auth_none.c: Likewise.
43746 * sunrpc/auth_unix.c: Likewise.
43747 * sunrpc/authdes_prot.c: Likewise.
43748 * sunrpc/authuxprot.c: Likewise.
43749 * sunrpc/clnt_gen.c: Likewise.
43750 * sunrpc/clnt_perr.c: Likewise.
43751 * sunrpc/clnt_raw.c: Likewise.
43752 * sunrpc/clnt_simp.c: Likewise.
43753 * sunrpc/clnt_tcp.c: Likewise.
43754 * sunrpc/clnt_udp.c: Likewise.
43755 * sunrpc/clnt_unix.c: Likewise.
43756 * sunrpc/des_crypt.c: Likewise.
43757 * sunrpc/des_soft.c: Likewise.
43758 * sunrpc/get_myaddr.c: Likewise.
43759 * sunrpc/key_call.c: Likewise.
43760 * sunrpc/key_prot.c: Likewise.
43761 * sunrpc/netname.c: Likewise.
43762 * sunrpc/pm_getmaps.c: Likewise.
43763 * sunrpc/pm_getport.c: Likewise.
43764 * sunrpc/pmap_clnt.c: Likewise.
43765 * sunrpc/pmap_prot.c: Likewise.
43766 * sunrpc/pmap_prot2.c: Likewise.
43767 * sunrpc/pmap_rmt.c: Likewise.
43768 * sunrpc/publickey.c: Likewise.
43769 * sunrpc/rpc_cmsg.c: Likewise.
43770 * sunrpc/rpc_common.c: Likewise.
43771 * sunrpc/rpc_dtable.c: Likewise.
43772 * sunrpc/rpc_prot.c: Likewise.
43773 * sunrpc/rpc_thread.c: Likewise.
43774 * sunrpc/rtime.c: Likewise.
43775 * sunrpc/svc.c: Likewise.
43776 * sunrpc/svc_auth.c: Likewise.
43777 * sunrpc/svc_authux.c: Likewise.
43778 * sunrpc/svc_raw.c: Likewise.
43779 * sunrpc/svc_run.c: Likewise.
43780 * sunrpc/svc_simple.c: Likewise.
43781 * sunrpc/svc_tcp.c: Likewise.
43782 * sunrpc/svc_udp.c: Likewise.
43783 * sunrpc/svc_unix.c: Likewise.
43784 * sunrpc/svcauth_des.c: Likewise.
43785 * sunrpc/xcrypt.c: Likewise.
43786 * sunrpc/xdr.c: Likewise.
43787 * sunrpc/xdr_array.c: Likewise.
43788 * sunrpc/xdr_float.c: Likewise.
43789 * sunrpc/xdr_intXX_t.c: Likewise.
43790 * sunrpc/xdr_mem.c: Likewise.
43791 * sunrpc/xdr_rec.c: Likewise.
43792 * sunrpc/xdr_ref.c: Likewise.
43793 * sunrpc/xdr_sizeof.c: Likewise.
43794 * sunrpc/xdr_stdio.c: Likewise.
43795
e6c61494
UD
437962011-04-10 Ulrich Drepper <drepper@gmail.com>
43797
43798 [BZ #12650]
43799 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43800 * sysdeps/ia64/dl-tls.h: Likewise.
43801 * sysdeps/powerpc/dl-tls.h: Likewise.
43802 * sysdeps/s390/dl-tls.h: Likewise.
43803 * sysdeps/sh/dl-tls.h: Likewise.
43804 * sysdeps/sparc/dl-tls.h: Likewise.
43805 * sysdeps/x86_64/dl-tls.h: Likewise.
43806 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43807
34fe483e
AS
438082011-03-14 Andreas Schwab <schwab@redhat.com>
43809
43810 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43811 rpath element also skip the following colon.
43812 (expand_dynamic_string_token): Add is_path parameter and pass
43813 down to DL_DST_REQUIRED and _dl_dst_substitute.
43814 (decompose_rpath): Call expand_dynamic_string_token with
43815 non-zero is_path. Ignore empty rpaths.
43816 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43817 with zero is_path.
43818
f12a32e6
AS
438192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43820
43821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43822 Make cancelable.
43823
38a7d692
UD
438242011-04-09 Ulrich Drepper <drepper@gmail.com>
43825
43826 [BZ #12655]
43827 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43828 Patch by Filipe David Manana <fdmanana@apache.org>.
43829
e451d22b
AS
438302011-04-07 Andreas Schwab <schwab@redhat.com>
43831
43832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43833 Maintain aligned stack.
43834 (CHECK_RSP): Remove unused macro.
43835
dedc7c7b
UD
438362011-04-03 Ulrich Drepper <drepper@gmail.com>
43837
43838 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43840
94521213
UD
438412011-04-02 Ulrich Drepper <drepper@gmail.com>
43842
43843 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43844
8cb700c0 43845 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43846
0354e355
L
438472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43848
43849 [BZ #12518]
43850 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43851 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43852 * sysdeps/x86_64/memmove.c: New file.
43853 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43854 (memcpy): Renamed to ...
43855 (__new_memcpy): This.
43856 (memcpy): Provide GLIBC_2_14 memcpy.
43857 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43858 (memcpy): Provide GLIBC_2_2_5 memcpy.
43859
8593482f
UD
438602011-04-01 Ulrich Drepper <drepper@gmail.com>
43861
43862 [BZ #12631]
43863 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43864
81a5726b
AS
438652011-03-30 Andreas Schwab <schwab@redhat.com>
43866
43867 * misc/syncfs.c: New file.
43868 * misc/Makefile (routines): Add syncfs.
43869 * posix/unistd.h: Declare syncfs.
43870 * sysdeps/unix/syscalls.list: Add syncfs.
43871
00e5419f
AS
438722011-04-01 Andreas Schwab <schwab@redhat.com>
43873
43874 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43875 open_by_handle_at.
43876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43877 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43879 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43881 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43883
748876bf
UD
438842011-04-01 Ulrich Drepper <drepper@gmail.com>
43885
658e451d
UD
43886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43888 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43893
748876bf
UD
43894 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43895 sync_file_range.c with -fexceptions.
43896 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43897 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43898 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43899 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43900 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43901 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43903 sync_file_range as cancellation point
43904 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43905 now a wrapper around __call_sync_file_range with cancellation handling.
43906 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43907 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43908 function name to __call_sync_file_range.
43909 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43910 Add call_sync_file_range.
748876bf 43911
6e63d5e1
AS
439122011-04-01 Andreas Schwab <schwab@redhat.com>
43913
43914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43915 bits/timex.h.
6e63d5e1 43916
46998f74
UD
439172011-04-01 Ulrich Drepper <drepper@gmail.com>
43918
4c1423ed
UD
43919 * iconv/iconv.h: Fix typo in comment.
43920 * io/fcntl.h: Likewise.
43921 * libio/stdio.h: Likewise.
43922 * posix/spawn.h: Likewise.
43923 * posix/unistd.h: Likewise.
43924 * stdlib/stdlib.h: Likewise.
43925 * time/time.h: Likewise.
43926 * wcsmbs/wchar.h: Likewise.
43927
158648c0
UD
43928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43929 open_by_handle): Add.
43930 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43931 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43932 Augment a few comments.
43933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43938 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43939 open_by_handle.
43940
46998f74
UD
43941 * io/fcntl.h (AT_EMPTY_PATH): Define.
43942
83fe108b
UD
439432011-03-30 Ulrich Drepper <drepper@gmail.com>
43944
43945 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43946 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43947 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43948 to...
43949 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43950 * Versions.def: Add GLIBC_2.14.
43951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43952 Export.
83fe108b 43953
bb242059
UD
439542011-03-22 Ulrich Drepper <drepper@gmail.com>
43955
43956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43957 round counter.
43958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43959
c97a1282
L
439602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43961
43962 [BZ #12597]
43963 * string/test-strncmp.c (do_page_test): New function.
43964 (check2): Likewise.
43965 (test_main): Call check2.
43966 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43967
2a115601
UD
439682011-03-20 Ulrich Drepper <drepper@gmail.com>
43969
43970 [BZ #12587]
43971 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43972 Handle cache information in CPU leaf 4.
43973 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43974
8126d904
UD
439752011-03-18 Ulrich Drepper <drepper@gmail.com>
43976
042c49c6 43977 [BZ #12583]
8126d904
UD
43978 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43979 character representation.
43980 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43981
ccfe366e
RA
439822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43983
43984 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43985 END(__isnan) to END(__isnanf) to match function entry point/label
43986 EALIGN(__isnanf,...).
43987
c6e13027
JJ
439882011-03-10 Jakub Jelinek <jakub@redhat.com>
43989
43990 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43991
33f85a3f
UD
439922011-03-10 Ulrich Drepper <drepper@gmail.com>
43993
028478fa
UD
43994 [BZ #12510]
43995 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43996 copy from the symbol referenced in the relocation to initialize the
43997 used variable.
43998 Patch by Piotr Bury <pbury@goahead.com>.
43999 * elf/Makefile: Add rules to build and tst-unique3.
44000 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44001 * elf/tst-unique3.cc: New file.
44002 * elf/tst-unique3.h: New file.
44003 * elf/tst-unique3lib.cc: New file.
44004 * elf/tst-unique3lib2.cc: New file.
44005
33f85a3f
UD
44006 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44007
03592fc7
MF
440082011-03-10 Mike Frysinger <vapier@gentoo.org>
44009
44010 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44011 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44012 to _start.
03592fc7 44013
6a5ee102
UD
440142011-03-06 Ulrich Drepper <drepper@gmail.com>
44015
44016 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44017 to-be-loaded object along a path to loader is ld.so.
44018
7e4ba49c
HJ
440192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44020 Ulrich Drepper <drepper@gmail.com>
44021
44022 * sysdeps/x86_64/memset.S: After aligning destination, code
44023 branches to different locations depending on the value of
44024 misalignment, when multiarch is enabled. Fix this.
44025
440262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44027
44028 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44029 Set _x86_64_preferred_memory_instruction for AMD processsors.
44030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44031 Set bit_Prefer_SSE_for_memop for AMD processors.
44032
13a804de
UD
440332011-03-04 Ulrich Drepper <drepper@gmail.com>
44034
44035 * libio/fmemopen.c (fmemopen): Optimize a bit.
44036
9d25c392
AS
440372011-03-03 Andreas Schwab <schwab@redhat.com>
44038
44039 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44040
a5543c6a
RM
440412011-03-03 Roland McGrath <roland@redhat.com>
44042
44043 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44044
012d35f7
DM
440452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44046
7e4ba49c 44047 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44048 __bzero_ultra1 instead of __memset_ultra1.
44049
4bff6e01
AS
440502011-02-23 Andreas Schwab <schwab@redhat.com>
44051 Ulrich Drepper <drepper@gmail.com>
44052
44053 [BZ #12509]
44054 * include/link.h (struct link_map): Add l_orig_initfini.
44055 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44056 returning unsuccessfully.
44057 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44058 close of a file loaded at startup, restore the original l_initfini
44059 list.
44060 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44061 list, store the pointer.
44062 * elf/Makefile ($(objpfx)noload-mem): New rule.
44063 (noload-ENV): Define.
44064 (tests): Add $(objpfx)noload-mem.
44065 * elf/noload.c: Include <memcheck.h>.
44066 (main): Call mtrace. Close all opened handles.
44067
f2092faf
AS
440682011-02-17 Andreas Schwab <schwab@redhat.com>
44069
44070 [BZ #12454]
44071 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44072 dependencies are missing.
44073
6c8a2e88
ST
440742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44075
f2092faf 44076 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44077 Hurd needs munmap.
44078 * sysdeps/mach/hurd/ifreq.h: New file.
44079
84a42118
PB
440802011-01-27 Petr Baudis <pasky@suse.cz>
44081 Ulrich Drepper <drepper@gmail.com>
44082
071f805e 44083 [BZ 12445]#
84a42118
PB
44084 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44085 to extend_alloca().
44086 * stdio-common/bug23.c: New file.
44087 * stdio-common/Makefile (tests): Add bug23.
44088
e23fe25b
AS
440892010-09-28 Andreas Schwab <schwab@redhat.com>
44090 Ulrich Drepper <drepper@gmail.com>
44091
44092 [BZ #12489]
44093 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44094 before performing relro protection. At old place add assertion
44095 to make sure nothing changed.
44096
d3f02e10
NS
440972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44098 Glauber de Oliveira Costa <glommer@gmail.com>
44099
44100 * elf/elf.h: Add new ARM TLS relocs.
44101
d55fd7a5
RA
441022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44103
44104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44105 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44106 cast from r3.
44107 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44108 'tests' variable.
44109 * sysdeps/wordsize-64/tst-writev.c: New file.
44110
2206397e
RA
441112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44112
44113 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44114 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44115 insns in _dl_start to prevent a TOC reference before relocs are
44116 resolved.
44117
e9433893
UD
441182011-02-15 Ulrich Drepper <drepper@gmail.com>
44119
44120 [BZ #12469]
44121 * Makeconfig: Remove RANLIB definition.
44122 * Makerules: Don't use RANLIB.
44123 * aclocal.m4: Remove ranlib test.
44124 * configure.in: No need to check for ranlib.
44125 * elf/rtld-Rules: Don't use RANLIB.
44126
f75286c6
ST
441272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44128
8e31c82d
ST
44129 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44130 protection macro.
44131 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44132 inclusion protection macro.
44133
f75286c6
ST
44134 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44135 SIGRTMIN and SIGRTMAX and print information in that case only when
44136 SIGRTMIN is defined.
44137
c1d0e639
JJ
441382011-02-11 Jakub Jelinek <jakub@redhat.com>
44139
44140 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44141 arginfo fn returning -1.
44142
44143 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44144 and thousands string is zero terminated.
44145
edf9294e
AS
441462011-02-03 Andreas Schwab <schwab@redhat.com>
44147
44148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44149 sysdeps/unix/sysv/linux/bits/socket.h.
44150
2b7e92df
ST
441512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44152
edf9294e
AS
44153 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44154 (__CPU_COUNT): Remove old macros.
44155 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44156 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44157 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44158 (__sched_cpualloc, __sched_cpufree): Add declarations.
44159
a4c7ea7b
UD
441602011-02-05 Ulrich Drepper <drepper@gmail.com>
44161
44162 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44163 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44164 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44165 (readdhstai): Return value of addhstaiX call.
44166 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44167 (addgrbyX): Return value returned by cache_addgr.
44168 (readdgrbyname): Return value returned by addgrbyX.
44169 (readdgrbygid): Likewise.
44170 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44171 (addpwbyX): Return value returned by cache_addpw.
44172 (readdpwbyname): Return value returned by addhstbyX.
44173 (readdpwbyuid): Likewise.
44174 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44175 (addservbyX): Return value returned by cache_addserv.
44176 (readdservbyname): Return value returned by addservbyX:
44177 (readdservbyport): Likewise.
44178 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44179 (addhstbyX): Return value returned by cache_addhst.
44180 (readdhstbyname): Return value returned by addhstbyX.
44181 (readdhstbyaddr): Likewise.
44182 (readdhstbynamev6): Likewise.
44183 (readdhstbyaddrv6): Likewise.
44184 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44185 (readdinitgroups): Return value returned by addinitgroupsX.
44186 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44187 (prune_cache): Keep track of timeout value of re-added entries.
44188 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44189 * nscd/nscd.h: Adjust prototypes of readd* functions.
44190
a0bf67cc
RM
441912011-02-04 Roland McGrath <roland@redhat.com>
44192
44193 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44194 (nis_stats): Likewise.
44195 * nis/nis_modify.c (nis_modify): Likewise.
44196 * nis/nis_remove.c (nis_remove): Likewise.
44197 * nis/nis_add.c (nis_add): Likewise.
44198
44199 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44200
44201 * posix/fnmatch_loop.c: Add some consts.
44202
44203 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44204
435b95eb
L
442052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44206
44207 [BZ #12460]
44208 * config.make.in (config-cflags-novzeroupper): Define.
44209 * configure.in: Substitute libc_cv_cc_novzeroupper.
44210 * elf/Makefile (AVX-CFLAGS): Define.
44211 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44212 (CFLAGS-tst-auditmod4a.c): Likewise.
44213 (CFLAGS-tst-auditmod4b.c): Likewise.
44214 (CFLAGS-tst-auditmod6b.c): Likewise.
44215 (CFLAGS-tst-auditmod6c.c): Likewise.
44216 (CFLAGS-tst-auditmod7b.c): Likewise.
44217 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44218
8517b15e
UD
442192011-02-02 Ulrich Drepper <drepper@gmail.com>
44220
44221 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44222 function to the callback.
44223 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44224
10a656fe
AS
442252011-02-02 Andreas Schwab <schwab@redhat.com>
44226
44227 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44228 of errno.
44229
968dad0a
UD
442302011-01-19 Ulrich Drepper <drepper@gmail.com>
44231
9f94d2ea 44232 [BZ #11724]
968dad0a
UD
44233 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44234 of constructors.
44235 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44236 of destructors.
44237 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44238
44239 [BZ #11724]
44240 * elf/Makefile: Add rules to build and run new test.
44241 * elf/tst-initorder.c: New file.
44242 * elf/tst-initorder.exp: New file.
44243 * elf/tst-initordera1.c: New file.
44244 * elf/tst-initordera2.c: New file.
44245 * elf/tst-initordera3.c: New file.
44246 * elf/tst-initordera4.c: New file.
44247 * elf/tst-initorderb1.c: New file.
44248 * elf/tst-initorderb2.c: New file.
44249 * elf/tst-order-a1.c: New file.
44250 * elf/tst-order-a2.c: New file.
44251 * elf/tst-order-a3.c: New file.
44252 * elf/tst-order-a4.c: New file.
44253 * elf/tst-order-b1.c: New file.
44254 * elf/tst-order-b2.c: New file.
44255 * elf/tst-order-main.c: New file.
44256 New test case by George Gensure <werkt0@gmail.com>.
44257
86e92359
UD
442582010-10-01 Andreas Schwab <schwab@redhat.com>
44259
44260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44261 decoding ACE if AI_CANONIDN.
44262
5d5732b0
UD
442632011-01-18 Ulrich Drepper <drepper@gmail.com>
44264
44265 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44266
a77e8cbc
UD
442672011-01-17 Ulrich Drepper <drepper@gmail.com>
44268
6392473f
UD
44269 * version.h (RELEASE): Bump for 2.13 release.
44270 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44271
620a0529
UD
44272 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44273
18ba70a5
UD
44274 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44275 MADV_NOHUGEPAGE.
32465c3e
UD
44276 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44282
c0dafcf1
UD
44283 * posix/getconf.c: Update copyright year.
44284 * catgets/gencat.c: Likewise.
44285 * csu/version.c: Likewise.
44286 * debug/catchsegv.sh: Likewise.
44287 * debug/xtrace.sh: Likewise.
44288 * elf/ldconfig.c: Likewise.
44289 * elf/ldd.bash.in: Likewise.
44290 * elf/sprof.c (print_version): Likewise.
44291 * iconv/iconv_prog.c: Likewise.
44292 * iconv/iconvconfig.c: Likewise.
44293 * locale/programs/locale.c: Likewise.
44294 * locale/programs/localedef.c: Likewise.
44295 * malloc/memusage.sh: Likewise.
44296 * malloc/mtrace.pl: Likewise.
44297 * nscd/nscd.c (print_version): Likewise.
44298 * nss/getent.c: Likewise.
44299
a77e8cbc
UD
44300 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44301 PF_CAIF, and PF_ALG.
44302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44303
77e8bddf
AS
443042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44305
1f20b93a
AS
44306 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44307 (modules-names): Use them.
44308 (ifunc-test-modules, ifunc-pie-tests): Define.
44309 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44310 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44311 (test-extras): Likewise.
44312 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44313 $(compile-command.c).
44314 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44315 (all-built-dso): Define.
44316 (check-textrel.out, check-execstack.out): Depend on it.
44317
77e8bddf
AS
44318 * configure.in: Don't override --enable-multi-arch.
44319
bc425b33
UD
443202011-01-15 Ulrich Drepper <drepper@gmail.com>
44321
44322 [BZ #6812]
44323 * nscd/hstcache.c (tryagain): Define.
44324 (cache_addhst): Return tryagain not notfound for temporary errors.
44325 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44326 failed.
44327
794c3ad3
UD
443282011-01-14 Ulrich Drepper <drepper@gmail.com>
44329
70181fdd
UD
44330 [BZ #10563]
44331 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44332 to make the syscall.
44333 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44334
794c3ad3
UD
44335 [BZ #12378]
44336 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44337 and fall back to matching as normal character if the string ends before
44338 the matching ']' is found. This is what POSIX requires.
44339 * posix/testfnm.c: Adjust test result.
44340 * posix/globtest.sh: Adjust test result. Add new test.
44341 * posix/tst-fnmatch.input: Likewise.
44342 * posix/tst-fnmatch2.c: Add new test.
44343
68dc9497
AS
443442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44345
44346 * elf/Makefile (check-execstack): Revert last change. Depend on
44347 check-execstack.h.
44348 (check-execstack.h): New target.
44349 (generated): Add check-execstack.h.
44350 * elf/check-execstack.c: Include "check-execstack.h".
44351 (main): Revert last change.
44352 (handle_file): Return zero if GNU_STACK is absent and
44353 DEFAULT_STACK_PERMS doesn't include PF_X.
44354
451f001b
UD
443552011-01-13 Ulrich Drepper <drepper@gmail.com>
44356
cfa28e56
UD
44357 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44358 in child fails because the descriptor is already closed.
8cf8ce17
UD
44359 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44360 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44361 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44362
1086d70d
UD
44363 [BZ #12397]
44364 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44365 syscall.
44366
451f001b
UD
44367 [BZ #10484]
44368 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44369 temporary buffer used to handle multi lookups locally.
a85b5cb4 44370 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44371
08769175
UD
443722011-01-12 Ulrich Drepper <drepper@gmail.com>
44373
44374 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44375 loader is ld.so.
44376
5e49c52e
UD
443772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44378
44379 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44380 alignment for SSE2.
44381
60522a5f
UD
443822011-01-12 Ulrich Drepper <drepper@gmail.com>
44383
44384 [BZ #12394]
44385 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44386 characters. When rounding increased number of integer digits recompute
44387 number of groups.
44388 * stdio-common/tst-grouping.c: New file.
44389 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44390
f257bbd7
UD
443912011-01-09 Ulrich Drepper <drepper@gmail.com>
44392
44393 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44394 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44395
44396 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44397 void.
44398 * bits/select.h: Likewise.
44399
fa9c15cb
UD
444002011-01-08 Ulrich Drepper <drepper@gmail.com>
44401
44402 * po/ja.po: Update from translation team.
44403
16c2895f
DM
444042011-01-04 David S. Miller <davem@sunset.davemloft.net>
44405
44406 [BZ #11155]
44407 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44408 implementation just like for lxstat, fxstatat, et al.
44409
2543fef2
JM
444102010-12-27 Jim Meyering <meyering@redhat.com>
44411
44412 [BZ #12348]
44413 * posix/regexec.c (build_trtable): Return failure indication upon
44414 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44415
98727dbe
UD
444162010-12-25 Ulrich Drepper <drepper@gmail.com>
44417
5bd6dc5c
UD
44418 [BZ #12201]
44419 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44420 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44421 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44423
97983464
UD
44424 [BZ #12207]
44425 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44426
98727dbe
UD
44427 [BZ #12204]
44428 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44429 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44430
4a531bb0
L
444312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44432
44433 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44434 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44435 script has SORT_BY_INIT_PRIORITY.
44436 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44437 NO_CTORS_DTORS_SECTIONS is defined.
44438 * elf/soinit.c: Likewise.
44439 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44440 NO_CTORS_DTORS_SECTIONS is defined.
44441 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44442 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44443 * sysdeps/sh/init-first.c: Likewise.
44444 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44445
07eb4b71
UD
444462010-12-24 Ulrich Drepper <drepper@gmail.com>
44447
44448 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44449 always use the slow path.
44450
30950a5f
RA
444512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44452
44453 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44454 similar rule which adds the sysdep directories to the header search in
44455 order to pick up the correct platform stackinfo.h.
44456 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44457 perform test if it is, otherwise return successfully without testing.
44458 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44459 DEFAULT_STACK_PERMS define in stackinfo.h.
44460 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44461 defined in stackinfo.h.
44462 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44463 DEFAULT_STACK_PERMS defined in stackinfo.h.
44464 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44465 * sysdeps/ia64/stackinfo.h: Likewise.
44466 * sysdeps/s390/stackinfo.h: Likewise.
44467 * sysdeps/sh/stackinfo.h: Likewise.
44468 * sysdeps/sparc/stackinfo.h: Likewise.
44469 * sysdeps/x86_64/stackinfo.h: Likewise.
44470 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44471 PF_X for powerpc64. Retain PF_X for powerpc32.
44472
db753e2c
UD
444732010-12-19 Ulrich Drepper <drepper@gmail.com>
44474
14b697f7
UD
44475 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44476 accurately.
db753e2c
UD
44477 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44478 GETDENTS_64BIT_ALIGNED.
44479
28300719
UD
444802010-12-14 Ulrich Drepper <dreper@gmail.com>
44481
14b697f7 44482 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44483
4f197237
AS
444842010-12-10 Andreas Schwab <schwab@redhat.com>
44485
dbb0472f
AS
44486 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44487 _GNU_SOURCE.
44488
4f197237
AS
44489 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44490 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44491 Remove __restrict.
44492 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44493 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44494
fb88ac72
UD
444952010-12-09 Ulrich Drepper <drepper@gmail.com>
44496
44497 [BZ #11655]
44498 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44499 are initialized.
44500
42acbb92
JJ
445012010-12-09 Jakub Jelinek <jakub@redhat.com>
44502
44503 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44504
c038d98d
UD
445052010-12-03 Ulrich Drepper <drepper@gmail.com>
44506
44507 * po/it.po: Update from translation team.
44508
3a4a2499
L
445092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44510
44511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44512 unused codes.
44513
1e24cf6e
UD
445142010-11-30 Ulrich Drepper <drepper@gmail.com>
44515
44516 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44517
a7690819
AS
445182010-11-24 Andreas Schwab <schwab@redhat.com>
44519
44520 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44521 specially.
44522 (gaih_getanswer_slice): Likewise.
44523
3bf8d1b1
JJ
445242010-10-20 Jakub Jelinek <jakub@redhat.com>
44525
44526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44527
6db52fbb
PB
445282010-05-31 Petr Baudis <pasky@suse.cz>
44529
44530 [BZ #11149]
44531 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44532 silently even in the chroot mode.
44533
eaca7569
UD
445342010-11-22 Ulrich Drepper <drepper@gmail.com>
44535
44536 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44537 last patch a bit. Pretty printing
44538
3056dcdb
UD
445392010-05-31 Petr Baudis <pasky@suse.cz>
44540
44541 [BZ #10085]
44542 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44543 initialization of skip_initgroups_dyn.
44544
cf7c9078
UD
445452010-11-19 Ulrich Drepper <drepper@gmail.com>
44546
44547 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44549
a1fb5e3e
UD
445502010-11-16 Ulrich Drepper <drepper@gmail.com>
44551
44552 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44553
3540d66b
AS
445542010-11-11 Andreas Schwab <schwab@redhat.com>
44555
44556 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44557 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44558 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44559 ($(objpfx)tst-fnmatch-mem): New rule.
44560 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44561 * posix/tst-fnmatch.c (main): Call mtrace.
44562
13b69574
L
445632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44564
44565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44566 Support Intel processor model 6 and model 0x2c.
44567
da93d214
LM
445682010-11-10 Luis Machado <luisgpm@br.ibm.com>
44569
44570 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44571 signed comparison.
44572
8ca52c6e
L
445732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44574
44575 [BZ #12205]
44576 * string/test-strncasecmp.c (check_result): New function.
44577 (do_one_test): Use it.
44578 (check1): New function.
44579 (test_main): Use it.
44580 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44581 Support strcasecmp and strncasecmp.
44582
69da074d
UD
445832010-11-08 Ulrich Drepper <drepper@gmail.com>
44584
44585 [BZ #12194]
44586 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44588
ff02d528
L
445892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44590
44591 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44592 IFUNC support.
44593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44594 memset-x86-64.
44595 * sysdeps/x86_64/multiarch/bzero.S: New file.
44596 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44597 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44598 * sysdeps/x86_64/multiarch/memset.S: New file.
44599 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44601 Set bit_Prefer_SSE_for_memop for Intel processors.
44602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44603 Define.
44604 (index_Prefer_SSE_for_memop): Define.
44605 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44606
344d0b54
LM
446072010-11-04 Luis Machado <luisgpm@br.ibm.com>
44608
44609 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44610 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44611
c0dde15b
UD
446122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44613
44614 [BZ #12191]
44615 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44616 (__x86_64_raw_data_cache_size_half): Likewise.
44617 (__x86_64_raw_shared_cache_size): Likewise.
44618 (__x86_64_raw_shared_cache_size_half): Likewise.
44619
44620 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44621 (__x86_64_raw_data_cache_size_half): Likewise.
44622 (__x86_64_raw_shared_cache_size): Likewise.
44623 (__x86_64_raw_shared_cache_size_half): Likewise.
44624 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44625 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44626 and __x86_64_raw_shared_cache_size_half. Round
44627 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44628 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44629 to multiple of 256 bytes.
44630
0e516e0e
MS
446312010-11-03 Ulrich Drepper <drepper@gmail.com>
44632
44633 [BZ #12167]
44634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44635 of inacessible symlinks. Verify result of symlink before returning it.
44636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44637 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44638
0e012e87
ER
446392010-10-28 Erich Ritz <erichritz@gmail.com>
44640
44641 * math/math.h (isinf): Fix typo in comment.
44642
de0ff7bc
UD
446432010-11-01 Ulrich Drepper <drepper@gmail.com>
44644
44645 * po/da.po: Update from translation team.
44646
fa41c84d
UD
446472010-10-26 Ulrich Drepper <drepper@gmail.com>
44648
44649 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44650 is added to the list.
44651
f0967738
AK
446522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44653 Ulrich Drepper <drepper@gmail.com>
44654
44655 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44656 the global list here. Move code to...
44657 (_dl_add_to_namespace_list): ...here. New function.
44658 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44659 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44660 * elf/dl-load.c (lose): Don't remove the element from the list.
44661 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44662 (_dl_map_object): Likewise.
44663
446642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44665
44666 [BZ #12159]
44667 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44668 into all bytes of SSE register.
44669 Patch by Richard Li <richardpku@gmail.com>.
44670
f0967738 446712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44672
44673 [BZ #12140]
44674 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44675 perturbing.
44676
d0b9e94f
MB
446772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44678
44679 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44680 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44682 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44684 submachine.
44685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44686
8e9f92e9
AS
446872010-10-22 Andreas Schwab <schwab@redhat.com>
44688
44689 * include/dlfcn.h (__RTLD_SECURE): Define.
44690 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44691 mode & __RTLD_SECURE instead.
44692 (open_path): Rename preloaded parameter to secure.
44693 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44694 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44695 * elf/dl-deps.c (openaux): Likewise.
44696 * elf/rtld.c (struct map_args): Remove is_preloaded.
44697 (map_doit): Don't use it.
44698 (dl_main): Likewise.
44699 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44700 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44701
bc96fbda
AS
447022010-09-09 Andreas Schwab <schwab@redhat.com>
44703
44704 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44705 (sysd-rules-targets): Remove duplicates.
44706 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44707 rtld-%.$o dependency.
44708
22cd1c9b
AS
447092010-10-18 Andreas Schwab <schwab@redhat.com>
44710
44711 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44712 _dl_map_object do it.
44713
18edac48
UD
447142010-10-19 Ulrich Drepper <drepper@gmail.com>
44715
44716 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44717 fast fma builtins, define the macros in the C99 standard.
44718 (FP_FAST_FMAF): Likewise.
44719 (FP_FAST_FMAL): Likewise.
44720 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44721
44722 * bits/mathdef.h: Update copyright year.
44723 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44724
d2050124
MM
447252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44726
44727 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44728 builtins, define the macros in the C99 standard.
44729 (FP_FAST_FMAF): Likewise.
44730 (FP_FAST_FMAL): Likewise.
44731 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44732 multiply/add.
44733 (FP_FAST_FMAF): Likewise.
44734
475facd1
JJ
447352010-10-15 Jakub Jelinek <jakub@redhat.com>
44736
44737 [BZ #3268]
44738 * math/libm-test.inc (fma_test): Some new testcases.
44739 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44740 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44741 y and infinite z. Do multiplication by C already in long double.
44742 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44744 y and infinite z. Do bitwise or of inexact bit into u.d.
44745 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44746 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44747 * sysdeps/i386/fpu/s_fma.S: Removed.
44748 * sysdeps/i386/fpu/s_fmal.S: Removed.
44749
7c08a05c
JJ
447502010-10-16 Jakub Jelinek <jakub@redhat.com>
44751
44752 [BZ #3268]
44753 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44755 computation is not scheduled after fetestexcept. Fix value
44756 of minimum denormal long double.
44757
f3f7372d
JJ
447582010-10-14 Jakub Jelinek <jakub@redhat.com>
44759
44760 [BZ #3268]
44761 * math/libm-test.inc (fma_test): Add some more tests.
44762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44763 correctly.
44764
14d43591
AS
447652010-10-15 Andreas Schwab <schwab@redhat.com>
44766
44767 * scripts/data/localplt-s390-linux-gnu.data: New file.
44768 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44769
5e908464
JJ
447702010-10-13 Jakub Jelinek <jakub@redhat.com>
44771
44772 [BZ #3268]
44773 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44774 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44775 instead of dbl-64.
44776 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44777 inlines.
44778 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44780 if one of x and y is very large and the other is subnormal.
44781 * sysdeps/s390/fpu/s_fmaf.c: New file.
44782 * sysdeps/s390/fpu/s_fma.c: New file.
44783 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44784 * sysdeps/powerpc/fpu/s_fma.S: New file.
44785 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44786 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44787 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44788
447892010-10-12 Jakub Jelinek <jakub@redhat.com>
44790
44791 [BZ #3268]
44792 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44793 fma tests.
44794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44795 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44796 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44797 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44798 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44799 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44801
b833d51f
UD
448022010-10-12 Ulrich Drepper <drepper@redhat.com>
44803
44804 [BZ #12078]
44805 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44806 * posix/bug-regex31.input: Add test case.
44807
1751705d
UD
448082010-10-11 Ulrich Drepper <drepper@gmail.com>
44809
e9b9cbf5
UD
44810 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44811 * posix/bug-regex31.input: New file.
44812
44813 [BZ #12078]
44814 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44815 (parse_sub_exp): Fix last change, use postorder.
44816
ef06edbe
UD
44817 * posix/bug-regex31.c: New file.
44818 * posix/Makefile: Add rules to build and run bug-regex31.
44819
a129c80d
UD
44820 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44821
44822 [BZ #12078]
44823 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44824
b76b818e
UD
44825 [BZ #12108]
44826 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44827 to have entries in sys_siglist.
44828
1751705d
UD
44829 [BZ #12093]
44830 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44831 be NULL.
44832
9ff8d36f
JJ
448332010-10-07 Jakub Jelinek <jakub@redhat.com>
44834
44835 [BZ #3268]
44836 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44837 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44838 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44839 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44840 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44841 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44842 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44843 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44844 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44845 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44846 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44847 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44848 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44849 * math/ftestexcept.c (fetestexcept): Likewise.
44850 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44851 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44852 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44853 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44854 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44855 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44856 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44857
af325969
UD
448582010-10-11 Ulrich Drepper <drepper@gmail.com>
44859
c579b202 44860 [BZ #12107]
af325969
UD
44861 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44862 newline.
44863
67a67b95
UD
448642010-10-06 Ulrich Drepper <drepper@gmail.com>
44865
44866 * string/bug-strstr1.c: New file.
44867 * string/Makefile: Add rules to build and run bug-strstr1.
44868
5fb308bc
EB
448692010-10-05 Eric Blake <eblake@redhat.com>
44870
44871 [BZ #12092]
44872 * string/str-two-way.h (two_way_long_needle): Always clear memory
44873 when skipping input due to the shift table.
44874
45db99c7
UD
448752010-10-03 Ulrich Drepper <drepper@gmail.com>
44876
3b111893
UD
44877 [BZ #12005]
44878 * malloc/mcheck.c: Handle large requests.
44879
45db99c7
UD
44880 [BZ #12077]
44881 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44882 for strncmp and strncasecmp.
44883 * string/stratcliff.c: Add tests for strcmp and strncmp.
44884 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44885
cf7a1eb8
NI
448862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44887
44888 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44889 __set_fpscr.
44890
6484ba5e
AJ
448912010-09-30 Andreas Jaeger <aj@suse.de>
44892
44893 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44894 (CGROUP_SUPER_MAGIC): Define.
44895 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44896 Handle btrfs and cgroup file systems.
44897 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44898 Likewise.
44899
91c42559
LM
449002010-09-27 Luis Machado <luisgpm@br.ibm.com>
44901
44902 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44903 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44904
87a97932
AK
449052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44906
44907 [BZ #12067]
44908 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44909 trying to locate the ELF header.
44910
c21cc9bc
AS
449112010-09-27 Andreas Schwab <schwab@redhat.com>
44912
44913 [BZ #11611]
44914 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44915 Mask out sign-bit copies when constructing f_fsid.
44916
315970f6
PB
449172010-09-24 Petr Baudis <pasky@suse.cz>
44918
44919 * debug/stack_chk_fail_local.c: Add missing licence exception.
44920 * debug/warning-nop.c: Likewise.
44921
1ac7a2c7
JM
449222010-09-15 Joseph Myers <joseph@codesourcery.com>
44923
44924 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44925 implementing getdents64 using getdents syscall, set d_type if
44926 __ASSUME_GETDENTS32_D_TYPE.
44927
56801c50
AS
449282010-09-16 Andreas Schwab <schwab@redhat.com>
44929
44930 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44931 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44932
dda51327
UD
449332010-09-21 Ulrich Drepper <drepper@redhat.com>
44934
44935 [BZ #12037]
44936 * posix/unistd.h: Undo change of feature selection for ftruncate from
44937 2010-01-11.
44938
8ffcee4a
UD
449392010-09-20 Ulrich Drepper <drepper@redhat.com>
44940
a545ecd9 44941 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44942 detection.
44943
e24f0a8b
AS
449442010-09-20 Andreas Schwab <schwab@redhat.com>
44945
44946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44947 fanotify_mark.
44948 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44949
7291c56f
AS
449502010-09-14 Andreas Schwab <schwab@redhat.com>
44951
44952 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44953 variables after CHECK_SP call.
44954 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44955
bc5fb037
AS
449562010-09-13 Andreas Schwab <schwab@redhat.com>
44957 Ulrich Drepper <drepper@redhat.com>
44958
44959 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44960 re-relocationg ld.so.
44961 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44962 _dl_init_paths call.
44963 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44964 here anymore.
44965
e66e7419
UD
449662010-09-14 Ulrich Drepper <drepper@redhat.com>
44967
44968 * resolv/res_init.c (__res_vinit): Count the default server we added.
44969
c044aa75
CLT
449702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44971 Ulrich Drepper <drepper@redhat.com>
44972
44973 [BZ #11968]
44974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44975 (____longjmp_chk): Use %ebx for saving value across system call.
44976 Add unwind info.
44977
32cf4069
AS
449782010-09-06 Andreas Schwab <schwab@redhat.com>
44979
44980 * manual/Makefile: Don't mix pattern rules with normal rules.
44981
817328ee
AS
449822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44983
44984 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44985 operation.
44986 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44987 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44988 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44989 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44991 Likewise.
44992
29fddf61
UD
449932010-09-04 Ulrich Drepper <drepper@redhat.com>
44994
44995 [BZ #11979]
44996 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44997 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44998
0959ffc9
UD
449992010-09-02 Ulrich Drepper <drepper@redhat.com>
45000
45001 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45002 * sysdeps/x86_64/addmul_1.S: Likewise.
45003 * sysdeps/x86_64/lshift.S: Likewise.
45004 * sysdeps/x86_64/mul_1.S: Likewise.
45005 * sysdeps/x86_64/rshift.S: Likewise.
45006 * sysdeps/x86_64/sub_n.S: Likewise.
45007 * sysdeps/x86_64/submul_1.S: Likewise.
45008
ece29840
ST
450092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45010
0959ffc9
UD
45011 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45012 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45013 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45014 * bits/sched.h [__need_schedparam]
ece29840 45015 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45016 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45017 (__defined_schedparam): Define to 1.
ece29840
ST
45018 (__sched_param): New structure, identical to sched_param.
45019 (__need_schedparam): Undefine.
45020
e53a31fe
MF
450212010-08-31 Mike Frysinger <vapier@gentoo.org>
45022
fdc0c10d
MF
45023 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45024 (epoll_create1): Declare.
45025
e53a31fe
MF
45026 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45027
a726d796
AS
450282010-08-31 Andreas Schwab <schwab@redhat.com>
45029
45030 [BZ #7066]
45031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45032 shifting retval into place.
45033
2f3e3dc7
UD
450342010-09-01 Ulrich Drepper <drepper@redhat.com>
45035
f2933da9
UD
45036 * nis/rpcsvc/nis.h: Update copyright notice.
45037 * nis/rpcsvc/nis.x: Likewise.
45038 * nis/rpcsvc/nis_callback.h: Likewise.
45039 * nis/rpcsvc/nis_callback.x: Likewise.
45040 * nis/rpcsvc/nis_object.x: Likewise.
45041 * nis/rpcsvc/nis_tags.h: Likewise.
45042 * nis/rpcsvc/yp.h: Likewise.
45043 * nis/rpcsvc/yp.x: Likewise.
45044 * nis/rpcsvc/ypupd.h: Likewise.
45045 * nis/yp_xdr.c: Likewise.
45046 * nis/ypupdate_xdr.c: Likewise.
45047
2f3e3dc7
UD
45048 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45049 mainly the body of pmap_getport. Add parameters to specify timeouts.
45050 (pmap_getport): Use __libc_rpc_getport.
45051 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45052 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45053 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45054
f3dcc2f9
AS
450552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45056
45057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45058 fanotify_mark.
45059
6d34eb5b
RM
450602010-08-27 Roland McGrath <roland@redhat.com>
45061
45062 * sysdeps/i386/i686/multiarch/Makefile
45063 (CFLAGS-varshift.c): New variable.
45064
9ea3de11
UD
450652010-08-27 Ulrich Drepper <drepper@redhat.com>
45066
c96d23fc
UD
45067 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45068 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45069
9ea3de11
UD
45070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45071
45072 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45073
623aac7f
L
450742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45075
45076 * sysdeps/x86_64/strlen.S: Unroll the loop.
45077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45078 strlen-sse2 strlen-sse2-bsf.
45079 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45080 __strlen_no_bsf if bit_Slow_BSF is set.
45081 (__strlen_sse42): Removed.
45082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45083 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45084
8b2b7715
RM
450852010-08-25 Roland McGrath <roland@redhat.com>
45086
45087 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45088 * sysdeps/x86_64/multiarch/varshift.c: New file.
45089 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45090 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45091 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45092 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45093
e73015f2
L
450942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45095
45096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45097 strlen-sse2 strlen-sse2-bsf.
45098 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45099 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45100 (__strlen_sse2): Removed.
45101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45104 bit_Slow_BSF for Atom.
45105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45106 (index_Slow_BSF): Define.
45107 (HAS_SLOW_BSF): Define.
45108
df24a73e
UD
451092010-08-25 Ulrich Drepper <drepper@redhat.com>
45110
45111 [BZ #10851]
45112 * resolv/res_init.c (__res_vinit): When no server address at all
45113 is given default to loopback.
45114
f2ac4868
RM
451152010-08-24 Roland McGrath <roland@redhat.com>
45116
09055553
RM
45117 * configure.in: Remove config-name.h generation.
45118 * configure: Regenerated.
45119 * config-name.in: File removed.
45120 * scripts/config-uname.sh: New file.
45121 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45122 ($(objdir)config-name.h): New target.
45123
f2ac4868
RM
45124 * sunrpc/rpc_parse.h: Avoid nested comment.
45125
73f27d5e
RH
451262010-08-24 Richard Henderson <rth@redhat.com>
45127 Ulrich Drepper <drepper@redhat.com>
45128 H.J. Lu <hongjiu.lu@intel.com>
45129
45130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45132 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45133 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45134 _mm_alignr_epi8 with _mm_loadu_si128.
45135 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45136 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45137 (__m128i_shift_right): Removed.
45138 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45139 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45140 * sysdeps/x86_64/multiarch/varshift.h: New file.
45141 * sysdeps/x86_64/multiarch/varshift.S: New file.
45142
84b9230c
MF
451432010-08-21 Mike Frysinger <vapier@gentoo.org>
45144
45145 * configure.in: Move assembler checks to before sysdep dir checking.
45146
9bbd0ddc
PB
451472010-08-20 Petr Baudis <pasky@suse.cz>
45148
45149 * LICENSES: Sync the sunrpc license.
45150
9da4bb31
UD
451512010-08-19 Ulrich Drepper <drepper@redhat.com>
45152
a7ab6ec8
UD
45153 * sunrpc/auth_des.c: Update copyright notice once again.
45154 * sunrpc/auth_none.c: Likewise.
45155 * sunrpc/auth_unix.c: Likewise.
45156 * sunrpc/authdes_prot.c: Likewise.
45157 * sunrpc/authuxprot.c: Likewise.
45158 * sunrpc/bindrsvprt.c: Likewise.
45159 * sunrpc/clnt_gen.c: Likewise.
45160 * sunrpc/clnt_perr.c: Likewise.
45161 * sunrpc/clnt_raw.c: Likewise.
45162 * sunrpc/clnt_simp.c: Likewise.
45163 * sunrpc/clnt_tcp.c: Likewise.
45164 * sunrpc/clnt_udp.c: Likewise.
45165 * sunrpc/clnt_unix.c: Likewise.
45166 * sunrpc/des_crypt.c: Likewise.
45167 * sunrpc/des_soft.c: Likewise.
45168 * sunrpc/get_myaddr.c: Likewise.
45169 * sunrpc/getrpcport.c: Likewise.
45170 * sunrpc/key_call.c: Likewise.
45171 * sunrpc/key_prot.c: Likewise.
45172 * sunrpc/openchild.c: Likewise.
45173 * sunrpc/pm_getmaps.c: Likewise.
45174 * sunrpc/pm_getport.c: Likewise.
45175 * sunrpc/pmap_clnt.c: Likewise.
45176 * sunrpc/pmap_prot.c: Likewise.
45177 * sunrpc/pmap_prot2.c: Likewise.
45178 * sunrpc/pmap_rmt.c: Likewise.
45179 * sunrpc/rpc/auth.h: Likewise.
45180 * sunrpc/rpc/auth_unix.h: Likewise.
45181 * sunrpc/rpc/clnt.h: Likewise.
45182 * sunrpc/rpc/des_crypt.h: Likewise.
45183 * sunrpc/rpc/key_prot.h: Likewise.
45184 * sunrpc/rpc/netdb.h: Likewise.
45185 * sunrpc/rpc/pmap_clnt.h: Likewise.
45186 * sunrpc/rpc/pmap_prot.h: Likewise.
45187 * sunrpc/rpc/pmap_rmt.h: Likewise.
45188 * sunrpc/rpc/rpc.h: Likewise.
45189 * sunrpc/rpc/rpc_des.h: Likewise.
45190 * sunrpc/rpc/rpc_msg.h: Likewise.
45191 * sunrpc/rpc/svc.h: Likewise.
45192 * sunrpc/rpc/svc_auth.h: Likewise.
45193 * sunrpc/rpc/types.h: Likewise.
45194 * sunrpc/rpc/xdr.h: Likewise.
45195 * sunrpc/rpc_clntout.c: Likewise.
45196 * sunrpc/rpc_cmsg.c: Likewise.
45197 * sunrpc/rpc_common.c: Likewise.
45198 * sunrpc/rpc_cout.c: Likewise.
45199 * sunrpc/rpc_dtable.c: Likewise.
45200 * sunrpc/rpc_hout.c: Likewise.
45201 * sunrpc/rpc_main.c: Likewise.
45202 * sunrpc/rpc_parse.c: Likewise.
45203 * sunrpc/rpc_parse.h: Likewise.
45204 * sunrpc/rpc_prot.c: Likewise.
45205 * sunrpc/rpc_sample.c: Likewise.
45206 * sunrpc/rpc_scan.c: Likewise.
45207 * sunrpc/rpc_scan.h: Likewise.
45208 * sunrpc/rpc_svcout.c: Likewise.
45209 * sunrpc/rpc_tblout.c: Likewise.
45210 * sunrpc/rpc_util.c: Likewise.
45211 * sunrpc/rpc_util.h: Likewise.
45212 * sunrpc/rpcinfo.c: Likewise.
45213 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45214 * sunrpc/rpcsvc/key_prot.x: Likewise.
45215 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45216 * sunrpc/rpcsvc/mount.x: Likewise.
45217 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45218 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45219 * sunrpc/rpcsvc/rex.x: Likewise.
45220 * sunrpc/rpcsvc/rstat.x: Likewise.
45221 * sunrpc/rpcsvc/rusers.x: Likewise.
45222 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45223 * sunrpc/rpcsvc/spray.x: Likewise.
45224 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45225 * sunrpc/rtime.c: Likewise.
45226 * sunrpc/svc.c: Likewise.
45227 * sunrpc/svc_auth.c: Likewise.
45228 * sunrpc/svc_authux.c: Likewise.
45229 * sunrpc/svc_raw.c: Likewise.
45230 * sunrpc/svc_run.c: Likewise.
45231 * sunrpc/svc_simple.c: Likewise.
45232 * sunrpc/svc_tcp.c: Likewise.
45233 * sunrpc/svc_udp.c: Likewise.
45234 * sunrpc/svc_unix.c: Likewise.
45235 * sunrpc/svcauth_des.c: Likewise.
45236 * sunrpc/xcrypt.c: Likewise.
45237 * sunrpc/xdr.c: Likewise.
45238 * sunrpc/xdr_array.c: Likewise.
45239 * sunrpc/xdr_float.c: Likewise.
45240 * sunrpc/xdr_mem.c: Likewise.
45241 * sunrpc/xdr_rec.c: Likewise.
45242 * sunrpc/xdr_ref.c: Likewise.
45243 * sunrpc/xdr_sizeof.c: Likewise.
45244 * sunrpc/xdr_stdio.c: Likewise.
45245
9da4bb31
UD
45246 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45247 handling.
45248
bdaa77bc
AS
452492010-08-19 Andreas Schwab <schwab@redhat.com>
45250
45251 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45252
fe2f79db
LM
452532010-08-19 Luis Machado <luisgpm@br.ibm.com>
45254
45255 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45257 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45258 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45259 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45260 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45261 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45262 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45263 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45264 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45265 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45266 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45267 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45268 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45269
b9b42ee0
AB
452702010-07-26 Anton Blanchard <anton@samba.org>
45271
45272 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45273 * malloc/arena.c (heap_trim): Likewise.
45274
1c06ba31
UD
452752010-08-16 Ulrich Drepper <drepper@redhat.com>
45276
45277 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45278 here. Not...
45279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45280 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45281
f8392f40
L
452822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45283
45284 * sysdeps/i386/elf/Makefile: New file.
45285
3162f12e
AS
452862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45287
45288 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45289 from fanotify_init.
45290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45292
28c90b2c
UD
452932010-08-15 Ulrich Drepper <drepper@redhat.com>
45294
45295 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45296 of strncasecmp_l.
1feccb6c 45297 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45298
ca6bb004
UD
452992010-08-14 Ulrich Drepper <drepper@redhat.com>
45300
e9f82e0d
UD
45301 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45302 strncase_l-nonascii.
45303 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45304 Add strncase_l-ssse3.
45305 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45306 * sysdeps/x86_64/strcmp.S: Likewise.
45307 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45308 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45309 * sysdeps/x86_64/strncase.S: New file.
45310 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45311 * sysdeps/x86_64/strncase_l.S: New file.
45312 * string/Makefile (strop-tests): Add strncasecmp.
45313 * string/test-strncasecmp.c: New file.
45314
45315 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45316 warning.
45317
ca6bb004
UD
45318 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45319 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45320
052fa7b3
AS
453212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45322
45323 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45324
962dba78
UD
453252010-08-12 Ulrich Drepper <drepper@redhat.com>
45326
45327 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45328 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45329 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45330
bebff237
AM
453312010-05-01 Alan Modra <amodra@gmail.com>
45332
45333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45334 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45335 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45336 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45337 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45338 tidying. Don't tail-call __sigjmp_save for static lib.
45339 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45340 save location.
45341 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45342 (CALL_MCOUNT): Add eh info, and nop after bl.
45343 (TAIL_CALL_SYSCALL_ERROR): New macro.
45344 (PSEUDO_RET): Use it.
45345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45346 Correct save location of integer regs and cr.
45347 (_dl_profile_resolve): Correct cr save location. Delete nops
45348 after bl when SHARED. Reduce cfi size a little by better
45349 placement of cfi directives.
45350 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45351 make a stack frame. Instead use parm save area as a temp.
45352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45353 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45355 Don't make a stack frame for parent, use parm save area.
45356 Increase child stack frame to 112 bytes. Don't save unused reg,
45357 and adjust reg usage. Set up cfi on error recovery and
45358 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45360 (__makecontext): Add dummy nop after jump to exit.
45361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45362 Use correct parm save area and cr save, reduce stack frame.
45363 Correct cfi for possible PSEUDO_RET frame setup.
45364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45365 Branch to local label emitted by PSEUDO_RET rather than
45366 __syscall_error.
45367
02637374
AS
453682010-08-12 Andreas Schwab <schwab@redhat.com>
45369
45370 [BZ #11904]
45371 * locale/programs/locale.c (print_assignment): New function.
45372 (show_locale_vars): Use it.
45373
c3e2f19b
UD
453742010-08-11 Ulrich Drepper <drepper@redhat.com>
45375
3cdaa6ad
UD
45376 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45377 field.
45378 (struct statfs64): Likewise.
45379 (_STATFS_F_FLAGS): Define.
45380 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45381 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45382 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45383 (ST_VALID): Define locally.
45384 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45385 __statvfs_getflags, use the provided value.
45386 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45387 __ASSUME_STATFS_F_FLAGS.
45388
754f7da3
UD
45389 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45390
10b3bedc
UD
45391 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45392 Add sys/fanotify.h.
45393 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45394 fanotify_mask for GLIBC_2.13.
45395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45396 fanotify_init and fanotify_mark.
45397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45398 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45399
c08fb0d7
UD
45400 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45401 Add prlimit.
45402 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45403 prlimit64 for GLIBC_2.13.
45404 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45405 prlimit64.
45406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45407 syscall.
45408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45409 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45410 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45413 add prlimit alias.
45414 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45415
15bac72b
UD
45416 [BZ #11903]
45417 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45418 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45419
c3e2f19b
UD
45420 * nss/Makefile: Add rules to build and run tst-nss-test1.
45421 * shlib-versions: Add entry for libnss_test1.
45422 * nss/nss_test1.c: New file.
45423 * nss/tst-nss-test1.c: New file.
45424
45425 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45426 (__nss_configure_lookup): Set appropriate entry in
45427 __nss_configure_lookup to true.
45428 * nss/nsswitch.h: Define enum with indeces of databases in
45429 databases and __nss_database_custom arrays. Declare
45430 __nss_database_custom.
45431 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45432 to avoid using nscd when custom rules are installed.
45433 * nss/getXXbyYY_r.c: Likewise.
45434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45435
45436 * nss/nss_files/files-parse.c: Whitespace fixes.
45437
f15ce4d8
UD
454382010-08-09 Ulrich Drepper <drepper@redhat.com>
45439
45440 [BZ #11883]
45441 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45442 * posix/fnmatch_loop.c: Likewise.
45443
d22e4cc9
AK
454442010-07-17 Andi Kleen <ak@linux.intel.com>
45445
45446 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45447 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45448 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45449 * Versions.def [GLIBC_2.13]: Add.
45450
805bc17d
UD
454512010-08-06 Ulrich Drepper <drepper@redhat.com>
45452
45453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45454 Also fail if tpwd after pwuid call is NULL.
45455
5a42321d
ST
454562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45457
45458 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45459 when converting to ms.
45460
fd3ebeda
ST
454612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45462
45463 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45464 EOPNOTSUPP errors with ENOTTY.
45465 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45466 EOPNOTSUPP errors with ENOTTY.
45467
73507d3a
UD
454682010-07-31 Ulrich Drepper <drepper@redhat.com>
45469
45470 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45471 Add strcasecmp_l-ssse3.
45472 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45473 strcasecmp.
45474 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45475 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45476 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45477
fe36dd02
UD
454782010-07-30 Ulrich Drepper <drepper@redhat.com>
45479
66f6765a
UD
45480 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45481
42e08a54
UD
45482 * string/Makefile (strop-tests): Add strcasecmp.
45483 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45484 strcasecmp_l-nonascii.
45485 (gen-as-const-headers): Add locale-defines.sym.
45486 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45487 * sysdeps/x86_64/strcasecmp.S: New file.
45488 * sysdeps/x86_64/strcasecmp_l.S: New file.
45489 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45490 * sysdeps/x86_64/locale-defines.sym: New file.
45491 * string/test-strcasecmp.c: New file.
45492
fe36dd02
UD
45493 * string/test-strcasestr.c: Test both ends of the range of characters.
45494 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45495
48cbc0d6
RM
454962010-07-29 Roland McGrath <roland@redhat.com>
45497
76e6d6bc 45498 [BZ #11856]
48cbc0d6
RM
45499 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45500
880113d9
UD
455012010-07-27 Ulrich Drepper <drepper@redhat.com>
45502
45503 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45504 for ld.so.
45505
deb9cabb
AS
455062010-07-27 Andreas Schwab <schwab@redhat.com>
45507
45508 * manual/memory.texi (Malloc Tunable Parameters): Document
45509 M_PERTURB.
45510
1c7570ff
RM
455112010-07-26 Roland McGrath <roland@redhat.com>
45512
45513 [BZ #11840]
45514 * configure.in (-fgnu89-inline check): Set and substitute
45515 gnu89_inline, not libc_cv_gnu89_inline.
45516 * configure: Regenerated.
45517 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45518
24fb0f88
UD
455192010-07-26 Ulrich Drepper <drepper@redhat.com>
45520
45521 * string/test-strnlen.c: New file.
45522 * string/Makefile (strop-tests): Add strnlen.
45523 * string/tester.c (test_strnlen): Add a few more test cases.
45524 * string/tst-strlen.c: Better error reporting.
45525
45526 * sysdeps/x86_64/strnlen.S: New file.
45527
8e96b93a
UD
455282010-07-24 Ulrich Drepper <drepper@redhat.com>
45529
45530 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45531 lower-latency instructions.
45532
dbc676d4
UD
455332010-07-23 Ulrich Drepper <drepper@redhat.com>
45534
45535 * string/test-strcasestr.c: New file.
45536 * string/test-strstr.c: New file.
45537 * string/Makefile (strop-tests): Add strstr and strcasestr.
45538 * string/str-two-way.h: Don't undefine MAX.
45539 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45540
f6a31e0e
AS
455412010-07-21 Andreas Schwab <schwab@redhat.com>
45542
45543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45544 strcasestr-nonascii.
45545 (CFLAGS-strcasestr-nonascii.c): Define.
45546 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45548 Remove unused attribute.
45549
5dbc3b6c
RM
455502010-07-20 Roland McGrath <roland@redhat.com>
45551
45552 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45553 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45554 ld.so.cache was broken. With it, there is no way to disable dsocaps
45555 like LD_HWCAP_MASK can disable hwcaps.
45556
23d101d8
EPM
455572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45558
45559 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45560
cc9f2e47
UD
455612010-07-16 Ulrich Drepper <drepper@redhat.com>
45562
45563 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45564 call in strcasestr.
45565 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45566 __strcasestr_sse42_nonascii.
45567 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45568 strcasestr-nonascii.c.
45569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45570
77c1b069
LM
455712010-06-15 Luis Machado <luisgpm@br.ibm.com>
45572
45573 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45574 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45576 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45577
440566c3
UD
455782010-07-09 Ulrich Drepper <drepper@redhat.com>
45579
45580 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45581 fcntl.
45582
5be9d05d
AS
455832010-07-06 Andreas Schwab <schwab@redhat.com>
45584
c30b7ee2 45585 [BZ #11577]
5be9d05d
AS
45586 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45587 dl_signal_cerror.
45588
8a492a67
UD
455892010-07-06 Ulrich Drepper <drepper@redhat.com>
45590
45591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45592 _PC_PIPE_BUF using F_GETPIPE_SZ.
45593
713df3d5
RM
455942010-07-05 Roland McGrath <roland@redhat.com>
45595
45596 * manual/arith.texi (Rounding Functions): Fix rint description
45597 implicit in round description.
45598
702e8f14
UD
455992010-07-02 Ulrich Drepper <drepper@redhat.com>
45600
45601 * elf/Makefile: Fix linking for a few tests to make recent linker
45602 happy.
45603
52ed8be9
AS
456042010-06-30 Andreas Schwab <schwab@redhat.com>
45605
45606 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45607 $(common-objpfx)libc_nonshared.a.
45608
f47c9a11
LM
456092010-06-21 Luis Machado <luisgpm@br.ibm.com>
45610
45611 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45612 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45613 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45614 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45615 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45616 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45617 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45618 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45633 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45634 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45635 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45636 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45637 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45638 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45639 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45640 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45641 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45642 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45643 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45644 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45659
6fb8cbcb
L
456602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45661
45662 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45663 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45664 * string/memmove.c (memmove): Renamed to ...
45665 (MEMMOVE): ...this. Default to memmove.
45666 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45667 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45668 (END_CHK): Define.
45669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45670 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45671 mempcpy-ssse3-back memmove-ssse3-back.
45672 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45675 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45676 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45677 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45678 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45679 * sysdeps/x86_64/multiarch/memmove.c: New file.
45680 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45681 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45682 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45683 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45684 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45686 Define.
45687 (index_Fast_Copy_Backward): Define.
45688 (HAS_ARCH_FEATURE): Define.
45689 (HAS_FAST_REP_STRING): Define.
45690 (HAS_FAST_COPY_BACKWARD): Define.
45691
4e733bac 456922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45693
45694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45695 Restore proper fallback handling.
45696
63c4ed22
UD
456972010-06-19 Ulrich Drepper <drepper@redhat.com>
45698
ac2b484c
UD
45699 [BZ #11701]
45700 * posix/group_member.c (__group_member): Correct checking loop.
45701
63c4ed22
UD
45702 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45703 OOM in getpwuid_r correctly. Return error number when the caller
45704 should return, otherwise -1.
45705 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45706 call returning > 0 value.
45707 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45708
765ade4b
AS
457092010-06-07 Andreas Schwab <schwab@redhat.com>
45710
45711 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45712 libc_nonshared.a from targets in modules-names.
45713
80da2e09
KS
457142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45715
45716 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45717 requires it.
45718
158db122
LM
457192010-06-10 Luis Machado <luisgpm@br.ibm.com>
45720
45721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45722 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45724 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45725
caa78cf8
AS
457262010-06-02 Andreas Schwab <schwab@redhat.com>
45727
45728 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45729
b2ef2c01
UD
457302010-06-14 Ulrich Drepper <drepper@redhat.com>
45731
45732 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45733 and F_GETPIPE_SZ.
45734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45740
fbd643b6
RM
457412010-06-14 Roland McGrath <roland@redhat.com>
45742
45743 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45744
f32f2869
JJ
457452010-06-07 Jakub Jelinek <jakub@redhat.com>
45746
45747 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45748 __REDIRECT followed by __THROW.
45749 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45750 * posix/getopt.h (getopt): Likewise.
45751
2a50c078
EPM
457522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45753
45754 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45755 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45756 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45757 in AT_FLAGS.
45758 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45759 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45760
eb5ad2eb
LM
457612010-05-28 Luis Machado <luisgpm@br.ibm.com>
45762
45763 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45764
3c88fe1e
L
457652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45766
45767 [BZ #11640]
45768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45769 Properly check family and model.
45770
d2f73151
TY
457712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45772
45773 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45774
ebd2e13d
LM
457752010-05-24 Luis Machado <luisgpm@br.ibm.com>
45776
45777 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45778
b32b8b45
UD
457792010-05-21 Ulrich Drepper <drepper@redhat.com>
45780
45781 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45782 symbol reference.
45783
9acbe24d
AS
457842010-05-19 Andreas Schwab <schwab@redhat.com>
45785
45786 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45787 symbol reference.
45788
f0ccf6ea
AS
457892010-05-21 Andreas Schwab <schwab@redhat.com>
45790
3d04ff3a
AS
45791 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45792 and internal_recvmmsg.
45793 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45794 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45795 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45796 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45797
f0ccf6ea
AS
45798 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45799 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45800 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45801
5b08ac57
AS
458022010-05-20 Andreas Schwab <schwab@redhat.com>
45803
45804 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45805
4828935d
LM
458062010-05-17 Luis Machado <luisgpm@br.ibm.com>
45807
45808 POWER7 optimizations.
45809 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45810 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45811
373d545e
UD
458122010-05-19 Ulrich Drepper <drepper@redhat.com>
45813
45814 * version.h: Update for 2.13 development version.
45815
21a2b1ae
AS
458162010-05-12 Andrew Stubbs <ams@codesourcery.com>
45817
45818 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45819 exceptions. Return 0.
45820
3f7dcb2b
RM
458212010-05-07 Roland McGrath <roland@redhat.com>
45822
45823 * elf/ldconfig.c (main): Add a const.
45824
5f24d53a 458252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45826
a160f8d8
UD
45827 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45828 (args_options): Add no-idn option.
45829 (ahosts_keys_int): Add idn_flags to ai_flags.
45830 (parse_option): Handle 'i' option to clear idn_flags.
45831
5f24d53a
UD
45832 * malloc/malloc.c (_int_free): Possible race in the most recently
45833 added check. Only act on the data if no current modification
45834 happened.
265bb1ce
UD
45835
45836See ChangeLog.17 for earlier changes.